|
@ -248,9 +248,8 @@ const deviceType = computed(() => { |
|
|
|
|
|
|
|
|
<template> |
|
|
<template> |
|
|
<div class="home-start-opt"> |
|
|
<div class="home-start-opt"> |
|
|
<el-row class="row-bg" justify="space-around"> |
|
|
|
|
|
<el-col v-if="deviceType === deviceStore.deviceTypeMap.PipeDM" :span="6"> |
|
|
|
|
|
<div class="home-opt-flex"> |
|
|
<div class="home-opt-flex"> |
|
|
|
|
|
<div v-if="deviceType === deviceStore.deviceTypeMap.PipeDM"> |
|
|
<BtButton |
|
|
<BtButton |
|
|
button-text="压力控制" |
|
|
button-text="压力控制" |
|
|
text-size="1.3rem" |
|
|
text-size="1.3rem" |
|
@ -261,8 +260,6 @@ const deviceType = computed(() => { |
|
|
@click="onSetPressure" |
|
|
@click="onSetPressure" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</el-col> |
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
|
<div class="home-opt-ml"> |
|
|
<div class="home-opt-ml"> |
|
|
<BtButton |
|
|
<BtButton |
|
|
button-text="查看图表" |
|
|
button-text="查看图表" |
|
@ -275,8 +272,6 @@ const deviceType = computed(() => { |
|
|
@click="onShowChart" |
|
|
@click="onShowChart" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</el-col> |
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
|
<div class="home-opt-ml"> |
|
|
<div class="home-opt-ml"> |
|
|
<BtButton |
|
|
<BtButton |
|
|
v-if="deviceState" |
|
|
v-if="deviceState" |
|
@ -299,8 +294,7 @@ const deviceType = computed(() => { |
|
|
@click="onDisinfectConfig('运行参数')" |
|
|
@click="onDisinfectConfig('运行参数')" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<ft-dialog v-model="disinfectFormulaVisible" :title="disinfectFormulaTitle" width="80vw"> |
|
|
<ft-dialog v-model="disinfectFormulaVisible" :title="disinfectFormulaTitle" width="80vw"> |
|
|
<div style="height: 80vh; overflow: auto"> |
|
|
<div style="height: 80vh; overflow: auto"> |
|
@ -345,21 +339,17 @@ const deviceType = computed(() => { |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.home-start-opt { |
|
|
.home-start-opt { |
|
|
margin: 0.5rem; |
|
|
margin: 0.5rem; |
|
|
gap: 5px; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
} |
|
|
.home-opt-flex { |
|
|
.home-opt-flex { |
|
|
display: flex; |
|
|
display: flex; |
|
|
grid-template-columns: 1fr 1fr 1fr; |
|
|
|
|
|
.home-opt-ml { |
|
|
|
|
|
margin-left: 5px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
gap: 1rem; |
|
|
} |
|
|
} |
|
|
|
|
|
.home-opt-ml { |
|
|
|
|
|
margin-left: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.config { |
|
|
.config { |
|
|
border: 1px solid red; |
|
|
border: 1px solid red; |
|
|
} |
|
|
} |
|
|
.config-btn { |
|
|
|
|
|
//margin-top: -3rem |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|
</style> |