From 1aebfaaf307014519129d6a723f8a08f12eb3b61 Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Mon, 27 Mar 2023 16:22:47 +0800 Subject: [PATCH] =?UTF-8?q?feature=20-=20alarmDetails=20=20=20=20=20-=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E8=AF=AF=E6=8A=A5=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E8=AE=BE=E7=BD=AE=E8=AF=A5=E8=AE=BE=E5=A4=87IMEI?= =?UTF-8?q?=E4=B8=8E=E8=AF=A5=E6=B0=B4=E5=9F=9F=E5=91=8A=E8=AD=A6poi=5Fid?= =?UTF-8?q?=E4=B8=8D=E5=81=9A=E4=BB=BB=E4=BD=95=E6=8A=A5=E8=AD=A6=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++- src/api/core.js | 10 ++- src/config/models.js | 4 +- src/main.js | 4 +- src/views/alarm/alarm-details.vue | 111 ++++++++++++++++++++++++++---- 5 files changed, 119 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 9034403..85821e9 100644 --- a/README.md +++ b/README.md @@ -279,4 +279,10 @@ feature - alarmDetails - 增加 涉水区域告警页面 - amap.js - - 增加 高德地图js \ No newline at end of file + - 增加 高德地图js + +## v1.0.33 +`2023.3.27` +feature +- alarmDetails + - 增加 误报功能,设置该设备IMEI与该水域告警poi_id不做任何报警信息处理 \ No newline at end of file diff --git a/src/api/core.js b/src/api/core.js index 47ca481..9c8668f 100644 --- a/src/api/core.js +++ b/src/api/core.js @@ -1,7 +1,7 @@ /* * @Date: 2021-12-18 15:49:01 * @LastEditors: JinxChen - * @LastEditTime: 2023-02-25 17:04:23 + * @LastEditTime: 2023-03-27 15:29:01 * @FilePath: \TelpoH5FrontendWeb\src\api\core.js * @description: * b端的接口, 每次调用前先获取token @@ -29,6 +29,7 @@ export const APICore = { GpsDeviceFence, //围栏 redis cardPackageList, //零川基础套餐列表 devicePayPackage, + drownReportFilterAdd,//添加过滤危险水域区域 } /* const headerAuth = this.$store.getters.gatewayToken; */ // 获取告警详情 @@ -93,4 +94,11 @@ function devicePayPackage(imei) { params: {imei}, }) } +function drownReportFilterAdd(data) { + return service({ + url: `${baseUrl}/core/api/v1/Device/DrownReportFilterAdd`, + method: 'post', + data, + }); +} export default APICore; diff --git a/src/config/models.js b/src/config/models.js index 02be0a7..e2283b5 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -1,11 +1,11 @@ /* * @Date: 2021-11-20 10:26:39 * @LastEditors: JinxChen - * @LastEditTime: 2023-03-24 18:07:12 + * @LastEditTime: 2023-03-27 16:19:56 * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.32F'; //版本号 +export const VERSION_MODEL = '1.0.33F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/main.js b/src/main.js index dbe4580..19f8ae2 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,7 @@ /* * @Date: 2022-01-19 10:08:26 * @LastEditors: JinxChen - * @LastEditTime: 2023-03-24 17:54:06 + * @LastEditTime: 2023-03-27 16:04:16 * @FilePath: \TelpoH5FrontendWeb\src\main.js * @description: */ @@ -101,7 +101,7 @@ Vue.config.productionTip = false; Vue.config.devtools = true; // 全局配置 loading Toast.setDefaultOptions('success', { - duration: 1500, + duration: 2500, forbidClick: true, }); Toast.setDefaultOptions('loading', { diff --git a/src/views/alarm/alarm-details.vue b/src/views/alarm/alarm-details.vue index 855f610..230a88e 100644 --- a/src/views/alarm/alarm-details.vue +++ b/src/views/alarm/alarm-details.vue @@ -1,19 +1,19 @@