fix:修改计划立项展示起草人选择框bug

This commit is contained in:
wxyclub
2023-08-08 16:18:50 +08:00
parent 21e144f123
commit a10cb65650
2 changed files with 16 additions and 9 deletions
@@ -2527,10 +2527,14 @@
commentText: this.formTongGuo.commentText commentText: this.formTongGuo.commentText
})) }))
saveTaskForPub(_formData).then(res => { saveTaskForPub(_formData).then(res => {
this.isSubmit = false if (res.success) {
this.saveLoading = false this.isSubmit = false
this.$message.success('保存成功') this.saveLoading = false
this.bpnId = res.result this.$message.success(res.message)
this.bpnId = res.result
}else{
this.$message.warning(res.message)
}
}).catch(e => { }).catch(e => {
this.isSubmit = false this.isSubmit = false
this.saveLoading = false this.saveLoading = false
@@ -2711,7 +2715,7 @@
if(res.ok){ if(res.ok){
this.completeTask() this.completeTask()
}else{ }else{
this.$message.error(res.data) this.$message.error(res.message)
} }
}) })
}else{ }else{
@@ -1384,10 +1384,13 @@ export default {
nameList += item.name; nameList += item.name;
}); });
console.log(nameList) console.log(nameList)
this.roleForm.countersigner = idList; if(this.roleType == '1'){
this.roleForm.countersignerName = nameList; this.roleForm.countersigner = idList;
this.qbfsForm.resPerson = idList; this.roleForm.countersignerName = nameList;
this.qbfsForm.resPersonName = nameList; }else{
this.qbfsForm.resPerson = idList;
this.qbfsForm.resPersonName = nameList;
}
}, },
workGroupUnfold(type, title, ids){ workGroupUnfold(type, title, ids){
if(ids){ if(ids){