From d63b28279b68f4e2ab81fb341fe2f1d28cbd9853 Mon Sep 17 00:00:00 2001 From: helloxujingliang <3225043@qq.com> Date: Fri, 21 Jun 2024 17:47:17 +0800 Subject: [PATCH] merge --- .env.development | 5 +- src/api/demo/system.ts | 3 +- src/api/monitor/index.ts | 7 +++ src/api/monitor/model/index.ts | 9 ++++ src/components/MapboxMaps/InsertShp/index.vue | 17 ++++--- src/components/MapboxMaps/MapComponent.vue | 27 ++++++++++ src/views/demo/report/index.vue | 33 +++++++++--- src/views/demo/report/report.data.ts | 10 ++-- src/views/demo/statistical/RecordList.vue | 24 ++++----- src/views/demo/statistical/index.vue | 50 +++++++++++++++++-- src/views/demo/statistical/record.data.ts | 8 +-- .../demo/statistical/statistical.data.ts | 16 +++--- .../demo/workflow/task/process/audit.vue | 4 +- src/views/demo/workflow/task/process/look.vue | 4 +- 14 files changed, 162 insertions(+), 55 deletions(-) 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 @@ - +