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 |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/admin/src/views/business/approvalConfiguration.vue b/admin/src/views/business/approvalConfiguration.vue
index 8e374e7..eba5df1 100644
--- a/admin/src/views/business/approvalConfiguration.vue
+++ b/admin/src/views/business/approvalConfiguration.vue
@@ -120,7 +120,7 @@
               <div class="config_data_item_reviewed_r">
                 <span>琚浜虹殑</span>
                 <el-select
-                  v-model="apprList[activeIndex].level"
+                  v-model="apprList[activeIndex].objLevel"
                   placeholder="璇烽�夋嫨"
                   style="margin: 0 20px 0 10px"
                 >
@@ -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