From 1a95b0bb8d0f7a9f2a1d18c719f3a8b68f58fc2d Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 20 三月 2024 10:36:36 +0800
Subject: [PATCH] 工单、考核结果发布按钮权限

---
 src/views/system/work-order/index.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index f27f236..0ebfc45 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -109,15 +109,16 @@
             type="text"
             @click="handleYwCondition(scope.row)"
           >杩愮淮鎯呭喌</el-button>
-          <el-button
-            size="mini"
-            type="text"
-            @click="handleYwResult(scope.row)"
-          >杩愮淮缁撴灉</el-button>
+<!--          <el-button-->
+<!--            size="mini"-->
+<!--            type="text"-->
+<!--            @click="handleYwResult(scope.row)"-->
+<!--          >杩愮淮缁撴灉</el-button>-->
           <el-button
             size="mini"
             type="text"
             @click="handleCheckResult(scope.row)"
+            v-hasPermi="['work:order:result']"
           >妫�娴嬬粨鏋�</el-button>
           <el-button
             size="mini"
@@ -249,7 +250,7 @@
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitYwResult">纭� 瀹�</el-button>
-        <el-button @click="cancelYwResult">鍙� 娑�</el-button>
+        <el-button @click="cancelCheckResult">鍙� 娑�</el-button>
       </div>
     </el-dialog>
 

--
Gitblit v1.8.0