朱鑫波 3 年之前
父节点
当前提交
e7545f6c0e
共有 1 个文件被更改,包括 9 次插入6 次删除
  1. 9 6
      src/views/modules/Statistics/newPlanStatic/newPlanStatic.vue

+ 9 - 6
src/views/modules/Statistics/newPlanStatic/newPlanStatic.vue

@@ -1337,12 +1337,15 @@ export default {
       this.getEchartData('sectionChart', this.sectionOption);
       this.getEchartData('sectionChart', this.sectionOption);
 
 
       // this.tabChange(2)
       // this.tabChange(2)
-      let userInfo=localStorage.getItem('pro__Login_Userinfo')
-      if(userInfo){
-        this.userId=this.userInfo().id;
-        this.operate=this.userId;
-        this.getNewPlan()
-      }
+      // let userInfo=localStorage.getItem('pro__Login_Userinfo')
+      // if(userInfo){
+      //   this.userId=this.userInfo().id;
+      //   this.operate=this.userId;
+      //   this.getNewPlan()
+      // }
+      this.userId=this.userInfo().id;
+      this.operate=this.userId;
+      this.getNewPlan()
       // console.log(this.userId)
       // console.log(this.userId)