|
@@ -355,13 +355,13 @@
|
|
|
/*表格*/
|
|
|
tableList:[],
|
|
|
multipleSelection:[],
|
|
|
- alarmTableList:[
|
|
|
- {prop:'project',label:'项目名称'},
|
|
|
- {prop:'number',label:'报警路灯'},
|
|
|
- {prop:'stralarmtype',label:'报警事件'},
|
|
|
- {prop:'statusStr',label:'是否已处理'},
|
|
|
- {prop:'updatetime',label:'更新时间'}
|
|
|
- ],
|
|
|
+ // alarmTableList:[
|
|
|
+ // {prop:'project',label:'项目名称'},
|
|
|
+ // {prop:'number',label:'报警路灯'},
|
|
|
+ // {prop:'stralarmtype',label:'报警事件'},
|
|
|
+ // {prop:'statusStr',label:'是否已处理'},
|
|
|
+ // {prop:'updatetime',label:'更新时间'}
|
|
|
+ // ],
|
|
|
alarmTableListEN:[
|
|
|
{prop:'project',label:'Project name'},
|
|
|
{prop:'number',label:'Alarm lamp'},
|
|
@@ -436,16 +436,16 @@
|
|
|
},
|
|
|
mounted(){
|
|
|
this.alarmTableListEN = [
|
|
|
- {prop:'project',label:'Project name',width:8*this.remRatio},
|
|
|
- {prop:'number',label:'Alarm lamp',width:8*this.remRatio},
|
|
|
+ {prop:'project',label:'Project name',width:9*this.remRatio},
|
|
|
+ {prop:'number',label:'Alarm lamp',width:9*this.remRatio},
|
|
|
{prop:'stralarmtype',label:'Alarm event',align:"left"},
|
|
|
{prop:'statusStr',label:'whether processed',width:12*this.remRatio},
|
|
|
{prop:'updatetime',label:'Update time',width:13*this.remRatio}
|
|
|
];
|
|
|
|
|
|
this.patrolTableListEN = [
|
|
|
- {prop:'project_name',label:'Project name'},
|
|
|
- {prop:'number',label:'Lamp Number'},
|
|
|
+ {prop:'project_name',label:'Project name',width:9*this.remRatio},
|
|
|
+ {prop:'number',label:'Lamp Number',width:9*this.remRatio},
|
|
|
{prop:'patrolinterval',label:'Inspection interval time(min)'}
|
|
|
]
|
|
|
this.alarmNav = 'Alarm';
|
|
@@ -826,7 +826,7 @@
|
|
|
this)
|
|
|
},
|
|
|
exportExcel(){
|
|
|
- if(this.alarmNav != '巡检设置' && this.alarmNav != 'Inspection setup'){
|
|
|
+ if(this.alarmNav != 'Inspection setup'){
|
|
|
this.alarmGet(this.currentPage,data => {
|
|
|
// console.log(data)
|
|
|
this.loading.exportExcel = false;
|
|
@@ -1107,18 +1107,18 @@
|
|
|
},
|
|
|
alarmNavFun(type){
|
|
|
this.alarmNav = type;
|
|
|
- if(type == '告警信息' || type == 'Alarm'){
|
|
|
+ if(type == 'Alarm'){
|
|
|
this.alarmGet(1,() => {
|
|
|
// console.log(data)
|
|
|
})
|
|
|
}
|
|
|
- if(type == '历史告警' || type == 'Historical alarm'){
|
|
|
+ if(type == 'Historical alarm'){
|
|
|
this.alarmGet(1,() => {
|
|
|
// console.log(data)
|
|
|
})
|
|
|
}
|
|
|
// console.log(type)
|
|
|
- if(type == '巡检设置' || type == 'Inspection setup'){
|
|
|
+ if(type == 'Inspection setup'){
|
|
|
this.patrol_list(1,() => {
|
|
|
// console.log(data)
|
|
|
})
|