Commit 0cca2a3c by fanyj

添加打标签

parent 19eb2e38
...@@ -571,7 +571,7 @@ const AssetTable = (props) => { ...@@ -571,7 +571,7 @@ const AssetTable = (props) => {
title: name, title: name,
dataIndex: `element${index}`, dataIndex: `element${index}`,
ellipsis: true, ellipsis: true,
width: 120, width: 150,
render: (text, record) => { render: (text, record) => {
return ( return (
<Tooltip title={text||''}> <Tooltip title={text||''}>
...@@ -584,7 +584,7 @@ const AssetTable = (props) => { ...@@ -584,7 +584,7 @@ const AssetTable = (props) => {
}; };
if (name === '编号') { if (name === '编号') {
params.width = 60; params.width = 120;
// params.fixed = 'left'; // params.fixed = 'left';
} else if (name === '中文名称' || name === '岗位中文名') { } else if (name === '中文名称' || name === '岗位中文名') {
params.width = isSzseEnv?230:160; params.width = isSzseEnv?230:160;
...@@ -1391,7 +1391,7 @@ const AssetTable = (props) => { ...@@ -1391,7 +1391,7 @@ const AssetTable = (props) => {
}} }}
loading={loading} loading={loading}
// columns={reference===AssetManageReference?[indexCol, ...columns, tagCol]:[indexCol, ...columns]} // columns={reference===AssetManageReference?[indexCol, ...columns, tagCol]:[indexCol, ...columns]}
columns={reference===AssetManageReference?[indexCol, ...columns, tagCol]:[indexCol, ...columns]} columns={reference===AssetManageReference?[indexCol, ...columns, tagCol]:[indexCol, ...columns, tagCol]}
rowKey='id' rowKey='id'
dataSource={realAssets} dataSource={realAssets}
pagination={false} pagination={false}
......
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