巡检路线完成

This commit is contained in:
Zy
2026-04-21 09:35:05 +08:00
parent 9f9a88f303
commit 35cf75f377
5 changed files with 302 additions and 161 deletions

View File

@@ -1,3 +1,5 @@
import { PointVO } from '../InspectionPoint/type';
export interface RouteVO {
/**
* 主键ID
@@ -33,7 +35,7 @@ export interface RouteVO {
* 巡检路线状态 0开启 1关闭
*/
routeStatus: number;
routeStatus: string;
/**
* 起点经度
@@ -54,9 +56,15 @@ export interface RouteVO {
* 终点纬度
*/
endLat: string;
/** 路线经纬度 二维数组 */
pathPoints: string;
/** 巡检点 数组 */
points?: PointVO[];
}
export interface RouteForm extends BaseEntity {
/** 路线经纬度 二维数组 */
pathPoints: string;
/**
* 主键ID
*/
@@ -91,7 +99,7 @@ export interface RouteForm extends BaseEntity {
* 巡检路线状态 0开启 1关闭
*/
routeStatus?: number;
routeStatus?: string;
/**
* 起点经度
@@ -115,6 +123,8 @@ export interface RouteForm extends BaseEntity {
}
export interface RouteQuery extends PageQuery {
/** 路线经纬度 二维数组 */
pathPoints: string;
/**
* 巡检路线名称
*/
@@ -139,7 +149,7 @@ export interface RouteQuery extends PageQuery {
* 巡检路线状态 0开启 1关闭
*/
routeStatus?: number;
routeStatus?: string;
/**
* 起点经度