You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
977 B
41 lines
977 B
4 years ago
|
var fly = require('../utils/request.js')
|
||
|
/**
|
||
|
* @param userId 用户ID
|
||
|
* @param operationType 积分操作类型 0-减积分,1-加积分
|
||
|
* @param points 操作积分值
|
||
|
*/
|
||
|
// 积分核销接口
|
||
|
export function pointSverification(params) {
|
||
|
return fly.post('work/pointsverification/pointsverification', params)
|
||
|
}
|
||
|
/**
|
||
|
* @param typeKey 网格:grid_party
|
||
|
*/
|
||
|
// 根据机构类型获取机构信息
|
||
|
export function getDeptInfo(typeKey) {
|
||
|
return fly.get(`work/pointsverification/getdeptinfo/${typeKey}`)
|
||
|
}
|
||
|
/**
|
||
|
* 工作端积分核销记录接口
|
||
|
* @param pageIndex Number 页码
|
||
|
* @param pageSize Number 页容量
|
||
|
* @param startTime 开始时间
|
||
|
* @param endTime 结束时间
|
||
|
* @param deptId 部门ID
|
||
|
*/
|
||
|
|
||
|
export function getVerificationLogs({
|
||
|
pageIndex,
|
||
|
pageSize,
|
||
|
startTime,
|
||
|
endTime,
|
||
|
deptId,
|
||
|
}) {
|
||
|
return fly.get("work/pointsverification/verificationlogs", {
|
||
|
pageIndex,
|
||
|
pageSize,
|
||
|
startTime,
|
||
|
endTime,
|
||
|
deptId,
|
||
|
})
|
||
|
}
|