历史数据:时间选择器调整
This commit is contained in:
parent
fddacfb1be
commit
cba397b346
@ -7,8 +7,8 @@
|
||||
<div class="timeSelect">
|
||||
<el-date-picker
|
||||
v-model="searchData.time"
|
||||
:type="searchData.interval == '1d' ? 'daterange' : 'datetimerange'"
|
||||
:value-format="searchData.interval == '1d' ? 'YYYY-MM-DD' : 'YYYY-MM-DD HH:mm:ss'"
|
||||
type="datetimerange"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
:default-time="[new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59)]"
|
||||
:teleported="false"
|
||||
:shortcuts="shortcuts"
|
||||
@ -833,6 +833,9 @@ const exportExcel = () => {
|
||||
link.click()
|
||||
document.body.removeChild(link)
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
Loading…
Reference in New Issue
Block a user