52501 标准调研流程:会签节点,首次流转会签节点 数据驳回,再次流转到会签节点的时候 数据直接消失

This commit is contained in:
宋伟佳
2022-04-22 15:26:07 +08:00
parent 2d7c444a4e
commit 9466e2205b
@@ -275,6 +275,7 @@
]
},
json: {},
jsonData: {},
fileUrl: 'api/att/attFile/upload',
fileMadel: false,
}
@@ -401,11 +402,12 @@
this.$refs['qbkwForm'].validate((valid) => {
if (valid) {
this.isSubmit = true
var json = this.json
let json = this.jsonData
json.commentText = this.commentText5
json.hzfileId = this.form.hzfileId
json.hzfileName = this.form.hzfileName
json.docUser = this.newDocUser
json.responUserList = this.tableData
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -427,6 +429,8 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
let jsonData = JSON.parse(res.mesg)
this.jsonData = jsonData.form ? jsonData.form : jsonData
this.commentText5 = data.commentText5 || ''
this.form.title = data.title || data.form.title
this.form.processName = data.processName || data.form.processName