Commit 4605ad0d authored by coffee's avatar coffee

tj

parent fd8ba164
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
.info-form(v-if='$store.state.d2admin.paramsList.list.syBean.type == 1' :style="{'border-bottom':(['b45827c068254695864ee3c1d42573cb','b6af764f2a6e454490a6b1b3c9057e57','173466a2cf9a42a6a17b2bdfbeae36d5','f4c840711eae4bcb9536a890cdfda493'].includes(dataForm.type))&&$store.state.d2admin.paramsList.list.syBean.type == 1 ? '1px solid #c0c0c0': ''}" ) .info-form(v-if='$store.state.d2admin.paramsList.list.syBean.type == 1' :style="{'border-bottom':(['b45827c068254695864ee3c1d42573cb','b6af764f2a6e454490a6b1b3c9057e57','173466a2cf9a42a6a17b2bdfbeae36d5','f4c840711eae4bcb9536a890cdfda493'].includes(dataForm.type))&&$store.state.d2admin.paramsList.list.syBean.type == 1 ? '1px solid #c0c0c0': ''}" )
//- | {{dataForm.status}} //- | {{dataForm.status}}
//- el-row.text-size(v-if="openOrClose.indexOf(dataForm.type)>-1") //- el-row.text-size(v-if="openOrClose.indexOf(dataForm.type)>-1")
el-row.text-size //- 室外气象站、(室内气象站)传感器、卷帘门不需要开启关闭选项
el-row.text-size(v-if="!['9a570e608d0840499551eca89d76449d','507ba9ae22174e4dbbf32dbf34dd7139','c788ce98c1f248f590434394da485ce4'].includes(dataForm.type)")
el-col(:span='10') 当前已 el-col(:span='10') 当前已
span(v-if="dataForm.status == 1") 运行 span(v-if="dataForm.status == 1") 运行
span(v-else-if="dataForm.status == 2") 停止 span(v-else-if="dataForm.status == 2") 停止
...@@ -42,48 +43,55 @@ ...@@ -42,48 +43,55 @@
el-button(type='primary' size='mini' @click="failureReset") 故障复位 el-button(type='primary' size='mini' @click="failureReset") 故障复位
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1") el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1")
el-col(:span="16" ) el-col(:span="16" )
span 温度设定: span 温度设定(℃):
el-input(size="mini", style="width: 80px", v-model="temperature") el-input-number(v-model="temperature" size="mini" :controls='false' :precision='0' style="width: 90px")
span  (℃) el-button(type='primary' size='mini' @click="handleSwitch2(1)" style='margin-left: 10px') 设定
el-button(type="primary", size="mini", style="margin-left: 3px",@click="handleSwitch2(1)") 设定
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1") el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1")
el-col(:span="16" ) el-col(:span="16" )
span 选择模式: span 选择模式:
el-select(size="mini" v-model="models" placeholder="请选择模式类型" style="width: 106px") el-select(size="mini" v-model="models" placeholder="请选择模式" style="width: 114px")
el-option(label="自动模式" value="1") el-option(label="自动模式" value="1")
el-option(label="制冷模式" value="2") el-option(label="制冷模式" value="2")
el-option(label="除湿模式" value="4") el-option(label="除湿模式" value="4")
el-option(label="送风模式" value="8") el-option(label="送风模式" value="8")
el-option(label="制热模式" value="16") el-option(label="制热模式" value="16")
el-button(type="primary", size="mini", style="margin-left: 3px",@click="handleSwitch2(2)") 设定 el-button(type="primary", size="mini", style="margin-left: 10px",@click="handleSwitch2(2)") 设定
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1") el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'&&dataForm.status==1")
el-col(:span="16" ) el-col(:span="16" )
span 选择风速: span 选择风速:
el-select(size="mini" v-model="speed" placeholder="请选择风速类型" style="width: 106px") el-select(size="mini" v-model="speed" placeholder="请选择风速" style="width: 114px")
el-option(label="高风" value="2") el-option(label="高风" value="2")
el-option(label="中风" value="4") el-option(label="中风" value="4")
el-option(label="低风" value="8") el-option(label="低风" value="8")
el-button(type="primary", size="mini", style="margin-left: 3px" @click="handleSwitch2(3)") 设定 el-button(type="primary", size="mini", style="margin-left: 10px" @click="handleSwitch2(3)") 设定
//- 风热冷泵机组 //- 风热冷泵机组
div.text-size(v-if="dataForm.type=='b45827c068254695864ee3c1d42573cb'") div.text-size(v-if="dataForm.type=='b45827c068254695864ee3c1d42573cb'")
el-row el-row(style="margin-top: 5px")
span(style='width: 120px;display: inline-block;') 模式: span(style='width: 120px;display: inline-block;') 模式:
el-switch(v-model="modelType" @change="changeHandle($event)" active-text="风水模式" inactive-text="热水模式" inactive-color="#ff4949" style="margin-bottom: 5px;") el-switch(v-model="modelType" @change="changeHandle($event)" active-text="风水模式" inactive-text="热水模式" inactive-color="#ff4949" style="margin-bottom: 5px;")
el-row(style="margin-bottom: 5px")
span 制热启动温度(℃):
el-input-number(v-model="heatingStart" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(1,heatingStart)' style='margin-left: 10px') 设定
el-row(style="margin-bottom: 5px")
span 制热启动温度(℃):
el-input-number(v-model="heatingEnd" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(2,heatingEnd)' style='margin-left: 10px') 设定
el-row(style="margin-bottom: 5px")
span 热风启动温度(℃):
el-input-number(v-model="hotWindStart" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeTemperature(3,hotWindStart)' style='margin-left: 10px') 设定
el-row el-row
span 制热启停温度(℃): span 热风停止温度(℃):
el-input-number(v-model="heatingStart" @blur='changeTemperature(1,$event)' size="mini" :controls='false' :precision='0' style="width: 65px") el-input-number(v-model="hotWindEnd" @blur='' size="mini" :controls='false' :precision='0' style="width: 90px")
span(style="margin:0 10px") - el-button(type='primary' size='mini' @click='changeTemperature(4,hotWindEnd)' style='margin-left: 10px') 设定
el-input-number(v-model="heatingEnd" @blur='changeTemperature(2,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
el-row
span 热风启停温度(℃):
el-input-number(v-model="hotWindStart" @blur='changeTemperature(3,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
span(style="margin:0 10px") -
el-input-number(v-model="hotWindEnd" @blur='changeTemperature(4,$event)' size="mini" :controls='false' :precision='0' style="width: 65px")
//- 水泵 //- 水泵
el-row.text-size(v-if="dataForm.type=='f4c840711eae4bcb9536a890cdfda493'") div.text-size(style="margin-top: 10px")
span 设置频率: el-row.text-size(v-if="dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
el-input-number(v-model="frequency" @blur='changeFrequency($event)' size="mini" :controls='false' :precision='0' autocomplete="off") span(style='margin-right: 40px') 设置频率:
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'") el-input-number(v-model="frequency" size="mini" :controls='false' :precision='0' style="width: 90px")
el-button(type='primary' size='mini' @click='changeFrequency(frequency)' style='margin-left: 10px') 设定
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
//- el-col(:span="16" ) //- el-col(:span="16" )
//- span 频率设置: //- span 频率设置:
//- el-input(size="mini", style="width: 80px", v-model="windSpeed",@click="handleSwitch2(3)") //- el-input(size="mini", style="width: 80px", v-model="windSpeed",@click="handleSwitch2(3)")
...@@ -107,10 +115,10 @@ ...@@ -107,10 +115,10 @@
span.value {{ params[0].current_frequency }} span.value {{ params[0].current_frequency }}
div(v-if="this.params.length && this.params[0].feng_shui_mode") div(v-if="this.params.length && this.params[0].feng_shui_mode")
span.type 风水模式: span.type 风水模式:
span.value {{ params[0].feng_shui_mode }} span.value {{ params[0].feng_shui_mode == 'true' ? '开启' : '关闭'}}
div(v-if="this.params.length && this.params[0].hot_water_mode") div(v-if="this.params.length && this.params[0].hot_water_mode")
span.type 热水模式: span.type 热水模式:
span.value {{ params[0].hot_water_mode }} span.value {{ params[0].hot_water_mode == 'true' ? '开启' : '关闭' }}
div(v-if="this.params.length && this.params[0].water_supply_temperature") div(v-if="this.params.length && this.params[0].water_supply_temperature")
span.type 供水温度(℃): span.type 供水温度(℃):
span.value {{ params[0].water_supply_temperature }} span.value {{ params[0].water_supply_temperature }}
...@@ -312,8 +320,8 @@ watch: { ...@@ -312,8 +320,8 @@ watch: {
}) })
}, },
// 设置频率 // 设置频率
changeFrequency(e){ changeFrequency(val){
if(e.target.value < 35 || e.target.value > 45){ if(val < 35 || val > 45){
this.$message.error('频率范围为35-45的整数') this.$message.error('频率范围为35-45的整数')
return return
} }
...@@ -405,8 +413,8 @@ watch: { ...@@ -405,8 +413,8 @@ watch: {
}) })
}, },
// 设置温度 // 设置温度
changeTemperature(type,e){ changeTemperature(type,val){
if(e.target.value < 0 || e.target.value > 100){ if(val < 0 || val > 100){
this.$message.error('温度范围为0-100的整数') this.$message.error('温度范围为0-100的整数')
return return
} }
...@@ -649,7 +657,9 @@ watch: { ...@@ -649,7 +657,9 @@ watch: {
.animation { .animation {
animation: myfirst 1s; animation: myfirst 1s;
position: absolute; position: absolute;
top: 15px; // top: 15px;
top: 50%;
transform: translate(0, -50%);
right: 0; right: 0;
width: 420px; width: 420px;
background-color: #f4f4f4; background-color: #f4f4f4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment