|
@@ -25,17 +25,19 @@
|
|
|
<div v-if="hasPermission('window:showAngle')" class="button-box" @click="setAngle(2)">设定后窗角度</div>
|
|
|
<div v-if="hasPermission('window:gateControl')" class="button-box" @click="playAnimation(1)">打开前门</div>
|
|
|
<div v-if="hasPermission('window:gateControl')" class="button-box" @click="playAnimation(2)">关闭前门</div>
|
|
|
-
|
|
|
+ <div v-if="hasPermission('window:twoAreaControl')" class="button-box" @click="setControl('1', '窗1面积设定')">窗1面积设定</div>
|
|
|
+ <div v-if="hasPermission('window:twoAreaControl')" class="button-box" @click="setControl('2', '窗2面积设定')">窗2面积设定</div>
|
|
|
+ <div v-if="hasPermission('window:twoAngleControl')" class="button-box" @click="setControl('1', '窗1角度设定')">窗1角度设定</div>
|
|
|
+ <div v-if="hasPermission('window:twoAngleControl')" class="button-box" @click="setControl('2', '窗2角度设定')">窗2角度设定</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 class="row" v-if="hasPermission('window:fourAreaControl')">
|
|
|
- <div class="button-box" @click="setFourAngle('frontSetValue1', '前窗1开度设置')">前窗1开度</div>
|
|
|
- <div class="button-box" @click="setFourAngle('frontSetValue2', '前窗2开度设置')">前窗2开度</div>
|
|
|
- <div class="button-box" @click="setFourAngle('frontSetValue3', '后窗1开度设置')">后窗1开度</div>
|
|
|
- <div class="button-box" @click="setFourAngle('frontSetValue4', '后窗2开度设置')">后窗2开度</div>
|
|
|
+ <div class="button-box" @click="setControl('frontSetValue1', '前窗1开度设置')">前窗1开度</div>
|
|
|
+ <div class="button-box" @click="setControl('frontSetValue2', '前窗2开度设置')">前窗2开度</div>
|
|
|
+ <div class="button-box" @click="setControl('frontSetValue3', '后窗1开度设置')">后窗1开度</div>
|
|
|
+ <div class="button-box" @click="setControl('frontSetValue4', '后窗2开度设置')">后窗2开度</div>
|
|
|
</div>
|
|
|
<div class="row" v-if="Number(selectData.nwindownum) == 1">
|
|
|
<div v-if="hasPermission('window:AreaControl')" class="button-box" @click="setArea(1)">设定风窗面积</div>
|
|
@@ -431,14 +433,13 @@
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- const setFourAngle = (flag, title) => {
|
|
|
+ const setControl = (flag, title) => {
|
|
|
modalType.value = flag + '';
|
|
|
modalTitle.value = title;
|
|
|
modalIsShow.value = true;
|
|
|
};
|
|
|
|
|
|
const handleOK = (passWord, handlerState, value) => {
|
|
|
- debugger;
|
|
|
if (!passWord && !globalConfig?.simulatedPassword) {
|
|
|
message.warning('请输入密码!');
|
|
|
return;
|