New eveal #32

Merged
Sirttas merged 115 commits from new-eveal into main 2026-07-14 17:15:11 +02:00
Showing only changes of commit 3981475c55 - Show all commits
+9 -9
View File
@@ -1,10 +1,10 @@
<script setup lang="ts"> <script setup lang="ts">
import { getMarketTypes, TaxInput, useApraisalStore, useMarketTaxStore } from "@/market"; import {getMarketTypes, TaxInput, useApraisalStore, useMarketTaxStore} from "@/market";
import { BuyModal } from '@/market/acquisition'; import {BuyModal} from '@/market/acquisition';
import { ScanResult, ScanResultTable, toScanResult } from '@/market/scan'; import {ScanResult, ScanResultTable, toScanResult} from '@/market/scan';
import { marketApi } from "@/mammon"; import {marketApi} from "@/mammon";
import { useStorage } from "@vueuse/core"; import {useStorage} from "@vueuse/core";
import { ref, watch } from 'vue'; import {ref, watch} from 'vue';
const buyModal = ref<typeof BuyModal>(); const buyModal = ref<typeof BuyModal>();
@@ -18,9 +18,9 @@ const scan = async () => {
loading.value = true; loading.value = true;
try { try {
const { data } = await marketApi.scanMarket( const { data } = await marketApi.scanMarket(
String(days.value), days.value,
String(marketTaxStore.brokerFee / 100), marketTaxStore.brokerFee / 100,
String(marketTaxStore.scc / 100) marketTaxStore.scc / 100
); );
const types = await getMarketTypes(data.map(r => r.marketTypeId)); const types = await getMarketTypes(data.map(r => r.marketTypeId));
const prices = await apraisalStore.getPrices(types); const prices = await apraisalStore.getPrices(types);