bug
This commit is contained in:
@@ -44,10 +44,30 @@
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<ai-wechat-selecter slot="append" :instance="instance" :props="{id:'wxUserId',label:'name'}"
|
||||
<!-- <ai-wechat-selecter slot="append" :instance="instance" :props="{id:'wxUserId',label:'name'}"
|
||||
v-model="item.candidateList" v-if="item.candidateApproverType==1">
|
||||
<el-button size="mini" type="primary">选择指定人员</el-button>
|
||||
</ai-wechat-selecter>
|
||||
</ai-wechat-selecter> -->
|
||||
<!-- <ai-user-picker :instance="instance" v-model="item.candidateList" v-if="item.candidateApproverType==1"/> -->
|
||||
<!-- <ai-people :showAiArea="false" customCliker :instance="instance"
|
||||
unitUrl="/admin/sysunit/getAll2"
|
||||
:meta="[]" v-model="item.candidateList"
|
||||
v-if="item.candidateApproverType==1">
|
||||
<el-button size="mini" type="primary">选择指定人员</el-button>
|
||||
</ai-people> -->
|
||||
|
||||
<!-- <ai-user-picker :instance="instance" v-model="form.portalUserId"/> -->
|
||||
<ai-person-select
|
||||
:chooseUserList="item.candidateList"
|
||||
v-if="item.candidateApproverType==1"
|
||||
:instance="instance" customRightText url="/user/page"
|
||||
headerTitle="人员列表" dialogTitle="选择" :isMultiple="true"
|
||||
@selectPerson="e => changeCharge(e, index)">
|
||||
<template v-slot:option="{ item }">
|
||||
<span class="iconfont iconProlife">{{ item.name }}</span>
|
||||
<span>{{ item.phone }}</span>
|
||||
</template>
|
||||
</ai-person-select>
|
||||
</div>
|
||||
</el-step>
|
||||
</el-steps>
|
||||
@@ -130,6 +150,7 @@ export default {
|
||||
bomIndex: '',
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
addRules() {
|
||||
return {
|
||||
@@ -161,6 +182,10 @@ export default {
|
||||
this.form.processNodeList.splice(index, 1)
|
||||
})
|
||||
},
|
||||
|
||||
changeCharge (e, i) {
|
||||
this.$set(this.form.processNodeList[i], 'candidateList', e)
|
||||
},
|
||||
/**
|
||||
* 添加流程
|
||||
* @param index
|
||||
|
||||
Reference in New Issue
Block a user