6/24 统一地图组件入口,规范地图方法,属性。 完成天地图和高德切换
This commit is contained in:
@@ -2,7 +2,7 @@ export interface PointVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* 巡检点名称
|
||||
@@ -17,7 +17,7 @@ export interface PointVO {
|
||||
/**
|
||||
* 所属路线ID
|
||||
*/
|
||||
routeId: string | number;
|
||||
routeId: string;
|
||||
|
||||
/**
|
||||
* 巡检点位置(经纬度),格式:经度,纬度
|
||||
|
||||
@@ -20,7 +20,7 @@ export const listRoute = (query: RouteQuery | {} = {}): AxiosPromise<RouteVO[]>
|
||||
* 查询巡检路线详细
|
||||
* @param id
|
||||
*/
|
||||
export const getRoute = (id: string | number): AxiosPromise<RouteVO> => {
|
||||
export const getRoute = (id: string): AxiosPromise<RouteVO> => {
|
||||
return request({
|
||||
url: '/inspection/route/' + id,
|
||||
method: 'get'
|
||||
|
||||
@@ -4,7 +4,7 @@ export interface RouteVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* 巡检路线名称
|
||||
@@ -70,7 +70,7 @@ export interface RouteForm extends BaseEntity {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id?: string | number;
|
||||
id?: string;
|
||||
|
||||
/**
|
||||
* 巡检路线名称
|
||||
|
||||
Reference in New Issue
Block a user