三会一课

This commit is contained in:
yanran200730
2021-12-23 15:49:58 +08:00
parent 14da3b1a52
commit d42606f99a

View File

@@ -35,7 +35,7 @@
<span v-else>请选择</span> <span v-else>请选择</span>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item prop="isOnline" label="举办方式"> <el-form-item prop="isOnline" label="举办方式">
<!-- <el-radio label="1" v-model="form.isOnline">线上举办</el-radio>--> <!-- <el-radio label="1" v-model="form.isOnline">线上举办</el-radio>-->
<el-radio label="0" v-model="form.isOnline">线下举办</el-radio> <el-radio label="0" v-model="form.isOnline">线下举办</el-radio>
</el-form-item> </el-form-item>
@@ -79,9 +79,10 @@
<div class="select-person" v-for="(item,index) in form.participantList" :key="item.name" <div class="select-person" v-for="(item,index) in form.participantList" :key="item.name"
style="margin-bottom: 36px;"> style="margin-bottom: 36px;">
<div class="person-pictrue" style="cursor: pointer;" @click="selectHost(index)"> <div class="person-pictrue" style="cursor: pointer;" @click="selectHost(index)">
<img :src="item.avatarUrl" alt="" v-if="item.avatarUrl"> <img :src="item.avatarUrl" alt="" v-if="item.avatarUrl"
style="position: absolute;left: 0;top:0;">
<div <div
style="overflow: hidden;width:40px;height: 40px;lineHeight: 40px;white-space: nowrap;background-color:#2266FF;border-radius:50%;" style="overflow: hidden;width:40px;white-space: nowrap;background-color:#2266FF;border-radius:50%;"
v-else>{{ item.name }} v-else>{{ item.name }}
</div> </div>
<span class="host">主持人</span> <span class="host">主持人</span>
@@ -100,16 +101,15 @@
v-model="form.participantList" v-model="form.participantList"
:key="partyKey" :key="partyKey"
customOrg customOrg
v-if="isShowChooseUser && partyOrgIdList.length" v-if="isShowChooseUser"
:disable="hostDisable" :disable="hostDisable"
:area-id="areaId" :area-id="areaId"
:partyList="partyOrgIdList"
:partyOrgList="form.appThreeMeetingOrganizationList" :partyOrgList="form.appThreeMeetingOrganizationList"
@change="handleSelectParty"> @change="handleSelectParty">
<div class="select-person add-person"> <div class="select-person add-person">
<div class="add-icon"><span class="el-icon-plus icon-add"></span></div> <div class="add-icon"><span class="el-icon-plus icon-add"></span></div>
<span class="person-name">选择</span> <span class="person-name">选择</span>
</div> </div>
</ai-party-member> </ai-party-member>
</el-form-item> </el-form-item>
<span class="tips">*从党员用户中选择必须设置一名主持人(点击与会人员头像设置或变更主持人)</span> <span class="tips">*从党员用户中选择必须设置一名主持人(点击与会人员头像设置或变更主持人)</span>
@@ -348,7 +348,6 @@ export default {
isOnline: "0", isOnline: "0",
isVote: "0" isVote: "0"
}, },
partyOrgIdList: [],
signStart: "", signStart: "",
signEnd: "", signEnd: "",
areaId: "", areaId: "",
@@ -444,18 +443,6 @@ export default {
} }
this.form.participantList.splice(index, 1); this.form.participantList.splice(index, 1);
}, },
getOrgList () {
this.$axios.post('/app/partyOrganization/queryAllChildren', null, {
params: {
id: this.user.info.organizationId || ''
}
}).then((res) => {
if (res && res.code == 0) {
this.partyOrgIdList = res.data
// this.isShow = true
}
})
},
//选择主持人 //选择主持人
selectHost(index) { selectHost(index) {
this.form.participantList.map(e => { this.form.participantList.map(e => {
@@ -712,7 +699,6 @@ export default {
}, },
created() { created() {
this.areaId = this.user.info.areaId; this.areaId = this.user.info.areaId;
this.getOrgList()
this.dict.load('yesOrNo', 'ThreeMeetingAnonymous', "meetingClassification", "feminderMethod", "addSignMethod", "postStatus").then(() => { this.dict.load('yesOrNo', 'ThreeMeetingAnonymous', "meetingClassification", "feminderMethod", "addSignMethod", "postStatus").then(() => {
this.searchSysAll(); this.searchSysAll();
if (this.detail && this.detail.id) { if (this.detail && this.detail.id) {
@@ -755,8 +741,8 @@ export default {
height: 40px; height: 40px;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 7px; left: 0;
top: 6px; top: 0;
color: #ffffff; color: #ffffff;
background-color: transparent; background-color: transparent;
border-radius: 50%; border-radius: 50%;
@@ -821,8 +807,8 @@ export default {
position: relative; position: relative;
img { img {
width: 54px; width: 40px;
height: 54px; height: 40px;
border-radius: 50%; border-radius: 50%;
} }