Commit 78d8ce2e by zhaochengxiang

资产列表问题

parent 1fb5560e
...@@ -22,6 +22,7 @@ import 'react-contexify/dist/ReactContexify.css'; ...@@ -22,6 +22,7 @@ import 'react-contexify/dist/ReactContexify.css';
const { Text } = Typography; const { Text } = Typography;
const { Search } = Input; const { Search } = Input;
const { Column } = Table;
//资产项 //资产项
const AssetItem = (props) => { const AssetItem = (props) => {
...@@ -352,7 +353,7 @@ const AssetTable = (props) => { ...@@ -352,7 +353,7 @@ const AssetTable = (props) => {
}) })
setAssets([]); setAssets([]);
setColumns(_columns); setColumns([..._columns, <Column key='auto' />]);
metadataIndexRef.current = _metadataIndex; metadataIndexRef.current = _metadataIndex;
......
...@@ -57,6 +57,7 @@ const ImportStockWordModal = (props) => { ...@@ -57,6 +57,7 @@ const ImportStockWordModal = (props) => {
return (index+1).toString(); return (index+1).toString();
}, },
width: 60, width: 60,
ellipsis: true,
}, },
{ {
title: '导入文件名', title: '导入文件名',
...@@ -105,7 +106,12 @@ const ImportStockWordModal = (props) => { ...@@ -105,7 +106,12 @@ const ImportStockWordModal = (props) => {
{ {
title: '导入状态', title: '导入状态',
dataIndex: 'state', dataIndex: 'state',
width: 100,
ellipsis: true, ellipsis: true,
},
{
title: '',
dataIndex: 'auto',
} }
] ]
......
...@@ -592,8 +592,6 @@ const ModelTable = (props) => { ...@@ -592,8 +592,6 @@ const ModelTable = (props) => {
width: size.width, width: size.width,
}; };
console.log('nextColumns', nextColumns);
if ((modelId||'')==='' && (view==='state'||(keyword||'')!=='')) { if ((modelId||'')==='' && (view==='state'||(keyword||'')!=='')) {
setIncludePathColumns(nextColumns); setIncludePathColumns(nextColumns);
} else { } else {
......
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