update 标准法规入库/变更流程
This commit is contained in:
@@ -869,8 +869,14 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
let submitFunc
|
||||||
|
if (this.currentNode === FGEntryChangeProcessNode.initiate.value && !this.$route.query.processInstanceId) {
|
||||||
|
submitFunc = initiateStandardECProcess
|
||||||
|
} else {
|
||||||
|
submitFunc = agreeStandardECProcess
|
||||||
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
initiateStandardECProcess(formData).then(res => {
|
submitFunc(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
this.goBack()
|
this.goBack()
|
||||||
|
|||||||
Reference in New Issue
Block a user