From 24dc4957fcd0404ea93af696955572c904da948c Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Mon, 15 Sep 2025 16:11:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JudgmentHome/ResearchHome/index.vue | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue index 8f42c1b..2e4c762 100644 --- a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue @@ -73,9 +73,9 @@ - @@ -93,7 +92,7 @@ @changeSize="changeSize($event,it.title)" :tableHeight="pageData.tableHeight" :pageConfiger="{ ...it.pageConfiger }" - > + > @@ -168,7 +167,7 @@ const list = reactive([ pageConfiger:{ page:1, total:0, - pageSize:10, + pageSize:6, }, tableColumn:[ { label: "舆情标题", prop: "yqbt",showOverflowTooltip: true}, @@ -184,7 +183,7 @@ const list = reactive([ pageConfiger:{ page:1, total:0, - pageSize:10, + pageSize:6, }, tableColumn:[ { label: "接警单编号", prop: "jjdbh",showOverflowTooltip: true}, @@ -201,7 +200,7 @@ const list = reactive([ pageConfiger:{ page:1, total:0, - pageSize:10, + pageSize:6, }, tableColumn:[ { label: "案件编号", prop: "ajbh",showOverflowTooltip: true}, @@ -217,7 +216,7 @@ const list = reactive([ pageConfiger:{ page:1, total:0, - pageSize:10, + pageSize:6, }, tableColumn:[ { label: "隐患标题", prop: "yhbt",showOverflowTooltip: true}, @@ -244,6 +243,7 @@ const pageData = reactive({ onMounted(() => { // getCount(); //获取统计数据 + tabHeightFn() getJqList() //警情列表 }); @@ -300,6 +300,7 @@ const changeSize = (e,type) =>{ } +// 警情列表 const getJqList = () =>{ let params = { pageCurrent: list[1].pageConfiger.page, @@ -382,7 +383,7 @@ const onSearch = () =>{ const tabHeightFn = () => { pageData.boxHeight = window.innerHeight - searchBox.value.offsetHeight - 250 nextTick(() => { - pageData.tableHeight = listBoxRef.value[0].offsetHeight - 240; + pageData.tableHeight = listBoxRef.value[0].offsetHeight - 70; }); window.onresize = function () { tabHeightFn(); @@ -484,13 +485,13 @@ const tabHeightFn = () => { } .listBox{ + height: calc(100% - 110px); margin-top: 4px; border-radius: 10px; box-sizing: border-box; display: flex; flex-wrap: wrap; overflow: hidden; - overflow-y: auto; .list-item{ width: 49.5%; height: calc(100% / 2 - 5px); @@ -504,7 +505,6 @@ const tabHeightFn = () => { font-size: 16px; } .list-table{ - height: calc(100% - 30px); margin-top: 5px; overflow: hidden; } @@ -554,3 +554,4 @@ const tabHeightFn = () => { } +