| | |
| | | <template> |
| | | <div> |
| | | <PanelHeader title="客户金额贡献排名" /> |
| | | <PanelHeader title="客户贡献排名" /> |
| | | <div class="panel-item-customers"> |
| | | <div class="switch-container"> |
| | | <DateTypeSwitch v-model="dateType" @change="handleDateTypeChange" /> |
| | |
| | | formatter: function (params) { |
| | | let result = params[0].axisValueLabel + '<br/>' |
| | | params.forEach((item) => { |
| | | result += `<div style="color: #B8C8E0">${item.marker} ${item.seriesName}: ${item.value}</div>` |
| | | result += `<div>${item.marker} ${item.seriesName}: ${item.value}元</div>` |
| | | }) |
| | | return result |
| | | }, |