chore: Update deployment server IP and path, and add date sorting for planned transactions.

This commit is contained in:
xds
2025-12-10 15:08:46 +03:00
parent 69ca7ae985
commit c27231dc13
2 changed files with 44 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
ssh root@213.226.71.138 " ssh root@31.59.58.220 "
cd /root/luminic/front/app && cd /root/luminic/app/front &&
git pull && git pull &&
npm run build && npm run build &&
cp -r dist/* /var/www/app.luminic.space/ cp -r dist/* /var/www/app.luminic.space/

View File

@@ -73,6 +73,7 @@ const fetchData = async (fetchPlanned: boolean = true, fetchInstant: boolean = t
isDone: showIsDone.value ? undefined : false, isDone: showIsDone.value ? undefined : false,
offset: plannedOffset.value, offset: plannedOffset.value,
limit: plannedLimit.value, limit: plannedLimit.value,
sorts: [{ "sortBy": "date", "sortDirection": "ASC" }]
} as TransactionFilters) // никаких `as TransactionFilters`, если поля опциональные } as TransactionFilters) // никаких `as TransactionFilters`, если поля опциональные
: Promise.resolve(plannedTransactions.value) : Promise.resolve(plannedTransactions.value)
@@ -132,7 +133,8 @@ onMounted(async () => {
<div class="flex flex-row justify-between"> <div class="flex flex-row justify-between">
<span class="text-xl !font-semibold !pl-2">Planned transactions</span> <span class="text-xl !font-semibold !pl-2">Planned transactions</span>
<div class="flex flex-row gap-2 items-center"> <div class="flex flex-row gap-2 items-center">
<Checkbox v-model="showIsDone" binary value=" Показывать выполненные" @change="plannedOffset = 0;fetchData(true, false, true)"/> <Checkbox v-model="showIsDone" binary value=" Показывать выполненные"
@change="plannedOffset = 0; fetchData(true, false, true)" />
<span class="!text-sm">Выполненные</span> <span class="!text-sm">Выполненные</span>
</div> </div>
</div> </div>
@@ -207,6 +209,4 @@ onMounted(async () => {
</template> </template>
<style scoped> <style scoped></style>
</style>