Commit 422fe99f by zhaochengxiang

模型增加创建人

parent 9c193ecc
......@@ -85,6 +85,8 @@ const ImportActionHeader = (props) => {
if (modelerData) {
form.setFieldsValue(modelerData);
}
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [modelerData])
const formItemLayout = {
......
......@@ -55,7 +55,7 @@ const ModelTable = (props) => {
{
title: '模型名称',
dataIndex: 'name',
width: isSzseEnv?360:180,
width: isSzseEnv?360:160,
ellipsis: true,
render: (text, record, _) => {
return (
......@@ -70,7 +70,7 @@ const ModelTable = (props) => {
{
title: '中文名称',
dataIndex: 'cnName',
width: isSzseEnv?420:180,
width: isSzseEnv?420:160,
ellipsis: true,
render: (text, _, __) => {
return (
......@@ -95,7 +95,7 @@ const ModelTable = (props) => {
{
title: '状态',
dataIndex: 'state',
width: 120,
width: 80,
ellipsis: true,
render: (_, record) => {
......@@ -117,6 +117,12 @@ const ModelTable = (props) => {
}
},
{
title: '创建人',
dataIndex: 'editor',
width: 100,
ellipsis: true,
},
{
title: '操作',
key: 'action',
width: 180,
......
......@@ -63,7 +63,8 @@ const VersionHistory = (props) => {
</a>
</div>
<div className='pt-2'>
<span>{formatVersionHistoryDate(version.ts)}</span>
<span>{version.editor||''}</span>
<span className='pl-2'>{formatVersionHistoryDate(version.ts)}</span>
</div>
</div>
</Timeline.Item>
......
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