事件上报
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<el-cascader ref="cascader1" v-model="girdArr" :options="girdOptions" placeholder="所属网格" size="small"
|
<el-cascader ref="cascader1" v-model="girdArr" :options="girdOptions" placeholder="所属网格" size="small"
|
||||||
:props="defaultProps" :show-all-levels="false" @change="gridChange" clearable></el-cascader>
|
:props="defaultProps" :show-all-levels="false" @change="gridChange" clearable></el-cascader>
|
||||||
<el-date-picker size="small" v-model="searchDotime" type="daterange" range-separator="至" @change="timeChange"
|
<el-date-picker size="small" v-model="searchDotime" type="daterange" range-separator="至" @change="timeChange"
|
||||||
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd"></el-date-picker>
|
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"></el-date-picker>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<el-input
|
<el-input
|
||||||
@@ -82,7 +82,9 @@ export default {
|
|||||||
eventStatus: '',
|
eventStatus: '',
|
||||||
content: '',
|
content: '',
|
||||||
eventSource: '',
|
eventSource: '',
|
||||||
groupId: ''
|
groupId: '',
|
||||||
|
createTimeStart: '',
|
||||||
|
createTimeEnd: ''
|
||||||
},
|
},
|
||||||
total: 0,
|
total: 0,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
@@ -136,11 +138,11 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
timeChange() {
|
timeChange() {
|
||||||
if (this.searchDotime) {
|
if (this.searchDotime) {
|
||||||
this.search.doTimeStart = this.searchDotime[0]
|
this.search.createTimeStart = this.searchDotime[0]
|
||||||
this.search.doTimeEnd = this.searchDotime[1]
|
this.search.createTimeEnd = this.searchDotime[1]
|
||||||
} else {
|
} else {
|
||||||
this.search.doTimeStart = null
|
this.search.createTimeStart = null
|
||||||
this.search.doTimeEnd = null
|
this.search.createTimeEnd = null
|
||||||
}
|
}
|
||||||
this.search.current = 1
|
this.search.current = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user