From 5b51508bd8092638c3a0bf39484b40d96addb61f Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Mon, 20 Oct 2025 11:15:41 +0800 Subject: [PATCH] =?UTF-8?q?v1.9=20=E4=BC=98=E5=8C=96=E5=B7=A1=E6=A3=80?= =?UTF-8?q?=E6=98=8E=E7=BB=86=20=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inspection/inspectionTaskDetailsApi.js | 8 - src/components/system/ViewMap.vue | 175 ++++++++---------- src/i18n/commonLang.js | 4 +- .../inspection/inspectionTaskDetailsList.vue | 36 ++-- 4 files changed, 103 insertions(+), 120 deletions(-) diff --git a/src/api/inspection/inspectionTaskDetailsApi.js b/src/api/inspection/inspectionTaskDetailsApi.js index ca48eed2f..a5de00a86 100644 --- a/src/api/inspection/inspectionTaskDetailsApi.js +++ b/src/api/inspection/inspectionTaskDetailsApi.js @@ -69,11 +69,7 @@ export function listInspectionRoutes(params) { params }).then(response => { const res = response.data - if (res.code === 0) { resolve(res) - } else { - reject(new Error(res.msg || '获取巡检路线列表失败')) - } }).catch(error => { reject(error) }) @@ -89,11 +85,7 @@ export function listInspectionPoints(params) { params }).then(response => { const res = response.data - if (res.code === 0) { resolve(res) - } else { - reject(new Error(res.msg || '获取巡检点列表失败')) - } }).catch(error => { reject(error) }) diff --git a/src/components/system/ViewMap.vue b/src/components/system/ViewMap.vue index 154b8f8cd..cbf03dd81 100644 --- a/src/components/system/ViewMap.vue +++ b/src/components/system/ViewMap.vue @@ -1,102 +1,91 @@  - - - - \ No newline at end of file +} + + + \ No newline at end of file diff --git a/src/i18n/commonLang.js b/src/i18n/commonLang.js index 017c790d8..684169c4e 100644 --- a/src/i18n/commonLang.js +++ b/src/i18n/commonLang.js @@ -80,6 +80,7 @@ export const messages = { friday: 'Friday', saturday: 'Saturday', sunday: 'Sunday', + map:'Map' } }, zh: { @@ -162,7 +163,8 @@ export const messages = { thursday:'星期四', friday:'星期五', saturday:'星期六', - sunday:'星期日' + sunday:'星期日', + map:'地图' } } } \ No newline at end of file diff --git a/src/views/inspection/inspectionTaskDetailsList.vue b/src/views/inspection/inspectionTaskDetailsList.vue index e2e01bf86..58cb31556 100644 --- a/src/views/inspection/inspectionTaskDetailsList.vue +++ b/src/views/inspection/inspectionTaskDetailsList.vue @@ -43,22 +43,22 @@
- - + + - + - + - +
- + - +
- - + + - +