From 55c066dadbaea56101b22c9501f35f3bca24f4e5 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Fri, 12 Dec 2025 18:08:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../warningList/portraitWarning/index.vue | 37 ++++++++----------- .../warningList/vehicleWarning/index.vue | 37 ++++++++----------- 2 files changed, 32 insertions(+), 42 deletions(-) diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue index 3a71c6c..c960848 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue @@ -2,7 +2,7 @@
- + 搜索 @@ -13,11 +13,11 @@ -
- - -
导出
- - -
- 区厅预警 -
+
+
导出
+
@@ -112,7 +105,7 @@ import FileSaver from "file-saver"; import emitter from "@/utils/eventBus.js"; import * as XLSX from "xlsx"; const { proxy } = getCurrentInstance(); -const { D_BZ_YJLX, D_GSXT_YJXX_CZZT, D_BZ_YJJB, D_BZ_YJLYXT } = proxy.$dict("D_BZ_YJLX", "D_GSXT_YJXX_CZZT", "D_BZ_YJJB", "D_BZ_YJLYXT") +const { D_GSXT_YJXX_CZZT, D_BZ_YJJB, D_BZ_YJLYXT } = proxy.$dict("D_GSXT_YJXX_CZZT", "D_BZ_YJJB", "D_BZ_YJLYXT") const searchBox = ref(); //搜索框 const shortcuts = [ { @@ -182,14 +175,16 @@ const addFromRefs = ref(null) onMounted(() => { tabHeightFn(); emitter.on('openAddFrom', (val) => { - console.log( addFromRefs.value); -if(addFromRefs.value) { - addFromRefs.value.init('add', val) - } + console.log(addFromRefs.value); + if (addFromRefs.value) { + addFromRefs.value.init('add', val) + } // addFromRefs.value.init('add', val) }) }); -const listQuery = ref({}) +const listQuery = ref({ + yjlx: '1', // 1.人员预警 +}) const opentions = ref([]) const localWarningRef = ref(null); // 搜索 @@ -243,7 +238,7 @@ const tabHeightFn = () => { } else { pageData.tableHeight = window.innerHeight - 250; } - window.onresize = function () { + window.onresize = function() { tabHeightFn(); }; }; diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue index 3a71c6c..0f8ef66 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue @@ -2,7 +2,7 @@
- + 搜索 @@ -13,11 +13,11 @@ -
- - -
导出
- - -
- 区厅预警 -
+
+
导出
+
@@ -112,7 +105,7 @@ import FileSaver from "file-saver"; import emitter from "@/utils/eventBus.js"; import * as XLSX from "xlsx"; const { proxy } = getCurrentInstance(); -const { D_BZ_YJLX, D_GSXT_YJXX_CZZT, D_BZ_YJJB, D_BZ_YJLYXT } = proxy.$dict("D_BZ_YJLX", "D_GSXT_YJXX_CZZT", "D_BZ_YJJB", "D_BZ_YJLYXT") +const { D_GSXT_YJXX_CZZT, D_BZ_YJJB, D_BZ_YJLYXT } = proxy.$dict("D_GSXT_YJXX_CZZT", "D_BZ_YJJB", "D_BZ_YJLYXT") const searchBox = ref(); //搜索框 const shortcuts = [ { @@ -182,14 +175,16 @@ const addFromRefs = ref(null) onMounted(() => { tabHeightFn(); emitter.on('openAddFrom', (val) => { - console.log( addFromRefs.value); -if(addFromRefs.value) { - addFromRefs.value.init('add', val) - } + console.log(addFromRefs.value); + if (addFromRefs.value) { + addFromRefs.value.init('add', val) + } // addFromRefs.value.init('add', val) }) }); -const listQuery = ref({}) +const listQuery = ref({ + yjlx: '2', // 2.车辆预警 +}) const opentions = ref([]) const localWarningRef = ref(null); // 搜索 @@ -243,7 +238,7 @@ const tabHeightFn = () => { } else { pageData.tableHeight = window.innerHeight - 250; } - window.onresize = function () { + window.onresize = function() { tabHeightFn(); }; };