diff --git a/resources/views/admin/dashboard.blade.php b/resources/views/admin/dashboard.blade.php index 9e57783..a96d079 100644 --- a/resources/views/admin/dashboard.blade.php +++ b/resources/views/admin/dashboard.blade.php @@ -350,81 +350,117 @@
收费主链漏斗(相对平台订单总量 {{ $poTotal }})
- -
待支付
-
- -
-
{{ $poUnpaidPendingPct }}%({{ $poUnpaidPending }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-unpaid-pending-row', + 'barRole' => 'dashboard-po-unpaid-pending-bar', + 'href' => $platformOrdersQuickLinks['unpaid_pending'], + 'ariaLabel' => '进入待支付订单集合', + 'label' => '待支付', + 'pct' => $poUnpaidPendingPct, + 'title' => $poUnpaidPending . ' / ' . $poTotal . '(' . $poUnpaidPendingPct . '%)', + 'value' => $poUnpaidPendingPct . '%(' . $poUnpaidPending . ')', + ]) - -
待生效
-
- -
-
{{ $poPaidPendingPct }}%({{ $poPaidPending }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-paid-pending-row', + 'barRole' => 'dashboard-po-paid-pending-bar', + 'href' => $platformOrdersQuickLinks['paid_pending'], + 'ariaLabel' => '进入待生效订单集合', + 'label' => '待生效', + 'pct' => $poPaidPendingPct, + 'title' => $poPaidPending . ' / ' . $poTotal . '(' . $poPaidPendingPct . '%)', + 'value' => $poPaidPendingPct . '%(' . $poPaidPending . ')', + ]) - -
可同步
-
- -
-
{{ $poSyncablePct }}%({{ $poSyncable }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-syncable-row', + 'barRole' => 'dashboard-po-syncable-bar', + 'href' => $platformOrdersQuickLinks['syncable_only'], + 'ariaLabel' => '进入可同步订单集合', + 'label' => '可同步', + 'pct' => $poSyncablePct, + 'title' => $poSyncable . ' / ' . $poTotal . '(' . $poSyncablePct . '%)', + 'value' => $poSyncablePct . '%(' . $poSyncable . ')', + ])
治理风险占比(相对平台订单总量 {{ $poTotal }})
- -
同步失败
-
- -
-
{{ $poSyncFailedPct }}%({{ $poSyncFailed }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-sync-failed-row', + 'barRole' => 'dashboard-po-sync-failed-bar', + 'href' => $platformOrdersQuickLinks['sync_failed'], + 'ariaLabel' => '进入同步失败订单集合', + 'label' => '同步失败', + 'pct' => $poSyncFailedPct, + 'title' => $poSyncFailed . ' / ' . $poTotal . '(' . $poSyncFailedPct . '%)', + 'value' => $poSyncFailedPct . '%(' . $poSyncFailed . ')', + ]) - -
BMPA失败
-
- -
-
{{ $poBmpaFailedPct }}%({{ $poBmpaFailed }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-bmpa-failed-row', + 'barRole' => 'dashboard-po-bmpa-failed-bar', + 'href' => $platformOrdersQuickLinks['bmpa_failed'], + 'ariaLabel' => '进入BMPA失败订单集合', + 'label' => 'BMPA失败', + 'pct' => $poBmpaFailedPct, + 'title' => $poBmpaFailed . ' / ' . $poTotal . '(' . $poBmpaFailedPct . '%)', + 'value' => $poBmpaFailedPct . '%(' . $poBmpaFailed . ')', + ]) - -
无回执
-
- -
-
{{ $poNoReceiptPct }}%({{ $poNoReceipt }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-no-receipt-row', + 'barRole' => 'dashboard-po-no-receipt-bar', + 'href' => $platformOrdersQuickLinks['paid_no_receipt'], + 'ariaLabel' => '进入无回执订单集合', + 'label' => '无回执', + 'pct' => $poNoReceiptPct, + 'title' => $poNoReceipt . ' / ' . $poTotal . '(' . $poNoReceiptPct . '%)', + 'value' => $poNoReceiptPct . '%(' . $poNoReceipt . ')', + ]) - -
续费缺订阅
-
- -
-
{{ $poRenewalMissingPct }}%({{ $poRenewalMissing }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-renewal-missing-row', + 'barRole' => 'dashboard-po-renewal-missing-bar', + 'href' => $platformOrdersQuickLinks['renewal_missing_subscription'], + 'ariaLabel' => '进入续费缺订阅订单集合', + 'label' => '续费缺订阅', + 'pct' => $poRenewalMissingPct, + 'title' => $poRenewalMissing . ' / ' . $poTotal . '(' . $poRenewalMissingPct . '%)', + 'value' => $poRenewalMissingPct . '%(' . $poRenewalMissing . ')', + ]) - -
对账不一致
-
- -
-
{{ $poReconcileMismatchPct }}%({{ $poReconcileMismatch }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-reconcile-mismatch-row', + 'barRole' => 'dashboard-po-reconcile-mismatch-bar', + 'href' => $platformOrdersQuickLinks['reconcile_mismatch'], + 'ariaLabel' => '进入对账不一致订单集合', + 'label' => '对账不一致', + 'pct' => $poReconcileMismatchPct, + 'title' => $poReconcileMismatch . ' / ' . $poTotal . '(' . $poReconcileMismatchPct . '%)', + 'value' => $poReconcileMismatchPct . '%(' . $poReconcileMismatch . ')', + ]) - -
退款不一致
-
- -
-
{{ $poRefundInconsistentPct }}%({{ $poRefundInconsistent }})
-
+ @include('admin.components.mini_bar_row', [ + 'class' => 'mt-6', + 'rowRole' => 'dashboard-po-refund-inconsistent-row', + 'barRole' => 'dashboard-po-refund-inconsistent-bar', + 'href' => $platformOrdersQuickLinks['refund_inconsistent'], + 'ariaLabel' => '进入退款不一致订单集合', + 'label' => '退款不一致', + 'pct' => $poRefundInconsistentPct, + 'title' => $poRefundInconsistent . ' / ' . $poTotal . '(' . $poRefundInconsistentPct . '%)', + 'value' => $poRefundInconsistentPct . '%(' . $poRefundInconsistent . ')', + ])