From 761f38e975bc4f4d6973eb92996504928e1b30b0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 五月 2025 16:31:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 src/views/basicData/customerFile/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index 1a2b476..49ddc7b 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -20,7 +20,7 @@
     </div>
   </div>
   <div class="table_list">
-    <PIMTable :column="tableColumn" :tableData="tableData" :page="page" :handleSelectionChange="handleSelectionChange"
+    <PIMTable :column="tableColumn" :tableData="tableData" :page="page" :isSelection="true" :handleSelectionChange="handleSelectionChange"
               :tableLoading="tableLoading" @pagination="pagination" :total="total"></PIMTable>
   </div>
   <el-dialog v-model="dialogFormVisible" :title="operationType === 'add' ? '鏂板瀹㈡埛淇℃伅' : '缂栬緫瀹㈡埛淇℃伅'" width="70%" @close="closeDia">
@@ -105,7 +105,7 @@
 const tableColumn = ref([
   {
     label: '瀹㈡埛鍚嶇О',
-    prop: 'customerName'
+    prop: 'customerName',
   },
   {
     label: '绾崇◣浜鸿瘑鍒爜',
@@ -134,6 +134,7 @@
   {
     dataType: "action",
     label: "鎿嶄綔",
+    align: 'center',
     operation: [
       {
         name: "缂栬緫",
@@ -281,16 +282,19 @@
   }
   ElMessageBox.confirm(
       '閫変腑鐨勫唴瀹瑰皢琚垹闄わ紝鏄惁纭鍒犻櫎锛�',
-      '瀵煎嚭', {
+      '鍒犻櫎鎻愮ず', {
         confirmButtonText: '纭',
         cancelButtonText: '鍙栨秷',
         type: 'warning',
       }
   ).then(() => {
+    tableLoading.value = true
     delCustomer(ids).then(res => {
       proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛")
+      getList()
+    }).finally(() => {
+      tableLoading.value = false
     })
-    getList()
   }).catch(() => {
     proxy.$modal.msg("宸插彇娑�")
   })

--
Gitblit v1.9.3