소스 검색

'改快手账户报表的错误'

魏志佳 4 년 전
부모
커밋
870d0c7db3
2개의 변경된 파일14개의 추가작업 그리고 14개의 파일을 삭제
  1. 7 7
      src/views/dashboard/Analysis.vue
  2. 7 7
      src/views/modules/Statistics/KSAccountReport.vue

+ 7 - 7
src/views/dashboard/Analysis.vue

@@ -457,14 +457,14 @@
 
     },
     mounted() {
-        //  postAction('/ctop/releaseViewRecord/check', {}).then(res => {
-        //     console.log(res)
-        //     if(res.success){
-        //        this.visible=res.showPopup;
-        //        this.versionId=res.data.id;
-        //     }
+         postAction('/ctop/releaseViewRecord/check', {}).then(res => {
+            console.log(res)
+            if(res.success){
+               this.visible=res.showPopup;
+               this.versionId=res.data.id;
+            }
            
-        // })
+        })
     },
   }
 </script>

+ 7 - 7
src/views/modules/Statistics/KSAccountReport.vue

@@ -1284,13 +1284,13 @@ export default {
     },
   },
   mounted() {
-    // this.accountHttp()
-    // new Promise((resolve, reject) => {
-    //   this.getEchartData('sectionChart', this.sectionOption)
-    //   resolve()
-    // }).then(()=>{
-    //   this.myChart.clear()
-    // })
+    this.accountHttp()
+    new Promise((resolve, reject) => {
+      this.getEchartData('sectionChart', this.sectionOption)
+      resolve()
+    }).then(()=>{
+      this.myChart.clear()
+    })
     
     postAction('/toutiao/videoReportDaily/getColumnJson', {
       columnType: 2