| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import request from "@/utils/request";
- /**
- * 查询打卡任务列表
- */
- export function queryPunchIn() {
- return request({
- url: "/punchIn/queryPunchIn"
- });
- }
- /**
- * 新增打卡任务
- * @param {Object} data
- */
- export function addPunchIn(data) {
- return request({
- url: "/punchIn/savePunchIn",
- method: "post",
- data
- });
- }
- /**
- * 更新打卡任务
- * @param {Object} data
- */
- export function updatePunchIn(data) {
- return request({
- url: "/punchIn/updatePunchIn",
- method: "post",
- data
- });
- }
- /**
- * 删除打卡任务
- * @param {Object} data
- */
- export function deletePunchIn(data) {
- return request({
- url: "/punchIn/deletePunchIn",
- method: "post",
- data
- });
- }
- /**
- * 打卡
- * @param {Object} data
- */
- export function doPunchIn(data) {
- return request({
- url: "/punchIn/doPunchIn",
- method: "post",
- data
- });
- }
- /**
- * 根据ID查询打卡任务
- * @param {Object} data
- */
- export function queryPunchInById(data) {
- return request({
- url: "/punchIn/queryPunchInById",
- method: "post",
- data
- });
- }
|