Files
one-pipe-system/src/views/dashboard/analysis/index.vue
luo 4c0207c6e6
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m41s
fix: 将微信配置改成支付配置
2026-07-10 18:09:19 +08:00

66 lines
2.1 KiB
Vue

<template>
<div class="analysis-dashboard">
<PollingStats v-if="hasPermission('dashboard_analysis:polling_stats')" />
<CommissionSummary v-if="hasPermission('dashboard_analysis:commission_summary')" />
<CommissionStats v-if="hasPermission('dashboard_analysis:commission_stats')" />
<WithdrawalSettings v-if="hasPermission('dashboard_analysis:withdrawal_settings')" />
<ActivePaymentSettings v-if="hasPermission('dashboard_analysis:payment_settings')" />
<!--<el-row :gutter="20">-->
<!-- <el-col :xl="14" :lg="15" :xs="24">-->
<!-- <TodaySales />-->
<!-- </el-col>-->
<!-- <el-col :xl="10" :lg="9" :xs="24">-->
<!-- <VisitorInsights />-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row :gutter="20" class="mt-20">-->
<!-- <el-col :xl="10" :lg="10" :xs="24">-->
<!-- <TotalRevenue />-->
<!-- </el-col>-->
<!-- <el-col :xl="7" :lg="7" :xs="24">-->
<!-- <CustomerSatisfaction />-->
<!-- </el-col>-->
<!-- <el-col :xl="7" :lg="7" :xs="24">-->
<!-- <TargetVsReality />-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row :gutter="20" class="mt-20">-->
<!-- <el-col :xl="10" :lg="10" :xs="24">-->
<!-- <TopProducts />-->
<!-- </el-col>-->
<!-- <el-col :xl="7" :lg="7" :xs="24">-->
<!-- <SalesMappingByCountry />-->
<!-- </el-col>-->
<!-- <el-col :xl="7" :lg="7" :xs="24">-->
<!-- <VolumeServiceLevel />-->
<!-- </el-col>-->
<!--</el-row>-->
</div>
</template>
<script setup lang="ts">
import PollingStats from './widget/PollingStats.vue'
import CommissionSummary from './widget/CommissionSummary.vue'
import CommissionStats from './widget/CommissionStats.vue'
import WithdrawalSettings from './widget/WithdrawalSettings.vue'
import ActivePaymentSettings from './widget/ActivePaymentSettings.vue'
import { usePermission } from '@/composables/usePermission'
defineOptions({ name: 'Analysis' })
const { hasPermission } = usePermission()
</script>
<style lang="scss" scoped>
@use './style';
.analysis-dashboard {
display: flex;
flex-direction: column;
gap: 16px;
}
</style>