完整流程-调试
This commit is contained in:
@@ -65,6 +65,7 @@ type ValidationState = {
|
||||
const PROFILE_OPTIONS = [
|
||||
{ label: '腾讯领取兑换', value: 'tencent_claim_redeem' },
|
||||
{ label: '腾讯领取兑换(半自动+人工)', value: 'tencent_claim_assisted' },
|
||||
{ label: '快手 Cloud 履约', value: 'kuaishou_ct_assisted' },
|
||||
{ label: '人工发货', value: 'manual_review' },
|
||||
]
|
||||
|
||||
@@ -102,6 +103,7 @@ const ruleMetrics = computed(() => {
|
||||
const completedCount = bindings.value.filter(isEditableBindingComplete).length
|
||||
const manualCount = bindings.value.filter((item) => item.profileKey.trim() === 'manual_review').length
|
||||
const assistedCount = bindings.value.filter((item) => item.profileKey.trim() === 'tencent_claim_assisted').length
|
||||
const kuaishouCloudCount = bindings.value.filter((item) => item.profileKey.trim() === 'kuaishou_ct_assisted').length
|
||||
|
||||
return {
|
||||
totalCount: bindings.value.length,
|
||||
@@ -109,6 +111,7 @@ const ruleMetrics = computed(() => {
|
||||
draftCount: Math.max(bindings.value.length - completedCount, 0),
|
||||
manualCount,
|
||||
assistedCount,
|
||||
kuaishouCloudCount,
|
||||
}
|
||||
})
|
||||
|
||||
@@ -536,7 +539,7 @@ onMounted(loadConfigs)
|
||||
<header class="panel-header">
|
||||
<div class="panel-header-copy">
|
||||
<h1>履约配置</h1>
|
||||
<p>把外部商品统一映射到内部履约 SKU,并指定最终走自动、半自动还是人工处理。</p>
|
||||
<p>把外部商品统一映射到内部履约 SKU,并指定最终走腾讯领取、快手 Cloud 或人工处理。</p>
|
||||
</div>
|
||||
<div class="header-tags">
|
||||
<span class="header-tag">外部条件命中 1 个即可</span>
|
||||
@@ -603,6 +606,7 @@ onMounted(loadConfigs)
|
||||
<span class="mini-stat-chip">待完善 {{ ruleMetrics.draftCount }}</span>
|
||||
<span class="mini-stat-chip">人工 {{ ruleMetrics.manualCount }}</span>
|
||||
<span class="mini-stat-chip">半自动 {{ ruleMetrics.assistedCount }}</span>
|
||||
<span class="mini-stat-chip">快手 Cloud {{ ruleMetrics.kuaishouCloudCount }}</span>
|
||||
</div>
|
||||
<div class="section-action-group">
|
||||
<el-button round @click="addBinding">新增规则</el-button>
|
||||
|
||||
Reference in New Issue
Block a user