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
}))
saveTaskForPub(_formData).then(res => {
this.isSubmit = false
this.saveLoading = false
this.$message.success('保存成功')
this.bpnId = res.result
if (res.success) {
this.isSubmit = false
this.saveLoading = false
this.$message.success(res.message)
this.bpnId = res.result
}else{
this.$message.warning(res.message)
}
}).catch(e => {
this.isSubmit = false
this.saveLoading = false
@@ -2711,7 +2715,7 @@
if(res.ok){
this.completeTask()
}else{
this.$message.error(res.data)
this.$message.error(res.message)
}
})
}else{
@@ -1384,10 +1384,13 @@ export default {
nameList += item.name;
});
console.log(nameList)
this.roleForm.countersigner = idList;
this.roleForm.countersignerName = nameList;
this.qbfsForm.resPerson = idList;
this.qbfsForm.resPersonName = nameList;
if(this.roleType == '1'){
this.roleForm.countersigner = idList;
this.roleForm.countersignerName = nameList;
}else{
this.qbfsForm.resPerson = idList;
this.qbfsForm.resPersonName = nameList;
}
},
workGroupUnfold(type, title, ids){
if(ids){