| 
														
															@@ -35,15 +35,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <div v-if="hasPermission('window:AreaControl')" class="button-box" @click="setArea(1)">设定风窗面积</div> 
														 | 
														
														 | 
														
															           <div v-if="hasPermission('window:AreaControl')" class="button-box" @click="setArea(1)">设定风窗面积</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <div v-if="hasPermission('window:showAngle')" class="button-box" @click="setAngle(1)">设定风窗角度</div> 
														 | 
														
														 | 
														
															           <div v-if="hasPermission('window:showAngle')" class="button-box" @click="setAngle(1)">设定风窗角度</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(7)">风窗自主调控</div> 
														 | 
														
														 | 
														
															           <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(7)">风窗自主调控</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <!-- 展会功能 --> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <!-- <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(3)">自主联动控制开启</div> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(4)">自主联动控制停止</div> --> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </div> 
														 | 
														
														 | 
														
															         </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <div class="top-right row"> 
														 | 
														
														 | 
														
															       <div class="top-right row"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <div v-if="hasPermission('window:controlFull')" class="button-box" @click="setArea(5)">一键全开</div> 
														 | 
														
														 | 
														
															         <div v-if="hasPermission('window:controlFull')" class="button-box" @click="setArea(5)">一键全开</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <div v-if="hasPermission('window:controlFull')" class="button-box" @click="setArea(6)">一键全关</div> 
														 | 
														
														 | 
														
															         <div v-if="hasPermission('window:controlFull')" class="button-box" @click="setArea(6)">一键全关</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <!-- 展会功能 --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(3)">自主联动控制开启</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(4)">自主联动控制停止</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <!-- <div class="button-box" @click="() => (linkAlarmShow = true)">预警指标</div> --> 
														 | 
														
														 | 
														
															         <!-- <div class="button-box" @click="() => (linkAlarmShow = true)">预警指标</div> --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <!-- <div class="control-type row"> 
														 | 
														
														 | 
														
															         <!-- <div class="control-type row"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <div class="control-title">控制模式:</div> 
														 | 
														
														 | 
														
															           <div class="control-title">控制模式:</div> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -223,6 +222,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const activeKey = ref('1'); 
														 | 
														
														 | 
														
															   const activeKey = ref('1'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const loading = ref(false); 
														 | 
														
														 | 
														
															   const loading = ref(false); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const windowAngle = ref(0); 
														 | 
														
														 | 
														
															   const windowAngle = ref(0); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  const ch4 = ref(0.6); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															   // const rotationParam = { 
														 | 
														
														 | 
														
															   // const rotationParam = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   //   frontDeg0: 0, // 前门初始 
														 | 
														
														 | 
														
															   //   frontDeg0: 0, // 前门初始 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -416,6 +416,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       password: passWord || globalConfig?.simulatedPassword, 
														 | 
														
														 | 
														
															       password: passWord || globalConfig?.simulatedPassword, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       value: null, 
														 | 
														
														 | 
														
															       value: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    let params; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if (handlerState == 7 || handlerState == 8) { 
														 | 
														
														 | 
														
															     if (handlerState == 7 || handlerState == 8) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       let params; 
														 | 
														
														 | 
														
															       let params; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (handlerState == 7) { 
														 | 
														
														 | 
														
															       if (handlerState == 7) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -452,12 +453,16 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } else if (handlerState == 3 || handlerState == 4) { 
														 | 
														
														 | 
														
															       } else if (handlerState == 3 || handlerState == 4) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         data.paramcode = 'autoRun'; 
														 | 
														
														 | 
														
															         data.paramcode = 'autoRun'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         data.value = handlerState == 3 ? 1 : 0; 
														 | 
														
														 | 
														
															         data.value = handlerState == 3 ? 1 : 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (handlerState == 3) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          ch4.value = windowAngleNum; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          params = { auto: 1, windowId: selectData.deviceID, gasMax: ch4.value }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } else if (handlerState == 5 || handlerState == 6) { 
														 | 
														
														 | 
														
															       } else if (handlerState == 5 || handlerState == 6) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         data.paramcode = 'frontSetValue'; 
														 | 
														
														 | 
														
															         data.paramcode = 'frontSetValue'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         data.value = handlerState == 5 ? selectData.maxarea : 0; 
														 | 
														
														 | 
														
															         data.value = handlerState == 5 ? selectData.maxarea : 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      deviceControlApi(data) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      deviceControlApi(handlerState == 3 ? params : data) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         .then((res) => { 
														 | 
														
														 | 
														
															         .then((res) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if (res.success) { 
														 | 
														
														 | 
														
															           if (res.success) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if (globalConfig.History_Type == 'remote') { 
														 | 
														
														 | 
														
															             if (globalConfig.History_Type == 'remote') { 
														 |