diff --git a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue index 2c217bf0..aceed240 100644 --- a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue +++ b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue @@ -497,9 +497,10 @@ export default { }) // 获取按钮清单 this.btnList = FGEntryChangeProcessNode.btnOfValue(this.$route.query.taskName) + } else { + this.$message.warning(res.message) + this.loading = false } - }).finally(() => { - }) }, /** @@ -721,7 +722,7 @@ export default { // 处理业务信息 this.$refs.ruleForm.validate(valid => { if (valid) { - const formInline = JSON.parse(JSON.stringify(this.formInline)) + const formInline = Object.assign({ ...this.defaultValue }, { ...this.formInline }) Object.keys(formInline).forEach(res => { if (formInline[res] instanceof Array) { if (formInline[res][0] instanceof Object) { @@ -764,7 +765,7 @@ export default { * 保存 */ handleSave () { - const formInline = JSON.parse(JSON.stringify(this.formInline)) + const formInline = Object.assign({ ...this.defaultValue }, { ...this.formInline }) Object.keys(formInline).forEach(res => { if (formInline[res] instanceof Array) { if (formInline[res][0] instanceof Object) {