[update] 修改bug81137
This commit is contained in:
+9
-12
@@ -372,6 +372,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -497,9 +500,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交,发起变更
|
// 节点一时候的提交,发起变更
|
||||||
@@ -536,9 +538,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -566,9 +567,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -604,9 +604,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -630,9 +629,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -658,9 +656,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
+10
-14
@@ -345,6 +345,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -401,9 +404,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交,发起变更
|
// 节点一时候的提交,发起变更
|
||||||
@@ -438,9 +440,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -468,9 +469,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -495,9 +495,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -524,9 +523,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -553,9 +551,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -584,9 +581,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -302,6 +302,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -353,9 +356,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交
|
// 节点一时候的提交
|
||||||
@@ -392,9 +394,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -422,9 +423,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -448,9 +448,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -476,9 +475,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -301,6 +301,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -365,9 +368,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交
|
// 节点一时候的提交
|
||||||
@@ -405,9 +407,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -435,9 +436,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -461,9 +461,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -489,9 +488,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -717,6 +717,9 @@ export default {
|
|||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
// 业务基本信息-申请类型和项目类别
|
// 业务基本信息-申请类型和项目类别
|
||||||
@@ -839,9 +842,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交,发起立项变更申请,有taskId就是驳回后的提交
|
// 节点一时候的提交,发起立项变更申请,有taskId就是驳回后的提交
|
||||||
@@ -947,6 +949,7 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
if (res.message === this.$t('workCenter.enterpriseInitChangePlan.existingNumber')) {
|
if (res.message === this.$t('workCenter.enterpriseInitChangePlan.existingNumber')) {
|
||||||
// 已经存在编号,重新生成
|
// 已经存在编号,重新生成
|
||||||
if ([ProjectType.ENACT.value, ProjectType.MODIFY.value, ProjectType.MERGE.value].includes(this.formInline.projectType)) {
|
if ([ProjectType.ENACT.value, ProjectType.MODIFY.value, ProjectType.MERGE.value].includes(this.formInline.projectType)) {
|
||||||
@@ -961,8 +964,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -985,9 +986,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -1013,9 +1013,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -1053,9 +1052,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -1080,9 +1078,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -1104,9 +1102,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -359,6 +359,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -410,9 +413,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交
|
// 节点一时候的提交
|
||||||
@@ -449,9 +451,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -479,9 +480,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -504,9 +504,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -530,9 +529,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -558,9 +556,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-13
@@ -450,6 +450,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -512,9 +515,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交,发起变更
|
// 节点一时候的提交,发起变更
|
||||||
@@ -558,9 +560,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -588,9 +589,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -612,9 +612,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -643,9 +642,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -660,9 +658,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -689,9 +686,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -304,6 +304,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -355,9 +358,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交
|
// 节点一时候的提交
|
||||||
@@ -394,9 +396,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -424,9 +425,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -450,9 +450,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -478,9 +477,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -302,6 +302,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave () {
|
handleSave () {
|
||||||
|
if (this.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
// 有任意一项填了即可
|
// 有任意一项填了即可
|
||||||
// 流程信息表单
|
// 流程信息表单
|
||||||
const processInfoForm = this.processInfoForm.getFieldsValue()
|
const processInfoForm = this.processInfoForm.getFieldsValue()
|
||||||
@@ -353,9 +356,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 节点一时候的提交
|
// 节点一时候的提交
|
||||||
@@ -392,9 +394,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.switchValue = 'base'
|
this.switchValue = 'base'
|
||||||
@@ -422,9 +423,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -448,9 +448,8 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -476,9 +475,9 @@ export default {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
|
||||||
this.validatorRules.commitText.rules[0].required = false
|
this.validatorRules.commitText.rules[0].required = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user