zhangyanpeng
2020-05-06 d0be57c51de4ed3bf6e8d9a68242f24a5716e65d
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年MM月DD日');
            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) {