Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
247 lines
3.0 KiB
TypeScript
247 lines
3.0 KiB
TypeScript
import type {PageQuery, BaseEntity} from '#/api/common';
|
|
|
|
export interface InspectionPlanVO {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id: string | number;
|
|
|
|
/**
|
|
* 巡检计划名称
|
|
*/
|
|
planName: string;
|
|
|
|
/**
|
|
* 巡检路线id
|
|
*/
|
|
inspectionRouteId: string | number;
|
|
|
|
/**
|
|
* 巡检周期
|
|
*/
|
|
inspectionPlanPeriod: number;
|
|
|
|
/**
|
|
* 任务提前分组
|
|
*/
|
|
beforeTime: number;
|
|
|
|
/**
|
|
* 开始日期
|
|
*/
|
|
startDate: string;
|
|
|
|
/**
|
|
* 结束日期
|
|
*/
|
|
endDate: string;
|
|
|
|
/**
|
|
* 开始时间
|
|
*/
|
|
startTime: string;
|
|
|
|
/**
|
|
* 结束时间
|
|
*/
|
|
endTime: string;
|
|
|
|
/**
|
|
* 签到方式(0现场定位,1现场定位)
|
|
*/
|
|
signType: number;
|
|
|
|
/**
|
|
* 允许补检(0允许1不允许)
|
|
*/
|
|
canReexamine: number;
|
|
|
|
/**
|
|
* 选择员工
|
|
*/
|
|
userId: string | number;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
remark: string;
|
|
|
|
/**
|
|
* 计划时间区间
|
|
*/
|
|
planDate?: any[];
|
|
|
|
/**
|
|
* 巡检月
|
|
*/
|
|
inspectionMonth?:string;
|
|
/**
|
|
* 巡检日
|
|
*/
|
|
inspectionDay?:string;
|
|
/**
|
|
* 巡检周
|
|
*/
|
|
inspectionWorkday?:string;
|
|
|
|
/**
|
|
* 状态
|
|
*/
|
|
state?:string
|
|
|
|
}
|
|
|
|
export interface InspectionPlanForm extends BaseEntity {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id?: string | number;
|
|
|
|
/**
|
|
* 巡检计划名称
|
|
*/
|
|
planName?: string;
|
|
|
|
/**
|
|
* 巡检路线id
|
|
*/
|
|
inspectionRouteId?: string | number;
|
|
|
|
/**
|
|
* 巡检周期
|
|
*/
|
|
inspectionPlanPeriod?: number;
|
|
|
|
/**
|
|
* 任务提前分组
|
|
*/
|
|
beforeTime?: number;
|
|
|
|
/**
|
|
* 开始日期
|
|
*/
|
|
startDate?: string;
|
|
|
|
/**
|
|
* 结束日期
|
|
*/
|
|
endDate?: string;
|
|
|
|
/**
|
|
* 开始时间
|
|
*/
|
|
startTime?: string;
|
|
|
|
/**
|
|
* 结束时间
|
|
*/
|
|
endTime?: string;
|
|
|
|
/**
|
|
* 签到方式(0现场定位,1现场定位)
|
|
*/
|
|
signType?: number;
|
|
|
|
/**
|
|
* 允许补检(0允许1不允许)
|
|
*/
|
|
canReexamine?: number;
|
|
|
|
/**
|
|
* 选择员工
|
|
*/
|
|
userId?: string | number;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
remark?: string;
|
|
/**
|
|
* 巡检月
|
|
*/
|
|
inspectionMonth?:string;
|
|
/**
|
|
* 巡检日
|
|
*/
|
|
inspectionDay?:string;
|
|
/**
|
|
* 巡检周
|
|
*/
|
|
inspectionWorkday?:string;
|
|
|
|
}
|
|
|
|
export interface InspectionPlanQuery extends PageQuery {
|
|
/**
|
|
* 巡检计划名称
|
|
*/
|
|
planName?: string;
|
|
|
|
/**
|
|
* 巡检路线id
|
|
*/
|
|
inspectionRouteId?: string | number;
|
|
|
|
/**
|
|
* 巡检周期
|
|
*/
|
|
inspectionPlanPeriod?: number;
|
|
|
|
/**
|
|
* 任务提前分组
|
|
*/
|
|
beforeTime?: number;
|
|
|
|
/**
|
|
* 开始日期
|
|
*/
|
|
startDate?: string;
|
|
|
|
/**
|
|
* 结束日期
|
|
*/
|
|
endDate?: string;
|
|
|
|
/**
|
|
* 开始时间
|
|
*/
|
|
startTime?: string;
|
|
|
|
/**
|
|
* 结束时间
|
|
*/
|
|
endTime?: string;
|
|
|
|
/**
|
|
* 签到方式(0现场定位,1现场定位)
|
|
*/
|
|
signType?: number;
|
|
|
|
/**
|
|
* 允许补检(0允许1不允许)
|
|
*/
|
|
canReexamine?: number;
|
|
|
|
/**
|
|
* 选择员工
|
|
*/
|
|
userId?: string | number;
|
|
|
|
/**
|
|
* 日期范围参数
|
|
*/
|
|
params?: any;
|
|
/**
|
|
* 巡检月
|
|
*/
|
|
inspectionMonth?:string;
|
|
/**
|
|
* 巡检日
|
|
*/
|
|
inspectionDay?:string;
|
|
/**
|
|
* 巡检周
|
|
*/
|
|
inspectionWorkday?:string;
|
|
}
|