123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- import request from '@/utils/request'
- // // 获取考勤信息
- // export function getRecord(data) {
- // return request({
- // url: '/kaoQin/daKa',
- // method: 'get',
- // data: data,
- // type:true
- // })
- // }
- // // 考勤列表
- export function getRecordList(data) {
- return request({
- url: '/system/clock/list',
- method: 'get',
- data: data
- })
- }
- // 考勤列表 一周打卡信息-时间自定义
- export function getRecordDayList(data) {
- return request({
- url: '/system/clock/info',
- method: 'get',
- data: data
- })
- }
- // 查询打卡人员打卡信息列表system:info:record:list
- export function getRecordPeoList(data) {
- return request({
- url: '/system/info/record/list',
- method: 'get',
- data: data
- })
- }
- // 打卡统计-全部system:clock:all:month
- export function getClockCountall(data) {
- return request({
- url: '/system/clock/all/month',
- method: 'get',
- data: data
- })
- }
- // 打卡统计-个人system:clock:personage:month
- export function getClockCountper(data) {
- return request({
- url: '/system/clock/personage/month',
- method: 'get',
- data: data
- })
- }
- // 打卡
- export function getPunchFn(data) {
- return request({
- url: '/system/clock',
- method: 'post',
- data: data
- })
- }
- // // 覆盖打卡
- // export function getPunchputFn(data) {
- // return request({
- // url: '/record/put',
- // method: 'post',
- // data: data
- // })
- // }
- // // 打卡类别
- // export function getNormalFn(data) {
- // return request({
- // url: '/system/dict/data/type/'+data,
- // method: 'get',
- // type:true
- // })
- // }
- // //今日考勤统计
- // export function getBackstage(data) {
- // return request({
- // url: '/index/backstage',
- // method: 'post',
- // data:data
- // })
- // }
- // // -获取考勤异常数据信息
- // export function getAbnormalFn(data) {
- // return request({
- // url: '/kaoQin/abnormal',
- // method: 'get',
- // data:data,
- // type:true
- // })
- // }
- // //考勤日历
- // export function getCalendarFn(data) {
- // return request({
- // url: '/kaoQin/calendar',
- // method: 'get',
- // data:data
- // })
- // }
- // //查询考勤配置system:schedule:query
- export function getMapconfig(data) {
- return request({
- url: '/system/schedule/'+data,
- method: 'get',
- })
- }
- //保存考勤配置system:schedule:add
- export function getBaoconfig(data) {
- return request({
- url: '/system/schedule',
- method: 'post',
- data:data
- })
- }
- //修改考勤配置system:schedule:edit
- export function getXiuconfig(data) {
- return request({
- url: '/system/schedule/put',
- method: 'post',
- data:data
- })
- }
- // //获取部门用户列表
- // export function getsubordinateList(data) {
- // return request({
- // url: '/system/user/subordinateList',
- // method: 'get',
- // data:data
- // })
- // }
- // //获取的部门
- // export function getdeptTreeNow(data) {
- // return request({
- // url: '/system/user/deptTreeNow',
- // method: 'get',
- // data:data
- // })
- // }
- // //获取角色列表
- // export function getoptionselect(data) {
- // return request({
- // url: '/system/role/optionselect',
- // method: 'get',
- // data:data
- // })
- // }
- // //根据用户编号获取详细信息
- // export function getopuser(data) {
- // return request({
- // url: '/system/user/'+data,
- // method: 'get',
- // })
- // }
- // //部门负责人申请人员划入自己部门
- // export function geapplyFor(data) {
- // return request({
- // url: '/system/user/applyFor',
- // method: 'get',
- // data:data
- // })
- // }
- // //修改 人员
- // export function getoptionput(data) {
- // return request({
- // url: '/system/user/app/put',
- // method: 'post',
- // data:data
- // })
- // }
- // //删除人员
- // export function getoptionreset(data) {
- // return request({
- // url: '/system/user/reset',
- // method: 'get',
- // data:data
- // })
- // }
- // //获取可分配的部门人员
- // export function getallocationList(data) {
- // return request({
- // url: '/system/user/allocationOne',
- // method: 'get',
- // data:data
- // })
- // }
- // //人员对划入部门请求做出回应
- // export function getreply(data) {
- // return request({
- // url: '/system/user/reply',
- // method: 'get',
- // data:data
- // })
- // }
- // //查询记录信息列表
- // export function getInfolist(data) {
- // return request({
- // url: '/system/info/list',
- // method: 'get',
- // data:data
- // })
- // }
- // //查询未读消息
- // export function getInfoNum(data) {
- // return request({
- // url: '/system/info/numberInfo',
- // method: 'get',
- // data:data
- // })
- // }
- // //考勤统计
- // export function clockRecord(data) {
- // return request({
- // url: '/kaoQin/clockRecord',
- // method: 'post',
- // data:data
- // })
- // }
- // //考勤规则
- export function clocklist(data) {
- return request({
- url: '/system/schedule/list',
- method: 'get',
- data:data
- })
- }
|