Commit c7e7e17c authored by 涂伟's avatar 涂伟
parents cdd74919 a4fc9746
Pipeline #72833 passed with stages
......@@ -120,61 +120,73 @@ const Integrate = () => {
// </span>
// ),
// },
// {
// title: '外网地址',
// dataIndex: 'InternetAddress',
// key: 'InternetAddress',
// align: 'center',
// render: record => {
// if (record) {
// return (
// <Tooltip title={record}>
// <span style={{ color: '#50aefc', cursor: 'pointer' }}>已配置</span>
// </Tooltip>
// );
// }
// return <span>未配置</span>;
// },
// },
// {
// title: '内网地址',
// dataIndex: 'IntranetAddress',
// key: 'IntranetAddress',
// align: 'center',
// render: record => {
// if (record) {
// return (
// <Tooltip title={record}>
// <span style={{ color: '#50aefc', cursor: 'pointer' }}>已配置</span>
// </Tooltip>
// );
// }
// return <span>未配置</span>;
// },
// },
// {
// title: '账号参数',
// dataIndex: 'AccountParamKey',
// key: 'AccountParamKey',
// align: 'center',
// render: (text, record) => (
// <span>
// <Tooltip placement="top" title={text}>
// {text}
// </Tooltip>
// </span>
// ),
// },
// {
// title: '账号值',
// dataIndex: 'AccountParamValue',
// key: 'AccountParamValue',
// align: 'center',
// render: record => {
// if (record === 1) {
// return <span>熊猫ticket</span>;
// }
// return <span>熊猫token</span>;
// },
// },
{
title: '外网地址',
dataIndex: 'InternetAddress',
key: 'InternetAddress',
align: 'center',
render: record => {
if (record) {
return (
<Tooltip title={record}>
<span style={{ color: '#50aefc', cursor: 'pointer' }}>已配置</span>
</Tooltip>
);
}
return <span>未配置</span>;
},
},
{
title: '内网地址',
dataIndex: 'IntranetAddress',
key: 'IntranetAddress',
align: 'center',
render: record => {
if (record) {
return (
<Tooltip title={record}>
<span style={{ color: '#50aefc', cursor: 'pointer' }}>已配置</span>
</Tooltip>
);
}
return <span>未配置</span>;
},
},
{
title: '账号参数',
dataIndex: 'AccountParamKey',
key: 'AccountParamKey',
align: 'center',
render: (text, record) => (
<span>
<Tooltip placement="top" title={text}>
{text}
</Tooltip>
</span>
),
},
{
title: '账号值',
dataIndex: 'AccountParamValue',
key: 'AccountParamValue',
title: '身份验证',
dataIndex: 'siteType',
key: 'siteType',
align: 'center',
render: record => {
if (record === 1) {
return <span>熊猫ticket</span>;
if (record === 0) {
return <Tag color="success">被动</Tag>;
}
return <span>熊猫token</span>;
return <Tag color="processing">主动</Tag>;
},
},
{
......
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