update
This commit is contained in:
@@ -326,6 +326,7 @@ const summaryCards: MetricCard[] = [
|
||||
{ key: 'completed_order_count', label: '接诊诊单', type: 'count' },
|
||||
{ key: 'completed_order_amount', label: '诊单金额', type: 'money' },
|
||||
{ key: 'account_cost', label: '账户消耗', type: 'money' },
|
||||
{ key: 'cash_cost', label: '现金成本', type: 'money' },
|
||||
{ key: 'roi', label: 'ROI', type: 'ratio' }
|
||||
]
|
||||
|
||||
@@ -346,7 +347,6 @@ const tableColumns: MetricColumn[] = [
|
||||
{ key: 'interview_receive_rate', label: '面诊接诊率', type: 'percent', minWidth: 130 },
|
||||
{ key: 'open_receive_rate', label: '开口接诊率', type: 'percent', placeholder: true, minWidth: 120 },
|
||||
{ key: 'avg_unit_price', label: '平均单价', type: 'money', minWidth: 110 },
|
||||
{ key: 'account_cost', label: '账户消耗', type: 'money', minWidth: 120 },
|
||||
{ key: 'cash_cost', label: '现金成本', type: 'money', minWidth: 110 },
|
||||
{ key: 'roi', label: 'ROI', type: 'ratio', minWidth: 90 }
|
||||
]
|
||||
@@ -421,12 +421,31 @@ const rankingChartOption = computed(() => ({
|
||||
|
||||
const amountPieOption = computed(() => ({
|
||||
tooltip: { trigger: 'item' },
|
||||
legend: { bottom: 0 },
|
||||
legend: {
|
||||
bottom: 0,
|
||||
type: 'scroll',
|
||||
pageIconColor: '#409eff',
|
||||
pageTextStyle: {
|
||||
color: '#909399',
|
||||
},
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '诊单金额',
|
||||
type: 'pie',
|
||||
radius: ['42%', '72%'],
|
||||
radius: ['42%', '70%'],
|
||||
center: ['50%', '42%'],
|
||||
avoidLabelOverlap: true,
|
||||
minAngle: 3,
|
||||
label: {
|
||||
show: true,
|
||||
formatter: '{b}',
|
||||
overflow: 'truncate',
|
||||
width: 90,
|
||||
},
|
||||
labelLayout: {
|
||||
hideOverlap: true,
|
||||
},
|
||||
data: overview.charts.amount_share
|
||||
}
|
||||
]
|
||||
@@ -434,12 +453,31 @@ const amountPieOption = computed(() => ({
|
||||
|
||||
const fanPieOption = computed(() => ({
|
||||
tooltip: { trigger: 'item' },
|
||||
legend: { bottom: 0 },
|
||||
legend: {
|
||||
bottom: 0,
|
||||
type: 'scroll',
|
||||
pageIconColor: '#409eff',
|
||||
pageTextStyle: {
|
||||
color: '#909399',
|
||||
},
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '加粉数',
|
||||
type: 'pie',
|
||||
radius: ['42%', '72%'],
|
||||
radius: ['42%', '70%'],
|
||||
center: ['50%', '42%'],
|
||||
avoidLabelOverlap: true,
|
||||
minAngle: 3,
|
||||
label: {
|
||||
show: true,
|
||||
formatter: '{b}',
|
||||
overflow: 'truncate',
|
||||
width: 90,
|
||||
},
|
||||
labelLayout: {
|
||||
hideOverlap: true,
|
||||
},
|
||||
data: overview.charts.fan_share
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user