人员管理
This commit is contained in:
parent
224e6e3047
commit
26cfe63a9d
|
@ -0,0 +1,13 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
const personRegisterApi = {
|
||||
page: 'person/register/pageList'
|
||||
}
|
||||
|
||||
export function personRegisterPage (params) {
|
||||
return request({
|
||||
url: personRegisterApi.page,
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
|
@ -14,7 +14,7 @@ const userApi = {
|
|||
|
||||
const userPasswordApi = {
|
||||
update: '/sys/user/passwordUpdate',
|
||||
reset: '/sys/user/passwordReset'
|
||||
reset: '/sys/user/resetPwd'
|
||||
}
|
||||
|
||||
export function userLogin (params) {
|
||||
|
@ -85,7 +85,7 @@ export function passwordUpdate (params) {
|
|||
export function passwordReset (params) {
|
||||
return request({
|
||||
url: userPasswordApi.reset,
|
||||
method: 'post',
|
||||
data: params
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
|
|
@ -4,7 +4,8 @@ const dictionaryItemApi = {
|
|||
add: 'sys/dictionary/item/add',
|
||||
update: 'sys/dictionary/item/edit',
|
||||
del: 'sys/dictionary/item/del',
|
||||
page: 'sys/dictionary/item/pageList'
|
||||
page: 'sys/dictionary/item/pageList',
|
||||
dropDown: 'sys/dictionary/item/dropDown'
|
||||
}
|
||||
|
||||
export function dictionaryItemAdd (params) {
|
||||
|
@ -35,3 +36,13 @@ export function dictionaryItemPage (params) {
|
|||
params: params
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取字典类型下所有字典,举例,返回格式为:[{value:"M",name:"男"},{code:"F",name:"女"}]
|
||||
*/
|
||||
export function dictionaryDropDown (params) {
|
||||
return request({
|
||||
url: dictionaryItemApi.dropDown,
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue