|
@@ -663,15 +663,16 @@ async function getStationList1() {
|
|
let res = await getList({ subId: stationId.value, pageNo: pagination.current, pageSize: pagination.pageSize, })
|
|
let res = await getList({ subId: stationId.value, pageNo: pagination.current, pageSize: pagination.pageSize, })
|
|
res.forEach(el => {
|
|
res.forEach(el => {
|
|
el.key = el.id
|
|
el.key = el.id
|
|
- el.linkstatusC = el.linkstatus ? '连接' : '未连接'
|
|
|
|
|
|
+ el.linkIdC = el.linkId || ''
|
|
|
|
+ el.linkstatusC = el.linkstatus ? '连接' : '断开'
|
|
el.gdmsC = el.gdms == '1' ? '直流供电' : el.gdms == '0' ? '交流供电' : ''
|
|
el.gdmsC = el.gdms == '1' ? '直流供电' : el.gdms == '0' ? '交流供电' : ''
|
|
el.debugTitle = '调试'
|
|
el.debugTitle = '调试'
|
|
el.children = el.devInfoList
|
|
el.children = el.devInfoList
|
|
el.children.forEach(v => {
|
|
el.children.forEach(v => {
|
|
v.key = v.id
|
|
v.key = v.id
|
|
- v.linkstatus = v.linkId
|
|
|
|
v.debugTitle = '调试'
|
|
v.debugTitle = '调试'
|
|
- v.linkstatusC = v.linkstatus == '0' ? '待启用' : v.linkstatus == '1' ? '连接' : '断开'
|
|
|
|
|
|
+ v.linkstatusC = v.netStatus ? '连接' : '断开'
|
|
|
|
+ v.linkIdC = v.linkId == '0' ? '未启用' : v.linkId == '1' ? '启用' : v.linkId == '2' ? '设备异常' : ''
|
|
v.updateTime = v.time
|
|
v.updateTime = v.time
|
|
v.gdmsC = v.gdms == '1' ? '直流供电' : v.gdms == '0' ? '交流供电' : ''
|
|
v.gdmsC = v.gdms == '1' ? '直流供电' : v.gdms == '0' ? '交流供电' : ''
|
|
v.valueJc = `风向:${v.forward || ''},风量:${v.m3 || ''}m³/min,风速:${v.windSpeed || ''}m/s,气压:${v.pa || ''}Pa,压差:${v.difPress || ''}Pa,温度:${v.temperature || ''}℃,湿度:${v.humidity || ''}%,断面积:${v.area || ''}㎡`
|
|
v.valueJc = `风向:${v.forward || ''},风量:${v.m3 || ''}m³/min,风速:${v.windSpeed || ''}m/s,气压:${v.pa || ''}Pa,压差:${v.difPress || ''}Pa,温度:${v.temperature || ''}℃,湿度:${v.humidity || ''}%,断面积:${v.area || ''}㎡`
|
|
@@ -829,7 +830,7 @@ onUnmounted(() => {
|
|
clearTimeout(timer);
|
|
clearTimeout(timer);
|
|
timer = undefined;
|
|
timer = undefined;
|
|
}
|
|
}
|
|
- if(timer1){
|
|
|
|
|
|
+ if (timer1) {
|
|
clearTimeout(timer1);
|
|
clearTimeout(timer1);
|
|
timer1 = undefined;
|
|
timer1 = undefined;
|
|
}
|
|
}
|