wx-program
parent
708557d11f
commit
0f987c5047
|
@ -2466,17 +2466,17 @@
|
||||||
if(this.purviewList.indexOf('19') != -1){
|
if(this.purviewList.indexOf('19') != -1){
|
||||||
this.airWindowList.forEach((el,index)=>{
|
this.airWindowList.forEach((el,index)=>{
|
||||||
if(el.name == '5#通风窗'){
|
if(el.name == '5#通风窗'){
|
||||||
el.airWindowState = res.data[1188];
|
el.airWindowState = res.data[1188]?res.data[1188]:0;
|
||||||
el.progress = res.data[1190];
|
el.progress = res.data[1190];
|
||||||
el.statusProgress = res.data[1189]
|
el.statusProgress = res.data[1189]
|
||||||
el.pid = res.data[1194]
|
el.pid = res.data[1194]
|
||||||
}else if(el.name == '6#通风窗'){
|
}else if(el.name == '6#通风窗'){
|
||||||
el.airWindowState = res.data[1191];
|
el.airWindowState = res.data[1191]?res.data[1191]:0;
|
||||||
el.progress = res.data[1193];
|
el.progress = res.data[1193];
|
||||||
el.statusProgress = res.data[1192]
|
el.statusProgress = res.data[1192]
|
||||||
el.pid = res.data[1195]
|
el.pid = res.data[1195]
|
||||||
}else{
|
}else{
|
||||||
el.airWindowState = res.data[1102 + index * 3];
|
el.airWindowState = res.data[1102 + index * 3]?res.data[1102 + index * 3]:0;
|
||||||
el.progress = res.data[1104 + index * 3];
|
el.progress = res.data[1104 + index * 3];
|
||||||
el.statusProgress = res.data[1103 + index * 3]
|
el.statusProgress = res.data[1103 + index * 3]
|
||||||
el.pid = res.data[1115 + index]
|
el.pid = res.data[1115 + index]
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2930,17 +2930,17 @@ var _default = {
|
||||||
if (_this7.purviewList.indexOf('19') != -1) {
|
if (_this7.purviewList.indexOf('19') != -1) {
|
||||||
_this7.airWindowList.forEach(function (el, index) {
|
_this7.airWindowList.forEach(function (el, index) {
|
||||||
if (el.name == '5#通风窗') {
|
if (el.name == '5#通风窗') {
|
||||||
el.airWindowState = res.data[1188];
|
el.airWindowState = res.data[1188] ? res.data[1188] : 0;
|
||||||
el.progress = res.data[1190];
|
el.progress = res.data[1190];
|
||||||
el.statusProgress = res.data[1189];
|
el.statusProgress = res.data[1189];
|
||||||
el.pid = res.data[1194];
|
el.pid = res.data[1194];
|
||||||
} else if (el.name == '6#通风窗') {
|
} else if (el.name == '6#通风窗') {
|
||||||
el.airWindowState = res.data[1191];
|
el.airWindowState = res.data[1191] ? res.data[1191] : 0;
|
||||||
el.progress = res.data[1193];
|
el.progress = res.data[1193];
|
||||||
el.statusProgress = res.data[1192];
|
el.statusProgress = res.data[1192];
|
||||||
el.pid = res.data[1195];
|
el.pid = res.data[1195];
|
||||||
} else {
|
} else {
|
||||||
el.airWindowState = res.data[1102 + index * 3];
|
el.airWindowState = res.data[1102 + index * 3] ? res.data[1102 + index * 3] : 0;
|
||||||
el.progress = res.data[1104 + index * 3];
|
el.progress = res.data[1104 + index * 3];
|
||||||
el.statusProgress = res.data[1103 + index * 3];
|
el.statusProgress = res.data[1103 + index * 3];
|
||||||
el.pid = res.data[1115 + index];
|
el.pid = res.data[1115 + index];
|
||||||
|
|
Loading…
Reference in New Issue