77 lines
2.8 KiB
TypeScript
77 lines
2.8 KiB
TypeScript
|
|
import {get, post} from "@/utils/request";
|
||
|
|
import {qs} from "@/utils";
|
||
|
|
|
||
|
|
export const inspectItemFindAllsApi = async () => {
|
||
|
|
return await get("/api/inspectItem/findAlls");
|
||
|
|
};
|
||
|
|
|
||
|
|
export const fractionRuleFindAllByItemIdApi = async (params: any) => {
|
||
|
|
return await get("/api/fractionRule/findAllByItemId", params);
|
||
|
|
};
|
||
|
|
export const ruleItemFindByRuleIdApi = async (params: any) => {
|
||
|
|
return await get("/api/ruleItem/findByRuleId", params);
|
||
|
|
};
|
||
|
|
export const evaluationSaveApi = async (params: any) => {
|
||
|
|
return await post("/api/evaluation/saveBatch", params);
|
||
|
|
};
|
||
|
|
export const gradeClassFindAllsApi = async () => {
|
||
|
|
return await get("/api/gradeClass/findAlls");
|
||
|
|
};
|
||
|
|
export const readyToGoSaveApi = async (params: any) => {
|
||
|
|
return await post("/api/readyToGo/save", params);
|
||
|
|
};
|
||
|
|
export const schedulingPlanDelApi = async (params: any) => {
|
||
|
|
return await post("/api/schedulingPlan/delete" + qs(params));
|
||
|
|
};
|
||
|
|
export const updateThirdIdApi = async (params: any) => {
|
||
|
|
return await post("/api/user/updateThirdId", params);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const schedulingPlanSaveBatcApi = async (params: any) => {
|
||
|
|
return await post("/api/schedulingPlan/saveBatch", params);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const evaluationFindPageApi = async (params: any) => {
|
||
|
|
return await get("/api/evaluation/findPagePhoneMain", params);
|
||
|
|
};
|
||
|
|
export const evaluationFindPageSummaryApi = async (params: any) => {
|
||
|
|
return await get("/api/evaluation/findPageSummary", params);
|
||
|
|
};
|
||
|
|
export const readyToGoFindPageApi = async (params: any) => {
|
||
|
|
return await get("/api/readyToGo/findPage", params);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const gradeClassFindByGradeApi = async (params: any) => {
|
||
|
|
return await get("/api/gradeClass/findByGrade", params);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const cmsArticleFindPageApi = async (params: any) => {
|
||
|
|
return await get("/api/cmsArticle/findPage", params);
|
||
|
|
};
|
||
|
|
//根据id查询部门
|
||
|
|
export const deptFindAllGradeClassApi = async (param: { pid: number }) => {
|
||
|
|
return await get("/api/dept/findAllGradeClass", param);
|
||
|
|
};
|
||
|
|
export const inspectItemFindAllApi = async () => {
|
||
|
|
return await get("/api/inspectItem/findAlls");
|
||
|
|
};
|
||
|
|
export const evaluationGetWeekReportApi = async () => {
|
||
|
|
return await get('/api/evaluation/getWeekReport');
|
||
|
|
};
|
||
|
|
export const schedulingPlanFindByYYYMMApi = async (param: any) => {
|
||
|
|
return await get('/api/schedulingPlan/findByYYYYMM', param);
|
||
|
|
};
|
||
|
|
export const getSchedulingPlanByUserIdApi = async () => {
|
||
|
|
return await get("/api/schedulingPlan/getSchedulingPlanByUserId");
|
||
|
|
};
|
||
|
|
export const findUserListApi = async () => {
|
||
|
|
return await get("/api/user/findUserList");
|
||
|
|
};
|
||
|
|
export const schedulingPlanApi = async (param: any) => {
|
||
|
|
return await get("/api/schedulingPlan/findPage", param);
|
||
|
|
};
|
||
|
|
export const getSchedulingPlansByUserIdApi = async (param: any) => {
|
||
|
|
return await get("/api/schedulingPlan/getSchedulingPlansByUserId", param);
|
||
|
|
};
|
||
|
|
|