Commit a5b57749 by liang ce

eslint修改

parent 43e0b913
......@@ -90,7 +90,7 @@ export default {
fontSize: 14,
fontWeight: 'normal'
},
left: '5%',
left: '5%'
},
tooltip: {
trigger: 'axis',
......@@ -143,9 +143,9 @@ export default {
this.RechargeDataList.map(item => {
xAxisData.push(parseInt(item.abscissaKey))
data1.push(item.externalRechargeAmount ? item.externalRechargeAmount : 0)
data1Amount = (data1Amount * 100 + item.externalRechargeAmount * 100) / 100
data1Amount = (data1Amount * 100 + item.externalRechargeAmount * 100) / 100
data2.push(item.internalRechargeAmount ? item.internalRechargeAmount : 0)
data2Amount = (item.internalRechargeAmount * 100 + data2Amount * 100) /100
data2Amount = (item.internalRechargeAmount * 100 + data2Amount * 100) / 100
})
let unit = this.month === undefined ? '月' : '日'
myChart.setOption({
......@@ -156,7 +156,7 @@ export default {
fontSize: 14,
fontWeight: 'normal'
},
left: '5%',
left: '5%'
},
legend: {
data: ['支付宝充值', '现金充值'],
......@@ -241,7 +241,7 @@ export default {
fontSize: 14,
fontWeight: 'normal'
},
left: '5%',
left: '5%'
},
legend: {
data: [`员工现金消费`, `员工津贴消费`, `访客消费`],
......@@ -277,7 +277,7 @@ export default {
name: `(${this.month === undefined ? '月' : '日'})`, // 给X轴加单位
// nameLocation: 'middle',
type: 'category',
data: xAxisData,
data: xAxisData
},
yAxis: {
name: '(元)',
......
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