From f8e7dc84f30df6dbac5d32ce84a85c7d804f0f9d Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期五, 07 一月 2022 18:31:14 +0800
Subject: [PATCH] 代码提交
---
src/views/system/role/index.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 9c02f99..2fcc2e6 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -104,8 +104,8 @@
<el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="瑙掕壊缂栧彿" prop="roleId" width="150" />
- <el-table-column label="瑙掕壊鍚嶇О" prop="roleName" :show-overflow-tooltip="true" width="150" />
- <el-table-column label="瑙掕壊缂栧彿" prop="roleKey" :show-overflow-tooltip="true" width="150" />
+ <el-table-column label="瑙掕壊鍚嶇О" prop="roleName" :show-overflow-tooltip="true" min-width="150" />
+ <el-table-column label="瑙掕壊缂栧彿" prop="roleKey" :show-overflow-tooltip="true" min-width="150" />
<el-table-column label="鏄剧ず椤哄簭" prop="roleSort" width="150" />
<el-table-column label="鐘舵��" align="center" width="150">
<template slot-scope="scope">
@@ -135,6 +135,7 @@
size="mini"
type="text"
icon="el-icon-delete"
+ class="del-btn"
@click="handleDelete(scope.row)"
v-hasPermi="['system:role:remove']"
>鍒犻櫎</el-button>
@@ -600,7 +601,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete(row) {
const roleIds = row.roleId || this.ids;
- this.$modal.confirm('鏄惁纭鍒犻櫎瑙掕壊缂栧彿涓�"' + roleIds + '"鐨勬暟鎹」锛�').then(function() {
+ this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() {
return delRole(roleIds);
}).then(() => {
this.getList();
--
Gitblit v1.9.1