|
|
@ -24,7 +24,7 @@ |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-input> |
|
|
|
<date-range-picker v-model="queryTime" class="date-item" /> |
|
|
|
<date-range-picker v-model="queryTime" type="datetimerange" class="date-item" /> |
|
|
|
<rrOperation /> |
|
|
|
</div> |
|
|
|
<!-- :cell-class-name="cell" --> |
|
|
@ -39,10 +39,10 @@ |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="55" align="center" /> |
|
|
|
<el-table-column type="index" label="序号" width="100" align="center" /> |
|
|
|
<el-table-column prop="area" label="所属区域" align="center" min-width="150" /> |
|
|
|
<el-table-column prop="" label="设备" align="center" min-width="150" /> |
|
|
|
<el-table-column prop="" label="摄像头" align="center" min-width="180" /> |
|
|
|
<el-table-column prop="" label="录像保存时长" align="center" min-width="180" /> |
|
|
|
<el-table-column prop="storeroomName" label="所属区域" align="center" min-width="150" /> |
|
|
|
<el-table-column prop="deviceName" label="设备" align="center" min-width="150" /> |
|
|
|
<el-table-column prop="camerName" label="摄像头" align="center" min-width="180" /> |
|
|
|
<el-table-column prop="timeSize" label="录像保存时长" align="center" min-width="180" /> |
|
|
|
<el-table-column prop="create_time" label="操作时间" align="center" min-width="180"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div>{{ scope.row.create_time | parseTime }}</div> |
|
|
@ -95,9 +95,9 @@ export default { |
|
|
|
timeType: 0, |
|
|
|
timeOptions: [ |
|
|
|
{ value: 0, label: '全部' }, |
|
|
|
{ value: 1, label: '事件触发前后10秒' }, |
|
|
|
{ value: 2, label: '事件触发前后20秒' }, |
|
|
|
{ value: 3, label: '事件触发前后30秒' } |
|
|
|
{ value: 10, label: '事件触发前后10秒' }, |
|
|
|
{ value: 20, label: '事件触发前后20秒' }, |
|
|
|
{ value: 30, label: '事件触发前后30秒' } |
|
|
|
], |
|
|
|
optionVal: 1, |
|
|
|
options: [ |
|
|
@ -112,15 +112,16 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 获取数据前的处理 |
|
|
|
// [CRUD.HOOK.beforeRefresh]() { |
|
|
|
// this.crud.downloadLoading = true |
|
|
|
// this.crud.query.state = null |
|
|
|
// // this.crud.query.blurry = this.keyWord |
|
|
|
// if (this.oprType > -1) { |
|
|
|
// this.crud.query.state = this.oprType |
|
|
|
// } |
|
|
|
// this.crud.downloadLoading = false |
|
|
|
// }, |
|
|
|
[CRUD.HOOK.beforeRefresh]() { |
|
|
|
// this.crud.downloadLoading = true |
|
|
|
// this.crud.query.timeType = null |
|
|
|
// this.crud.query.blurry = this.keyWord |
|
|
|
// if (this.oprType > -1) { |
|
|
|
// this.crud.query.state = this.oprType |
|
|
|
// } |
|
|
|
// this.crud.downloadLoading = false |
|
|
|
// this.crud.query.createTime = |
|
|
|
}, |
|
|
|
// 绑定摄像头 |
|
|
|
handleBind() { |
|
|
|
this.$refs.bindDom.bindVisible = true |
|
|
@ -154,5 +155,10 @@ export default { |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import '~@/assets/styles/lend-manage.scss'; |
|
|
|
@import "~@/assets/styles/archives-manage.scss"; |
|
|
|
.head-container{ |
|
|
|
.date-item{ |
|
|
|
width: 350px !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
</style> |