From 9159f23362e43cfed2623e619c2d659680967810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 9 May 2021 22:40:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E4=BB=93=E5=BA=93=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=9F=E8=B4=A3=E4=BA=BA=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/api/api.js | 6 +----- .../src/views/system/modules/DepotModal.vue | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/jshERP-web/src/api/api.js b/jshERP-web/src/api/api.js index 28f9117a..0b36ae5e 100644 --- a/jshERP-web/src/api/api.js +++ b/jshERP-web/src/api/api.js @@ -16,9 +16,7 @@ const queryall = (params)=>getAction("/sys/role/queryall",params); //用户管理 const addUser = (params)=>postAction("/user/addUser",params); const editUser = (params)=>putAction("/user/updateUser",params); -const queryUserRole = (params)=>getAction("/sys/user/queryUserRole",params); -const getUserList = (params)=>getAction("/sys/user/list",params); -const frozenBatch = (params)=>putAction("/sys/user/frozenBatch",params); +const getUserList = (params)=>getAction("/user/getUserList",params); //验证用户是否存在 const checkOnlyUser = (params)=>getAction("/sys/user/checkOnlyUser",params); //改变密码 @@ -173,10 +171,8 @@ export { findUserRole, addUser, editUser, - queryUserRole, getUserList, queryall, - frozenBatch, checkOnlyUser, changePassword, getPermissionList, diff --git a/jshERP-web/src/views/system/modules/DepotModal.vue b/jshERP-web/src/views/system/modules/DepotModal.vue index da887872..ea496010 100644 --- a/jshERP-web/src/views/system/modules/DepotModal.vue +++ b/jshERP-web/src/views/system/modules/DepotModal.vue @@ -24,7 +24,11 @@ - + + + {{ item.userName }} + + @@ -38,7 +42,7 @@