From 97e1b9d6c8d7da0891aa7a1e00116b4b14e1b942 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 05 七月 2024 18:22:49 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 admin/src/views/business/approvalConfiguration.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/admin/src/views/business/approvalConfiguration.vue b/admin/src/views/business/approvalConfiguration.vue
index 320a8b2..eba5df1 100644
--- a/admin/src/views/business/approvalConfiguration.vue
+++ b/admin/src/views/business/approvalConfiguration.vue
@@ -163,6 +163,7 @@
           <div class="config_data_submit">
             <el-button
               @click="onSubmit"
+              :loading="subLoading"
               style="background: #435ebe"
               type="primary"
               >淇濆瓨閰嶇疆椤�</el-button
@@ -243,6 +244,7 @@
   data () {
     return {
       activeType: '0',
+      subLoading: false,
       apprList: [
         { remark: '瀹℃壒浜�', active: false, type: '0', objIds: [] },
         { remark: '鎶勯�佷汉', active: false, type: '1', objIds: [] }
@@ -323,13 +325,15 @@
           item.objIds = ''
         }
       })
+      this.subLoading = true
       approveTemplSave({
         type: activeType,
         paramList: temp
       }).then(res => {
-        // if (res.code === 200) {
-        this.$message.success('淇濆瓨鎴愬姛')
-        // }
+        this.subLoading = false
+        this.$tip.success('淇濆瓨鎴愬姛')
+      }, () => {
+        this.subLoading = false
       })
     },
     handleDel () {

--
Gitblit v1.9.3