From 86e9a3e838f8aa99f7aa8253bb1567ba5a38be06 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 14 Aug 2023 01:03:43 +0800 Subject: [PATCH] add transaction edit dialog basis code --- src/locales/en.js | 1 + src/locales/zh_Hans.js | 1 + src/views/desktop/transactions/ListPage.vue | 41 +- .../transactions/list/dialogs/EditDialog.vue | 434 ++++++++++++++++++ 4 files changed, 470 insertions(+), 7 deletions(-) create mode 100644 src/views/desktop/transactions/list/dialogs/EditDialog.vue diff --git a/src/locales/en.js b/src/locales/en.js index e6e26f3e..e78ea18c 100644 --- a/src/locales/en.js +++ b/src/locales/en.js @@ -933,6 +933,7 @@ export default { 'No Location': 'No Location', 'Getting Location...': 'Getting Location...', 'Show on the map': 'Show on the map', + 'Location on Map': 'Location on Map', 'Update Geographic Location': 'Update Geographic Location', 'Clear Geographic Location': 'Clear Geographic Location', 'Unable to get current position': 'Unable to get current position', diff --git a/src/locales/zh_Hans.js b/src/locales/zh_Hans.js index a83da95e..a70aba84 100644 --- a/src/locales/zh_Hans.js +++ b/src/locales/zh_Hans.js @@ -933,6 +933,7 @@ export default { 'No Location': '没有位置', 'Getting Location...': '正在获取位置...', 'Show on the map': '在地图上显示', + 'Location on Map': '地图上的位置', 'Update Geographic Location': '更新地理位置', 'Clear Geographic Location': '清除地理位置', 'Unable to get current position': '无法获取当前地理位置', diff --git a/src/views/desktop/transactions/ListPage.vue b/src/views/desktop/transactions/ListPage.vue index d274b171..8e3eb808 100644 --- a/src/views/desktop/transactions/ListPage.vue +++ b/src/views/desktop/transactions/ListPage.vue @@ -319,12 +319,15 @@ :max-time="query.maxTime" v-model:show="showCustomDateRangeDialog" @dateRange:change="changeCustomDateFilter" /> +