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.

17 lines
633 B

5 months ago
import { _get } from "@/http/index";
// region 任务管理接口
const taskBaseUrl = "/app-enf/cpTask";
// 我的任务列表(指定日期)
export const getMyTaskList = (params, success, error) => _get(taskBaseUrl + "/myList", params, success, error);
// 指定月份中有任务的日期列表(日历打点)
export const getMyTaskDates = (yearMonth, success, error) => _get(taskBaseUrl + "/myTaskDates", { yearMonth }, success, error);
// 我的任务详情(通过 planId 查询)
export const getMyTaskDetail = (planId, success, error) => _get(taskBaseUrl + "/myDetail", { planId }, success, error);
// endregion