提交10.31

This commit is contained in:
wuzhimiao
2025-10-31 18:43:06 +08:00
parent 5859560694
commit a8742d4521
48 changed files with 945 additions and 1928 deletions

View File

@@ -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'
})
}

View File

@@ -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
})
}

View File

@@ -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
})
}