修改 外部标准化协会入会流程 起草节点 人员选择组件复用冲突

This commit is contained in:
baoyu
2024-04-28 15:10:42 +08:00
parent 1160bcd2f4
commit 547eb78531
@@ -345,7 +345,7 @@
<h4>费用管理部门</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.feeUserId" style="display: none;"></el-input>
<el-input :disabled="disabledXX" v-model="roleForm.feeUser" readonly placeholder="选择费用管理部门" @click.native="choiceZRR('feeUser', '选择费用管理部门', roleForm.feeUser)">
<el-input :disabled="disabledXX" v-model="roleForm.feeUser" readonly placeholder="选择费用管理部门" @click.native="choiceFEE('feeUser', '选择费用管理部门', roleForm.feeUserId)">
</el-input>
</div>
</el-form-item>
@@ -425,6 +425,12 @@
:nodeList="nodeList"
@checkedRole="drawerCheck"
/>
<Role-tree v-if="!disabledXX"
is-title="选择人员信息"
:is-visible.sync="roleShowflagFEE"
:nodeList="nodeList"
@checkedRole="drawerCheckFEE"
/>
<Role-tree v-if="!disabledXX"
check-box
is-title="选择联络人"
@@ -541,6 +547,7 @@ export default {
roleShowflag: false,
roleShowflagOne: false,
telShowflag: false,
roleShowflagFEE: false,
nodeList: [],
nodeListOne: [],
nodeListTel: [],
@@ -764,6 +771,12 @@ export default {
this.drawerTitle = title
this.roleShowflag = true
},
choiceFEE(type, title, id) {
this.nodeList = []
this.nodeList.push(id)
this.drawerTitle = title
this.roleShowflagFEE = true
},
drawerCheck(data) {
var idList = ''
var nameList = ''
@@ -786,6 +799,21 @@ export default {
}
this.roleShowflag = false
},
drawerCheckFEE(data) {
var idList = ''
var nameList = ''
data.forEach(item => {
if (nameList.length > 0) {
nameList += ','
idList += ','
}
idList += item.id;
nameList += item.name;
});
this.roleForm.feeUser = nameList
this.roleForm.feeUserId = idList
this.roleShowflag = false
},
// 流程阶段人选择
choiceZRROne(type, title, id) {