修改流程 esId1

This commit is contained in:
zyx.net
2022-11-21 13:54:52 +08:00
parent 7dc428df87
commit 5e1e3dbd3b
@@ -1337,6 +1337,8 @@ export default {
glwjFileList: [],
filterText:'',
todoId:'',
esId1:'',
esId2:'',
textStatusMap: {}, // 文本状态id与name对应
standardDrawer: false,
loadSarStandard: false,
@@ -3094,11 +3096,17 @@ export default {
this.isSubmit = true
this.saveLoading = true
this.form.country=this.countryArr;
console.log(this.form);
return
var json = Object.assign(this.form, this.roleForm)
json.zrUserId = this.form.zrUserId
json.jlUserId = this.form.jlUserId
json.commentText = this.commentText
json.type = this.taskType
if(this.taskType == '1'){
json.esId1 = this.esId1
json.esId2 = this.esId2
}
json.applyUpdUserId = this.form.applyUpdUserId
json.prcCreateUser = this.form.prcCreateUser
json.prcCreateUserName = this.form.prcCreateUserName
@@ -3215,7 +3223,16 @@ export default {
if (res) {
const processForm = JSON.parse(res.mesg)
this.todoId = res.id
if(processForm.reviseStatus == '制定'){
processForm.reviseStatus = '1'
} else if(processForm.reviseStatus == '修订'){
processForm.reviseStatus = '2'
}
this.form.reviseStatus = processForm.reviseStatus
if(processForm.type == '1'){
this.esId1 = processForm.esId1
this.esId2 = processForm.esId2
}
this.taskType = processForm.type
}
}).catch(e => {