From 720381cfb95f06c87c0b11fe92531d06c2b02e12 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期三, 15 一月 2025 17:58:05 +0800
Subject: [PATCH] 11

---
 src/views/hosp/customer/index.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/hosp/customer/index.vue b/src/views/hosp/customer/index.vue
index ae5970f..ea40064 100644
--- a/src/views/hosp/customer/index.vue
+++ b/src/views/hosp/customer/index.vue
@@ -255,6 +255,7 @@
           size="mini"
           @click="handleBlacklist"
           :disabled="single"
+          :loading="blackloading"
           v-hasPermi="['hosp:order:export']"
           >鍔犲叆榛戝悕鍗�</el-button
         >
@@ -1013,6 +1014,9 @@
 
       // 閬僵灞�
       loading: true,
+      blackloading:false,
+      isAdding:false,
+      
       // 閫変腑鏁扮粍
       ids: [],
       // 闈炲崟涓鐢�
@@ -1296,11 +1300,13 @@
     },
 
     handleBlacklist() {
+      this.blackloading = true;
       let data = {
         cusId: this.ids[0],
       };
       addCustomerBlack(data).then((res) => {
         this.$modal.msgSuccess("宸插姞鍏ラ粦鍚嶅崟");
+        this.blackloading = false;
         this.getList();
       });
     },

--
Gitblit v1.8.0