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.
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
// 批量查询联合执法任务的关联单位信息(第二次请求)
|
|
|
|
|
export const getMyTaskAssociatedPlans = (planIds, success, error) => _get(taskBaseUrl + "/myListAssociatedPlans", { planIds }, success, error);
|
|
|
|
|
|
|
|
|
|
// endregion
|