From 01994cb07e80a7fce8a8bdf282bad58971d98828 Mon Sep 17 00:00:00 2001 From: mhsnet Date: Thu, 20 Apr 2023 18:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E8=B4=A7=E9=87=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SC-web/src/views/dashboard/admin/index.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/SC-web/src/views/dashboard/admin/index.vue b/SC-web/src/views/dashboard/admin/index.vue index 938c0d4d..3419e366 100644 --- a/SC-web/src/views/dashboard/admin/index.vue +++ b/SC-web/src/views/dashboard/admin/index.vue @@ -126,6 +126,7 @@ export default { created() { this.portalId = this.userInfo.portalId this.getTadayPoundist() + this.getTadayPoundist1() this.getData() this.getMsg() this.intervalStrat() @@ -192,10 +193,24 @@ export default { data: { }, }).then(res => { - console.log('hereA'); if (res.code == 200) { - this.tadayPoundist = res.data; - console.log(this.tadayPoundist) + this.tadayPoundist.poundNum = res.data.poundNum; + this.tadayPoundist.purchaseAmountSum = res.data.purchaseAmountSum; + this.tadayPoundist.salesAmountSum = res.data.salesAmountSum; + this.tadayPoundist.settlementSum = res.data.settlementSum; + } + }).catch(() => { + }) + }, + getTadayPoundist1() { + request({ + url: "/api/messageCenter/MessageCenter/getTadayPoundist1", + method: "get", + data: { + }, + }).then(res => { + if (res.code == 200) { + this.tadayPoundist.buckleWeightSum = res.data.buckleWeightSum; } }).catch(() => { })