feat(commission): 重构分销商详情运营统计看板紧扣恒联业务与方案B一体化大余额
这个提交包含在:
@@ -69,7 +69,7 @@ class Agent extends Common
|
||||
$detail->next_push3_text = '第 ' . ($seq + 1) . ' 单将返 ' . $detail->next_push3_amount;
|
||||
$detail->last_self_order_text = $last ? date('Y-m-d H:i:s', $last) : '从未下单';
|
||||
|
||||
// 业务核心规范:进阶角色(创客V1~V6、酒道馆、区县代理、合伙股东)需自购考核;基础会员及品酒师免自购考核
|
||||
// 业务核心规范:进阶角色(创客V1~V6、酒道馆、区县代理、合伙人)需自购考核;基础会员及品酒师免自购考核
|
||||
if (!$isAdvanced) {
|
||||
$detail->active_status_text = '免自购考核 (基础会员/品酒师)';
|
||||
} else {
|
||||
@@ -101,18 +101,204 @@ class Agent extends Common
|
||||
$detail->total_income = $alignedIncome;
|
||||
$detail->partner_cash_income = $alignedIncome;
|
||||
$detail->push3_cash_income = number_format((float) $push3Cash, 2, '.', '');
|
||||
$detail->partner_exclusive_cash = number_format((float) $partnerExclusiveCash, 2, '.', '');
|
||||
$detail->user_money = number_format(floatval($detail->user ? $detail->user->money : 0), 2, '.', '');
|
||||
$detail->user_commission = number_format(floatval($detail->user ? $detail->user->commission : 0), 2, '.', '');
|
||||
$userData = $detail->user ? $detail->user->getData() : [];
|
||||
$userMoney = $userData['money'] ?? 0;
|
||||
$userCommission = $userData['commission'] ?? 0;
|
||||
$detail->user_money = number_format(floatval($userMoney), 2, '.', '');
|
||||
$detail->user_commission = number_format(floatval($userCommission), 2, '.', '');
|
||||
$detail->partner_mode = \addons\shopro\service\partner\PartnerConfig::isPartnerMode() ? 1 : 0;
|
||||
$rate = (new \addons\shopro\service\partner\RateService())->currentRate();
|
||||
$detail->madow_value = \addons\shopro\service\partner\IdentityService::formatMoney((float) ($detail->madow ?? 0) * (float) $rate);
|
||||
$detail->custom_role_names = \addons\shopro\service\partner\PartnerConfig::roleNames();
|
||||
$detail->role_names = $detail->custom_role_names;
|
||||
$detail->operational_stats = $this->getOperationalStats($detail, $id);
|
||||
|
||||
$this->success('分销商详情', null, $detail);
|
||||
}
|
||||
|
||||
/**
|
||||
* 构建运营官全景统计数据看板
|
||||
*/
|
||||
private function getOperationalStats($detail, $id)
|
||||
{
|
||||
$allUsers = \think\Db::name('user')->column('parent_user_id', 'id');
|
||||
$getDesc = function ($uid) use (&$getDesc, $allUsers) {
|
||||
$res = [];
|
||||
foreach ($allUsers as $cid => $pid) {
|
||||
if ((int)$pid === (int)$uid) {
|
||||
$res[] = $cid;
|
||||
$res = array_merge($res, $getDesc($cid));
|
||||
}
|
||||
}
|
||||
return $res;
|
||||
};
|
||||
$descIds = $getDesc($id);
|
||||
$directIds = [];
|
||||
foreach ($allUsers as $cid => $pid) {
|
||||
if ((int)$pid === (int)$id) {
|
||||
$directIds[] = $cid;
|
||||
}
|
||||
}
|
||||
|
||||
// 1. 团队角色拓扑
|
||||
$directCount = count($directIds);
|
||||
$directPaidCount = empty($directIds) ? 0 : \think\Db::name('user')->whereIn('id', $directIds)->where('total_consume', '>', 0)->count();
|
||||
$directMakerCount = empty($directIds) ? 0 : \think\Db::name('shopro_commission_agent')->whereIn('user_id', $directIds)->where('level', '>=', 2)->count();
|
||||
|
||||
$teamDescCount = count($descIds);
|
||||
$teamPaidCount = empty($descIds) ? 0 : \think\Db::name('user')->whereIn('id', $descIds)->where('total_consume', '>', 0)->count();
|
||||
$teamMakerAgents = empty($descIds) ? [] : \think\Db::name('shopro_commission_agent')->whereIn('user_id', $descIds)->where('level', '>=', 2)->column('level');
|
||||
$teamMakerCount = count($teamMakerAgents);
|
||||
$teamMakerDistribution = array_count_values($teamMakerAgents);
|
||||
ksort($teamMakerDistribution);
|
||||
$makerDistribution = [
|
||||
'v1' => intval($teamMakerDistribution[2] ?? 0),
|
||||
'v2' => intval($teamMakerDistribution[3] ?? 0),
|
||||
'v3' => intval($teamMakerDistribution[4] ?? 0),
|
||||
'v4' => intval($teamMakerDistribution[5] ?? 0),
|
||||
'v5' => intval($teamMakerDistribution[6] ?? 0),
|
||||
'v6' => intval($teamMakerDistribution[7] ?? 0),
|
||||
];
|
||||
$teamVenueCount = empty($descIds) ? 0 : \think\Db::name('shopro_commission_agent')->whereIn('user_id', $descIds)->where('is_venue', 1)->count();
|
||||
$teamCountyCount = empty($descIds) ? 0 : \think\Db::name('shopro_commission_agent')->whereIn('user_id', $descIds)->where('is_county', 1)->count();
|
||||
$conversionRate = $teamDescCount > 0 ? round(($teamPaidCount / $teamDescCount) * 100, 1) : 0.0;
|
||||
|
||||
// 2. 收益分成细项
|
||||
$rewards = \think\Db::name('shopro_partner_reward')
|
||||
->where('user_id', $id)
|
||||
->where('status', 1)
|
||||
->group('reward_type')
|
||||
->column('sum(amount)', 'reward_type');
|
||||
|
||||
$push3Income = (float)($rewards['push3'] ?? 0);
|
||||
$makerDiffIncome = (float)($rewards['maker_diff'] ?? 0);
|
||||
$makerPeerIncome = (float)(($rewards['maker_peer'] ?? 0) + ($rewards['maker_overtaken'] ?? 0));
|
||||
$teamSplitIncome = (float)(($rewards['team_venue'] ?? 0) + ($rewards['team_county'] ?? 0));
|
||||
$sharePoolIncome = (float)(($rewards['venue_share'] ?? 0) + ($rewards['county_share'] ?? 0));
|
||||
|
||||
// 3. 业绩与订单分类
|
||||
$selfOrderMoney = number_format((float)($detail->child_order_money_0 ?? 0), 2, '.', '');
|
||||
$selfOrderCount = intval($detail->child_order_count_0 ?? 0);
|
||||
$directOrderMoney = number_format((float)($detail->child_order_money_1 ?? 0), 2, '.', '');
|
||||
$directOrderCount = intval($detail->child_order_count_1 ?? 0);
|
||||
$teamOrderMoney = number_format((float)($detail->child_order_money_all ?? 0), 2, '.', '');
|
||||
$teamOrderCount = intval($detail->child_order_count_all ?? 0);
|
||||
|
||||
$indirectOrderMoney = number_format(max(0, (float)$teamOrderMoney - (float)$directOrderMoney - (float)$selfOrderMoney), 2, '.', '');
|
||||
$indirectOrderCount = max(0, $teamOrderCount - $directOrderCount - $selfOrderCount);
|
||||
|
||||
// 4. 晋升考核差距雷达
|
||||
$currentLevel = intval($detail->level ?? 1);
|
||||
$currentLevelRow = \think\Db::name('shopro_commission_level')->where('level', $currentLevel)->find();
|
||||
$currentLevelName = $currentLevelRow ? $currentLevelRow['name'] : ($currentLevel >= 2 ? '创客V' . ($currentLevel - 1) : '品酒师');
|
||||
|
||||
$nextLevel = $currentLevel + 1;
|
||||
$nextLevelRow = \think\Db::name('shopro_commission_level')->where('level', $nextLevel)->find();
|
||||
|
||||
if ($nextLevelRow) {
|
||||
$nextRules = json_decode($nextLevelRow['upgrade_rules'] ?? '[]', true) ?: [];
|
||||
$targetDirectUsers = intval($nextRules['child_user_count_1'] ?? 0);
|
||||
$targetTeamOrders = intval($nextRules['child_order_count_all'] ?? 0);
|
||||
|
||||
$currentDirectUsers = intval($detail->child_user_count_1 ?? $directCount);
|
||||
$currentTeamOrders = intval($detail->child_order_count_all ?? 0);
|
||||
$currentSelfMoney = (float)($detail->child_order_money_0 ?? 0);
|
||||
|
||||
$directUserGap = max(0, $targetDirectUsers - $currentDirectUsers);
|
||||
$teamOrderGap = max(0, $targetTeamOrders - $currentTeamOrders);
|
||||
$isSelfPaid = ($selfOrderCount > 0 || $currentSelfMoney >= 1398);
|
||||
|
||||
$directUserPercent = $targetDirectUsers > 0 ? min(100, (int)round(($currentDirectUsers / $targetDirectUsers) * 100)) : 100;
|
||||
$teamOrderPercent = $targetTeamOrders > 0 ? min(100, (int)round(($currentTeamOrders / $targetTeamOrders) * 100)) : 100;
|
||||
|
||||
$upgradeRadar = [
|
||||
'current_level' => $currentLevel,
|
||||
'current_level_name' => $currentLevelName,
|
||||
'next_level' => $nextLevel,
|
||||
'next_level_name' => $nextLevelRow['name'],
|
||||
'target_direct_users' => $targetDirectUsers,
|
||||
'current_direct_users' => $currentDirectUsers,
|
||||
'direct_user_gap' => $directUserGap,
|
||||
'direct_user_reached' => ($directUserGap === 0),
|
||||
'direct_user_percent' => $directUserPercent,
|
||||
'target_team_orders' => $targetTeamOrders,
|
||||
'current_team_orders' => $currentTeamOrders,
|
||||
'team_order_gap' => $teamOrderGap,
|
||||
'team_order_reached' => ($teamOrderGap === 0),
|
||||
'team_order_percent' => $teamOrderPercent,
|
||||
'self_paid_reached' => $isSelfPaid,
|
||||
'all_reached' => ($directUserGap === 0 && $teamOrderGap === 0 && $isSelfPaid),
|
||||
'upgrade_lock' => intval($detail->upgrade_lock ?? 0)
|
||||
];
|
||||
} else {
|
||||
$upgradeRadar = [
|
||||
'current_level' => $currentLevel,
|
||||
'current_level_name' => $currentLevelName,
|
||||
'next_level' => 0,
|
||||
'next_level_name' => '已达最高职级',
|
||||
'target_direct_users' => 0,
|
||||
'current_direct_users' => intval($detail->child_user_count_1 ?? $directCount),
|
||||
'direct_user_gap' => 0,
|
||||
'direct_user_reached' => true,
|
||||
'direct_user_percent' => 100,
|
||||
'target_team_orders' => 0,
|
||||
'current_team_orders' => intval($detail->child_order_count_all ?? 0),
|
||||
'team_order_gap' => 0,
|
||||
'team_order_reached' => true,
|
||||
'team_order_percent' => 100,
|
||||
'self_paid_reached' => true,
|
||||
'all_reached' => true,
|
||||
'upgrade_lock' => intval($detail->upgrade_lock ?? 0)
|
||||
];
|
||||
}
|
||||
|
||||
return [
|
||||
'roles' => [
|
||||
'direct_total' => $directCount,
|
||||
'direct_paid' => $directPaidCount,
|
||||
'direct_unpaid' => max(0, $directCount - $directPaidCount),
|
||||
'direct_maker' => $directMakerCount,
|
||||
'team_total' => $teamDescCount,
|
||||
'team_paid' => $teamPaidCount,
|
||||
'team_unpaid' => max(0, $teamDescCount - $teamPaidCount),
|
||||
'team_conversion_rate' => $conversionRate,
|
||||
'team_maker' => $teamMakerCount,
|
||||
'team_maker_distribution' => $makerDistribution,
|
||||
'team_venue' => $teamVenueCount,
|
||||
'team_county' => $teamCountyCount,
|
||||
],
|
||||
'orders' => [
|
||||
'self_money' => $selfOrderMoney,
|
||||
'self_count' => $selfOrderCount,
|
||||
'direct_money' => $directOrderMoney,
|
||||
'direct_count' => $directOrderCount,
|
||||
'indirect_money' => $indirectOrderMoney,
|
||||
'indirect_count' => $indirectOrderCount,
|
||||
'team_money' => $teamOrderMoney,
|
||||
'team_count' => $teamOrderCount,
|
||||
],
|
||||
'rewards' => [
|
||||
'push3' => number_format($push3Income, 2, '.', ''),
|
||||
'maker_diff' => number_format($makerDiffIncome, 2, '.', ''),
|
||||
'maker_peer' => number_format($makerPeerIncome, 2, '.', ''),
|
||||
'maker_total' => number_format($makerDiffIncome + $makerPeerIncome, 2, '.', ''),
|
||||
'team_split' => number_format($teamSplitIncome, 2, '.', ''),
|
||||
'share_pool' => number_format($sharePoolIncome, 2, '.', ''),
|
||||
],
|
||||
'assets' => [
|
||||
'wallet_money' => $detail->user_money,
|
||||
'total_income' => $detail->total_income,
|
||||
'untransfer_commission' => $detail->user_commission,
|
||||
'dmepa_madow' => number_format((float)($detail->madow ?? 0), 4, '.', ''),
|
||||
'dmepa_value' => $detail->madow_value,
|
||||
'voucher_total' => number_format((float)($detail->voucher_total ?? 0), 2, '.', ''),
|
||||
'voucher_released' => number_format((float)($detail->voucher_released ?? 0), 2, '.', ''),
|
||||
'voucher_available' => number_format(max(0, (float)($detail->voucher_released ?? 0) - (float)($detail->voucher_used ?? 0)), 2, '.', ''),
|
||||
],
|
||||
'upgrade_radar' => $upgradeRadar
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 团队
|
||||
|
||||
@@ -156,6 +156,122 @@
|
||||
.agent-detail .rewards-item:last-of-type {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* 运营官全景看板样式 */
|
||||
.agent-detail .op-dashboard {
|
||||
background: #fff;
|
||||
border: 1px solid var(--sa-border);
|
||||
border-radius: 8px;
|
||||
padding: 18px 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.agent-detail .op-section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--sa-title);
|
||||
margin: 16px 0 12px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px dashed var(--sa-border);
|
||||
}
|
||||
.agent-detail .op-section-title:first-of-type {
|
||||
margin-top: 4px;
|
||||
}
|
||||
.agent-detail .op-radar-card {
|
||||
background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
padding: 14px 18px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.agent-detail .op-radar-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.agent-detail .op-radar-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #2d3748;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.agent-detail .op-radar-body {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
.agent-detail .op-radar-metric {
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 6px;
|
||||
padding: 10px 14px;
|
||||
flex: 1;
|
||||
min-width: 180px;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.02);
|
||||
}
|
||||
.agent-detail .op-radar-metric .m-label {
|
||||
font-size: 12px;
|
||||
color: #718096;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.agent-detail .op-radar-metric .m-val {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: #1a202c;
|
||||
}
|
||||
|
||||
.agent-detail .op-grid-box {
|
||||
background: #fbfcfe;
|
||||
border: 1px solid #edf2f7;
|
||||
border-radius: 6px;
|
||||
padding: 12px 14px;
|
||||
min-height: 120px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 12px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.agent-detail .op-grid-box:hover {
|
||||
border-color: #cbd5e0;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
||||
}
|
||||
.agent-detail .op-grid-box .box-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #334155;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.agent-detail .op-stat-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 13px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.agent-detail .op-stat-row .stat-label {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
}
|
||||
.agent-detail .op-stat-row .stat-val {
|
||||
font-weight: 600;
|
||||
color: #1e293b;
|
||||
}
|
||||
.agent-detail .op-stat-row .stat-val.primary { color: #3b82f6; }
|
||||
.agent-detail .op-stat-row .stat-val.success { color: #10b981; }
|
||||
.agent-detail .op-stat-row .stat-val.warning { color: #f59e0b; }
|
||||
.agent-detail .op-stat-row .stat-val.danger { color: #ef4444; }
|
||||
.agent-detail .op-stat-row .stat-val.purple { color: #8b5cf6; }
|
||||
.agent-detail .op-stat-row .stat-val.cyan { color: #06b6d4; }
|
||||
</style>
|
||||
|
||||
<div id="detail" class="agent-detail panel panel-default panel-intro" v-cloak>
|
||||
@@ -334,9 +450,9 @@
|
||||
{{ state.data.is_county ? '已开通' + (state.data.county_code ? ' (' + state.data.county_code + ')' : '') : '未开通' }}
|
||||
</el-tag>
|
||||
</el-form-item>
|
||||
<el-form-item :label="(state.data.custom_role_names?.partner || '合伙股东') + ':'">
|
||||
<el-form-item :label="(state.data.custom_role_names?.partner || '合伙人') + ':'">
|
||||
<el-tag size="small" :type="state.data.is_partner ? 'danger' : 'info'">
|
||||
{{ state.data.is_partner ? '已授予' + (state.data.custom_role_names?.partner || '合伙股东') : '未开通' }}
|
||||
{{ state.data.is_partner ? '已授予' + (state.data.custom_role_names?.partner || '合伙人') : '未开通' }}
|
||||
</el-tag>
|
||||
</el-form-item>
|
||||
<el-form-item label="30天自购考核:">
|
||||
@@ -367,13 +483,13 @@
|
||||
<el-tag type="info" effect="plain" size="small">{{ state.data.identity_text || ('基础会员 · ' + (state.data.custom_role_names?.taster || '品酒师')) }}</el-tag>
|
||||
</el-form-item>
|
||||
<div style="font-size: 12px; color: var(--sa-subfont); line-height: 1.6; background: #f8fafc; border: 1px dashed var(--sa-border); border-radius: 4px; padding: 8px 12px; margin: 4px 0 10px;">
|
||||
💡 <strong>进阶角色体系说明</strong>:系统拥有{{ state.data.custom_role_names?.maker || '创客' }}(V1~V6)、{{ state.data.custom_role_names?.venue || '酒道馆' }}、{{ state.data.custom_role_names?.county || '区县代理' }}、{{ state.data.custom_role_names?.partner || '合伙股东' }}等独立进阶角色,享有团队分润与平台日结分红。当前会员为基础会员,享有推三返一,<strong>免自购考核</strong>。
|
||||
💡 <strong>进阶角色体系说明</strong>:系统拥有{{ state.data.custom_role_names?.maker || '创客' }}(V1~V6)、{{ state.data.custom_role_names?.venue || '酒道馆' }}、{{ state.data.custom_role_names?.county || '区县代理' }}、{{ state.data.custom_role_names?.partner || '合伙人' }}等独立进阶角色,享有团队分润与平台日结分红。当前会员为基础会员,享有推三返一,<strong>免自购考核</strong>。
|
||||
</div>
|
||||
<el-form-item label="自购考核要求:">
|
||||
<el-tag size="small" type="info">免自购考核 (基础会员/{{ state.data.custom_role_names?.taster || '品酒师' }})</el-tag>
|
||||
</el-form-item>
|
||||
<el-form-item label="进阶权益:">
|
||||
<span style="color: var(--sa-subfont);">升级{{ state.data.custom_role_names?.maker || '创客' }}或开通{{ (state.data.custom_role_names?.venue || '馆').substr(0, 1) }}/{{ (state.data.custom_role_names?.county || '县').substr(0, 1) }}/{{ (state.data.custom_role_names?.partner || '股东').substr(0, 2) }}后即可享有团队奖、级差奖与dmepa分红</span>
|
||||
<span style="color: var(--sa-subfont);">升级{{ state.data.custom_role_names?.maker || '创客' }}或开通{{ (state.data.custom_role_names?.venue || '馆').substr(0, 1) }}/{{ (state.data.custom_role_names?.county || '县').substr(0, 1) }}/{{ (state.data.custom_role_names?.partner || '合伙').substr(0, 2) }}后即可享有团队奖、级差奖与dmepa分红</span>
|
||||
</el-form-item>
|
||||
</template>
|
||||
|
||||
@@ -443,212 +559,347 @@
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="sa-col-24" :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
||||
<el-row class="dashboard-content agent-content">
|
||||
<el-col :span="24">
|
||||
<div class="title sa-flex">
|
||||
<span>团队统计</span>
|
||||
<div class="dashboard-content agent-content op-dashboard" v-if="state.data && state.data.operational_stats">
|
||||
<!-- 模块一:🎯 晋升考核与升级差距雷达 (Upgrade Radar) -->
|
||||
<div class="op-radar-card" v-if="state.data.operational_stats.upgrade_radar">
|
||||
<div class="op-radar-header">
|
||||
<div class="op-radar-title">
|
||||
<span style="font-size: 16px;">🎯</span>
|
||||
<span>晋升考核与升级差距雷达</span>
|
||||
<el-tag size="small" effect="plain" type="info">
|
||||
当前:{{ state.data.operational_stats.upgrade_radar.current_level_name }}
|
||||
</el-tag>
|
||||
<el-tag size="small" type="primary" effect="dark" v-if="state.data.operational_stats.upgrade_radar.next_level > 0">
|
||||
目标:{{ state.data.operational_stats.upgrade_radar.next_level_name }}
|
||||
</el-tag>
|
||||
<el-tag size="small" type="success" effect="dark" v-else>
|
||||
已达顶级
|
||||
</el-tag>
|
||||
</div>
|
||||
<div>
|
||||
<el-tag v-if="state.data.operational_stats.upgrade_radar.upgrade_lock" type="danger" size="small">
|
||||
已锁定升级
|
||||
</el-tag>
|
||||
<el-tag v-else-if="state.data.operational_stats.upgrade_radar.all_reached" type="success" size="small">
|
||||
✓ 晋升条件全部达成
|
||||
</el-tag>
|
||||
<el-tag v-else-if="state.data.operational_stats.upgrade_radar.next_level > 0" type="warning" size="small">
|
||||
考核晋升中
|
||||
</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="op-radar-body" v-if="state.data.operational_stats.upgrade_radar.next_level > 0">
|
||||
<!-- 直推实名/购买用户考核 -->
|
||||
<div class="op-radar-metric">
|
||||
<div class="m-label">
|
||||
<span>有效直推人数指标</span>
|
||||
<el-tag size="small" :type="state.data.operational_stats.upgrade_radar.direct_user_reached ? 'success' : 'danger'">
|
||||
{{ state.data.operational_stats.upgrade_radar.direct_user_reached ? '已达标' : '缺 ' + state.data.operational_stats.upgrade_radar.direct_user_gap + ' 人' }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<div class="m-val">
|
||||
{{ state.data.operational_stats.upgrade_radar.current_direct_users }}
|
||||
<span style="font-size: 12px; color: #94a3b8; font-weight: normal;"> / {{ state.data.operational_stats.upgrade_radar.target_direct_users }} 人</span>
|
||||
</div>
|
||||
<el-progress :percentage="state.data.operational_stats.upgrade_radar.direct_user_percent"
|
||||
:status="state.data.operational_stats.upgrade_radar.direct_user_reached ? 'success' : 'warning'"
|
||||
:stroke-width="6" style="margin-top: 6px;"></el-progress>
|
||||
</div>
|
||||
|
||||
<!-- 团队有效订单考核 -->
|
||||
<div class="op-radar-metric">
|
||||
<div class="m-label">
|
||||
<span>团队有效订单指标</span>
|
||||
<el-tag size="small" :type="state.data.operational_stats.upgrade_radar.team_order_reached ? 'success' : 'danger'">
|
||||
{{ state.data.operational_stats.upgrade_radar.team_order_reached ? '已达标' : '缺 ' + state.data.operational_stats.upgrade_radar.team_order_gap + ' 单' }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<div class="m-val">
|
||||
{{ state.data.operational_stats.upgrade_radar.current_team_orders }}
|
||||
<span style="font-size: 12px; color: #94a3b8; font-weight: normal;"> / {{ state.data.operational_stats.upgrade_radar.target_team_orders }} 单</span>
|
||||
</div>
|
||||
<el-progress :percentage="state.data.operational_stats.upgrade_radar.team_order_percent"
|
||||
:status="state.data.operational_stats.upgrade_radar.team_order_reached ? 'success' : 'warning'"
|
||||
:stroke-width="6" style="margin-top: 6px;"></el-progress>
|
||||
</div>
|
||||
|
||||
<!-- 个人自购门槛 -->
|
||||
<div class="op-radar-metric">
|
||||
<div class="m-label">
|
||||
<span>个人自购资格门槛</span>
|
||||
<el-tag size="small" :type="state.data.operational_stats.upgrade_radar.self_paid_reached ? 'success' : 'danger'">
|
||||
{{ state.data.operational_stats.upgrade_radar.self_paid_reached ? '已满足' : '未购买' }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<div class="m-val" style="font-size: 14px; margin-top: 4px;">
|
||||
<span v-if="state.data.operational_stats.upgrade_radar.self_paid_reached" style="color: #10b981; font-weight: 600;">✓ 具备业务升级资格</span>
|
||||
<span v-else style="color: #ef4444; font-weight: 600;">✕ 需完成首单自购(≥1398元)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else style="padding: 10px 0; color: #10b981; font-weight: 500; font-size: 13px;">
|
||||
★ 该账号已达到平台顶峰合伙人级别,尊享平台级加权均分红与管理奖励!
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 模块二:👥 团队角色拓扑看板 (Roles & Team) -->
|
||||
<div class="op-section-title">
|
||||
<div class="sa-flex">
|
||||
<span style="font-size: 16px; margin-right: 6px;">👥</span>
|
||||
<span>团队角色与组织拓扑看板</span>
|
||||
</div>
|
||||
<div class="sa-flex">
|
||||
{if $auth->check('shopro/commission/agent/team')}
|
||||
<el-button class="ml-2" type="primary" link @click="onTeam">查看团队</el-button>
|
||||
<el-button type="primary" link @click="onTeam">查看层级拓扑树</el-button>
|
||||
{/if}
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col class="item" :xs="12" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="left">团队人数:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_user_count_all }}
|
||||
<span class="unit">人</span>
|
||||
</div>
|
||||
<el-row :gutter="12">
|
||||
<!-- 直推人员池 -->
|
||||
<el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">
|
||||
<span>直推成员池 (Direct)</span>
|
||||
<el-tag size="small" type="primary">{{ state.data.operational_stats.roles.direct_total }} 人</el-tag>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="left">一级团队人数:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_user_count_1 }}
|
||||
<span class="unit">人</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">已首购有效用户:</span>
|
||||
<span class="stat-val success">{{ state.data.operational_stats.roles.direct_paid }} 人</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="left">二级团队人数:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_user_count_2 }}
|
||||
<span class="unit">人</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">未购买注册粉丝:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.roles.direct_unpaid }} 人</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="left">
|
||||
团队分销商人数:
|
||||
<el-popover placement="top" trigger="hover">
|
||||
<div v-for="(value, key) in state.data.child_agent_level_all"
|
||||
:key="key">
|
||||
等级{{ key }}:{{ value }}人
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">直推创客领袖:</span>
|
||||
<span class="stat-val primary">{{ state.data.operational_stats.roles.direct_maker }} 人</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 核心业务骨干 -->
|
||||
<el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">
|
||||
<span>核心业务骨干 (Backbone)</span>
|
||||
<el-popover placement="top" trigger="hover" width="220">
|
||||
<div style="font-size: 12px; line-height: 20px;">
|
||||
<div style="font-weight: 600; margin-bottom: 4px;">创客各级分布:</div>
|
||||
<div>V1创客: {{ state.data.operational_stats.roles.team_maker_distribution.v1 || 0 }} 人</div>
|
||||
<div>V2创客: {{ state.data.operational_stats.roles.team_maker_distribution.v2 || 0 }} 人</div>
|
||||
<div>V3创客: {{ state.data.operational_stats.roles.team_maker_distribution.v3 || 0 }} 人</div>
|
||||
<div>V4创客: {{ state.data.operational_stats.roles.team_maker_distribution.v4 || 0 }} 人</div>
|
||||
<div>V5创客: {{ state.data.operational_stats.roles.team_maker_distribution.v5 || 0 }} 人</div>
|
||||
<div>V6创客: {{ state.data.operational_stats.roles.team_maker_distribution.v6 || 0 }} 人</div>
|
||||
</div>
|
||||
<template #reference>
|
||||
<div class="sa-flex">
|
||||
<el-icon v-if="state.data.child_agent_count_all"
|
||||
class="warning">
|
||||
<Warning />
|
||||
</el-icon>
|
||||
</div>
|
||||
<span style="cursor: pointer; color: #94a3b8; font-size: 13px;">ℹ️ 分布详情</span>
|
||||
</template>
|
||||
</el-popover>
|
||||
</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_agent_count_all }}
|
||||
<span class="unit">人</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">创客合伙人 (V1-V6):</span>
|
||||
<span class="stat-val purple">{{ state.data.operational_stats.roles.team_maker }} 人</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="left">
|
||||
一级分销商人数:
|
||||
<el-popover placement="top" trigger="hover">
|
||||
<div v-for="(value, key) in state.data.child_agent_level_1" :key="key">
|
||||
等级{{ key }}:{{ value }}人
|
||||
</div>
|
||||
<template #reference>
|
||||
<div class="sa-flex">
|
||||
<el-icon v-if="state.data.child_agent_count_1" class="warning">
|
||||
<Warning />
|
||||
</el-icon>
|
||||
</div>
|
||||
</template>
|
||||
</el-popover>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">酒道馆签约馆长:</span>
|
||||
<span class="stat-val warning">{{ state.data.operational_stats.roles.team_venue }} 个</span>
|
||||
</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_agent_count_1 }}
|
||||
<span class="unit">人</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">区县代理办事处:</span>
|
||||
<span class="stat-val danger">{{ state.data.operational_stats.roles.team_county }} 个</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="left">二级分销商人数:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_agent_count_2 }}
|
||||
<span class="unit">人</span>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 团队总网络规模 -->
|
||||
<el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">
|
||||
<span>全网团队规模 (Network)</span>
|
||||
<el-tag size="small" type="success">{{ state.data.operational_stats.roles.team_total }} 人</el-tag>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<div class="title sa-flex">
|
||||
<span>业绩统计</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">全网已出单活跃人数:</span>
|
||||
<span class="stat-val success">{{ state.data.operational_stats.roles.team_paid }} 人</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">全网激活转化率:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.roles.team_conversion_rate }}%</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">二级直属团队人数:</span>
|
||||
<span class="stat-val">{{ state.data.child_user_count_2 || 0 }} 人</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<!-- 模块三:📦 业务业绩与订单流向看板 (Orders & GMV) -->
|
||||
<div class="op-section-title">
|
||||
<div class="sa-flex">
|
||||
<span style="font-size: 16px; margin-right: 6px;">📦</span>
|
||||
<span>业务业绩与订单流向看板</span>
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">团队分销总金额:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_money_all }}
|
||||
<span class="unit">元</span>
|
||||
</div>
|
||||
<el-row :gutter="12">
|
||||
<!-- 自购订单 -->
|
||||
<el-col :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">个人自购业绩</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">自购成交额:</span>
|
||||
<span class="stat-val success">¥{{ state.data.operational_stats.orders.self_money }}</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">一级分销总金额:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_money_1 }}
|
||||
<span class="unit">元</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">自购订单数:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.orders.self_count }} 单</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">二级分销总金额:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_money_2 }}
|
||||
<span class="unit">元</span>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 直推订单 (一级) -->
|
||||
<el-col :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">直推客户业绩 (一级)</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">直推成交额:</span>
|
||||
<span class="stat-val primary">¥{{ state.data.operational_stats.orders.direct_money }}</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">
|
||||
自购分销总金额:
|
||||
<el-popover popper-class="sa-popper" placement="top" trigger="hover"
|
||||
content="分销商自购分销商品金额统计">
|
||||
<template #reference>
|
||||
<div class="sa-flex">
|
||||
<el-icon class="warning">
|
||||
<Warning />
|
||||
</el-icon>
|
||||
</div>
|
||||
</template>
|
||||
</el-popover>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">直推订单数:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.orders.direct_count }} 单</span>
|
||||
</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_money_0 }}
|
||||
<span class="unit">元</span>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 间推订单 (二级) -->
|
||||
<el-col :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">次级裂变业绩 (二级)</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">间推成交额:</span>
|
||||
<span class="stat-val cyan">¥{{ state.data.operational_stats.orders.indirect_money }}</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">团队分销订单:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_count_all }}
|
||||
<span class="unit">单</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">间推订单数:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.orders.indirect_count }} 单</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">一级分销订单:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_count_1 }}
|
||||
<span class="unit">单</span>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 全团队业绩汇总 -->
|
||||
<el-col :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">全网团队总流水 (GMV)</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">全网成交总额:</span>
|
||||
<span class="stat-val danger">¥{{ state.data.operational_stats.orders.team_money }}</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">二级分销订单:</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_count_2 }}
|
||||
<span class="unit">单</span>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">全网出单总数:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.orders.team_count }} 单</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">
|
||||
自购分销订单:
|
||||
<el-popover popper-class="sa-popper" placement="top" trigger="hover"
|
||||
content="分销商自购分销订单数量统计">
|
||||
<template #reference>
|
||||
<div class="sa-flex">
|
||||
<el-icon class="warning">
|
||||
<Warning />
|
||||
</el-icon>
|
||||
</div>
|
||||
</template>
|
||||
</el-popover>
|
||||
</div>
|
||||
<div class="right">
|
||||
{{ state.data.child_order_count_0 }}
|
||||
<span class="unit">单</span>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<div class="title sa-flex">
|
||||
<span>资产信息</span>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<!-- 模块四:💰 收益中心分成与资产闭环 (Rewards & Scheme B Balance) -->
|
||||
<div class="op-section-title">
|
||||
<div class="sa-flex">
|
||||
<span style="font-size: 16px; margin-right: 6px;">💰</span>
|
||||
<span>收益中心分成明细与资产闭环 (方案B一体化大余额)</span>
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">累计收益/佣金:</div>
|
||||
<div class="right">
|
||||
{{ state.data.total_income }}
|
||||
<span class="unit">元</span>
|
||||
</div>
|
||||
<el-row :gutter="12">
|
||||
<!-- 方案B核心钱包可用余额 -->
|
||||
<el-col :xs="24" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box" style="background: #f0fdf4; border: 1px solid #bbf7d0;">
|
||||
<div class="box-title" style="color: #166534;">
|
||||
<span>钱包可用余额 (money)</span>
|
||||
<el-tag size="small" type="success" effect="dark">可提现</el-tag>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">钱包可用余额:</div>
|
||||
<div class="right" style="color: #67c23a;">
|
||||
{{ state.data.user?.money || state.data.user_money || '0.00' }}
|
||||
<span class="unit">元</span>
|
||||
<div style="font-size: 22px; font-weight: 700; color: #15803d; margin: 8px 0;">
|
||||
¥{{ state.data.operational_stats.assets.wallet_money || '0.00' }}
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">历史未转佣金:</div>
|
||||
<div class="right" style="color: #e6a23c;">
|
||||
{{ state.data.user?.commission || state.data.user_commission || '0.00' }}
|
||||
<span class="unit">元</span>
|
||||
<div style="font-size: 11px; color: #16a34a; line-height: 18px;">
|
||||
✓ 收益入账此钱包,提现扣除此余额
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col class="item" :xs="12" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="left">消费金额:</div>
|
||||
<div class="right">
|
||||
{{ state.data.user?.total_consume || 0 }}
|
||||
<span class="unit">元</span>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 专项业务奖励细项 -->
|
||||
<el-col :xs="24" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">
|
||||
<span>业务奖励构成细项</span>
|
||||
<span style="font-size: 12px; color: #64748b;">累计: ¥{{ state.data.operational_stats.assets.total_income }}</span>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">推三返一收益:</span>
|
||||
<span class="stat-val primary">¥{{ state.data.operational_stats.rewards.push3 }}</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">创客极差/平级/超越:</span>
|
||||
<span class="stat-val purple">¥{{ state.data.operational_stats.rewards.maker_total }}</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">馆/县团队管理奖:</span>
|
||||
<span class="stat-val warning">¥{{ state.data.operational_stats.rewards.team_split }}</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">平台日结均分池:</span>
|
||||
<span class="stat-val success">¥{{ state.data.operational_stats.rewards.share_pool }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- DMEPA数字资产 -->
|
||||
<el-col :xs="24" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">
|
||||
<span>DMEPA 专属数字资产</span>
|
||||
<el-tag size="small" type="warning">生态资产</el-tag>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">DMEPA 持仓数量:</span>
|
||||
<span class="stat-val purple">{{ state.data.operational_stats.assets.dmepa_madow }} 枚</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">实时市值折算:</span>
|
||||
<span class="stat-val">¥{{ state.data.operational_stats.assets.dmepa_value }}</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">历史未转佣金:</span>
|
||||
<span class="stat-val warning">¥{{ state.data.operational_stats.assets.untransfer_commission }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<!-- 365天消费补贴券 -->
|
||||
<el-col :xs="24" :sm="6" :md="6" :lg="6" :xl="6">
|
||||
<div class="op-grid-box">
|
||||
<div class="box-title">
|
||||
<span>365天消费补贴券</span>
|
||||
<el-tag size="small" type="info">逐日释放</el-tag>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">当前可用补贴券:</span>
|
||||
<span class="stat-val success">{{ state.data.operational_stats.assets.voucher_available }} 个</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">累计释放补贴券:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.assets.voucher_released }} 个</span>
|
||||
</div>
|
||||
<div class="op-stat-row">
|
||||
<span class="stat-label">补贴券总额度:</span>
|
||||
<span class="stat-val">{{ state.data.operational_stats.assets.voucher_total }} 个</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-tabs class="sa-tabs" v-model="log.tabActive" @tab-change="onChangeTab">
|
||||
|
||||
在新工单中引用
屏蔽一个用户