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