diff --git a/src/views/modules/points/points-grid.vue b/src/views/modules/points/points-grid.vue index 3b95abd..05c8150 100644 --- a/src/views/modules/points/points-grid.vue +++ b/src/views/modules/points/points-grid.vue @@ -14,7 +14,27 @@ :value="item.value"> -    +    + + + + + + + {{ $t('query') }} @@ -63,7 +83,7 @@ export default { data () { return { mixinViewModuleOptions: { - getDataListURL: 'app-user/user/pointPage', + getDataListURL: 'cloudAnalysis/pointsranking/pointPage', getDataListIsPage: true }, dataForm: { @@ -76,7 +96,23 @@ export default { }, { value: '1', label: '网格排名' - }] + }], + pickerBeginDateBefore: { + disabledDate: (time) => { + let beginDateVal = this.dataForm.endTime + if (beginDateVal) { + return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime() + } + } + }, + pickerBeginDateAfter: { + disabledDate: (time) => { + let EndDateVal = this.dataForm.startTime + if (EndDateVal) { + return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime() + } + } + } } }, methods: {