法规清单添加任务确认驳回原因

This commit is contained in:
范强强
2022-09-06 11:57:50 +08:00
parent e0c5a00aac
commit d6fbd52e1a
5 changed files with 127 additions and 11 deletions
@@ -189,8 +189,8 @@
rejectUserId:this.userInfo().id,
rejectTime:rejectTime,
rejectCause:rejectCause,
projectLawsInventoryId:ids.join(','),
rejectType:'0',
projectLawsInventoryId:ids,
rejectType:'1',
}
postAction('/project/projectLawsInventoryRejectCauseEO/add', query).then((res) => {
@@ -198,9 +198,9 @@
},
completeTask(value, handlingTime) {
let json = Object.assign(this.queryBy, { handlingTime: handlingTime }, value)
// if (json.flag == '1'){
// this.rejectCauseAdd(value.approvalOpinion,this.queryBy.id)
// }
if (json.flag == '1'){
this.rejectCauseAdd(value.approvalOpinion,this.queryBy.id)
}
Object.keys(json).forEach(res => {
if (json[res] && typeof json[res] == 'string') {
json[res] = json[res].replace(/\"/g, '“')