diff --git a/apps/web-antd/src/api/property/attendanceManagement/attendanceGroupSettings/model.d.ts b/apps/web-antd/src/api/property/attendanceManagement/attendanceGroupSettings/model.d.ts index 0bc06bd2..21ade3dc 100644 --- a/apps/web-antd/src/api/property/attendanceManagement/attendanceGroupSettings/model.d.ts +++ b/apps/web-antd/src/api/property/attendanceManagement/attendanceGroupSettings/model.d.ts @@ -19,9 +19,15 @@ export interface GroupVO { /** * 考勤类型(0:固定班制,1:排班制) */ - attendanceType: number; + attendanceType: number| string; - isAutomatic: number; + isAutomatic: boolean; + + clockDateList: any[]; + + weekList: any[]; + + attendanceList:any[]; } diff --git a/apps/web-antd/src/api/property/equipmentManagement/maintainPlan/model.d.ts b/apps/web-antd/src/api/property/equipmentManagement/maintainPlan/model.d.ts index 6350b7c2..4f89a0b2 100644 --- a/apps/web-antd/src/api/property/equipmentManagement/maintainPlan/model.d.ts +++ b/apps/web-antd/src/api/property/equipmentManagement/maintainPlan/model.d.ts @@ -61,6 +61,8 @@ export interface MaintainPlanVO { userId: string[]; machineMaintainPlanStaffBoList:any[]; + + machineMaintainPlanStaffVos:any[]; } export interface MaintainPlanForm extends BaseEntity { diff --git a/apps/web-antd/src/api/property/inspectionManagement/inspectionPlan/model.d.ts b/apps/web-antd/src/api/property/inspectionManagement/inspectionPlan/model.d.ts index 56008843..7467c144 100644 --- a/apps/web-antd/src/api/property/inspectionManagement/inspectionPlan/model.d.ts +++ b/apps/web-antd/src/api/property/inspectionManagement/inspectionPlan/model.d.ts @@ -19,7 +19,7 @@ export interface InspectionPlanVO { /** * 巡检周期 */ - inspectionPlanPeriod: number; + inspectionPlanPeriod: string; /** * 任务提前分组 diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/attendance-group-detail.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/attendance-group-detail.vue index def438ed..95c1db8e 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/attendance-group-detail.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/attendance-group-detail.vue @@ -45,7 +45,7 @@ async function handleOpenChange(open: boolean) { } modalApi.modalLoading(true); const {id,attendanceType} = modalApi.getData() as { id?: number | string,attendanceType?:string }; - const res = await groupInfo(id,attendanceType); + const res = await groupInfo(id as string,attendanceType as string); groupDetail.value=res; if(res.attendanceType==0){ unCheckInData.value=res.clockDateList.filter(item=>item.mustNoCheck==0) @@ -65,7 +65,7 @@ async function handleOpenChange(open: boolean) { }) groupDetail.value.isAutomatic=true }else { - cycleData.value=res; + cycleData.value=[]; } modalApi.modalLoading(false); } @@ -115,7 +115,7 @@ async function showHoliday() { size="small" :pagination="false" > -