事件上报
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<el-cascader ref="cascader1" v-model="girdArr" :options="girdOptions" placeholder="所属网格" size="small"
|
||||
: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"
|
||||
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 #right>
|
||||
<el-input
|
||||
@@ -82,7 +82,9 @@ export default {
|
||||
eventStatus: '',
|
||||
content: '',
|
||||
eventSource: '',
|
||||
groupId: ''
|
||||
groupId: '',
|
||||
createTimeStart: '',
|
||||
createTimeEnd: ''
|
||||
},
|
||||
total: 0,
|
||||
tableData: [],
|
||||
@@ -136,11 +138,11 @@ export default {
|
||||
methods: {
|
||||
timeChange() {
|
||||
if (this.searchDotime) {
|
||||
this.search.doTimeStart = this.searchDotime[0]
|
||||
this.search.doTimeEnd = this.searchDotime[1]
|
||||
this.search.createTimeStart = this.searchDotime[0]
|
||||
this.search.createTimeEnd = this.searchDotime[1]
|
||||
} else {
|
||||
this.search.doTimeStart = null
|
||||
this.search.doTimeEnd = null
|
||||
this.search.createTimeStart = null
|
||||
this.search.createTimeEnd = null
|
||||
}
|
||||
this.search.current = 1
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user