|
|
@@ -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 = {
|