|
|
@ -117,6 +117,7 @@ |
|
|
|
<el-form @submit.native.prevent> |
|
|
|
<el-form @submit.native.prevent> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-input |
|
|
|
<el-input |
|
|
|
|
|
|
|
style="width: 1.2rem" |
|
|
|
@keyup.enter.native="handleEnter(damperOneObj, $event, '%')" |
|
|
|
@keyup.enter.native="handleEnter(damperOneObj, $event, '%')" |
|
|
|
@input="handleInput(damperOneObj)" |
|
|
|
@input="handleInput(damperOneObj)" |
|
|
|
@blur="handleBlur()" |
|
|
|
@blur="handleBlur()" |
|
|
@ -139,6 +140,7 @@ |
|
|
|
<el-form @submit.native.prevent> |
|
|
|
<el-form @submit.native.prevent> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-input |
|
|
|
<el-input |
|
|
|
|
|
|
|
style="width: 1.2rem" |
|
|
|
@keyup.enter.native="handleEnter(damperTwoObj, $event, '%')" |
|
|
|
@keyup.enter.native="handleEnter(damperTwoObj, $event, '%')" |
|
|
|
@input="handleInput(damperTwoObj)" |
|
|
|
@input="handleInput(damperTwoObj)" |
|
|
|
@blur="handleBlur()" |
|
|
|
@blur="handleBlur()" |
|
|
@ -161,6 +163,7 @@ |
|
|
|
<el-form @submit.native.prevent> |
|
|
|
<el-form @submit.native.prevent> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-input |
|
|
|
<el-input |
|
|
|
|
|
|
|
style="width: 1.2rem" |
|
|
|
@keyup.enter.native="handleEnter(damperTwoObj, $event, '%')" |
|
|
|
@keyup.enter.native="handleEnter(damperTwoObj, $event, '%')" |
|
|
|
@input="handleInput(damperTwoObj)" |
|
|
|
@input="handleInput(damperTwoObj)" |
|
|
|
@blur="handleBlur()" |
|
|
|
@blur="handleBlur()" |
|
|
@ -214,6 +217,7 @@ |
|
|
|
active-text="开启" |
|
|
|
active-text="开启" |
|
|
|
inactive-text="停止" |
|
|
|
inactive-text="停止" |
|
|
|
@change="handleControlText(remoteManualObj)" |
|
|
|
@change="handleControlText(remoteManualObj)" |
|
|
|
|
|
|
|
:disabled="automaticObj.collectValue" |
|
|
|
> |
|
|
|
> |
|
|
|
</el-switch> |
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -230,6 +234,7 @@ |
|
|
|
active-text="开启" |
|
|
|
active-text="开启" |
|
|
|
inactive-text="停止" |
|
|
|
inactive-text="停止" |
|
|
|
@change="handleControlText(timeScheduleObj)" |
|
|
|
@change="handleControlText(timeScheduleObj)" |
|
|
|
|
|
|
|
:disabled="automaticObj.collectValue" |
|
|
|
> |
|
|
|
> |
|
|
|
</el-switch> |
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -276,8 +281,8 @@ |
|
|
|
<div class="fan-satatus1"> |
|
|
|
<div class="fan-satatus1"> |
|
|
|
<div class="context-li" v-if="isObjectValid(automaticObj)"> |
|
|
|
<div class="context-li" v-if="isObjectValid(automaticObj)"> |
|
|
|
<div class="wind-text">风机手自动状态:</div> |
|
|
|
<div class="wind-text">风机手自动状态:</div> |
|
|
|
<div class="goodStautus" v-if="automaticObj.collectValue">手动</div> |
|
|
|
<div class="noneStautus" v-if="automaticObj.collectValue">手动</div> |
|
|
|
<div class="noneStautus" v-else>自动</div> |
|
|
|
<div class="goodStautus" v-else>自动</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <div class="context-li" v-if="isObjectValid(startControlObj)"> |
|
|
|
<!-- <div class="context-li" v-if="isObjectValid(startControlObj)"> |
|
|
|
<div class="wind-text">风机启停控制</div> |
|
|
|
<div class="wind-text">风机启停控制</div> |
|
|
@ -1160,22 +1165,21 @@ export default { |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
// 更新所有设备状态; |
|
|
|
// 更新所有设备状态; |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
this.getWindList().finally(() => { |
|
|
|
this.getWindList(this.currentId); |
|
|
|
// 关闭 loading 效果 |
|
|
|
// 关闭 loading 效果 |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
}); |
|
|
|
|
|
|
|
}, 5000); |
|
|
|
}, 5000); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// this.$modal.msgError("操作失败"); |
|
|
|
// this.$modal.msgError("操作失败"); |
|
|
|
console.log("应该更新状态的"); |
|
|
|
console.log("应该更新状态的"); |
|
|
|
// 更新所有设备状态; |
|
|
|
// 更新所有设备状态; |
|
|
|
this.getWindList(); |
|
|
|
this.getWindList(this.currentId); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
.catch((error) => { |
|
|
|
console.log("请求发生错误,更新设备状态", error); |
|
|
|
console.log("请求发生错误,更新设备状态", error); |
|
|
|
// 更新所有设备状态; |
|
|
|
// 更新所有设备状态; |
|
|
|
this.getWindList(); |
|
|
|
this.getWindList(this.currentId); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 打开定时开关弹框 |
|
|
|
// 打开定时开关弹框 |
|
|
@ -1362,10 +1366,9 @@ export default { |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
// 更新所有设备状态; |
|
|
|
// 更新所有设备状态; |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
this.getPolicyList().finally(() => { |
|
|
|
this.getPolicyList(); |
|
|
|
// 关闭 loading 效果 |
|
|
|
// 关闭 loading 效果 |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
}); |
|
|
|
|
|
|
|
}, 500); |
|
|
|
}, 500); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// this.$modal.msgError("操作失败"); |
|
|
|
// this.$modal.msgError("操作失败"); |
|
|
@ -1639,10 +1642,10 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.wind-tem2 { |
|
|
|
.wind-tem2 { |
|
|
|
z-index: 10; |
|
|
|
z-index: 10; |
|
|
|
width: 3.7rem; |
|
|
|
// width: 3.8rem; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 2.2rem; |
|
|
|
top: 2.2rem; |
|
|
|
right: -1.1rem; |
|
|
|
left: 10.55rem; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -1658,10 +1661,10 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.wind-tem3 { |
|
|
|
.wind-tem3 { |
|
|
|
z-index: 10; |
|
|
|
z-index: 10; |
|
|
|
width: 3.47rem; |
|
|
|
// width: 3.57rem; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 4.1rem; |
|
|
|
top: 4.1rem; |
|
|
|
right: -0.9rem; |
|
|
|
left: 10.55rem; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -1677,10 +1680,10 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.wind-tem4 { |
|
|
|
.wind-tem4 { |
|
|
|
z-index: 10; |
|
|
|
z-index: 10; |
|
|
|
width: 3.47rem; |
|
|
|
// width: 3.57rem; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 5.9rem; |
|
|
|
top: 5.9rem; |
|
|
|
right: -0.9rem; |
|
|
|
left: 10.55rem; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|