From 1b970c588245935181610e93e84a9a3a10d80ecd Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 13 六月 2024 08:57:36 +0800
Subject: [PATCH] 工艺路线绑定岗位资源更新

---
 src/views/tigerprojects/mes/eng/routelist/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/tigerprojects/mes/eng/routelist/index.vue b/src/views/tigerprojects/mes/eng/routelist/index.vue
index 5af5cea..1eb0729 100644
--- a/src/views/tigerprojects/mes/eng/routelist/index.vue
+++ b/src/views/tigerprojects/mes/eng/routelist/index.vue
@@ -2,7 +2,7 @@
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button type="primary" @click="handleCreate"> 鏂板宸ヨ壓璺嚎 </a-button>
+        <a-button type="primary" @click="handleCreate" preIcon="add_02|svg"> 鏂板 </a-button>
       </template>
       <template #action="{ record }">
         <TableAction
@@ -84,7 +84,7 @@
       go('/RouteDetail/' + record.ID);
     } else {
       createErrorModal({
-        title: t('鎻愮ず'),
+        title: t('璀﹀憡'),
         content: t('宸ヨ壓璺嚎鏈惎鐢ㄤ笉鑳借璁�'),
         getContainer: () => document.body,
       });
@@ -94,7 +94,7 @@
   function handleDelete(record: Recordable) {
     console.log(record);
     //鍒犻櫎宸ヨ壓璺嚎
-    const apiAction = DeleteRoute(record);
+    const apiAction = DeleteRoute(record.ID);
     apiAction.then((action) => {
       if (action.IsSuccessed) {
         reload();

--
Gitblit v1.9.3