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) => {