Merge branch 'projects/mesxc-test' into projects/mesxc-zjl

This commit is contained in:
朱菊兰 2024-04-03 16:45:18 +08:00
commit 3fa702cc12
2 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-01-29 16:50:26
* @LastEditTime: 2024-04-03 16:29:24
* @LastEditTime: 2024-04-03 16:34:05
* @LastEditors: zhp
* @Description:
-->
@ -623,8 +623,8 @@ export default {
</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.formatTime(item.time) || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.getSize(item.size) || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this, NumFormat(item.productArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this, NumFormat(item.wasteArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.NumFormat(item.productArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.NumFormat(item.wasteArea) + '㎡' || ''}</span>`,
`<div style = "${(item.product * 100).toFixed(2) > 91 ? 'display:block;color:#00FFF7' : 'display:none;'}">${(item.product * 100).toFixed(2) + '%' || ''}</div>
<div style = "${(item.product * 100).toFixed(2) < 91 ? 'display:block; color:rgba(255, 209, 96, 1)' : 'display:none;'}">${(item.product * 100).toFixed(2) + '%' || ''}</div>`
])

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-01-21 14:43:06
* @LastEditors: zhp
* @LastEditTime: 2024-03-29 14:50:50
* @LastEditTime: 2024-04-03 16:33:24
* @Description:
-->
<template>
@ -85,7 +85,6 @@ export default {
defaultConfig: {
// legend
legend: {
orient: 'vertical',
left: '75%',
bottom: 0,
itemHeight: 10,
@ -197,7 +196,7 @@ export default {
//
...this.defaultConfig.legend,
//
...this.legendConfig
// ...this.legendConfig
},
color: this.barColor,
series: [