projects/mesxc-zhp #306

병합
juzi projects/mesxc-zhp 에서 projects/mesxc-test 로 2 commits 를 머지했습니다 2024-04-03 16:36:42 +08:00
2개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
Showing only changes of commit a6ffba4cf8 - Show all commits

파일 보기

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

파일 보기

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