1404/11/06-
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="p-5">
|
||||
<a-spin size="large" :spinning="loading">
|
||||
<div
|
||||
class="w-full bg-[#0A1B37] flex p-2 rounded-lg md:justify-evenly flex-col md:flex-row shadow-lg"
|
||||
class="w-full bg-[#0A1B37] flex p-2 rounded-lg md:justify-evenly flex-col shadow-lg"
|
||||
>
|
||||
<div class="flex text-white gap-2 items-center">
|
||||
<div>مظنه روز:</div>
|
||||
@@ -108,12 +108,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</BaseCard>
|
||||
<BaseCard class="h-full md:col-span-7">
|
||||
<BaseCard class="w-full h-full md:col-span-7">
|
||||
<ASpin :spinning="tarazLoading">
|
||||
<div class="grid md:grid-cols-3 gap-3 mt-2">
|
||||
<div>
|
||||
<div class="md:flex content-center gap-3">
|
||||
<div class="w-full md:flex items-baseline gap-10 bg-gray-100 p-2 rounded-lg">
|
||||
<div class="w-full md:flex items-baseline gap-2 bg-gray-100 p-2 rounded-lg">
|
||||
<p class="font-bold mr-2">تاریخ تراز</p>
|
||||
<div class="w-full flex items-baseline flex-1 gap-3">
|
||||
<p class="font-bold">از:</p>
|
||||
@@ -199,12 +199,12 @@
|
||||
</div>
|
||||
</ASpin>
|
||||
</BaseCard>
|
||||
<BaseCard class="w-full md:w-none md:col-span-2">
|
||||
<!-- <BaseCard class="w-full md:w-none md:col-span-2">
|
||||
<div class="text-lg font-bold">تراز بدهی</div>
|
||||
<div ref="main" class="w-full aspect-square"></div>
|
||||
</BaseCard>
|
||||
</BaseCard>-->
|
||||
|
||||
<BaseCard class="md:col-span-5">
|
||||
<!-- <BaseCard class="md:col-span-5">
|
||||
<div id="chart">
|
||||
<div class="font-bold text-lg mt-2 text-center md:text-right mb-2">مقایسه قیمت ها</div>
|
||||
<apexchart
|
||||
@@ -218,9 +218,9 @@
|
||||
<div class="md:grid grid-cols-4 gap-4 mt-4 justify-between text-center">
|
||||
<div class="grid-cols-1 grid gap-2 bg-blue-100 rounded-lg shadow-lg">
|
||||
<div class="flex items-center text-right p-2">
|
||||
<img src="/src/assets/img/saminLogo_.png" class="w-2rem h-2rem" />
|
||||
<img src="/src/assets/img/garosyLogo_.png" class="w-2rem h-2rem" />
|
||||
<div class="mr-4">
|
||||
<div>قیمت ثمین گلد</div>
|
||||
<div>قیمت گروسی</div>
|
||||
<div>
|
||||
{{ usePrice(othersPrices?.price_last ? othersPrices?.price_last : 0) }}
|
||||
</div>
|
||||
@@ -256,9 +256,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</BaseCard>
|
||||
<div class="md:col-span-7 md:grid gap-4">
|
||||
<BaseCard>
|
||||
</BaseCard>-->
|
||||
|
||||
<!-- <div class="md:col-span-7 md:grid gap-4">-->
|
||||
<!-- <BaseCard>
|
||||
<div class=" ">
|
||||
<div class="flex flex-col md:flex-row justify-between items-center">
|
||||
<div class="flex items-end">
|
||||
@@ -290,12 +291,10 @@
|
||||
:options="sumOfSellCoworkerOption"
|
||||
:series="sumOfSellCoworkerSeries"
|
||||
></apexchart>
|
||||
</BaseCard>
|
||||
<div class="flex flex-col items-center md:items-unset md:grid md:grid-cols-7 gap-4">
|
||||
<BaseCard class="w-full md:w-none md:col-span-7">
|
||||
<div>
|
||||
</BaseCard>-->
|
||||
<BaseCard class="w-full md:grid md:col-span-7">
|
||||
<div class="font-bold text-lg mt-2 text-center md:text-right">
|
||||
حسابداری ثمین گلد در یک نگاه
|
||||
حسابداری گلد در یک نگاه
|
||||
</div>
|
||||
<div class="md:flex mt-6">
|
||||
<div class="flex items-baseline flex-1 gap-3">
|
||||
@@ -368,15 +367,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</BaseCard>
|
||||
</div>
|
||||
<div class="flex flex-col items-center md:items-unset md:grid md:grid-cols-7 gap-4">
|
||||
<BaseCard class="w-full md:w-none md:col-span-7">
|
||||
<div>
|
||||
<div class="font-bold text-lg mt-2 text-center md:text-right">نوسانات قیمت</div>
|
||||
<div id="chart">
|
||||
<div class="toolbar mt-2 mb-2">
|
||||
<div class="toolbar text-center md:text-right mt-2 mb-2">
|
||||
<button
|
||||
id="DAILY"
|
||||
@click="updateData('DAILY')"
|
||||
@@ -415,8 +411,6 @@
|
||||
</div>
|
||||
</BaseCard>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a-spin>
|
||||
</div>
|
||||
</template>
|
||||
@@ -432,19 +426,14 @@ import { getOthersPrices } from '@/api/othersPrices'
|
||||
import type { Charts, Dashboard } from '@/model/dashboard'
|
||||
import { getWalletTable } from '@/api/wallet'
|
||||
import type { Accounting } from '@/model/accounting'
|
||||
import { getAccountingTable, getTotalAccountingTable } from '@/api/accounting'
|
||||
import { getAccountingTable } from '@/api/accounting'
|
||||
import { ref } from 'vue'
|
||||
import type { OthersPrices } from '@/model/othersPrices'
|
||||
import { getNow, toJalaliNoTime } from '@core/utils/useDataTime'
|
||||
import { cols } from '@/pages/menuPages/customers/base/hooks/customerColumns'
|
||||
import type { TableInput } from '@core/type/baseTable'
|
||||
import type { PriceChart } from '@/model/priceChart'
|
||||
// import {getBalance} from "@/api/product"
|
||||
import type { Balance } from '@/model/product'
|
||||
import { getBalance } from "@/api/product";
|
||||
const tarazLoading = ref<boolean>(false)
|
||||
const main = ref(null)
|
||||
const bar = ref(null)
|
||||
const type = ref<string>('week')
|
||||
const dashboardInf = ref<Dashboard>()
|
||||
const othersPrices = ref<OthersPrices>()
|
||||
@@ -672,7 +661,7 @@ const otherPricesOptions = ref({
|
||||
}
|
||||
},
|
||||
xaxis: {
|
||||
categories: ['henzagold.com', 'milli.gold', 'tala.ir', 'samin.gold'],
|
||||
categories: ['henzagold.com', 'milli.gold', 'tala.ir', 'gold.ir'],
|
||||
labels: {
|
||||
style: {
|
||||
fontFamily: "'IranSans', sans-serif",
|
||||
@@ -865,11 +854,11 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.dashboard-tabs-class div {
|
||||
@apply text-gray-400 w-25 text-center py-2 cursor-pointer;
|
||||
@apply text-gray-400 w-25 text-center py-2 cursor-pointer;
|
||||
}
|
||||
|
||||
.selected_item {
|
||||
@apply ! bg- [ #0A1B37 ] ! text-white rounded-lg;
|
||||
@apply ! bg- [ #0A1B37 ] ! text-white rounded-lg;
|
||||
}
|
||||
|
||||
//chart
|
||||
|
||||
Reference in New Issue
Block a user