From 33f37d75fb00efc3fdf1fdd57d36c0f2ca4e5953 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B1=A4=E9=94=A6=E7=A7=91?= <32996823@qq.com>
Date: Wed, 30 Oct 2024 11:48:14 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E8=A7=92?=
=?UTF-8?q?=E8=89=B2=E3=80=81=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E6=94=B9?=
=?UTF-8?q?=E9=80=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/dept/index.vue | 2 +-
src/views/system/role/authUser.vue | 18 +++---
src/views/system/role/index.vue | 57 ++++++++++--------
src/views/system/role/selectUser.vue | 16 ++---
src/views/system/user/authRole.vue | 10 ++--
src/views/system/user/index.vue | 89 +++++++++++-----------------
6 files changed, 88 insertions(+), 104 deletions(-)
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 7b6c3ca..6132f58 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -144,7 +144,7 @@
-
+
diff --git a/src/views/system/role/authUser.vue b/src/views/system/role/authUser.vue
index 1d7e5f5..5e91e62 100644
--- a/src/views/system/role/authUser.vue
+++ b/src/views/system/role/authUser.vue
@@ -1,19 +1,19 @@
-
+
-
+
-
-
-
-
+
+
+
+
@@ -196,4 +196,4 @@ export default {
}
}
};
-
\ No newline at end of file
+
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 9d34963..c28bf11 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -10,10 +10,10 @@
@keyup.enter.native="handleQuery"
/>
-
+
-
-
-
+
+
+
@@ -113,7 +113,7 @@
>
-
+
{{ parseTime(scope.row.createTime) }}
@@ -126,7 +126,7 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['system:role:edit']"
- >修改
+ >编辑
删除
- handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">
-
- 更多
-
-
- 数据权限
- 分配用户
-
-
+ 分配用户
+
+
+
+
+
+
+
+
+
+
+
@@ -165,12 +172,12 @@
-
+
- 权限字符
+ 角色编码
-
+
@@ -215,7 +222,7 @@
-
+
@@ -336,7 +343,7 @@ export default {
{ required: true, message: "角色名称不能为空", trigger: "blur" }
],
roleKey: [
- { required: true, message: "权限字符不能为空", trigger: "blur" }
+ { required: true, message: "角色编码不能为空", trigger: "blur" }
],
roleSort: [
{ required: true, message: "角色顺序不能为空", trigger: "blur" }
@@ -596,7 +603,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const roleIds = row.roleId || this.ids;
- this.$modal.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项?').then(function() {
+ this.$modal.confirm('是否确认删除角色名称为"' + row.roleName + '"的数据项?').then(function() {
return delRole(roleIds);
}).then(() => {
this.getList();
@@ -611,4 +618,4 @@ export default {
}
}
};
-
\ No newline at end of file
+
diff --git a/src/views/system/role/selectUser.vue b/src/views/system/role/selectUser.vue
index b2b072f..d8db7df 100644
--- a/src/views/system/role/selectUser.vue
+++ b/src/views/system/role/selectUser.vue
@@ -2,18 +2,18 @@
-
+
-
+
@@ -26,10 +26,10 @@
-
-
-
-
+
+
+
+
diff --git a/src/views/system/user/authRole.vue b/src/views/system/user/authRole.vue
index 1dbad4b..d7c9a78 100644
--- a/src/views/system/user/authRole.vue
+++ b/src/views/system/user/authRole.vue
@@ -4,7 +4,7 @@
-
+
@@ -24,16 +24,16 @@
-
+
-
+
{{ parseTime(scope.row.createTime) }}
-
+
@@ -114,4 +114,4 @@ export default {
},
},
};
-
\ No newline at end of file
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 884e326..2999c93 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -28,19 +28,19 @@
-
+
-
+
-
-
-
-
-
+
+
+
+
+
+
+
{{ parseTime(scope.row.createTime) }}
@@ -207,8 +209,8 @@
-
-
+
+
@@ -219,37 +221,38 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -266,34 +269,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -421,7 +396,9 @@ export default {
{ key: 3, label: `部门`, visible: true },
{ key: 4, label: `手机号码`, visible: true },
{ key: 5, label: `状态`, visible: true },
- { key: 6, label: `创建时间`, visible: true }
+ { key: 6, label: `创建时间`, visible: true },
+ { key: 7, label: `邮箱`, visible: true },
+ { key: 8, label: `备注`, visible: true },
],
// 表单校验
rules: {
@@ -628,7 +605,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const userIds = row.userId || this.ids;
- this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?').then(function() {
+ this.$modal.confirm('是否确认删除登录账号为"' + row.userName + '"的数据项?').then(function() {
return delUser(userIds);
}).then(() => {
this.getList();
@@ -669,4 +646,4 @@ export default {
}
}
};
-
\ No newline at end of file
+