This commit is contained in:
fyy
2025-07-21 20:58:16 +08:00
9 changed files with 323 additions and 96 deletions

View File

@@ -1,4 +1,5 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import {isArray} from "lodash-es";
export interface ShiftVO {
/**
@@ -24,7 +25,7 @@ export interface ShiftVO {
/**
* 状态0off1on
*/
status: number;
status: string | number;
/**
* 是否休息0不休息1休息
@@ -40,6 +41,9 @@ export interface ShiftVO {
* 休息结束时间
*/
restEndTime: string;
attendanceTimeRange: [any,any];
restTimeRange: [any,any];
}
export interface ShiftForm extends BaseEntity {
@@ -66,7 +70,7 @@ export interface ShiftForm extends BaseEntity {
/**
* 状态0off1on
*/
status?: number;
status?: string | number;
/**
* 是否休息0不休息1休息
@@ -103,7 +107,7 @@ export interface ShiftQuery extends PageQuery {
/**
* 状态0off1on
*/
status?: number;
status?: string | number;
/**
* 是否休息0不休息1休息