|
|
@@ -14,7 +14,7 @@
|
|
|
</van-row>
|
|
|
<van-row>
|
|
|
<van-col span="24">
|
|
|
- <van-search v-model="search.deviceName" @clear="search.deviceName=null" maxlength="50" placeholder="请输入搜索关键词" />
|
|
|
+ <van-search v-model="search.deviceName" @clear="search.deviceName=null" maxlength="50" placeholder="请输入搜索关键词" />
|
|
|
</van-col>
|
|
|
</van-row>
|
|
|
<van-row>
|
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
name: 'iot_alarmCenter',
|
|
|
data() {
|
|
|
return {
|
|
|
- search: {
|
|
|
+ search: {
|
|
|
orgId: this.orgId,
|
|
|
checkSub: true,
|
|
|
alarmType: null,
|
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
value: '41881',
|
|
|
- text: '盗情告警'
|
|
|
+ text: '防盗告警'
|
|
|
},
|
|
|
{
|
|
|
value: '4188',
|
|
|
@@ -179,8 +179,8 @@ export default {
|
|
|
beforeRouteEnter(to,from,next){
|
|
|
next(vm=>{
|
|
|
console.log("beforeRouteEnter",to.params.event,to)
|
|
|
- if(to.params.event === 'refresh'){
|
|
|
- vm.reSet()
|
|
|
+ if(to.params.event === 'refresh'){
|
|
|
+ vm.reSet()
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
this.defaultAlarmType= '全部'
|
|
|
this.showState = false;
|
|
|
this.defaultAlarmType= '全部'
|
|
|
- this.search= {
|
|
|
+ this.search= {
|
|
|
orgId: this.orgId,
|
|
|
checkSub: true,
|
|
|
alarmType: null,
|