From 5346354c8b6685d4c111041a8c5a4d61dae13050 Mon Sep 17 00:00:00 2001
From: zhangyanpeng <bob.zhang@highdatas.com>
Date: 星期四, 28 五月 2020 10:31:46 +0800
Subject: [PATCH] 添加任务总揽菜单

---
 src/views/Mine.vue |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/views/Mine.vue b/src/views/Mine.vue
index 90e8120..d3614e1 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"},
@@ -208,14 +207,14 @@
 		},
 		
 		see_click() {
-			this.$router.push('/list');
+			this.$router.push('/list').catch(err => {err});
 		},
 		
 		setActiveTableData(currentRow, oldCurrentRow) {
 		    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