From 0f58bee17bf242872ecefbd38c4c2422264ae4b7 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 22 七月 2024 11:57:38 +0800
Subject: [PATCH] 工单样式

---
 src/views/system/check/result/detail/index.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/system/check/result/detail/index.vue b/src/views/system/check/result/detail/index.vue
index d9326e2..227acca 100644
--- a/src/views/system/check/result/detail/index.vue
+++ b/src/views/system/check/result/detail/index.vue
@@ -57,8 +57,8 @@
         <el-table-column label="鎿嶄綔" align="center">
           <template slot-scope="scope">
             <div style="display: flex;justify-content: center;">
-            <el-button size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'UNPUBLISHED'" >纭鍙戝竷</el-button>
-            <el-button size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'PUBLISHED'">鍙栨秷鍙戝竷</el-button>
+            <el-button v-hasPermi="['check:score:publish']" size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'UNPUBLISHED'" >纭鍙戝竷</el-button>
+            <el-button v-hasPermi="['check:score:publish']" size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'PUBLISHED'">鍙栨秷鍙戝竷</el-button>
             <el-button
               size="mini"
               type="text"
@@ -126,7 +126,6 @@
   },
   created() {
     //鑰冩牳鎴愮哗璇︽儏璺宠浆鍙傛暟鎺ユ敹
-    console.log(this.$route.query.index)
     if (this.$route.query.index) {
       this.queryParams.deptId = this.$route.query.index
       this.queryParamsList.deptId = this.$route.query.index

--
Gitblit v1.8.0