|
@@ -95,20 +95,20 @@ function btnClick(ind) {
|
|
break;
|
|
break;
|
|
case 1:
|
|
case 1:
|
|
activeIndex1.value = 0;
|
|
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)
|
|
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;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|