调整table大小

This commit is contained in:
yunkexin 2024-04-12 08:58:33 +08:00
parent 9b0b15d2dc
commit 8a6e1afc87

View File

@ -38,7 +38,14 @@ class BI009FormRunAnalysis extends React.Component {
displaydetail: "none", displaydetail: "none",
columns: [ columns: [
{ {
width: "200px", width: "80px",
title: "序号",
dataIndex: "Num",
key: "Num",
render: (text, record, index) => <span>{index + 1}</span>,
},
{
width: "250px",
title: "部门", title: "部门",
dataIndex: "DEPARTMENT_NAME", dataIndex: "DEPARTMENT_NAME",
key: "DEPARTMENT_NAME", key: "DEPARTMENT_NAME",
@ -49,7 +56,7 @@ class BI009FormRunAnalysis extends React.Component {
// ), // ),
}, },
{ {
width: "200px", width: "250px",
title: "班组", title: "班组",
dataIndex: "TEAM_NAME", dataIndex: "TEAM_NAME",
key: "TEAM_NAME", key: "TEAM_NAME",
@ -1678,12 +1685,12 @@ class BI009FormRunAnalysis extends React.Component {
display: "flex", display: "flex",
justifyContent: "space-around", justifyContent: "space-around",
alignItems: "center", alignItems: "center",
width: "1100px", width: "1000px",
}} }}
> >
<Table <Table
style={{ style={{
width: "80%", width: "100%",
// marginLeft: "20px", // marginLeft: "20px",
textAlign: "center", textAlign: "center",
}} }}