Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
c7e7e17c
Commit
c7e7e17c
authored
May 22, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/ReactWeb5/maintenance
parents
cdd74919
a4fc9746
Pipeline
#72833
passed with stages
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
51 deletions
+63
-51
AddModal.jsx
src/pages/platformCenter/integratedLogin/AddModal.jsx
+0
-0
Integrate.jsx
src/pages/platformCenter/integratedLogin/Integrate.jsx
+63
-51
No files found.
src/pages/platformCenter/integratedLogin/AddModal.jsx
View file @
c7e7e17c
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/integratedLogin/Integrate.jsx
View file @
c7e7e17c
...
...
@@ -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
>;
},
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment