Commit 104366d4 authored by 张俊's avatar 张俊

工作台首页运营分析

parent dedecce7
......@@ -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) {});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment