migrate date range selection sheet / dialog to composition API and typescript

This commit is contained in:
MaysWind
2025-01-11 15:44:16 +08:00
parent 89b233e51b
commit 3e6a054913
10 changed files with 457 additions and 300 deletions
@@ -585,7 +585,8 @@
:min-time="filters.minDatetime"
:max-time="filters.maxDatetime"
v-model:show="showCustomDateRangeDialog"
@dateRange:change="changeCustomDateFilter" />
@dateRange:change="changeCustomDateFilter"
@error="showError" />
<batch-replace-dialog ref="batchReplaceDialog" />
<confirm-dialog ref="confirmDialog"/>
<snack-bar ref="snackbar" />
@@ -1568,6 +1569,9 @@ export default {
}
});
},
showError(message) {
this.$refs.snackbar.showError(message);
},
getAllUsedCategoryNames() {
const categoryNames = {};