From f41c835543be0a329b876f4314bc4cbd60ec5c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E7=88=B1=E5=AD=A6=E4=B9=A0=E7=9A=84=E7=9F=B3?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= <2936013465@qq.com> Date: Wed, 4 Dec 2024 19:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E8=AE=BF=E6=8A=95=E8=AF=89=E7=BC=A0?= =?UTF-8?q?=E8=AE=BF=E9=97=B9=E8=AE=BF=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datav/MailVisits.vue | 12 ++++++------ src/views/datav/SceneInsp.vue | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/views/datav/MailVisits.vue b/src/views/datav/MailVisits.vue index 55cd344..41813f2 100644 --- a/src/views/datav/MailVisits.vue +++ b/src/views/datav/MailVisits.vue @@ -262,7 +262,7 @@ @@ -306,7 +306,7 @@ @@ -315,7 +315,7 @@ { +const getData = async ()=> { + await getAllSupervisionNotifyCount(time.value).then((res) => { Object.assign(overview.value, { correctionRate: Number(res.overview.correctionRate), supervisionNotifyPreTotal: Number(res.overview.supervisionNotifyPreTotal), @@ -1120,7 +1120,7 @@ function getData() { }); }); - getChangedRank(time.value, 3).then((res) => { + await getChangedRank(time.value, 3).then((res) => { fxsjRankOverview.value = res.fxsjRankOverview; jsdwRankOverview.value = res.jsdwRankOverview; fxsjChangedRankList.value = res.fxsjChangedRankList; @@ -1129,7 +1129,7 @@ function getData() { // data1.value = res.changedRankList; }); - getSupervisionTrend(new Date().getFullYear()).then((res) => { + await getSupervisionTrend(new Date().getFullYear()).then((res) => { const supervisionTrend = res.supervisionTrend; const categories = supervisionTrend.map(item => item.name); const values = supervisionTrend.map(item => item.value); @@ -1138,7 +1138,7 @@ function getData() { proTrend.value.series[0].data = values; }); - getMap(time.value).then((res) => { + await getMap(time.value).then((res) => { // 对返回的数据映射处理 const mappedData = res.superviseTempMapVoList.map(item => { let name; @@ -1192,11 +1192,11 @@ function getData() { option.value.visualMap.min = minItem.value; }) - getProblemTypeRate(time.value).then((res) => { + await getProblemTypeRate(time.value).then((res) => { wtlxList.value = res.wtlxList }); - getYellowBetDrug(time.value).then((res) => { + await getYellowBetDrug(time.value).then((res) => { fxsjYellowBetOverview.value = res.fxsjYellowBetOverview jsdwYellowBetOverview.value = res.jsdwYellowBetOverview fxsjYellowBetRankList.value = res.fxsjYellowBetRankList @@ -1206,28 +1206,28 @@ function getData() { // hddList.value = res.hddList }); - getGunController(time.value).then((res) => { + await getGunController(time.value).then((res) => { fxsjGunControllerOverview.value = res.fxsjGunControllerOverview jsdwGunControllerOverview.value = res.jsdwGunControllerOverview fxsjGunControllerRankList.value = res.fxsjGunControllerRankList jsdwGunControllerRankList.value = res.jsdwGunControllerRankList }) - getCompanyProblem(time.value).then((res) => { + await getCompanyProblem(time.value).then((res) => { fxsjCompanyProblemOverview.value = res.fxsjCompanyProblemOverview jsdwCompanyProblemOverview.value = res.jsdwCompanyProblemOverview fxsjCompanyProblemRankList.value = res.fxsjCompanyProblemRankList jsdwCompanyProblemRankList.value = res.jsdwCompanyProblemRankList }) - getHandleCase(time.value).then((res) => { + await getHandleCase(time.value).then((res) => { fxsjHandleCaseOverview.value = res.fxsjHandleCaseOverview jsdwHandleCaseOverview.value = res.jsdwHandleCaseOverview fxsjHandleCaseRankList.value = res.fxsjHandleCaseRankList jsdwHandleCaseRankList.value = res.jsdwHandleCaseRankList }) - getCheckBeer(time.value).then((res) => { + await getCheckBeer(time.value).then((res) => { fxsjCheckBeerOverview.value = res.fxsjCheckBeerOverview jsdwCheckBeerOverview.value = res.jsdwCheckBeerOverview fxsjCheckBeerRankList.value = res.fxsjCheckBeerRankList