修改 外部标准化协会参会流程 人员选择冲突

This commit is contained in:
baoyu
2024-04-28 18:29:56 +08:00
parent 42005547a6
commit 95b245891f
@@ -50,7 +50,7 @@
<div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.directorUser" style="display: none;"></el-input>
<el-input :disabled="disabledXX" v-model="roleForm.directorUserName" readonly placeholder="选择标准法规部部长"
@click.native="choiceZRR('directorUser', '选择标准法规部部长', roleForm.directorUser)"></el-input>
@click.native="choiceDirector('directorUser', '选择标准法规部部长', roleForm.directorUser)"></el-input>
</div>
</el-form-item>
</el-card>
@@ -73,6 +73,13 @@
@checkedRole="checkedRole"
:nodeList="nodeList"
></Role-tree>
<Role-tree v-if="!disabledXX"
check-box
:is-title="drawerTitle"
:is-visible.sync="modalshowflagDirector"
@checkedRole="checkedRole"
:nodeList="nodeList"
></Role-tree>
<ProcessFooter v-show="!disabledXX"
show-save
show-submit
@@ -106,6 +113,7 @@ export default {
saveLoading: false,
modalshowflag: false, // drawer开关
modalshowflag2: false,
modalshowflagDirector:false,
nodeList2: [],
drawerTitle: "", //drawer标题
nodeList: [],
@@ -151,6 +159,13 @@ export default {
this.drawerTitle = title;
this.modalshowflag = true;
},
choiceDirector(type, title, id) {
this.nodeList = [];
this.nodeList.push(id);
this.type = type;
this.drawerTitle = title;
this.modalshowflagDirector = true;
},
// choiceZRRS() {
// this.nodeList2 = [];
// if (this.roleForm.dockUser.length > 0) {
@@ -165,6 +180,7 @@ export default {
} else if (this.type === "directorUser") {
this.roleForm.directorUser = data[0].id;
this.roleForm.directorUserName = data[0].name;
this.modalshowflagDirector = false
}
this.modalshowflag = false;
},