Commit 5aedd9a0 authored by 皮倩雯's avatar 皮倩雯

fix: '集成登陆界面样式优化'

parent 42729141
Pipeline #54924 waiting for manual action with stages
......@@ -60,6 +60,18 @@ const Integrate = () => {
width: 60,
align: 'center',
},
{
title: '图标',
dataIndex: 'iconUrl',
key: 'iconUrl',
align: 'center',
width: 200,
render: (text, record) => {
if (text) {
return <Image src={window.location.origin + `/${text}`} height="50px" />;
}
},
},
{
title: '名称',
dataIndex: 'SystemName',
......@@ -74,27 +86,25 @@ const Integrate = () => {
</span>
),
},
// {
// title: '标识',
// dataIndex: 'SystemClient',
// key: 'SystemClient',
// align: 'center',
// ellipsis: true,
// render: (text, record) => (
// <span>
// <Tooltip placement="top" title={text}>
// {searchStyle(text)}
// </Tooltip>
// </span>
// ),
// },
{
title: '内网地址',
dataIndex: 'IntranetAddress',
key: 'IntranetAddress',
title: '副标题',
dataIndex: 'Subtitle',
key: 'Subtitle',
align: 'center',
ellipsis: true,
render: (text, record) => (
<span>
<Tooltip placement="top" title={text}>
{text}
</Tooltip>
</span>
),
},
{
title: '外网地址',
dataIndex: 'InternetAddress',
key: 'InternetAddress',
align: 'center',
// width: 400,
// ellipsis: true,
render: record => {
if (record) {
return (
......@@ -107,21 +117,10 @@ const Integrate = () => {
},
},
{
title: '外网地址',
dataIndex: 'InternetAddress',
key: 'InternetAddress',
// ellipsis: true,
title: '内网地址',
dataIndex: 'IntranetAddress',
key: 'IntranetAddress',
align: 'center',
// maxWidth: 600,
// onCell: () => ({
// style: {
// maxWidth: 600,
// overflow: 'hidden',
// whiteSpace: 'nowrap',
// textOverflow: 'ellipsis',
// cursor: 'pointer',
// },
// }),
render: record => {
if (record) {
return (
......@@ -134,28 +133,30 @@ const Integrate = () => {
},
},
{
title: '图标',
dataIndex: 'iconUrl',
key: 'iconUrl',
title: '账号参数',
dataIndex: 'AccountParam',
key: 'AccountParam',
align: 'center',
width: 200,
render: (text, record) => {
if (text) {
// if (text.startsWith('CityTemp') || text.startsWith('civ_integratedlogin')) {
// return <Image src={`http://192.168.12.116:8017/${text}`} height="50px" />;
// } else {
return <Image src={window.location.origin + `/${text}`} height="50px" />;
// }
render: (text, record) => (
<span>
<Tooltip placement="top" title={text}>
{text[0].key}
</Tooltip>
</span>
),
},
{
title: '账号值',
dataIndex: 'AccountParam',
key: 'AccountParam',
align: 'center',
render: record => {
if (record === '1') {
return <span>熊猫ticket</span>;
}
return <span>熊猫token</span>;
},
},
// {
// title: '参数',
// dataIndex: 'AccountParam',
// key: 'AccountParam',
// align: 'center',
// width: 200,
// },
{
title: '操作',
key: 'action',
......
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