mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 22:32:54 +08:00
Merge branch 'feature/GFRS-715【0402】人力发展-个人中心' into release/0407
# Conflicts: # src/assets/js/utils/validator.js # src/router/ebiz/index.js
This commit is contained in:
108
src/api/ebiz/manpower/manpower.js
Normal file
108
src/api/ebiz/manpower/manpower.js
Normal file
@@ -0,0 +1,108 @@
|
||||
import request from '@/assets/js/utils/request'
|
||||
import getUrl from '@/assets/js/utils/get-url'
|
||||
|
||||
// 个人中心 - 查询接口
|
||||
export function getPersonalInfo(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/personal/getInfo', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 人才库列表查询接口
|
||||
export function getAgentPersonnelList(data = {}) {
|
||||
return request({
|
||||
url: getUrl('/agent/personnel/queryList', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 人才库 - 新增人才
|
||||
export function saveAgentPersonnel(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/personnel/saveOrUpdate', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 人才库 - 查询详情
|
||||
export function getAgentPersonnelDetail(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/personnel/queryDetail', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 人才库 - 查询人才库列表 - 导航页
|
||||
export function getAgentPersonnelListFirst(data = {}) {
|
||||
return request({
|
||||
url: getUrl('/agent/personnel/queryListFirst', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 活动量统计周报
|
||||
export function queryWeekly(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/activityRecord/queryWeekly', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询日志页面增员列表
|
||||
export function queryRecordList(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/activityRecord/queryList', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 日志详情查询
|
||||
export function queryRecordDetail(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/activityRecord/queryDetail', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增日志
|
||||
export function saveRecord(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/activityRecord/saveOrUpdate', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getTokenForUserModel(data = {}) {
|
||||
return request({
|
||||
url: getUrl('/agent/enter/getTokenForUserModel', 1),
|
||||
method: 'get',
|
||||
params: {
|
||||
data
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 新增分享记录
|
||||
export function saveShareRecord(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/share/saveRecord', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取分享记录的key
|
||||
export function getShareKey(data) {
|
||||
return request({
|
||||
url: getUrl('/agent/share/getKey', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user