This commit is contained in:
zhutianqi
2021-12-31 16:04:09 +08:00
parent 40dee75a66
commit 3d5d3235c7
@@ -410,10 +410,10 @@
handleSave() {
this.saveLoading = true
let _formData = new FormData()
this.form.docUser = this.newDocUser
_formData.append('taskIds', this.taskIds)
_formData.append('json', JSON.stringify({
form: this.form,
docUser: this.newDocUser,
commentText3: this.commentText3,
}))
saveTaskForPub(_formData).then(res => {
@@ -469,7 +469,6 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
console.log(data);
let commitStatus = res.commitStatus
if(commitStatus && commitStatus > 0){
this.acceptShow = true
@@ -490,7 +489,7 @@
this.form.fileName = data.form? data.form.fileName : ''
this.form.fileId = data.form ? data.form.fileId : ''
this.form.dyhz = data.form ? data.form.dyhz : ''
this.newDocUser = data.form ? data.form.docUser : data.docUser
this.newDocUser = data.docUser
this.form.fileList = data.form ? data.form.fileList : []
}).catch(e => {
})