mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
145 lines
2.9 KiB
JavaScript
145 lines
2.9 KiB
JavaScript
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
|
|
})
|
|
}
|
|
|
|
//
|
|
export function sharePosterLoading(data) {
|
|
return request({
|
|
url: getUrl('/agent/share/posterLoading', 1),
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 获取分享记录的key
|
|
export function getShareKey(data) {
|
|
return request({
|
|
url: getUrl('/agent/share/getKey', 1),
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 根据问卷编码获取问卷详细信息
|
|
export function answerDetail(data = {}) {
|
|
return request({
|
|
url: getUrl('/customer/answer/detailByQnCode', 1),
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
//DISC性格分析列表
|
|
export function discAnalysisList(data) {
|
|
return request({
|
|
url: getUrl('/customer/answer/queryList', 1),
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 答卷提交接口
|
|
export function answerSubmit(data) {
|
|
return request({
|
|
url: getUrl('/customer/answer/submit', 1),
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|