From 104366d4bbb94540d524b527ceaf2397d7e34a60 Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Wed, 24 Jun 2020 16:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E8=BF=90=E8=90=A5=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/workbench/workPlace.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/workbench/workPlace.vue b/src/pages/workbench/workPlace.vue index ef56fb1..b243462 100644 --- a/src/pages/workbench/workPlace.vue +++ b/src/pages/workbench/workPlace.vue @@ -1125,7 +1125,7 @@ export default { this.getUserData(); if (this.now_user == 0||this.now_user == 4) { this.getHealth(); - this.getoperatingdata(); + // this.getoperatingdata(); } else if (this.now_user == 1) { this.getHealth(); this.getoperatingdata(); @@ -1163,19 +1163,19 @@ export default { }, getUserData() { this.person = this.userInfo.user_name; - this.login_time = decodeURIComponent(getCookie('lastLogin')); + this.login_time = decodeURIComponent(getCookie('lastLogin')).replace('+',' '); }, getoperatingdata() { this.$http - .get("./static/workpalce.json") + .get("/apaas/service/v3/workplace/statistics/business") .then((response) => { console.log(response); let data = response.data.data; this.init_yy( - data.operatingdata.xarr, - data.operatingdata.service_yarr, - data.operatingdata.app_yarr, - data.operatingdata.get_yarr + data.xarr, + data.service_yarr, + data.app_yarr, + data.get_yarr ); }) .catch(function(response) {}); -- 2.26.0