From 589b97d2858299727964aa1ac81d1323993c7f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 9 Nov 2023 16:01:48 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E5=85=A5=E5=BA=93/=E5=8F=98=E6=9B=B4=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StandardEntryOrChangeProcess.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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) {