|
@@ -95,20 +95,20 @@ function btnClick(ind) {
|
|
|
break;
|
|
|
case 1:
|
|
|
activeIndex1.value = 0;
|
|
|
- // menuList = menuList1.external.map(el => {
|
|
|
- // return {
|
|
|
- // name: el.systemname,
|
|
|
- // warn: '低风险',
|
|
|
- // type: 'out',
|
|
|
- // deviceID: el.id,
|
|
|
- // strtype:el.strtype,
|
|
|
- // }
|
|
|
- // })
|
|
|
- menuList.length=0
|
|
|
+ menuList = menuList1.external.map(el => {
|
|
|
+ return {
|
|
|
+ name: el.systemname,
|
|
|
+ warn: '低风险',
|
|
|
+ type: 'out',
|
|
|
+ deviceID: el.id,
|
|
|
+ strtype:el.strtype,
|
|
|
+ }
|
|
|
+ })
|
|
|
+ // menuList.length=0
|
|
|
clearInterval(timer)
|
|
|
- current.value = ''
|
|
|
- // getSysWarnList(menuList[0].deviceID, 'fire');
|
|
|
- // strType.value=menuList[0].strtype
|
|
|
+ // current.value = ''
|
|
|
+ getSysWarnList(menuList[0].deviceID, 'fire');
|
|
|
+ strType.value=menuList[0].strtype
|
|
|
break;
|
|
|
}
|
|
|
}
|