From c42c3b712a35d6604f9604e7c3345bb64bb5cc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Mon, 8 Aug 2022 22:46:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E9=A6=96=E9=A1=B5=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3=E5=A2=9E=E5=8A=A0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=A7=92=E8=89=B2=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/dashboard/IndexChart.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jshERP-web/src/views/dashboard/IndexChart.vue b/jshERP-web/src/views/dashboard/IndexChart.vue index 24405f48..872ad848 100644 --- a/jshERP-web/src/views/dashboard/IndexChart.vue +++ b/jshERP-web/src/views/dashboard/IndexChart.vue @@ -148,6 +148,7 @@ import { getBuyAndSaleStatistics, buyOrSalePrice, getPlatformConfigByKey } from '@/api/api' import { handleIntroJs } from "@/utils/util" import { getAction,postAction } from '../../api/manage' + import Vue from 'vue' export default { name: "IndexChart", @@ -199,12 +200,12 @@ }, methods: { initInfo () { - getBuyAndSaleStatistics(null).then((res)=>{ + getBuyAndSaleStatistics({"roleType": Vue.ls.get('roleType')}).then((res)=>{ if(res.code === 200){ this.statistics = res.data; } }) - buyOrSalePrice(null).then(res=>{ + buyOrSalePrice({"roleType": Vue.ls.get('roleType')}).then(res=>{ if(res.code === 200){ this.buyPriceData = res.data.buyPriceList; this.salePriceData = res.data.salePriceList;