dedsudiyu 3 mesiacov pred
rodič
commit
ded662d565

+ 1 - 1
src/views/safetyOverview/pageComponent/dangerComponents.vue

@@ -46,7 +46,7 @@
       return {
         propsData:{
           title:'危险源总数排行',
-          checkType:'dangerComponents',
+          // checkType:'dangerComponents', //二级未开发-暂时注掉
         },
         //eCharts定时器
         eChartsTimer:null,

+ 1 - 1
src/views/safetyOverview/pageComponent/hazardousComponents.vue

@@ -48,7 +48,7 @@
       return {
         propsData:{
           title:'危化品存量排行',
-          checkType:'hazardousComponents',
+          // checkType:'hazardousComponents', //二级未开发-暂时注掉
         },
         totalNumber:0,
         totalAmount:0,

+ 1 - 1
src/views/safetyOverview/pageComponent/subComponents.vue

@@ -44,7 +44,7 @@
       return {
         propsData:{
           title:'实验室状态统计',
-          checkType:'subComponents',
+          // checkType:'subComponents', //二级未开发-暂时注掉
         },
         //eCharts定时器
         eChartsTimer:null,

+ 1 - 1
src/views/safetyOverview/pageComponent/troubleDistributionComponents.vue

@@ -32,7 +32,7 @@
       return {
         propsData:{
           title:'安全隐患分布',
-          checkType:'troubleDistributionComponents',
+          // checkType:'troubleDistributionComponents', //二级未开发-暂时注掉
         },
         //eCharts定时器
         eChartsTimer:null,

+ 1 - 1
src/views/safetyOverview/pageComponent/troubleRankingComponents.vue

@@ -40,7 +40,7 @@ import {
       return {
         propsData:{
           title:'安全隐患排行',
-          checkType:'troubleRankingComponents',
+          // checkType:'troubleRankingComponents', //二级未开发-暂时注掉
         },
         eChartsTimer:null,
         buttonType:0,

+ 1 - 1
src/views/safetyOverview/pageComponent/userEquipmentComponents.vue

@@ -38,7 +38,7 @@
       return {
         propsData:{
           title:'人员设备安全',
-          checkType:'userEquipmentComponents',
+          // checkType:'userEquipmentComponents', //二级未开发-暂时注掉
         },
         dataList:[],
         tableTimer:null,

+ 5 - 1
src/views/safetyOverview/pageComponent/warningComponents.vue

@@ -46,6 +46,7 @@
           </div>
         </div>
       </div>
+      <!--<p style="position: absolute;bottom:0;right:0;color:red;">{{deptData.schoolName}}</p>-->
     </div>
   </div>
 </template>
@@ -74,7 +75,6 @@ import {
         deptData:{},
         deptListIndex:0,
         eChartsTimer:null,
-        eChartsTimerNum:0,
       }
     },
     created() {
@@ -88,8 +88,11 @@ import {
         let self = this;
         self.getData();
         //定时动画
+        console.log('触发1')
         window.clearInterval(self.eChartsTimer);
+        console.log('触发2')
         self.eChartsTimer = setInterval(function(){
+          console.log('触发3')
           self.deptListIndex++
           if(self.deptList[self.deptListIndex]){
             self.$set(self,'deptData',self.deptList[self.deptListIndex]);
@@ -161,6 +164,7 @@ import {
     margin: 16px 30px;
     height: 530px;
     .map-max-big-box {
+      position: relative;
       .map-one-max-big-box {
         height: 468px;
         width: 933px;