1、巡检管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-07-10 17:33:46 +08:00
parent af0cfc3804
commit 1d9096e594
10 changed files with 1215 additions and 0 deletions

View File

@@ -0,0 +1,199 @@
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;
}
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;
}
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;
}