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