From 28bd61701bb409257ea0dd3c78f32bd0b45ebbd5 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 06 三月 2023 09:16:35 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.20.39:8989/r/LFWEB_NEW --- src/views/AuthorizationManagement/roleMenuAuthorization.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/views/AuthorizationManagement/roleMenuAuthorization.vue b/src/views/AuthorizationManagement/roleMenuAuthorization.vue index 488dc3b..1a96645 100644 --- a/src/views/AuthorizationManagement/roleMenuAuthorization.vue +++ b/src/views/AuthorizationManagement/roleMenuAuthorization.vue @@ -45,6 +45,7 @@ <el-table :data="tableData" style="width: 100%" + border @row-click="singleElection" highlight-current-row height="calc(100% - 135px)" @@ -149,6 +150,7 @@ <el-divider class="divider" /> <el-table :data="menuTableData" + border style="width: 100%" height="calc(100% - 85px)" @selection-change="handleSelectionChange" @@ -191,6 +193,7 @@ <el-dialog :title="$t('operatManage.UserRoleAuthorizationObj.Added')" :visible.sync="dialogTableVisible" + :before-close="handleClose" > <el-table :data="gridData" @@ -233,7 +236,7 @@ > <el-button size="small" - @click="dialogTableVisible = false" + @click="handleClose" >{{ $t('dataManage.dictionaryManageObj.cancel') }}</el-button> @@ -529,6 +532,13 @@ break; } }, + handleClose() { + this.$confirm("鍏抽棴鍚庢棤娉曚繚瀛橈紝鏄惁鍏抽棴?") + .then((_) => { + this.dialogTableVisible = false + }) + .catch((_) => { }); + }, }, created() { var val = this.$store.state.currentPerms; -- Gitblit v1.9.3