From bfd8d39ecf8f2ad4a1619b121ee42a3999b3ae42 Mon Sep 17 00:00:00 2001 From: SunTao <328867980@qq.com> Date: Tue, 3 Dec 2024 13:42:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=AF=BC=E5=87=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E5=A4=A7=E5=B1=8F=E4=BF=AE=E6=94=B9=E8=B7=9F?= =?UTF-8?q?=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/xj/task.js | 12 +++++- src/components/map/fssm-map.vue | 6 +-- src/views/big-screen/index.vue | 35 +++++++--------- .../components/inspection-follow.vue | 4 +- .../components/inspection-view.vue | 42 +++++++++++++++++-- .../overview-components/disease-current.vue | 4 +- .../inspection-vehicles.vue | 10 +++-- .../inspection-warn/warning-center/index.vue | 7 ++-- .../xj/inspection/task-management/index.vue | 14 +++++-- 9 files changed, 94 insertions(+), 40 deletions(-) diff --git a/src/api/xj/task.js b/src/api/xj/task.js index d3b79fb..7514fd8 100644 --- a/src/api/xj/task.js +++ b/src/api/xj/task.js @@ -2,7 +2,7 @@ * @Author: SunTao 328867980@qq.com * @Date: 2024-10-14 10:04:12 * @LastEditors: SunTao 328867980@qq.com - * @LastEditTime: 2024-12-02 16:39:01 + * @LastEditTime: 2024-12-03 11:43:45 * @FilePath: \znxjxt-ui\src\api\xj\task.js * @Description: 巡检任务管理接口 */ @@ -63,3 +63,13 @@ export function getDefectList(params) { params, }); } + + +// 导出病害数据 +export function exportDefectData(params) { + return request({ + url: "/xj/defect/exportNewDefectByTaskId", + method: "get", + params, + }); +} diff --git a/src/components/map/fssm-map.vue b/src/components/map/fssm-map.vue index f5b2453..af1779b 100644 --- a/src/components/map/fssm-map.vue +++ b/src/components/map/fssm-map.vue @@ -2,8 +2,8 @@ * @Author: SunTao 328867980@qq.com * @Date: 2024-10-14 10:46:23 * @LastEditors: SunTao 328867980@qq.com - * @LastEditTime: 2024-11-14 16:58:34 - * @FilePath: \znxjxt-ui\src\views\xj\inspection\task-management\components\fssm-map.vue + * @LastEditTime: 2024-12-03 10:56:51 + * @FilePath: \znxjxt-ui\src\components\map\fssm-map.vue * @Description: 公共地图 --> @@ -453,8 +453,6 @@ export default { this.drawend(e); }); modify.on("modifyend", (e) => { - console.log(11111111); - e.features.forEach((feature) => { this.drawMarkers = feature.getGeometry().getCoordinates().flat(); this.$emit("endEoordinate", this.drawMarkers); diff --git a/src/views/big-screen/index.vue b/src/views/big-screen/index.vue index b19d343..353484f 100644 --- a/src/views/big-screen/index.vue +++ b/src/views/big-screen/index.vue @@ -2,7 +2,7 @@ * @Author: SunTao 328867980@qq.com * @Date: 2024-10-17 11:34:00 * @LastEditors: SunTao 328867980@qq.com - * @LastEditTime: 2024-12-02 10:47:38 + * @LastEditTime: 2024-12-03 13:03:48 * @FilePath: \znxjxt-ui\src\views\big-screen\index.vue * @Description: 大屏首页 --> @@ -10,14 +10,14 @@