mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 10:46:44 +08:00
业绩查询功能
This commit is contained in:
27
src/api/ebiz/attendance/attendance.js
Normal file
27
src/api/ebiz/attendance/attendance.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import request from '@/assets/js/utils/request'
|
||||
import getUrl from '@/assets/js/utils/get-url'
|
||||
|
||||
//打卡情况续期列表查询
|
||||
export function attendance(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/Performance/attendance`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//日期查询
|
||||
export function getDayDetail(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/Performance/getDayDetail`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//月历查询
|
||||
export function getMonthDetail(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/Performance/getMonthDetail`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -1,2 +1,36 @@
|
||||
import request from '@/assets/js/utils/request'
|
||||
import getUrl from '@/assets/js/utils/get-url'
|
||||
import getUrl from '@/assets/js/utils/get-url'
|
||||
|
||||
//代理人功能获取
|
||||
export function getBaseAgentInfo(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/agent/getBaseAgentInfo`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//代理人关系获取
|
||||
export function getBranchInfos(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/branch/getBranchInfos`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//获取信息
|
||||
export function getPerformanceDetail(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/Performance/getPerformanceDetail`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//获取代理人下级头像
|
||||
// http://139.199.50.151:7000/api/v1/agent/branch/getAllAgentByAgent
|
||||
export function getPerformanceHeader(data) {
|
||||
return request({
|
||||
url: getUrl(`/agent/branch/getAllAgentByAgent`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user