马宇豪
2023-03-27 2a45cb4af3f72c23de76c770bddeda71fbb7c62e
src/views/doubleIndex/saftyScreen/components/screen.vue
@@ -4,7 +4,7 @@
            <div class="logo">
                众泰煤焦化智能化安全管理技术平台
            </div>
            <div class="title">安全信息大屏</div>
            <div class="title">安全信息公示</div>
            <div class="title-right">
                <!--                <img src="themeStyle.skinIcon" class="qiehuan" @click="changeTheme" />-->
                <span class="datetime">{{currentTime}}</span>
@@ -311,9 +311,11 @@
                this.$router.push({
                    path:"/fullScreen"
                })
                this.$parent.clickFullscreen()
            },
            back(){
                window.history.go(-1);
                this.$parent.clickFullscreen()
            },
            // 获取部门列表
@@ -725,8 +727,7 @@
                if (option && typeof option === 'object') {
                    myChart.setOption(option);
                    t.myVar = setInterval(function(){
                        console.log('tik')
                    t.myVar = window.setInterval(function(){
                        if (option.dataZoom[0].endValue == t.depList.length ) {
                            option.dataZoom[0].endValue = 6;
                            option.dataZoom[0].startValue = 0;
@@ -885,7 +886,7 @@
                    },
                    series: [
                        {
                            name: '任务数量',
                            name: '当日认领数量',
                            type: 'bar',
                            data: this.claimedData,
                            itemStyle:{
@@ -893,7 +894,7 @@
                            }
                        },
                        {
                            name: '已完成',
                            name: '当日完成数量',
                            type: 'bar',
                            data: this.completedData,
                            itemStyle:{
@@ -901,7 +902,7 @@
                            }
                        },
                        {
                            name: '未完成',
                            name: '累计领取未完成数量',
                            type: 'bar',
                            data: this.uncompletedData,
                            itemStyle:{