逻辑复原

feasure
lld 2026-03-11 11:45:40 +08:00
parent 9b29f5e7fb
commit 9dfc035915
2 changed files with 1 additions and 3 deletions

View File

@ -673,7 +673,6 @@ export default {
this.message = JSON.stringify({[`${type}1`]: status}) this.message = JSON.stringify({[`${type}1`]: status})
this.$emit(emitFunction, this.message); this.$emit(emitFunction, this.message);
this.$set(this.status, type, status);
//todo //todo
// this.testAuto(type); // this.testAuto(type);

View File

@ -474,7 +474,7 @@ export default {
const allKeysNumeric = Object.keys(msgData).some(key => arr.includes(key)); const allKeysNumeric = Object.keys(msgData).some(key => arr.includes(key));
if (allKeysNumeric) { if (allKeysNumeric) {
//todo //todo
// this.status = {...msgData} this.status = {...msgData}
Object.keys(msgData).forEach(key => { Object.keys(msgData).forEach(key => {
const value = msgData[key]; const value = msgData[key];
this.show[key] = value === 0 ? '暂停' : '运行'; this.show[key] = value === 0 ? '暂停' : '运行';
@ -527,7 +527,6 @@ export default {
confirmText: '确定', confirmText: '确定',
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
// todo
switchAgriMode(this.imei, {code:(mode?1:0)}).then(response => { switchAgriMode(this.imei, {code:(mode?1:0)}).then(response => {
if (response.code===200) { if (response.code===200) {
this.currentMode = mode this.currentMode = mode