改版权

This commit is contained in:
weicw
2021-08-17 11:44:07 +08:00
parent e345d037f9
commit 8dfa960d0c
4 changed files with 17 additions and 5 deletions

View File

@@ -24,6 +24,15 @@
</a-select>
</a-form-item>
</a-col>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-form-item label="时间范围:">
<a-range-picker @change="reportTimeScopeChange" :mode="['year','year']" separator="~" v-model:value="where.reportTimeScope" ><a-range-picker>
<template #renderExtraFooter>
extra footer
</template>
</a-range-picker>
</a-form-item>
</a-col>
<a-col :lg="4" :md="12" :sm="24" :xs="24">
@@ -73,7 +82,6 @@
export default {
name: 'StatisticSoundRoadCompare',
components: {
},
data() {
const groupModelOptions = [{
@@ -100,7 +108,8 @@
where: {
groupModel: "area",
groupTimeLength: "monitor_year",
timeSlot: '昼'
timeSlot: '昼',
reportTimeScope: []
},
timeScope: [],
columns,
@@ -134,6 +143,9 @@
this.reload();
},
reportTimeScopeChange(d,dstr){
console.log(d,dstr);
},
stableDone(){
const columns = [];
if(this.where.groupModel == "area"){