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
5aedd9a0
Commit
5aedd9a0
authored
Jul 08, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '集成登陆界面样式优化'
parent
42729141
Pipeline
#54924
waiting for manual action with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
51 deletions
+52
-51
Integrate.jsx
src/pages/platformCenter/integratedLogin/Integrate.jsx
+52
-51
No files found.
src/pages/platformCenter/integratedLogin/Integrate.jsx
View file @
5aedd9a0
...
...
@@ -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'
,
...
...
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