mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
migrate date range selection sheet / dialog to composition API and typescript
This commit is contained in:
@@ -287,7 +287,8 @@
|
||||
:min-time="query.categoricalChartStartTime"
|
||||
:max-time="query.categoricalChartEndTime"
|
||||
v-model:show="showCustomDateRangeDialog"
|
||||
@dateRange:change="setCustomDateFilter" />
|
||||
@dateRange:change="setCustomDateFilter"
|
||||
@error="showError" />
|
||||
|
||||
<month-range-selection-dialog :title="$t('Custom Date Range')"
|
||||
:min-time="query.trendChartStartYearMonth"
|
||||
@@ -1042,6 +1043,9 @@ export default {
|
||||
clickTrendChartItem(item) {
|
||||
this.$router.push(this.getTransactionItemLinkUrl(item.itemId, item.dateRange));
|
||||
},
|
||||
showError(message) {
|
||||
this.$refs.snackbar.showError(message);
|
||||
},
|
||||
getDisplayAmount(amount, currency, textLimit) {
|
||||
amount = this.getDisplayCurrency(amount, currency);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user