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/menuRoleAuthorization.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/AuthorizationManagement/menuRoleAuthorization.vue b/src/views/AuthorizationManagement/menuRoleAuthorization.vue index 71ce6b7..7a1e129 100644 --- a/src/views/AuthorizationManagement/menuRoleAuthorization.vue +++ b/src/views/AuthorizationManagement/menuRoleAuthorization.vue @@ -97,6 +97,7 @@ <el-table :data="tableData" style="width: 100%" + border height="calc(100% - 80px)" @selection-change="handleSelectionChange" > @@ -177,6 +178,7 @@ <el-dialog :title="$t('operatManage.UserRoleAuthorizationObj.Added')" :visible.sync="dialogTableVisible" + :before-close="handleClose" > <el-table :data="gridData" @@ -208,7 +210,7 @@ </el-pagination> </div> <div slot="footer" class="dialog-footer"> - <el-button size="small" @click="dialogTableVisible = false">{{ + <el-button size="small" @click="handleClose">{{ $t("dataManage.dictionaryManageObj.cancel") }}</el-button> <el-button size="small" type="primary" @click="addConfirm">{{ @@ -503,6 +505,13 @@ break; } }, + handleClose() { + this.$confirm("鍏抽棴鍚庢棤娉曚繚瀛橈紝鏄惁鍏抽棴?") + .then((_) => { + this.dialogTableVisible = false + }) + .catch((_) => { }); + }, }, created() { var val = this.$store.state.currentPerms; -- Gitblit v1.9.3