From 63d9a9c62fd34f4b48a157e0bc57dd82ee09a197 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 27 十一月 2025 17:36:12 +0800
Subject: [PATCH] 2025.11.27

---
 src/views/fysp/config/DomainCatalog.vue |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/views/fysp/config/DomainCatalog.vue b/src/views/fysp/config/DomainCatalog.vue
index 3c9151e..33d3695 100644
--- a/src/views/fysp/config/DomainCatalog.vue
+++ b/src/views/fysp/config/DomainCatalog.vue
@@ -6,9 +6,26 @@
         :items="domainCatalog"
         :loading="sideLoading"
         @item-click="chooseCatalog"
-      ></SideList>
+      >
+        <template #header>
+          <el-row justify="end">
+            <el-button
+              type="primary"
+              icon="CirclePlusFilled"
+              size="small"
+              @click="handelDownload"
+            >
+            </el-button>
+          </el-row>
+        </template>
+      </SideList>
     </template>
     <template #main>
+      <ToolBar
+        class="toolbar-sticky"
+        :title="selectedCatalog?.name"
+        :loading="loading"
+      ></ToolBar>
       <!-- <FormCol> -->
       <el-table
         :data="domainItems"
@@ -204,12 +221,12 @@
 
 // 鍙栨秷缂栬緫
 function cancelEdit(scope) {
+  if (scope.row._isAdd) {
+    domainItems.value.splice(scope.$index, 1);
+  }
   scope.row._isAdd = false;
   scope.row._isEdit = false;
-  domainItems.value.splice(scope.$index, 1);
 }
-
-
 
 function _validate(row) {
   return (

--
Gitblit v1.9.3