From ce761e536e73969c03acbf31e22a4d06cdbc06e1 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 17 Feb 2026 17:05:45 +0800 Subject: [PATCH] =?UTF-8?q?review=EF=BC=88mes=EF=BC=89=EF=BC=9Acal-plan=20?= =?UTF-8?q?=E7=9A=84=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/statistics/member.ts | 4 ++-- src/api/mes/cal/plan/team.ts | 2 ++ src/api/mes/cal/shift/index.ts | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/api/mall/statistics/member.ts b/src/api/mall/statistics/member.ts index d9accf920..3a8ea99fb 100644 --- a/src/api/mall/statistics/member.ts +++ b/src/api/mall/statistics/member.ts @@ -79,7 +79,7 @@ export const getMemberSummary = () => { export const getMemberAnalyse = (params: MemberAnalyseReqVO) => { return request.get({ url: '/statistics/member/analyse', - params: { times: [formatDate(params.times[0]), formatDate(params.times[1])] } + params: { times: [formatDate(params.times[0] as any), formatDate(params.times[1] as any)] } }) } @@ -118,6 +118,6 @@ export const getMemberRegisterCountList = ( ) => { return request.get({ url: '/statistics/member/register-count-list', - params: { times: [formatDate(beginTime), formatDate(endTime)] } + params: { times: [formatDate(beginTime as any), formatDate(endTime as any)] } }) } diff --git a/src/api/mes/cal/plan/team.ts b/src/api/mes/cal/plan/team.ts index 63a7b7213..7b0a32f64 100644 --- a/src/api/mes/cal/plan/team.ts +++ b/src/api/mes/cal/plan/team.ts @@ -14,6 +14,8 @@ export interface CalPlanTeamVO { attribute4: number } +// TODO @AI:挪到 team/index.ts 中 + // MES 计划班组关联 API export const CalPlanTeamApi = { // 查询指定排班计划的班组列表 diff --git a/src/api/mes/cal/shift/index.ts b/src/api/mes/cal/shift/index.ts index cd0221015..dca4a75ce 100644 --- a/src/api/mes/cal/shift/index.ts +++ b/src/api/mes/cal/shift/index.ts @@ -1,5 +1,7 @@ import request from '@/config/axios' +// TODO @AI:挪到 plan/shift 目录下 + // MES 计划班次 VO export interface CalPlanShiftVO { id: number