diff --git a/src/views/modules/analysis/item/hottest-item-list.vue b/src/views/modules/analysis/item/hottest-item-list.vue index bbf45c98..b4bf4fc3 100644 --- a/src/views/modules/analysis/item/hottest-item-list.vue +++ b/src/views/modules/analysis/item/hottest-item-list.vue @@ -2,7 +2,7 @@
- + @@ -10,29 +10,28 @@
- + + placeholder="选择日期时间" + style="width:200px"> - + + placeholder="选择日期时间" + style="width:200px"> - {{ $t('query') }} + {{ $t('query') }}
@@ -88,17 +87,17 @@ export default { }, pickerBeginDateBefore: { disabledDate: (time) => { - let beginDateVal = this.dataForm.startTime + let beginDateVal = this.dataForm.endTime if (beginDateVal) { - return time.getTime() > new Date(beginDateVal).getTime() + return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime() } } }, pickerBeginDateAfter: { disabledDate: (time) => { - let EndDateVal = this.dataForm.endTime + let EndDateVal = this.dataForm.startTime if (EndDateVal) { - return time.getTime() < new Date(EndDateVal).getTime() + return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime() } } },