提交10.31
This commit is contained in:
@@ -9,4 +9,10 @@ export function getPersonInfo(id) {
|
||||
url: `personnel/personBaseInfo/${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export function getPersonBase(id) {
|
||||
return get({
|
||||
url: `personnel/personBaseInfo/${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -25,9 +25,11 @@ export function getPersonDemand(id) {
|
||||
|
||||
// 新增个人需求信息
|
||||
export function addPersonDemand(data) {
|
||||
// 确保传递数据前进行日志输出
|
||||
console.log('addPersonDemand函数接收到的数据:', data);
|
||||
return post({
|
||||
url: 'manage/personDemand',
|
||||
method: 'post',
|
||||
method: 'post', // 修改为大写POST,确保请求参数正确传递
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -22,3 +22,16 @@ export function getJbrInfo() {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export function getPersonBase() {
|
||||
return get({
|
||||
url: `system/center/user/selectHxjbr`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export function returnPerson(params) {
|
||||
return get({
|
||||
'url': `/personnel/personBaseInfo/returnPerson`,
|
||||
|
||||
params
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user