Commit dd4fdd52 authored by xiexingan's avatar xiexingan

bug

parent 1890078c
......@@ -47,7 +47,7 @@
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'")
el-col(:span="16" )
span 选择模式:
el-select(size="mini" v-model="speed" placeholder="请选择模式类型" style="width: 106px")
el-select(size="mini" v-model="models" placeholder="请选择模式类型" style="width: 106px")
el-option(label="自动模式" value="1")
el-option(label="制冷模式" value="2")
el-option(label="除湿模式" value="4")
......@@ -57,11 +57,11 @@
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='173466a2cf9a42a6a17b2bdfbeae36d5'")
el-col(:span="16" )
span 选择风速:
el-select(size="mini" v-model="models" placeholder="请选择风速类型" style="width: 106px")
el-select(size="mini" v-model="speed" placeholder="请选择风速类型" style="width: 106px")
el-option(label="高风" value="2")
el-option(label="中风" value="4")
el-option(label="低风" value="8")
el-button(type="primary", size="mini", style="margin-left: 3px") 设定
el-button(type="primary", size="mini", style="margin-left: 3px" @click="handleSwitch2(3)") 设定
//- el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
//- el-col(:span="16" )
//- span 频率设置:
......@@ -332,15 +332,15 @@ export default {
} else {
// 设定风速 windSpeed
actionType = 4
state = this.windSpeed
if (windSpeed == 1) {
state = this.speed
if (this.speed == 2) {
com = '设置风速为:高风'
} else if (windSpeed == 2) {
} else if (this.speed == 4) {
com = '设置风速为:中风'
} else if (windSpeed == 4) {
} else if (this.speed == 8) {
com = '设置风速为:低风'
}
if (!this.windSpeed) {
if (!this.speed) {
this.$message.warning('请选择设定风速')
return
}
......
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