首页图表

This commit is contained in:
何美荣 2026-07-09 13:51:27 +08:00
parent 40ff89db44
commit f7883011dd
2 changed files with 3 additions and 3 deletions

View File

@ -230,7 +230,7 @@ class BI001HomeDetail extends React.Component {
let month = []; let month = [];
let company = []; let company = [];
let department = []; let department = [];
data.Data.rateData.forEach((item) => { data.Data.rateData.filter(m=>m.teamName !=null).forEach((item) => {
month.push(item.MONTHStr); month.push(item.MONTHStr);
company.push(item.FINISH_RATE); company.push(item.FINISH_RATE);
department.push(item.NORMAL_FINISH_RATE); department.push(item.NORMAL_FINISH_RATE);

View File

@ -35,7 +35,7 @@ class BI002HomeDetail extends React.Component {
// render: (text, record, index) => `${index + 1}` // render: (text, record, index) => `${index + 1}`
// }, // },
{ {
title: "车间", title: "部门",
dataIndex: "shopName", dataIndex: "shopName",
render: (value, record, index) => { render: (value, record, index) => {
const obj = { const obj = {
@ -145,7 +145,7 @@ class BI002HomeDetail extends React.Component {
}, },
}, },
{ {
title: "班组", title: "车间/班组",
dataIndex: "teamName", dataIndex: "teamName",
onCell:()=>this.renderSpeedColumn() onCell:()=>this.renderSpeedColumn()
}, },