|
|
@ -4,7 +4,7 @@ |
|
|
|
<el-tabs class="footTabs" v-model="activeName" @tab-click="changeTabs"> |
|
|
|
<el-tab-pane label="设备分析" name="first"> |
|
|
|
<div class="topTabs"> |
|
|
|
<div class="item" v-for=" item in equipments" > |
|
|
|
<div class="item" v-for=" (item, index) in equipments" :key="index"> |
|
|
|
<div class="title-tool"> |
|
|
|
<span class="text">{{ item.text }}</span> |
|
|
|
</div> |
|
|
@ -45,7 +45,8 @@ |
|
|
|
<div class="topdiv"> |
|
|
|
<div class="left-div"> |
|
|
|
<el-button size="mini" icon="el-icon-refresh-left" class="btnSearch">刷新</el-button> |
|
|
|
<el-button size="mini" icon="el-icon-download" class="btnSearch" @click="SystemStatusExport" >导出Excel</el-button> |
|
|
|
<el-button size="mini" icon="el-icon-download" class="btnSearch" |
|
|
|
@click="SystemStatusExport">导出Excel</el-button> |
|
|
|
</div> |
|
|
|
<div class="right-div"> |
|
|
|
<InputSearch style="width: 402px;" :formList="searchFormList" @handleSearch="handleSearch" /> |
|
|
@ -57,48 +58,19 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-table |
|
|
|
:border="false" |
|
|
|
:data="tableData" |
|
|
|
height="480" |
|
|
|
style="width: 100%"> |
|
|
|
<el-table-column |
|
|
|
prop="nem" |
|
|
|
label="序号" |
|
|
|
width="80"> |
|
|
|
<el-table :border="false" :data="tableData" height="480" style="width: 100%"> |
|
|
|
<el-table-column prop="nem" label="序号" width="80"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="deviceName" |
|
|
|
label="设备名称" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="deviceNo" |
|
|
|
label="设备桩号" |
|
|
|
width=""> |
|
|
|
<el-table-column prop="deviceName" label="设备名称"></el-table-column> |
|
|
|
<el-table-column prop="deviceNo" label="设备桩号" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="direction" |
|
|
|
label="方向" |
|
|
|
class-name="showClass" |
|
|
|
width=""> |
|
|
|
<el-table-column prop="direction" label="方向" class-name="showClass" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="deviceIp" |
|
|
|
label="设备IP" |
|
|
|
width="" |
|
|
|
> |
|
|
|
<el-table-column prop="deviceIp" label="设备IP" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="production" |
|
|
|
label="厂家" |
|
|
|
width="" |
|
|
|
> |
|
|
|
<el-table-column prop="production" label="厂家" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="type" |
|
|
|
label="型号" |
|
|
|
width="" |
|
|
|
> |
|
|
|
<el-table-column prop="type" label="型号" width=""> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if="scope.row.type == 1">高清网络枪型固定摄像机</div> |
|
|
|
<div v-if="scope.row.type == 2">高清网络球形摄像机</div> |
|
|
@ -119,23 +91,11 @@ |
|
|
|
<div v-if="scope.row.type == 17">智能设备箱</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="network" |
|
|
|
label="网段" |
|
|
|
width="" |
|
|
|
> |
|
|
|
<el-table-column prop="network" label="网段" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="time" |
|
|
|
label="监测时间" |
|
|
|
width="" |
|
|
|
> |
|
|
|
<el-table-column prop="time" label="监测时间" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="deviceStatus" |
|
|
|
label="操作" |
|
|
|
width="" |
|
|
|
> |
|
|
|
<el-table-column prop="deviceStatus" label="操作" width=""> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if="scope.row.deviceStatus == 1">在线</div> |
|
|
|
<div v-if="scope.row.deviceStatus == 0">离线</div> |
|
|
@ -143,13 +103,8 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div class="foot"> |
|
|
|
<Pagination |
|
|
|
@current-change="changePage" |
|
|
|
width="'100%'" |
|
|
|
:page-size="pageSize" |
|
|
|
:current-page.sync="pageIndex" |
|
|
|
layout="total, sizes, prev, pager, next" |
|
|
|
:total="pageTotal"> |
|
|
|
<Pagination @current-change="changePage" width="'100%'" :page-size="pageSize" :current-page.sync="pageIndex" |
|
|
|
layout="total, sizes, prev, pager, next" :total="pageTotal"> |
|
|
|
</Pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -471,6 +426,9 @@ import * as echarts from "echarts"; |
|
|
|
document.body.removeChild(link) |
|
|
|
link = null |
|
|
|
loadingInstance.close(); |
|
|
|
}).catch(err => { |
|
|
|
Message.error(err); |
|
|
|
loadingInstance.close(); |
|
|
|
}) |
|
|
|
}, |
|
|
|
queryChartList() { |
|
|
@ -571,8 +529,6 @@ import * as echarts from "echarts"; |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang='scss' scoped> |
|
|
|
|
|
|
|
|
|
|
|
.bottomTabs { |
|
|
|
position: relative; |
|
|
|
display: inline-flex; |
|
|
@ -794,6 +750,7 @@ import * as echarts from "echarts"; |
|
|
|
background-color: #064258; |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .el-table .el-table__cell { |
|
|
|
height: 47px; |
|
|
|
font-size: 14px; |
|
|
@ -812,6 +769,7 @@ import * as echarts from "echarts"; |
|
|
|
background-color: #13272F; |
|
|
|
border: 0px !important; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .el-table tr:nth-child(even) td { |
|
|
|
border: 0px !important; |
|
|
|
} |
|
|
@ -931,10 +889,12 @@ import * as echarts from "echarts"; |
|
|
|
margin-bottom: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.content-r { |
|
|
|
width: 49.4%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.foot { |
|
|
|
width: 98%; |
|
|
|
margin: auto; |
|
|
@ -944,6 +904,7 @@ import * as echarts from "echarts"; |
|
|
|
flex: 1; |
|
|
|
pointer-events: none; |
|
|
|
margin-top: 8px; |
|
|
|
|
|
|
|
>div { |
|
|
|
pointer-events: auto; |
|
|
|
} |
|
|
@ -956,9 +917,11 @@ import * as echarts from "echarts"; |
|
|
|
.foot-l { |
|
|
|
width: 726px; |
|
|
|
} |
|
|
|
|
|
|
|
.foot-m { |
|
|
|
width: 613px; |
|
|
|
} |
|
|
|
|
|
|
|
.foot-r { |
|
|
|
width: 493px; |
|
|
|
} |
|
|
|