From a56c7f5fbe4b171a82561dce3b3b0ff6c5c30386 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 22 一月 2024 17:30:58 +0800 Subject: [PATCH] 可用字符集,前后缀,应用,可以用字符集接口下拉和正则接口提交 --- Source/UBCS-WEB/src/views/work/done.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/views/work/done.vue b/Source/UBCS-WEB/src/views/work/done.vue index 3f4a3ea..85236e7 100644 --- a/Source/UBCS-WEB/src/views/work/done.vue +++ b/Source/UBCS-WEB/src/views/work/done.vue @@ -18,13 +18,13 @@ <el-button type="text" size="small" icon="el-icon-info" - v-if="permission.work_done_detail" + v-if="permissionList.detailBtn" @click.stop="handleDetail(scope.row)">璇︽儏 </el-button> <el-button type="text" size="small" icon="el-icon-search" - v-if="permission.work_done_follow" + v-if="permissionList.follow" @click.stop="handleImage(scope.row,scope.index)">娴佺▼鍥� </el-button> </template> @@ -124,7 +124,13 @@ }; }, computed: { - ...mapGetters(["permission", "flowRoutes"]), + ...mapGetters(["permission", "flowRoutes","permission"]), + permissionList(){ + return{ + detailBtn:this.vaildData(this.permission.work_done.work_done_detail,false), + follow:this.vaildData(this.permission.work_done.work_done_follow,false), + } + }, ids() { let ids = []; this.selectionList.forEach(ele => { -- Gitblit v1.9.3