修改 外部标准化协会入会流程、外部标准化协会参会流程 人员选择问题

This commit is contained in:
baoyu
2024-04-28 17:21:39 +08:00
parent 0793bc58a1
commit bd54940232
2 changed files with 31 additions and 2 deletions
@@ -766,7 +766,7 @@ export default {
// 流程阶段负责人选择
choiceZRR(type, title, id) {
this.nodeList = []
this.nodeList.push(id)
this.nodeList = JSON.parse(JSON.stringify(id.split(',')))
this.type = type
this.drawerTitle = title
this.roleShowflag = true
@@ -273,7 +273,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.feeUserId)">
<el-input :disabled="disabledXX" v-model="roleForm.feeUser" readonly placeholder="选择费用管理部门" @click.native="choiceZRRFEE('feeUser', '选择费用管理部门', roleForm.feeUserId)">
</el-input>
</div>
</el-form-item>
@@ -346,6 +346,12 @@
:nodeList="nodeListOne"
@checkedRole="drawerCheckOne"
/>
<Role-tree v-if="!disabledXX"
is-title="选择人员信息"
:is-visible.sync="roleShowflagFEE"
:nodeList="nodeListOne"
@checkedRole="drawerCheckFEE"
/>
<Role-tree v-if="!disabledXX"
is-title="选择人员信息"
:is-visible.sync="roleShowflag"
@@ -461,6 +467,7 @@ export default {
roleShowflagOne: false,
isSubmit: false,
saveLoading: false,
roleShowflagFEE: false,
commentInfo: '',
bpnId: '',
// 设置当前日期之前不可选择
@@ -700,6 +707,28 @@ export default {
this.drawerTitleOne = title
this.roleShowflagOne = true
},
choiceZRRFEE(type, title, id) {
console.log(id)
this.nodeListOne = []
this.nodeListOne = JSON.parse(JSON.stringify(id.split(',')))
this.drawerTitleOne = title
this.roleShowflagFEE = true
},
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
},
drawerCheckOne(data) {
this.unqualidiedData.forEach(item => {
item.engineer = data[0].name