Jelajahi Sumber

看板默认全屏

cyy 3 tahun lalu
induk
melakukan
f47751ef5f
1 mengubah file dengan 19 tambahan dan 0 penghapusan
  1. 19 0
      src/views/crm/tongji.vue

+ 19 - 0
src/views/crm/tongji.vue

@@ -175,6 +175,21 @@
       personPerformance,
       personPerformanceMonth
     },
+    created() {
+      if (screenfull.isEnabled && !screenfull.isFullscreen) {
+        this.allView()
+      }
+
+      // this.refreshAll(this.allDate)
+
+      // if (this.timer){
+      //   clearInterval(this.timer)
+      // }
+
+      // this.timer = setInterval(() => {
+      //   this.refreshAll(this.allDate)
+      // },600000)
+    },
     mounted() {
       //权限
       // this.authorityJudgment()
@@ -182,6 +197,10 @@
       this.Date()
     },
     methods: {
+      allView() {
+        // 默认显示全屏
+        screenfull.request()
+      },
       Date() {
         const nowDate = new Date();
         const date = {