From 00987e3b70d594edd22831c7c7cbed886679c2f4 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 24 七月 2024 09:49:41 +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