From 37236ab1a260e535e8b462bdca135a0037f2ae04 Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Fri, 19 Dec 2025 19:37:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E9=A6=96=E9=A1=B5=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F--=E6=80=BB=E8=A7=88=E6=95=B0=E6=8D=AE+=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=9C=BA=E6=9E=84=E6=8E=92=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/screen/subScreen/subOneGlobal.ts | 14 ++++++++------ src/components/data/gab-import.vue | 2 +- src/views/datav/subonedatav/SubOneGlobal.vue | 14 ++++++++++++-- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/api/screen/subScreen/subOneGlobal.ts b/src/api/screen/subScreen/subOneGlobal.ts index 1509d01..bdc1900 100644 --- a/src/api/screen/subScreen/subOneGlobal.ts +++ b/src/api/screen/subScreen/subOneGlobal.ts @@ -7,9 +7,10 @@ export function getSubOneStreetMap(departId) { }); } -export function getSubOneOrganizationRank(departId, times) { - return request.get({ - url: `/datav/sub1/getSubOneOrganizationRank?departId=${departId}&beginTime=${times[0]}&endTime=${times[1]}` +export function getSubOneOrganizationRank(body) { + return request.post({ + url: `/datav/sub1/getSubOneOrganizationRank`, + body }); } @@ -20,9 +21,10 @@ export function getSubOneBusinessRate(departId, times) { } -export function getSubOneAllCount(departId, times) { - return request.get({ - url: `/datav/sub1/getSubOneAllCount?departId=${departId}&beginTime=${times[0]}&endTime=${times[1]}` +export function getSubOneAllCount(body) { + return request.post({ + url: `/datav/sub1/getSubOneAllCount`, + body }); } diff --git a/src/components/data/gab-import.vue b/src/components/data/gab-import.vue index 03272ca..538f11a 100644 --- a/src/components/data/gab-import.vue +++ b/src/components/data/gab-import.vue @@ -310,7 +310,7 @@ const onPreviewChange = (index) => { }; const imageList = [ { - url: "/imgs/gabxftp.jpg", + url: "/v2/imgs/gabxftp.jpg", }, ]; const srcList = imageList.map(i => i.url); diff --git a/src/views/datav/subonedatav/SubOneGlobal.vue b/src/views/datav/subonedatav/SubOneGlobal.vue index fa752e4..f0b294b 100644 --- a/src/views/datav/subonedatav/SubOneGlobal.vue +++ b/src/views/datav/subonedatav/SubOneGlobal.vue @@ -442,7 +442,12 @@ const getMapJSON = async (departId = currentDepartId) => { subOneGlobalMap.value.chart.setOption(option.value); } const getOrganizationProRankData = async (departId = currentDepartId, timeValue = time.value) => { - const res = await getSubOneOrganizationRank(departId, timeValue); + const body={ + departId: currentDepartId, + beginTime: time.value[0], + endTime: time.value[1] + } + const res = await getSubOneOrganizationRank(body); fxsjlist.value = res.fxsjlist; jsdwlist.value = res.jsdwlist; } @@ -451,7 +456,12 @@ const getBusinessRateData = async (departId = currentDepartId, timeValue = time. ywlxPieOption.value.series[0].data = res.ywzblist; } const getAllGlobalCountData = async (departId = currentDepartId, timeValue = time.value) => { - const res = await getSubOneAllCount(departId, timeValue); + const body={ + departId: currentDepartId, + beginTime: time.value[0], + endTime: time.value[1] + } + const res = await getSubOneAllCount(body); overviewData.value = res.overview; } const getSubOneGlobalMapIcon = async (departId = currentDepartId, timeValue = time.value) => {