check.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. import request from '@/utils/request'
  2. // // 获取考勤信息
  3. // export function getRecord(data) {
  4. // return request({
  5. // url: '/kaoQin/daKa',
  6. // method: 'get',
  7. // data: data,
  8. // type:true
  9. // })
  10. // }
  11. // // 考勤列表
  12. export function getRecordList(data) {
  13. return request({
  14. url: '/system/clock/list',
  15. method: 'get',
  16. data: data
  17. })
  18. }
  19. // 考勤列表 一周打卡信息-时间自定义
  20. export function getRecordDayList(data) {
  21. return request({
  22. url: '/system/clock/info',
  23. method: 'get',
  24. data: data
  25. })
  26. }
  27. // 查询打卡人员打卡信息列表system:info:record:list
  28. export function getRecordPeoList(data) {
  29. return request({
  30. url: '/system/info/record/list',
  31. method: 'get',
  32. data: data
  33. })
  34. }
  35. // 打卡统计-全部system:clock:all:month
  36. export function getClockCountall(data) {
  37. return request({
  38. url: '/system/clock/all/month',
  39. method: 'get',
  40. data: data
  41. })
  42. }
  43. // 打卡统计-个人system:clock:personage:month
  44. export function getClockCountper(data) {
  45. return request({
  46. url: '/system/clock/personage/month',
  47. method: 'get',
  48. data: data
  49. })
  50. }
  51. // 打卡
  52. export function getPunchFn(data) {
  53. return request({
  54. url: '/system/clock',
  55. method: 'post',
  56. data: data
  57. })
  58. }
  59. // // 覆盖打卡
  60. // export function getPunchputFn(data) {
  61. // return request({
  62. // url: '/record/put',
  63. // method: 'post',
  64. // data: data
  65. // })
  66. // }
  67. // // 打卡类别
  68. // export function getNormalFn(data) {
  69. // return request({
  70. // url: '/system/dict/data/type/'+data,
  71. // method: 'get',
  72. // type:true
  73. // })
  74. // }
  75. // //今日考勤统计
  76. // export function getBackstage(data) {
  77. // return request({
  78. // url: '/index/backstage',
  79. // method: 'post',
  80. // data:data
  81. // })
  82. // }
  83. // // -获取考勤异常数据信息
  84. // export function getAbnormalFn(data) {
  85. // return request({
  86. // url: '/kaoQin/abnormal',
  87. // method: 'get',
  88. // data:data,
  89. // type:true
  90. // })
  91. // }
  92. // //考勤日历
  93. // export function getCalendarFn(data) {
  94. // return request({
  95. // url: '/kaoQin/calendar',
  96. // method: 'get',
  97. // data:data
  98. // })
  99. // }
  100. // //查询考勤配置system:schedule:query
  101. export function getMapconfig(data) {
  102. return request({
  103. url: '/system/schedule/'+data,
  104. method: 'get',
  105. })
  106. }
  107. //保存考勤配置system:schedule:add
  108. export function getBaoconfig(data) {
  109. return request({
  110. url: '/system/schedule',
  111. method: 'post',
  112. data:data
  113. })
  114. }
  115. //修改考勤配置system:schedule:edit
  116. export function getXiuconfig(data) {
  117. return request({
  118. url: '/system/schedule/put',
  119. method: 'post',
  120. data:data
  121. })
  122. }
  123. // //获取部门用户列表
  124. // export function getsubordinateList(data) {
  125. // return request({
  126. // url: '/system/user/subordinateList',
  127. // method: 'get',
  128. // data:data
  129. // })
  130. // }
  131. // //获取的部门
  132. // export function getdeptTreeNow(data) {
  133. // return request({
  134. // url: '/system/user/deptTreeNow',
  135. // method: 'get',
  136. // data:data
  137. // })
  138. // }
  139. // //获取角色列表
  140. // export function getoptionselect(data) {
  141. // return request({
  142. // url: '/system/role/optionselect',
  143. // method: 'get',
  144. // data:data
  145. // })
  146. // }
  147. // //根据用户编号获取详细信息
  148. // export function getopuser(data) {
  149. // return request({
  150. // url: '/system/user/'+data,
  151. // method: 'get',
  152. // })
  153. // }
  154. // //部门负责人申请人员划入自己部门
  155. // export function geapplyFor(data) {
  156. // return request({
  157. // url: '/system/user/applyFor',
  158. // method: 'get',
  159. // data:data
  160. // })
  161. // }
  162. // //修改 人员
  163. // export function getoptionput(data) {
  164. // return request({
  165. // url: '/system/user/app/put',
  166. // method: 'post',
  167. // data:data
  168. // })
  169. // }
  170. // //删除人员
  171. // export function getoptionreset(data) {
  172. // return request({
  173. // url: '/system/user/reset',
  174. // method: 'get',
  175. // data:data
  176. // })
  177. // }
  178. // //获取可分配的部门人员
  179. // export function getallocationList(data) {
  180. // return request({
  181. // url: '/system/user/allocationOne',
  182. // method: 'get',
  183. // data:data
  184. // })
  185. // }
  186. // //人员对划入部门请求做出回应
  187. // export function getreply(data) {
  188. // return request({
  189. // url: '/system/user/reply',
  190. // method: 'get',
  191. // data:data
  192. // })
  193. // }
  194. // //查询记录信息列表
  195. // export function getInfolist(data) {
  196. // return request({
  197. // url: '/system/info/list',
  198. // method: 'get',
  199. // data:data
  200. // })
  201. // }
  202. // //查询未读消息
  203. // export function getInfoNum(data) {
  204. // return request({
  205. // url: '/system/info/numberInfo',
  206. // method: 'get',
  207. // data:data
  208. // })
  209. // }
  210. // //考勤统计
  211. // export function clockRecord(data) {
  212. // return request({
  213. // url: '/kaoQin/clockRecord',
  214. // method: 'post',
  215. // data:data
  216. // })
  217. // }
  218. // //考勤规则
  219. export function clocklist(data) {
  220. return request({
  221. url: '/system/schedule/list',
  222. method: 'get',
  223. data:data
  224. })
  225. }