Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
Project
Project
Details
Activity
Releases
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
李良停
sh-ds
Commits
e70a2818
Commit
e70a2818
authored
Jun 29, 2021
by
曹雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more ipds
parent
7ecd21eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
15 deletions
+47
-15
ds.html
eden-authcenter-agent/src/main/resources/templates/ds.html
+47
-15
No files found.
eden-authcenter-agent/src/main/resources/templates/ds.html
View file @
e70a2818
...
...
@@ -12,9 +12,41 @@
var
loginUrl1
=
[[
$
{
loginUrl1
}]];
var
loginUrl2
=
[[
$
{
loginUrl2
}]];
var
loginUrl3
=
[[
$
{
loginUrl3
}]];
var
loginUrl4
=
[[
$
{
loginUrl4
}]];
var
loginUrl5
=
[[
$
{
loginUrl5
}]];
var
loginUrl6
=
[[
$
{
loginUrl6
}]];
var
loginUrl7
=
[[
$
{
loginUrl7
}]];
var
loginUrl8
=
[[
$
{
loginUrl8
}]];
var
loginUrl9
=
[[
$
{
loginUrl9
}]];
var
loginUrl10
=
[[
$
{
loginUrl10
}]];
var
loginUrl11
=
[[
$
{
loginUrl11
}]];
var
loginUrl12
=
[[
$
{
loginUrl12
}]];
var
loginUrl13
=
[[
$
{
loginUrl13
}]];
var
loginUrl14
=
[[
$
{
loginUrl14
}]];
var
loginUrl15
=
[[
$
{
loginUrl15
}]];
var
loginUrl16
=
[[
$
{
loginUrl16
}]];
var
logId
=
[[
$
{
logId
}]];
var
loginType
=
[[
$
{
loginType
}]];
var
ctxPath
=
/*[[@{/}]]*/
''
;
var
idpList
=
{
qpjy
:
loginurl3
,
hpjy
:
loginurl4
,
xhjy
:
loginurl5
,
cnjy
:
loginurl6
,
ptjy
:
loginurl7
,
hkjy
:
loginurl8
,
ypjy
:
loginurl9
,
pdjy
:
loginurl10
,
mhjy
:
loginurl11
,
bsjy
:
loginurl12
,
jsjy
:
loginurl13
,
sjjy
:
loginurl14
,
fxjy
:
loginurl15
,
cmjy
:
loginurl16
,
jajy
:
''
,
jdjy
:
''
,
}
function
toLogin
(
idp
)
{
var
info
=
new
Browser
();
var
baseUrl
=
ctxPath
+
"auth/tologin?logId="
+
logId
+
"&oauthType="
;
...
...
@@ -22,8 +54,8 @@
window
.
location
.
href
=
baseUrl
+
"dianjiaoguan&loginUrl="
+
encodeURIComponent
(
loginUrl1
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
}
else
if
(
idp
==
"edenoperation"
)
{
window
.
location
.
href
=
baseUrl
+
"edenoperation&loginUrl="
+
encodeURIComponent
(
loginUrl2
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
}
else
{
window
.
location
.
href
=
baseUrl
+
idp
+
"&loginUrl="
+
encodeURIComponent
(
loginUrl3
+
"&auth_source="
+
idp
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
}
else
if
(
idpList
[
idp
])
{
window
.
location
.
href
=
baseUrl
+
idp
+
"&loginUrl="
+
encodeURIComponent
(
idpList
[
idp
]
+
"&auth_source="
+
idp
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
}
}
if
(
loginType
&&
loginType
.
length
>
0
){
...
...
@@ -93,24 +125,24 @@
<p>
区域认证
</p>
</div>
<div
class=
"login-btn-district"
>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('hpjy')"
type=
"button"
>
黄浦区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('xhjy')"
type=
"button"
>
徐汇区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('cnjy')"
type=
"button"
>
长宁区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('hpjy')"
type=
"button"
>
黄浦区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('xhjy')"
type=
"button"
>
徐汇区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('cnjy')"
type=
"button"
>
长宁区
</button>
<button
class=
"login-btn-idp"
disabled=
"disabled"
onclick=
"toLogin('jajy')"
type=
"button"
>
静安区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('ptjy')"
type=
"button"
>
普陀区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('hkjy')"
type=
"button"
>
虹口区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('ypjy')"
type=
"button"
>
杨浦区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('pdjy')"
type=
"button"
>
浦东新区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('ptjy')"
type=
"button"
>
普陀区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('hkjy')"
type=
"button"
>
虹口区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('ypjy')"
type=
"button"
>
杨浦区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('pdjy')"
type=
"button"
>
浦东新区
</button>
</div>
<div
class=
"login-btn-district"
>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('mhjy')"
type=
"button"
>
闵行区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('bsjy')"
type=
"button"
>
宝山区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('mhjy')"
type=
"button"
>
闵行区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('bsjy')"
type=
"button"
>
宝山区
</button>
<button
class=
"login-btn-idp"
disabled=
"disabled"
onclick=
"toLogin('jdjy')"
type=
"button"
>
嘉定区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('jsjy')"
type=
"button"
>
金山区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('sjjy')"
type=
"button"
>
松江区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('jsjy')"
type=
"button"
>
金山区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('sjjy')"
type=
"button"
>
松江区
</button>
<button
class=
"login-btn-idp login-btn-idp-enable"
onclick=
"toLogin('qpjy')"
type=
"button"
>
青浦区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('fxjy')"
type=
"button"
>
奉贤区
</button>
<button
class=
"login-btn-idp
"
disabled=
"disabled
"
onclick=
"toLogin('cmjy')"
type=
"button"
>
崇明区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('fxjy')"
type=
"button"
>
奉贤区
</button>
<button
class=
"login-btn-idp
login-btn-idp-enable
"
onclick=
"toLogin('cmjy')"
type=
"button"
>
崇明区
</button>
</div>
</div>
</div>
...
...
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