From 370b26066c560f15f6a84caca2be149e48e86556 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期二, 07 一月 2025 15:52:05 +0800 Subject: [PATCH] 系统菜单 默认显示&&系统配置、对象建模按钮权限以及按钮图标 --- Source/plt-web/plt-web-ui/src/views/system/password/index.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/system/password/index.vue b/Source/plt-web/plt-web-ui/src/views/system/password/index.vue index a621b37..4e52112 100644 --- a/Source/plt-web/plt-web-ui/src/views/system/password/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/system/password/index.vue @@ -14,23 +14,30 @@ @row-save="rowSaveHandler" @row-update="rowUpdateHandler" > + <template slot="menuLeft" slot-scope="{ row, index }"> + <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" + type="primary" @click="$refs.passWordCrud.rowAdd()"> + <icon-show :name="permissionList.addBtn.source"></icon-show> + 鏂� 澧� + </el-button> + </template> <template slot="menu" slot-scope="{ row, index }"> <el-button v-if="permissionList.editBtn" - icon="el-icon-edit" size="small" type="text" @click="handleEdit(row, index)" > + <icon-show :name="permissionList.editBtn.source"></icon-show> 缂栬緫 </el-button> <el-button v-if="permissionList.delBtn" - icon="el-icon-delete" size="small" type="text" @click="handleDel(row, index)" > + <icon-show :name="permissionList.delBtn.source"></icon-show> 鍒犻櫎 </el-button> </template> @@ -89,7 +96,7 @@ option() { return { ...basicOption, - addBtn: this.permissionList.addBtn, + addBtn: false, selection: false, menuWidth: 150, editBtn: false, -- Gitblit v1.9.3