fix:修改计划立项展示会签人员选择框bug

This commit is contained in:
wxyclub
2023-08-09 16:36:11 +08:00
parent a10cb65650
commit b5f190f491
@@ -282,7 +282,7 @@
<div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.countersigner" style="display: none;"></el-input>
<el-input v-model="roleForm.countersignerName" readonly placeholder="选择会签人员"
@click.native="choicePeoples">
@click.native="choicePeoples('1')">
</el-input>
</div>
</el-form-item>
@@ -849,7 +849,7 @@ export default {
if (valid) {
this.isSubmit = true
this.qbfsForm.commentText = this.commentText
this.qbfsForm.LXD = this.lxdList[0].id
this.qbfsForm.LXD = this.lxdList && this.lxdList.length > 0 ? this.lxdList[0].id : ''
this.qbfsForm.LXDName = '立项单'
let jsons = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', {
@@ -1365,7 +1365,8 @@ export default {
}
this.modalshowflag = false;
},
choicePeoples() {
choicePeoples(type) {
this.roleType = type
this.nodeList2 = [];
if (this.roleForm.countersigner.length > 0) {
this.nodeList2 = this.roleForm.countersigner.split(",");