diff --git a/ui/assets/stats/2024.json b/ui/assets/stats/2024.json new file mode 100644 index 00000000..fcca9d5b --- /dev/null +++ b/ui/assets/stats/2024.json @@ -0,0 +1,65 @@ +{ + "year": 2024, + "annual": [ + ], + "quarterly": [ + ], + "monthly": [ + { + "schema_ver": "1.0.0", + "data_ver": "0.2", + "time": "1", + "type": "原始資料", + "total_count": 192990, + "sources": [ + {"name": "591", "count": 192990} + ], + "files": [ + {"format": "csv", "size_byte": 73630870, "download_url": { "isS3": true }} + ], + "comment": "" + }, + { + "schema_ver": "1.0.0", + "data_ver": "0.2", + "time": "1", + "type": "消除重複住宅", + "total_count": 151691, + "sources": [ + {"name": "591", "count": 151691} + ], + "files": [ + {"format": "csv", "size_byte": 63649919, "download_url": { "isS3": true }} + ], + "comment": "" + }, + { + "schema_ver": "1.0.0", + "data_ver": "0.2", + "time": "2", + "type": "原始資料", + "total_count": 174448, + "sources": [ + {"name": "591", "count": 174448} + ], + "files": [ + {"format": "csv", "size_byte": 66386779, "download_url": { "isS3": true }} + ], + "comment": "" + }, + { + "schema_ver": "1.0.0", + "data_ver": "0.2", + "time": "2", + "type": "消除重複住宅", + "total_count": 136424, + "sources": [ + {"name": "591", "count": 136424} + ], + "files": [ + {"format": "csv", "size_byte": 57076371, "download_url": { "isS3": true }} + ], + "comment": "" + } + ] +} diff --git a/ui/pages/download.vue b/ui/pages/download.vue index 51108431..a98b98b2 100644 --- a/ui/pages/download.vue +++ b/ui/pages/download.vue @@ -28,11 +28,13 @@ import def2020 from '~/assets/stats/2020.json' import def2021 from '~/assets/stats/2021.json' import def2022 from '~/assets/stats/2022.json' import def2023 from '~/assets/stats/2023.json' +import def2024 from '~/assets/stats/2024.json' export default { data () { return { years: [ + { year: 2024, data: def2024 }, { year: 2023, data: def2023 }, { year: 2022, data: def2022 }, { year: 2021, data: def2021 }, diff --git a/ui/pages/index.vue b/ui/pages/index.vue index 73d9bafc..8a8b6058 100644 --- a/ui/pages/index.vue +++ b/ui/pages/index.vue @@ -47,8 +47,8 @@ twrh-disqus.mw7.center