This commit is contained in:
yanran200730
2021-12-23 14:16:15 +08:00
parent 4ae1b1ec2e
commit 5ad75b217f
2 changed files with 28 additions and 14 deletions

View File

@@ -192,7 +192,7 @@ import meetingDetail from "./components/meetingDetail";
export default { export default {
name: "AppMeetingChinaunion", name: "AppMeetingChinaunion",
label: "三会一课(联通专版)", label: "三会一课",
props: { props: {
instance: Function, instance: Function,
dict: Object, dict: Object,

View File

@@ -79,10 +79,9 @@
<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;white-space: nowrap;background-color:#2266FF;border-radius:50%;" style="overflow: hidden;width:40px;height: 40px;lineHeight: 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>
@@ -101,9 +100,10 @@
v-model="form.participantList" v-model="form.participantList"
:key="partyKey" :key="partyKey"
customOrg customOrg
v-if="isShowChooseUser" v-if="isShowChooseUser && partyOrgIdList.length"
: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">
@@ -348,6 +348,7 @@ export default {
isOnline: "0", isOnline: "0",
isVote: "0" isVote: "0"
}, },
partyOrgIdList: [],
signStart: "", signStart: "",
signEnd: "", signEnd: "",
areaId: "", areaId: "",
@@ -443,6 +444,18 @@ 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 => {
@@ -634,7 +647,7 @@ export default {
// 查询所有党组织 树形结构 // 查询所有党组织 树形结构
searchSysAll() { searchSysAll() {
this.instance this.instance
.post("/admin/partyOrganization/queryAllChildren", null, { .post("/app/partyOrganization/queryAllChildren", null, {
params: {id: this.user.info.organizationId} params: {id: this.user.info.organizationId}
}) })
.then(res => { .then(res => {
@@ -699,6 +712,7 @@ 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) {
@@ -741,8 +755,8 @@ export default {
height: 40px; height: 40px;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 0; left: 7px;
top: 0; top: 6px;
color: #ffffff; color: #ffffff;
background-color: transparent; background-color: transparent;
border-radius: 50%; border-radius: 50%;
@@ -807,8 +821,8 @@ export default {
position: relative; position: relative;
img { img {
width: 40px; width: 54px;
height: 40px; height: 54px;
border-radius: 50%; border-radius: 50%;
} }