From 04aac2eda9b5d9473eb96d12b32cb76fb45135c6 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期日, 21 七月 2024 19:52:31 +0800
Subject: [PATCH] 工单更新

---
 src/views/tigerprojects/mes/smt/tool/smt_tool/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/tigerprojects/mes/smt/tool/smt_tool/index.vue b/src/views/tigerprojects/mes/smt/tool/smt_tool/index.vue
index ef8f5a9..d316e95 100644
--- a/src/views/tigerprojects/mes/smt/tool/smt_tool/index.vue
+++ b/src/views/tigerprojects/mes/smt/tool/smt_tool/index.vue
@@ -2,8 +2,10 @@
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button color="primary" @click="addTool"> 娣诲姞 </a-button>
-        <a-button ghost color="primary" @click="aoaToExcel"> 瀵煎嚭 </a-button>
+        <a-button color="primary" @click="addTool" preIcon="add_02|svg"> 鏂板 </a-button>
+        <a-button ghost color="success" @click="aoaToExcel" preIcon="excel-export|svg">
+          瀵煎嚭
+        </a-button>
       </template>
       <template #action="{ record }">
         <TableAction
@@ -21,6 +23,7 @@
             {
               icon: 'ant-design:delete-outlined',
               tooltip: '鍒犻櫎',
+              color: 'error',
               popConfirm: {
                 title: '鏄惁纭鍒犻櫎?',
                 placement: 'left',
@@ -75,7 +78,7 @@
     },
     ellipsis: true,
     useSearchForm: true,
-    showTableSetting: false,
+    showTableSetting: true,
     bordered: true,
     showIndexColumn: false,
   });

--
Gitblit v1.9.3