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;"> <div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.countersigner" style="display: none;"></el-input> <el-input v-model="roleForm.countersigner" style="display: none;"></el-input>
<el-input v-model="roleForm.countersignerName" readonly placeholder="选择会签人员" <el-input v-model="roleForm.countersignerName" readonly placeholder="选择会签人员"
@click.native="choicePeoples"> @click.native="choicePeoples('1')">
</el-input> </el-input>
</div> </div>
</el-form-item> </el-form-item>
@@ -849,7 +849,7 @@ export default {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.qbfsForm.commentText = this.commentText 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 = '立项单' this.qbfsForm.LXDName = '立项单'
let jsons = JSON.stringify(this.qbfsForm); let jsons = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
@@ -1365,7 +1365,8 @@ export default {
} }
this.modalshowflag = false; this.modalshowflag = false;
}, },
choicePeoples() { choicePeoples(type) {
this.roleType = type
this.nodeList2 = []; this.nodeList2 = [];
if (this.roleForm.countersigner.length > 0) { if (this.roleForm.countersigner.length > 0) {
this.nodeList2 = this.roleForm.countersigner.split(","); this.nodeList2 = this.roleForm.countersigner.split(",");