| 
					
				 | 
			
			
				@@ -2,26 +2,26 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="scene-box" v-if="routerParam !== 'home'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- <div class="scene-box"> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="device-header">智能通风管控系统</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="select-node" :class="{ 'node-select-show': !treeShow, 'node-select-hide': treeShow, }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <SvgIcon class="is-expansion-icon put-away-icon" size="38" name="expansion" @click="showTree('treeShow', true)" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="select-node" :class="{ 'node-select-show': !treeShow, 'node-select-hide': treeShow, }" @click="showTree('treeShow', true)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <SvgIcon class="is-expansion-icon put-away-icon" size="38" name="expansion"  /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <span class="title">{{ treeNodeTitle }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="device-select" :class="{ 'device-select-show': treeShow, 'device-select-hide': !treeShow, }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <SvgIcon class="is-expansion-icon expansion-icon" size="28" name="put-away" @click="showTree('treeShow', false)" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="device-select" :class="{ 'device-select-show': treeShow, 'device-select-hide': !treeShow, }" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <SvgIcon class="is-expansion-icon expansion-icon" size="28" name="put-away"  @click="showTree('treeShow', false)"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="device-select-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <a-tree :show-line="true" :tree-data="treeData" v-model:selectedKeys="selectedKeys" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           v-model:expandedKeys="expandedKeys" @select="onSelect"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </a-tree> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="location-icon" :class="{  'location-btn-show': !locationSettingShow, 'location-btn-hide': locationSettingShow, }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <SvgIcon size="18" name="put-away" @click="showTree('location', true)" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- <div class="location-icon" :class="{  'location-btn-show': !locationSettingShow, 'location-btn-hide': locationSettingShow, }" @click="showTree('location', true)" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <SvgIcon size="18" name="put-away" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <span class="location-text">定位图标显示</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="location-select" :class="{ 'location-select-show': locationSettingShow, 'location-select-hide': !locationSettingShow, }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="location-select-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div class="location-top-title" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <SvgIcon class="is-expansion-icon location-expansion-icon" size="28" name="expansion" @click="showTree('location', false)" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="location-top-title" @click="showTree('location', false)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <SvgIcon class="is-expansion-icon location-expansion-icon" size="28" name="expansion"  /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div class="title">定位图标显示</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="location-container"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,7 +38,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </div> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="bottom-tabs-box" @mousedown="setDivHeight" id="monitorBox"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="to-small" @click="toHome"></div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,7 +107,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { ref, onMounted, onUnmounted, ComponentOptions, shallowRef, nextTick } from 'vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { SendOutlined } from '@ant-design/icons-vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { list, getDeviceList, getDeviceTypeList } from './device.api' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { locationList } from './device.data' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// import { locationList } from './device.data' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import AlarmHistoryTable from '../comment/AlarmHistoryTable.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import HistoryTable from '../comment/HistoryTable.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import HandlerHistoryTable from '../comment/HandlerHistoryTable.vue'; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,6 +120,7 @@ import DustModal from './modal/dust.modal.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { SvgIcon } from '/@/components/Icon'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getActions } from '/@/qiankun/state'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { useRouter } from 'vue-router'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { initDictOptions } from '/@/utils/dict/index'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 type DeviceType = { deviceType: string, deviceName: string, datalist: any[] }; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -135,6 +136,7 @@ const alarmHistoryTable = ref() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const handlerHistoryTable = ref() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const routerParam = ref('home') // 默认进来时首页 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 模态框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const currentModal = shallowRef<Nullable<ComponentOptions>>(null); //模态框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const modalVisible = ref<Boolean>(false); // 模态框是否可见 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,6 +147,7 @@ const treeShow = ref(true) //是否显示树形菜单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const locationSettingShow = ref(false) //是否显示树形菜单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const treeNodeTitle = ref('') // 选中的树形标题 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const locationList = ref([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const deviceList = ref<DeviceType[]>([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const deviceActive = ref('') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const activeKey = ref('1'); // tab key 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -425,6 +428,8 @@ onMounted(async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   await getDeviceType() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  locationList.value = await initDictOptions('devPosVisible') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  console.log('定位列表------------>', locationList.value) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // getMonitor() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 onUnmounted(() => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -730,15 +735,15 @@ onUnmounted(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     background: url('/@/assets/images/vent/home/tosmall.png') no-repeat center; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     background-size: auto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    top: -65px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    right: 30px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    top: -62px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    right: 36px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     border-radius: 10px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     padding: 8px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     backdrop-filter: blur(10px); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    background-color: rgba(0, 58, 128, 0.418); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    background-color: rgba(45, 86, 137, 0.418); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     &:hover { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      background-color: rgba(42, 85, 138, 0.418); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      background-color: rgba(79, 104, 134, 0.418); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -815,7 +820,7 @@ onUnmounted(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     cursor: pointer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     right: 120px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    top: -10px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    top: -6px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     padding: 5px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // border: 1px transparent solid; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     border-radius: 5px; 
			 |