From 54c22f2f0e98c35e48cdad6c4d0299d08beea630 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 28 七月 2025 10:15:13 +0800
Subject: [PATCH] update

---
 src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue b/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue
index ba99918..a957d64 100644
--- a/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue
+++ b/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue
@@ -105,21 +105,21 @@
           <lx-switch v-model="text" disabled checked-children="鏄�" un-checked-children="鍚�"/>
         </span>
         <span slot="action" slot-scope="text, record">
-          <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE' && isShowAuth('eam:weekMaintenance:edit')">
-          <a @click="handleEdit(record)">缂栬緫</a>
+          <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE'">
+          <a @click="handleEdit(record)" v-if="isShowAuth('eam:weekMaintenance:edit')">缂栬緫</a>
 
-          <a-divider type="vertical"/>
+          <a-divider type="vertical" v-if="isShowAuth('eam:weekMaintenance:edit')"/>
 
-          <a-popconfirm title="纭畾棰嗗彇鍚�?" @confirm="() => handlerCollect(record.id)">
+          <a-popconfirm title="纭畾棰嗗彇鍚�?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:weekMaintenance:collect')">
             <a>棰嗗彇</a>
           </a-popconfirm>
 
-          <a-divider type="vertical"/>
+          <a-divider type="vertical" v-if="isShowAuth('eam:weekMaintenance:collect')"/>
 
           <a-dropdown>
             <a class="ant-dropdown-link">鏇村 <a-icon type="down"/></a>
             <a-menu slot="overlay">
-              <a-menu-item>
+              <a-menu-item v-if="isShowAuth('eam:weekMaintenance:abolish')">
                 <a-popconfirm title="纭畾浣滃簾鍚�?" @confirm="() => handlerAbolish(record.id)">
                   <a>浣滃簾</a>
                 </a-popconfirm>
@@ -208,6 +208,11 @@
             width: 60
           },
           {
+            title: '瀹夎浣嶇疆',
+            align: 'center',
+            dataIndex: 'installationPosition'
+          },
+          {
             title: '鏍囧噯鍚嶇О',
             align: 'center',
             dataIndex: 'standardId_dictText',

--
Gitblit v1.9.3