Commit dea354c9 by liang ce

图表充值内外充值反了修改

parent 9eb47e07
......@@ -85,7 +85,7 @@ export default {
}
},
legend: {
data: ['餐补津贴', '交通津贴']
data: ['餐补津贴', '交通津贴']
},
xAxis: {
data: xAxisData
......@@ -111,13 +111,13 @@ export default {
let data2 = []
this.RechargeDataList.map(item => {
xAxisData.push(parseInt(item.abscissaKey))
data1.push(item.internalRechargeAmount ? item.internalRechargeAmount : 0)
data2.push(item.externalRechargeAmount ? item.externalRechargeAmount : 0)
data1.push(item.externalRechargeAmount ? item.externalRechargeAmount : 0)
data2.push(item.internalRechargeAmount ? item.internalRechargeAmount : 0)
})
myChart.setOption({
title: { text: '充值金额' },
legend: {
data: ['支付宝充值', '现金充值']
data: ['支付宝充值', '现金充值']
},
grid: {
left: '10%'
......@@ -160,7 +160,6 @@ export default {
// internalConsumeRealityAmount 员工现金
// internalConsumeSubsidyAmount 津贴
// externalConsumeRealityAmount 访客消费
myChart.setOption({
title: { text: '消费金额' },
tooltip: {
......@@ -173,7 +172,7 @@ export default {
data: xAxisData
},
legend: {
data: ['员工现金消费', '员工津贴消费', '访客消费']
data: ['员工现金消费', '员工津贴消费', '访客消费']
},
yAxis: {},
series: [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment