From 0f49a23a9d4dc7d3eb9a7309f8cd85a316cd4d97 Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期四, 30 四月 2020 17:39:22 +0800 Subject: [PATCH] 功能调整 --- src/views/Mine.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/Mine.vue b/src/views/Mine.vue index 90e8120..1612066 100644 --- a/src/views/Mine.vue +++ b/src/views/Mine.vue @@ -144,17 +144,16 @@ this.$axios.get("/api/scheme/all") .then(data_ => { - console.log(data_); if (data_.data.success) { var datas = data_.data.data; this.tableData = datas; } }).catch(error => { - console.log(error); + // console.log(error); }); this.$axios.get("/api/scheme/typesCnt") .then(data_ => { - console.log(data_); + // console.log(data_); if (data_.data.success) { var datas = data_.data.data; @@ -162,12 +161,12 @@ this.initChart(datas.typeCnt); } }).catch(error => { - console.log(error); + // console.log(error); }); this.date_ = this.$moment(new Date).format('YYYY骞碝M鏈圖D鏃�'); this.$axios.get("/api/detail/dayTask") .then(data_ => { - console.log(data_); + // console.log(data_); if (data_.data.success) { var datas = data_.data.data; datas.map(el => { @@ -183,7 +182,7 @@ this.overview1 = datas; } }).catch(error => { - console.log(error); + // console.log(error); }) // this.overview1 = [ // {name: "鎴戠殑浠诲姟", count: 15, warning: "宸查�炬湡11"}, @@ -215,7 +214,7 @@ this.activeTableData = currentRow; this.$axios.get("/api/scheme/daywork/" + currentRow.id) .then(data_ => { - console.log(data_); + // console.log(data_); if (data_.data.success) { var datas = data_.data.data; this.card3Count = datas; @@ -226,7 +225,7 @@ } }).catch(error => { - console.log(error); + // console.log(error); }) }, initChart(val) { -- Gitblit v1.8.0