diff --git a/react-ui/src/pages/Workspace/components/AssetsManagement/index.less b/react-ui/src/pages/Workspace/components/AssetsManagement/index.less
index 122d3bf4..53f7af70 100644
--- a/react-ui/src/pages/Workspace/components/AssetsManagement/index.less
+++ b/react-ui/src/pages/Workspace/components/AssetsManagement/index.less
@@ -37,7 +37,18 @@
&__summary {
display: flex;
flex-direction: column;
- width: 33.33%;
+ width: 40%;
+ text-align: left;
+
+ &:nth-child(3n+2) {
+ text-align: center;
+ width: 30%;
+ }
+
+ &:nth-child(3n) {
+ text-align: right;
+ width: 30%;
+ }
&__title {
margin-bottom: 12px;
diff --git a/react-ui/src/pages/Workspace/components/AssetsManagement/index.tsx b/react-ui/src/pages/Workspace/components/AssetsManagement/index.tsx
index 46a57ca8..1e5b2989 100644
--- a/react-ui/src/pages/Workspace/components/AssetsManagement/index.tsx
+++ b/react-ui/src/pages/Workspace/components/AssetsManagement/index.tsx
@@ -16,7 +16,7 @@ function AssetsManagement() {
};
const [res] = await to(getWorkspaceAssetCountReq(params));
if (res && res.data) {
- const { dataset, image, model, workflow } = res.data;
+ const { dataset, image, model, workflow, codeConfig, service } = res.data;
const items = [
{
title: '数据集',
@@ -42,6 +42,14 @@ function AssetsManagement() {
title: '流水线模版',
value: workflow,
},
+ {
+ title: '代码配置',
+ value: codeConfig,
+ },
+ {
+ title: '服务',
+ value: service,
+ },
];
setAssetCounts(items);
}
@@ -53,7 +61,7 @@ function AssetsManagement() {
return (
- AI资产
+ 多形态资源库
{/*
今日新增数量:5
*/}
-
+
{assetCounts.map((item, index) => (
{item.title}
-
{item.value}
+
{item.value ?? '-'}
))}
diff --git a/react-ui/src/pages/Workspace/components/ExperimentTable/index.less b/react-ui/src/pages/Workspace/components/ExperimentTable/index.less
index 4b692883..b957cc8b 100644
--- a/react-ui/src/pages/Workspace/components/ExperimentTable/index.less
+++ b/react-ui/src/pages/Workspace/components/ExperimentTable/index.less
@@ -1,6 +1,6 @@
.experiment-table {
flex: 1;
- min-width: 378px;
+ min-width: 460px;
height: 140px;
padding: 12px;
background: @workspace-background;
@@ -32,7 +32,7 @@
}
&__status {
- width: 15%;
+ width: 25%;
}
&__duration {
@@ -40,11 +40,11 @@
}
&__date {
- width: calc(60% - 60px);
+ width: 40%;
}
&__operation {
- width: 60px;
+ width: 10%;
:global {
.ant-btn-link {
diff --git a/react-ui/src/pages/Workspace/components/QuickStart/index.tsx b/react-ui/src/pages/Workspace/components/QuickStart/index.tsx
index e27d2b76..95bea20e 100644
--- a/react-ui/src/pages/Workspace/components/QuickStart/index.tsx
+++ b/react-ui/src/pages/Workspace/components/QuickStart/index.tsx
@@ -55,7 +55,7 @@ function QuickStart() {
navigate('/datasetPreparation/datasetAnnotation')}
@@ -80,7 +80,7 @@ function QuickStart() {
navigate('/pipeline/experiment')}
diff --git a/react-ui/src/pages/Workspace/components/TotalStatistics/index.less b/react-ui/src/pages/Workspace/components/TotalStatistics/index.less
index 8a409b82..039d5e2f 100644
--- a/react-ui/src/pages/Workspace/components/TotalStatistics/index.less
+++ b/react-ui/src/pages/Workspace/components/TotalStatistics/index.less
@@ -3,16 +3,16 @@
align-items: center;
justify-content: center;
height: 140px;
- padding: 0 16px;
+ padding: 0 35px;
- // 媒体查询
- @media screen and (max-width: 1600px) {
- flex: auto;
- }
+ // // 媒体查询
+ // @media screen and (max-width: 1600px) {
+ // flex: auto;
+ // }
&__icon {
- width: 63px;
- margin-right: 16px;
+ width: 80px;
+ margin-right: 20px;
}
&__title {
diff --git a/react-ui/src/pages/Workspace/components/UserPoints/index.less b/react-ui/src/pages/Workspace/components/UserPoints/index.less
index e8f9b750..7316a5d6 100644
--- a/react-ui/src/pages/Workspace/components/UserPoints/index.less
+++ b/react-ui/src/pages/Workspace/components/UserPoints/index.less
@@ -7,6 +7,7 @@
height: 228px;
padding: 0 20px;
.backgroundFullImage(url(@/assets/img/user-points-bg.png));
+ margin-bottom: 16px;
&__label {
margin-top: 60px;
diff --git a/react-ui/src/pages/Workspace/components/WorkspaceIntro/index.tsx b/react-ui/src/pages/Workspace/components/WorkspaceIntro/index.tsx
index bc8d30e8..57ee3e3c 100644
--- a/react-ui/src/pages/Workspace/components/WorkspaceIntro/index.tsx
+++ b/react-ui/src/pages/Workspace/components/WorkspaceIntro/index.tsx
@@ -4,9 +4,9 @@ function WorkspaceIntro() {
return (
-
自主实验平台
+
智能材料科研平台
- 材料领域的自主实验系统是一种用于材料研究和开发的技术平台,它旨在提供实验数据收集、分析和可视化等功能,
+ 智能材料科研平台是用于材料研究和开发的技术平台,它旨在提供实验数据收集、分析和可视化等功能,
以支持材料工程师、科学家和研究人员在材料设计、性能评估和工艺优化方面的工作
{/*
diff --git a/react-ui/src/pages/Workspace/index.less b/react-ui/src/pages/Workspace/index.less
index addf2fcd..7ff7592b 100644
--- a/react-ui/src/pages/Workspace/index.less
+++ b/react-ui/src/pages/Workspace/index.less
@@ -27,7 +27,7 @@
&__statistics {
flex: none;
- min-width: 431px;
+ // min-width: 500px;
background: linear-gradient(
123.08deg,
rgba(138, 138, 138, 0.06) 1.32%,
@@ -35,10 +35,10 @@
);
border-radius: 4px;
- // 媒体查询
- @media screen and (max-width: 1600px) {
- flex: 1;
- }
+ // // 媒体查询
+ // @media screen and (max-width: 1600px) {
+ // flex: 1;
+ // }
}
}
}
diff --git a/react-ui/src/pages/Workspace/index.tsx b/react-ui/src/pages/Workspace/index.tsx
index 9aa7600a..5da8f2fe 100644
--- a/react-ui/src/pages/Workspace/index.tsx
+++ b/react-ui/src/pages/Workspace/index.tsx
@@ -12,7 +12,6 @@ import QuickStart from './components/QuickStart';
// import RobotFrame from './components/RobotFrame';
import TotalStatistics from './components/TotalStatistics';
import UserPoints from './components/UserPoints';
-import UserSpace from './components/UserSpace';
import WorkspaceIntro from './components/WorkspaceIntro';
import styles from './index.less';
@@ -67,7 +66,6 @@ function Workspace() {
count={overviewData?.runningExperimentInsCount}
/>
-
@@ -76,12 +74,12 @@ function Workspace() {
)}
-