From dc958126a95a7ccd46d90a1ca42eeb03789f9c33 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期二, 29 八月 2023 17:51:20 +0800
Subject: [PATCH] 增加按钮权限

---
 src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
index 1fefdfb..8f34416 100644
--- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
+++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
@@ -17,18 +17,21 @@
                 @click="handleSW"
                 :disabled=SWbuttonDistable
                 type="primary"
+                v-has="'dailyInspectionOrder:SW'"
               >寮�宸�</a-button>
               <a-button
                 :style="{marginRight: '8px'}"
                 @click="handleReport"
                 :disabled="buttonDistable"
                 type="primary"
+                v-has="'dailyInspectionOrder:report'"
               >鎶ュ伐</a-button>
               <a-button
                 :style="{marginRight: '8px'}"
                 @click="handleReset"
                 :disabled="revocationDistable"
                 type="primary"
+                v-has="'dailyInspectionOrder:reset'"
               >鎾ら攢</a-button>
             </a-row>
           </div>
@@ -262,11 +265,13 @@
           @click="handleTS"
           :disabled="buttonDistable"
           type="primary"
+          v-has="'dailyInspectionOrder:TS'"
         >鏆傚瓨</a-button>
         <a-button
           @click="handleOk"
           :disabled="buttonDistable"
           type="primary"
+          v-has="'dailyInspectionOrder:save'"
         >淇濆瓨</a-button>
       </a-row>
     </div>
@@ -393,14 +398,12 @@
           dataIndex: 'abnormalDesc',
           scopedSlots: { customRender: 'abnormalDesc' },
         },
-        {
-          title: '寮傚父鎷嶇収',
-          align: 'center',
-          dataIndex: 'abnormalPhoto',
-          scopedSlots: { customRender: 'abnormalPhoto' },
-          // dataIndex: 'action',
-          // scopedSlots: { customRender: 'action' },
-        },
+        // {
+        //   title: '寮傚父鎷嶇収',
+        //   align: 'center',
+        //   dataIndex: 'abnormalPhoto',
+        //   scopedSlots: { customRender: 'abnormalPhoto' },
+        // },
         {
           title: '*寮傚父澶勭疆',
           align: 'center',

--
Gitblit v1.9.3