From 53a6c2c9c3b25d1557a362809f291ca1c6195bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Wed, 18 Oct 2023 14:37:15 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=87=E6=A1=A3=E6=8B=86=E5=88=86-?= =?UTF-8?q?=E7=BC=96=E8=BE=91-=E5=90=88=E5=B9=B6=E6=9D=A1=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documentTool/documentSplit/DocumentSplitDetail.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/documentTool/documentSplit/DocumentSplitDetail.vue b/src/views/documentTool/documentSplit/DocumentSplitDetail.vue index 730d4fb2..673e17b0 100644 --- a/src/views/documentTool/documentSplit/DocumentSplitDetail.vue +++ b/src/views/documentTool/documentSplit/DocumentSplitDetail.vue @@ -508,15 +508,18 @@ export default { title: this.$t('docTool.split.mergeTerms'), content: '', onOk: () => { + this.loading = true merageClause({ ids: ids }).then(res => { - if (res.data.success) { - this.$message.success(this.$t('operationSuccessful')) + if (res.success) { + this.$message.success(res.message) + this.loading = false this.onClearSelected() this.loadMenuData() this.loadData() this.selectedRowKeys = [] } else { - this.$message.warning(this.$t('operationFailed')) + this.$message.warning(res.message) + this.loading = false } }) }