From 4dabcb080e680bcdc6ceb0b5b7b6df92febe3a7f Mon Sep 17 00:00:00 2001 From: chris <510148846@qq.com> Date: Fri, 31 Oct 2025 16:35:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=B8=B2=E6=9F=93=EF=BC=9B=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E5=9B=BE=EF=BC=9B=E6=8E=A8=E9=80=81=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=95=B0=E6=8D=AE=E6=B8=B2=E6=9F=93=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/api/pest/pushHistory.js | 24 +++ src/components/deviceFlatList/index.vue | 8 +- src/main.js | 9 +- .../devices/components/PestFormDialog.vue | 10 ++ src/views/devices/components/PestTable.vue | 7 +- src/views/devices/index.vue | 5 +- src/views/index.vue | 75 +++++++-- src/views/indexComponents/deviceInfo.vue | 32 ++-- src/views/indexComponents/deviceMap.vue | 83 ++++++++++ src/views/indexComponents/deviceOverview.vue | 156 ++++++++++-------- .../pushHistory/components/SearchForm.vue | 4 +- src/views/pest/pushHistory/index.vue | 10 +- 13 files changed, 312 insertions(+), 112 deletions(-) create mode 100644 src/api/pest/pushHistory.js diff --git a/package.json b/package.json index da5261a..f4d587f 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "unocss": "^0.65.1", "video.js": "^8.23.4", "vue": "3.4.31", + "vue-baidu-map-3x": "^1.0.40", "vue-cropper": "1.1.1", "vue-router": "4.4.0" }, diff --git a/src/api/pest/pushHistory.js b/src/api/pest/pushHistory.js new file mode 100644 index 0000000..87b4687 --- /dev/null +++ b/src/api/pest/pushHistory.js @@ -0,0 +1,24 @@ +/* + * @Author: chris + * @Date: 2025-09-05 11:34:53 + * @LastEditors: chris + * @LastEditTime: 2025-10-27 17:05:10 + */ +import request from "@/utils/request"; + +// 查询推送历史列表 +export function listNotify(query) { + return request({ + url: "/leilinglitchi/business/device/list", + method: "get", + params: Object.assign({ type: 1 }, query), + }); +} + +// 查询推送历史详细 +export function getNotify(id) { + return request({ + url: "/leilinglitchi/business/device/" + id, + method: "get", + }); +} diff --git a/src/components/deviceFlatList/index.vue b/src/components/deviceFlatList/index.vue index 85adb2d..b058a1b 100644 --- a/src/components/deviceFlatList/index.vue +++ b/src/components/deviceFlatList/index.vue @@ -2,7 +2,7 @@ * @Author: chris * @Date: 2025-02-06 16:43:54 * @LastEditors: chris - * @LastEditTime: 2025-09-22 17:33:54 + * @LastEditTime: 2025-10-29 16:12:03 -->