diff --git a/.env.development b/.env.development index ef4292e8..48df1097 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,10 @@ VITE_PUBLIC_PATH = / # Basic interface address SPA #VITE_GLOB_API_URL=/basic-api #财源 -VITE_GLOB_API_URL= http://192.168.10.102:9500 +VITE_GLOB_API_URL= http://192.168.10.102:9023 + +# VITE_GLOB_API_URL = http://192.168.10.131:8989 + #基础框架 # VITE_GLOB_API_URL=http://123.132.248.154:9104 diff --git a/src/api/demo/system.ts b/src/api/demo/system.ts index a050b2f4..62c4a325 100644 --- a/src/api/demo/system.ts +++ b/src/api/demo/system.ts @@ -67,7 +67,8 @@ enum Api { UpdateNotice = '/api/DroneCaseinfo/UpdateMessage', DeleteNotice = '/api/DroneCaseinfo/UpdateDelMessage', UserList = '/api/users/load', - StatisticalList='/api/DroneCaseinfo/CaseSynthesisCensus', + // StatisticalList='/api/DroneCaseinfo/CaseSynthesisCensus', + StatisticalList = "/api/DroneCaseinfo/CaseSynthesisCensusSingle", LoadNoticeDetail="/api/DroneCaseinfo/LoadMessage", getChildrenTree = '/api/Orgs/LoadChildren', GetUserRoles = '/api/Roles/UserRoles', diff --git a/src/api/monitor/index.ts b/src/api/monitor/index.ts index 14522d18..c9a9eb39 100644 --- a/src/api/monitor/index.ts +++ b/src/api/monitor/index.ts @@ -20,6 +20,9 @@ enum Api { // 案件列表 // LoadCaseInfoList = '/api/DroneCaseinfo/LoadCaseInfoList', LoadCaseInfoList = '/api/DroneCaseInfoSingle/LoadCaseInfoList', + // 导出案件 + ExportCaseInfo = "/api/DroneCaseInfoSingle/DroneCaseInfoExport", + // 案件统计列表 // 获取GeoJson图层 GetDroneGeoJson = '/api/DroneCaseinfo/GetDroneGeoJson', // 上报案件(案件判读保存) @@ -60,6 +63,10 @@ export function getCaseInfo(params?: caseFlowLogParams) { export function getCaseInfoList(params?: caseInfoParams) { return defHttp.get({ url: Api.LoadCaseInfoList, params }); } + +export function exportCaseInfo(params:string){ + return defHttp.get({ url: Api.ExportCaseInfo, params }); +} /** * @description: getCaseFlowLog */ diff --git a/src/api/monitor/model/index.ts b/src/api/monitor/model/index.ts index 60ce03e0..d4f39244 100644 --- a/src/api/monitor/model/index.ts +++ b/src/api/monitor/model/index.ts @@ -48,7 +48,16 @@ export interface caseInfoParams { key?: string; orgId?: string; } + export type caseInfoModel = { items: any[]; total: number; }; + +// export interface caseInfo { +// id:string; +// caseName:string; +// caseDescription:string +// } + +// export type caseInfoModel = caseInfo[]; \ No newline at end of file diff --git a/src/components/MapboxMaps/InsertShp/index.vue b/src/components/MapboxMaps/InsertShp/index.vue index c32e641e..91f2b4a2 100644 --- a/src/components/MapboxMaps/InsertShp/index.vue +++ b/src/components/MapboxMaps/InsertShp/index.vue @@ -215,7 +215,7 @@ - +