check.js 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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. //删除考勤配置system:schedule:remove
  124. export function getXiuconfigDel(data) {
  125. return request({
  126. url: '/system/schedule/delete/'+data,
  127. method: 'get',
  128. })
  129. }
  130. // //获取部门用户列表
  131. // export function getsubordinateList(data) {
  132. // return request({
  133. // url: '/system/user/subordinateList',
  134. // method: 'get',
  135. // data:data
  136. // })
  137. // }
  138. // //获取的部门
  139. // export function getdeptTreeNow(data) {
  140. // return request({
  141. // url: '/system/user/deptTreeNow',
  142. // method: 'get',
  143. // data:data
  144. // })
  145. // }
  146. // //获取角色列表
  147. // export function getoptionselect(data) {
  148. // return request({
  149. // url: '/system/role/optionselect',
  150. // method: 'get',
  151. // data:data
  152. // })
  153. // }
  154. // //根据用户编号获取详细信息
  155. // export function getopuser(data) {
  156. // return request({
  157. // url: '/system/user/'+data,
  158. // method: 'get',
  159. // })
  160. // }
  161. // //部门负责人申请人员划入自己部门
  162. // export function geapplyFor(data) {
  163. // return request({
  164. // url: '/system/user/applyFor',
  165. // method: 'get',
  166. // data:data
  167. // })
  168. // }
  169. // //修改 人员
  170. // export function getoptionput(data) {
  171. // return request({
  172. // url: '/system/user/app/put',
  173. // method: 'post',
  174. // data:data
  175. // })
  176. // }
  177. // //删除人员
  178. // export function getoptionreset(data) {
  179. // return request({
  180. // url: '/system/user/reset',
  181. // method: 'get',
  182. // data:data
  183. // })
  184. // }
  185. // //获取可分配的部门人员
  186. // export function getallocationList(data) {
  187. // return request({
  188. // url: '/system/user/allocationOne',
  189. // method: 'get',
  190. // data:data
  191. // })
  192. // }
  193. // //人员对划入部门请求做出回应
  194. // export function getreply(data) {
  195. // return request({
  196. // url: '/system/user/reply',
  197. // method: 'get',
  198. // data:data
  199. // })
  200. // }
  201. // //查询记录信息列表
  202. // export function getInfolist(data) {
  203. // return request({
  204. // url: '/system/info/list',
  205. // method: 'get',
  206. // data:data
  207. // })
  208. // }
  209. // //查询未读消息
  210. // export function getInfoNum(data) {
  211. // return request({
  212. // url: '/system/info/numberInfo',
  213. // method: 'get',
  214. // data:data
  215. // })
  216. // }
  217. // //考勤统计
  218. // export function clockRecord(data) {
  219. // return request({
  220. // url: '/kaoQin/clockRecord',
  221. // method: 'post',
  222. // data:data
  223. // })
  224. // }
  225. // //考勤规则
  226. export function clocklist(data) {
  227. return request({
  228. url: '/system/schedule/list',
  229. method: 'get',
  230. data:data
  231. })
  232. }