From 2a22713950f6645382f172a80d3e3960a5fcdf88 Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期四, 18 七月 2024 17:04: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