diff --git a/ruoyi-ui/src/api/system/post.js b/ruoyi-ui/src/api/system/post.js
index fb124d961..7a4faa1cf 100644
--- a/ruoyi-ui/src/api/system/post.js
+++ b/ruoyi-ui/src/api/system/post.js
@@ -9,6 +9,14 @@ export function listPost(query) {
})
}
+// 获取岗位精简信息列表
+export function listSimplePosts() {
+ return request({
+ url: '/system/post/list-all-simple',
+ method: 'get'
+ })
+}
+
// 查询岗位详细
export function getPost(postId) {
return request({
@@ -50,4 +58,4 @@ export function exportPost(query) {
method: 'get',
params: query
})
-}
\ No newline at end of file
+}
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index aa92d8b7b..28c8d03b0 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -31,7 +31,7 @@ export function addUser(data) {
export function updateUser(data) {
return request({
url: '/system/user/update',
- method: 'put',
+ method: 'post',
data: data
})
}
diff --git a/ruoyi-ui/src/utils/dict.js b/ruoyi-ui/src/utils/dict.js
index 9b482baef..f465106a9 100644
--- a/ruoyi-ui/src/utils/dict.js
+++ b/ruoyi-ui/src/utils/dict.js
@@ -10,6 +10,7 @@ export const DICT_TYPE = {
SYS_MENU_TYPE: 'sys_menu_type',
SYS_ROLE_TYPE: 'sys_role_type',
SYS_DATA_SCOPE: 'sys_data_scope',
+ SYS_USER_SEX: 'sys_user_sex',
}
/**
diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue
index ab05e47ae..3257a4ac0 100644
--- a/ruoyi-ui/src/views/system/user/index.vue
+++ b/ruoyi-ui/src/views/system/user/index.vue
@@ -188,7 +188,9 @@
-
+
@@ -221,49 +223,22 @@
-
-
-
- {{dict.dictLabel}}
-
-
-
-
-
-
-
-
-
-
-
-
@@ -313,17 +288,45 @@
取 消
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+