Commit bee98698 by zhaochengxiang

任务更新模型详情

parent 4e684ad9
...@@ -99,11 +99,10 @@ const Basic = ({ item }) => { ...@@ -99,11 +99,10 @@ const Basic = ({ item }) => {
<Descriptions.Item label='差异元数据数'>{item?.metadataPartialMatchCount}</Descriptions.Item> <Descriptions.Item label='差异元数据数'>{item?.metadataPartialMatchCount}</Descriptions.Item>
<Descriptions.Item label='未匹配元数据数'>{item?.metadataNotMatchCount}</Descriptions.Item> <Descriptions.Item label='未匹配元数据数'>{item?.metadataNotMatchCount}</Descriptions.Item>
</Descriptions> </Descriptions>
<Descriptions column={4}> <Descriptions column={1}>
<Descriptions.Item label='本次任务更新模型'> <Descriptions.Item label=''>
{totalCount} <span>{`本次任务更新模型${totalCount}个,`}</span>
</Descriptions.Item> <span>更新为已上线:</span>
<Descriptions.Item label='更新为已上线'>
{ {
deployedCount ? <a onClick={() => { deployedCount ? <a onClick={() => {
setModelListParams({ setModelListParams({
...@@ -112,8 +111,8 @@ const Basic = ({ item }) => { ...@@ -112,8 +111,8 @@ const Basic = ({ item }) => {
}) })
}}>{deployedCount}</a> : <span>{deployedCount}</span> }}>{deployedCount}</a> : <span>{deployedCount}</span>
} }
</Descriptions.Item> <span>个,</span>
<Descriptions.Item label='更新为评审通过'> <span>更新为评审通过:</span>
{ {
deployWaitingCount ? <a onClick={() => { deployWaitingCount ? <a onClick={() => {
setModelListParams({ setModelListParams({
...@@ -122,8 +121,8 @@ const Basic = ({ item }) => { ...@@ -122,8 +121,8 @@ const Basic = ({ item }) => {
}) })
}}>{deployWaitingCount}</a> : <span>{deployWaitingCount}</span> }}>{deployWaitingCount}</a> : <span>{deployWaitingCount}</span>
} }
</Descriptions.Item> <span>个,</span>
<Descriptions.Item label='更新为已下线'> <span>更新为已下线:</span>
{ {
offlineCount ? <a onClick={() => { offlineCount ? <a onClick={() => {
setModelListParams({ setModelListParams({
...@@ -132,6 +131,7 @@ const Basic = ({ item }) => { ...@@ -132,6 +131,7 @@ const Basic = ({ item }) => {
}) })
}}>{offlineCount}</a> : <span>{offlineCount}</span> }}>{offlineCount}</a> : <span>{offlineCount}</span>
} }
<span></span>
</Descriptions.Item> </Descriptions.Item>
</Descriptions> </Descriptions>
<ModelList <ModelList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment