From 7235e23e95edb1e97d6f2ad556e6f97af10f2e54 Mon Sep 17 00:00:00 2001 From: cp3hnu Date: Wed, 12 Mar 2025 08:50:50 +0800 Subject: [PATCH] =?UTF-8?q?styles:=20=E4=BF=AE=E6=94=B9=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E7=BA=BF=E8=A1=A8=E6=A0=BC=E5=88=97=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/AutoML/components/ExperimentInstance/index.less | 2 +- react-ui/src/pages/AutoML/components/ExperimentList/index.tsx | 3 +-- react-ui/src/pages/Pipeline/index.jsx | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/react-ui/src/pages/AutoML/components/ExperimentInstance/index.less b/react-ui/src/pages/AutoML/components/ExperimentInstance/index.less index 3e7d2eec..6cd9ef98 100644 --- a/react-ui/src/pages/AutoML/components/ExperimentInstance/index.less +++ b/react-ui/src/pages/AutoML/components/ExperimentInstance/index.less @@ -26,7 +26,7 @@ .startTime { .singleLine(); - width: calc(20% + 10px); + width: 200px; } .status { diff --git a/react-ui/src/pages/AutoML/components/ExperimentList/index.tsx b/react-ui/src/pages/AutoML/components/ExperimentList/index.tsx index 4028d32c..bcc85a2f 100644 --- a/react-ui/src/pages/AutoML/components/ExperimentList/index.tsx +++ b/react-ui/src/pages/AutoML/components/ExperimentList/index.tsx @@ -262,12 +262,11 @@ function ExperimentList({ type }: ExperimentListProps) { key: 'ml_description', render: tableCellRender(true), }, - { title: '创建时间', dataIndex: 'update_time', key: 'update_time', - width: '20%', + width: 200, render: tableCellRender(false, TableCellValueType.Date), }, { diff --git a/react-ui/src/pages/Pipeline/index.jsx b/react-ui/src/pages/Pipeline/index.jsx index 0c6b50ee..08d1ccf6 100644 --- a/react-ui/src/pages/Pipeline/index.jsx +++ b/react-ui/src/pages/Pipeline/index.jsx @@ -152,6 +152,7 @@ const Pipeline = () => { title: '流水线名称', dataIndex: 'name', key: 'name', + width: '50%', render: tableCellRender(false, TableCellValueType.Link, { onClick: gotoDetail, }), @@ -160,18 +161,21 @@ const Pipeline = () => { title: '流水线描述', dataIndex: 'description', key: 'description', + width: '50%', render: tableCellRender(true), }, { title: '创建时间', dataIndex: 'create_time', key: 'create_time', + width: 180, render: tableCellRender(false, TableCellValueType.Date), }, { title: '修改时间', dataIndex: 'update_time', key: 'update_time', + width: 180, render: tableCellRender(false, TableCellValueType.Date), }, {