|
|
@ -1,35 +1,14 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="app-container"> |
|
|
|
<div class="app-container"> |
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
|
|
|
|
|
|
|
<el-form-item label="站点" prop="stnm"> |
|
|
|
|
|
|
|
<el-input |
|
|
|
|
|
|
|
v-model="queryParams.stnm" |
|
|
|
|
|
|
|
placeholder="请输入站点名称" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="摄像机" prop="ip"> |
|
|
|
|
|
|
|
<el-input |
|
|
|
|
|
|
|
v-model="queryParams.stnm" |
|
|
|
|
|
|
|
placeholder="请输入摄像机IP" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
|
|
|
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
<div class="container"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/water.jpg" class="video"> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
|
|
|
|
<div class="title">摄像机列表</div><hr /> |
|
|
|
<div class="station" v-for="item in currdataList" :key="item.stnmId"> |
|
|
|
<div class="station" v-for="item in currdataList" :key="item.stnmId"> |
|
|
|
{{item.stnm + " (" + item.ip + ")"}} |
|
|
|
{{item.stnm + " (" + item.ip + ")"}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img src="../../../assets/images/water.jpg" class="video"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -196,9 +175,22 @@ export default { |
|
|
|
<style scoped> |
|
|
|
<style scoped> |
|
|
|
.container { |
|
|
|
.container { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
/* display: flex; */ |
|
|
|
justify-content: space-around; |
|
|
|
justify-content: space-around; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
|
|
|
|
color: #606266; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.list{ |
|
|
|
|
|
|
|
vertical-align: top; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
width: 250px; |
|
|
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04); |
|
|
|
|
|
|
|
margin-left: 20px; |
|
|
|
|
|
|
|
padding: 5px 10px; |
|
|
|
|
|
|
|
height: 600px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.title{ |
|
|
|
|
|
|
|
font-size: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
.station { |
|
|
|
.station { |
|
|
|
padding: 5px; |
|
|
|
padding: 5px; |
|
|
@ -220,6 +212,8 @@ export default { |
|
|
|
left: -6px; |
|
|
|
left: -6px; |
|
|
|
} |
|
|
|
} |
|
|
|
.video { |
|
|
|
.video { |
|
|
|
width: 600px; |
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
width: 800px; |
|
|
|
|
|
|
|
height: 600px; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|