From 80da77d96adf4acbf25ea5c8614ae485bc02da2d Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 07 十二月 2023 15:48:18 +0800 Subject: [PATCH] 下载历史数据导入模板带上码段宽度 --- Source/UBCS-WEB/src/views/authority/datascope.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Source/UBCS-WEB/src/views/authority/datascope.vue b/Source/UBCS-WEB/src/views/authority/datascope.vue index 8734524..8d585a9 100644 --- a/Source/UBCS-WEB/src/views/authority/datascope.vue +++ b/Source/UBCS-WEB/src/views/authority/datascope.vue @@ -22,10 +22,10 @@ @on-load="onLoad" @tree-load="treeLoad"> <template slot-scope="{row}" slot="menu"> - <el-button type="text" + <el-button v-if="permissionList.settingBtn" + type="text" icon="el-icon-setting" size="small" - v-if="permission.data_scope_setting" plain style="border: 0;background-color: transparent !important;" @click.stop="handleDataScope(row)">鏉冮檺閰嶇疆 @@ -59,7 +59,8 @@ @size-change="sizeChangeScope" @on-load="onLoadScope"> <template slot="menuLeft"> - <el-button type="danger" + <el-button v-if="permissionList.delBtn" + type="danger" size="small" icon="el-icon-delete" plain @@ -426,10 +427,11 @@ ...mapGetters(["permission"]), permissionList() { return { - addBtn: this.vaildData(this.permission.menu_add, false), - viewBtn: this.vaildData(this.permission.menu_view, false), - delBtn: this.vaildData(this.permission.menu_delete, false), - editBtn: this.vaildData(this.permission.menu_edit, false) + addBtn: this.vaildData(this.permission.data_scope.data_scope_add, false), + viewBtn: this.vaildData(this.permission.data_scope.data_scope_view, false), + delBtn: this.vaildData(this.permission.data_scope.data_scope_delete, false), + editBtn: this.vaildData(this.permission.data_scope.data_scope_edit, false), + settingBtn: this.vaildData(this.permission.data_scope.data_scope_setting,false), }; }, ids() { -- Gitblit v1.9.3