自动化

feasure
lld 2026-03-11 16:14:38 +08:00
parent 9dfc035915
commit 0860028c87
2 changed files with 6 additions and 10 deletions

View File

@ -829,7 +829,8 @@ export default {
item.id = generateUniqueId(); item.id = generateUniqueId();
item.roller = `jm${index+1}`; item.roller = `jm${index+1}`;
}) })
this.termList[index]['config'].roller = `jm${index+1}` this.termList[index]['config']['id']=null;
this.termList[index]['config']['roller']=`jm${index+1}`;
} }
} }
} }
@ -949,7 +950,7 @@ export default {
this.slider = { this.slider = {
title: '风口大小', title: '风口大小',
min: 0, min: 0,
max: 100, max: 30,
unit: 'cm', unit: 'cm',
value: fillerTerm.vent, value: fillerTerm.vent,
mode: tag mode: tag
@ -1048,11 +1049,10 @@ export default {
'参数设置失败,请下拉刷新后重试!', '参数设置失败,请下拉刷新后重试!',
false, null, 'none', 3000) false, null, 'none', 3000)
return; return;
} else if (rule.validate(rollerParam, term)) {
rollerList.push(filmRoller);
showTips = rule.tip;
} }
// else if (rule.validate(rollerParam, term)) {
// rollerList.push(filmRoller);
// showTips = rule.tip;
// }
} }
if (rollerList.length>0) { if (rollerList.length>0) {
this.$tn.message.toast(`${rollerList.join("")}${showTips}`); this.$tn.message.toast(`${rollerList.join("")}${showTips}`);

View File

@ -63,8 +63,6 @@
<script> <script>
// //
import ManualPage from "./manual.vue"
import AutoPage from "./automatic.vue"
const SENSOR_MAP = { const SENSOR_MAP = {
temp1: "201", temp2: "202", temp3: "203", temp4: "204", temp1: "201", temp2: "202", temp3: "203", temp4: "204",
humi1: "101", humi2: "102", humi3: "103", humi4: "104" humi1: "101", humi2: "102", humi3: "103", humi4: "104"
@ -89,8 +87,6 @@ export default {
components: { components: {
ZPaging, ZPaging,
CustomRefresher, CustomRefresher,
ManualPage,
AutoPage,
}, },
data() { data() {
return { return {