| 
					
				 | 
			
			
				@@ -23,7 +23,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <iconLight @show-detail="showDetail" :warningList="warningList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <div :class="{ 'realtime-mode': isDataRealTime }" alt="切换数据模式" class="switch-button report-mode" @click="switchDataMode"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="sysDataType === 'all'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            :class="{ 'realtime-mode': isDataRealTime }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            alt="切换数据模式" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            class="switch-button report-mode" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="switchDataMode" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <!-- 榆家梁矿 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <!-- <div class="area-card2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -63,7 +69,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import iconLight from './components/icon-light.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import dialogModal from './components/dialog-modal.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import { getHomeData, getList } from './clique.api'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  import { EllipsisOutlined } from '@ant-design/icons-vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  import { useGlobSetting } from '/@/hooks/setting'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const { sysDataType = 'monitor' } = useGlobSetting(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const dialogModalRef = ref(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let mainTitle = ref('国能神东一通三防管控平台'); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -99,7 +107,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let orgcode = ref(''); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   /** 数据是否使用实时数据,使用实时数据/报表数据对应某些数据的不同字段 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const isDataRealTime = ref(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const isDataRealTime = ref(sysDataType === 'monitor'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // https获取监测数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let timer: null | NodeJS.Timeout = null; 
			 |