-
+
-
+
handleCommand(command, scope.row)"
v-hasPermi="['system:role:edit', 'system:role:authorize', 'system:roleusers:list']">
@@ -151,10 +139,21 @@
-
+
+
+
+
+ {{ dict.dictLabel }}
+
+
+
展开/折叠
@@ -261,7 +260,7 @@ const queryParams = reactive({
pageSize: 10,
roleName: undefined,
roleKey: undefined,
- status: undefined
+ status: -1
})
const searchText = ref('')
@@ -375,10 +374,10 @@ function reset() {
roleName: undefined,
roleKey: undefined,
roleSort: 99,
- status: '0',
+ status: 0,
menuIds: [],
deptIds: [],
- dataScope: '1',
+ dataScope: 1,
menuCheckStrictly: true,
deptCheckStrictly: true,
remark: undefined
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 1101750..d6d38a3 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -30,6 +30,7 @@
+
@@ -109,7 +110,7 @@
width="120" />
-
+
@@ -200,20 +201,20 @@
- {{ dict.dictLabel }}
+ {{ dict.dictLabel }}
- {{ dict.dictLabel }}
+ {{ dict.dictLabel }}
-
+
@@ -221,7 +222,7 @@
-
+
{{ item.roleName }}
{{ item.roleKey }}
@@ -345,7 +346,7 @@ const data = reactive({
pageSize: 10,
userName: undefined,
phonenumber: undefined,
- status: undefined,
+ status: -1,
deptId: undefined
},
rules: {
@@ -545,8 +546,8 @@ function reset() {
password: undefined,
phonenumber: undefined,
email: undefined,
- sex: '2',
- status: '0',
+ sex: 2,
+ status: 0,
remark: undefined,
postIds: [],
roleIds: []
diff --git a/src/views/system/user/profile/userInfo.vue b/src/views/system/user/profile/userInfo.vue
index e306f70..1625e6a 100644
--- a/src/views/system/user/profile/userInfo.vue
+++ b/src/views/system/user/profile/userInfo.vue
@@ -11,8 +11,8 @@
- {{ $t('common.male') }}
- {{ $t('common.female') }}
+ {{ $t('common.male') }}
+ {{ $t('common.female') }}