admin模块接入数据库

This commit is contained in:
comlibmb
2026-02-13 17:29:50 +08:00
parent 56209b7a75
commit ec636dc703
58 changed files with 5586 additions and 1394 deletions

View File

@@ -157,6 +157,7 @@ import { ref, onMounted, reactive, computed } from 'vue'
import EChartsView from '@/uni_modules/charts/EChartsView.vue'
import { fetchFinanceOverview, fetchFinanceBillSummary } from '@/services/admin/financeService.uts'
import { fetchOrderStats } from '@/services/orderService.uts'
import AkReq from '@/uni_modules/ak-req/ak-req.uts'
const dateOptions = ['最近30天', '最近7天', '本月', '本年']
const activeDateTab = ref(0)
@@ -237,6 +238,9 @@ function handleDateTabChange(index : number) {
}
onMounted(() => {
if (AkReq.getToken() == null || AkReq.getToken() === '') {
return
}
loadData()
})