|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<div class="goafCameraAlarm">
|
|
|
+ <div class="back" @click="back"></div>
|
|
|
<div class="table-head" >
|
|
|
<div class="tab">
|
|
|
<el-button class="tab-item" :type="tabType===0?'primary':''" @click="tabClick(0)">正常</el-button>
|
|
@@ -114,6 +115,9 @@ import {getAllinfoByPage,getAbnormarlinfoByPage} from '@/api/trans'
|
|
|
},
|
|
|
methods:{
|
|
|
parseTime,
|
|
|
+ back(){
|
|
|
+ this.$router.push('/')
|
|
|
+ },
|
|
|
getData(){
|
|
|
if(this.tabType===0){
|
|
|
this.getAllinfoData()
|
|
@@ -173,6 +177,17 @@ import {getAllinfoByPage,getAbnormarlinfoByPage} from '@/api/trans'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+.back{
|
|
|
+ width: 85px;
|
|
|
+ height: 4vh;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ background-image: url('@/assets/images/back.png');
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
.table-head{
|
|
|
display: flex;
|
|
|
justify-content:space-between;
|