Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
89e3088d
Commit
89e3088d
authored
Sep 14, 2023
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
众创应用管理跳转修改
parent
fa62f3c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
52 deletions
+54
-52
src/api/base.js
+1
-0
src/views/jump.vue
+3
-0
src/views/rzcx/jszcyygl.vue
+50
-52
No files found.
src/api/base.js
View file @
89e3088d
...
...
@@ -11,6 +11,7 @@ let base = {
codeUrl
:
""
,
BaseURL
:
"/apiAjzbGaw"
,
//"/apiAjzbGaw", //基础查询页得ip apiAjzb
rzURL
:
"/apiXzxtGaw"
,
// "/apiXzxtGaw", //刑专二期得(日志)ip
wokerURL
:
'/apiWoker'
,
//工作桌面
ydjwURL
:
"/apiYdjw"
,
//移动警务终端版本管理
qgcxURL
:
'/apiQgCx'
,
// 全国查询
cadaURL
:
'/cadaURL'
,
...
...
src/views/jump.vue
View file @
89e3088d
...
...
@@ -30,6 +30,9 @@ export default {
token
:
userToken
,
appToken
:
appToken
,
};
if
(
self
.
$route
.
query
.
info
){
sessionStorage
.
setItem
(
'zhyyToken'
,
self
.
$route
.
query
.
info
)
}
var
params
=
new
URLSearchParams
();
var
zjhm
=
""
;
if
(
self
.
$route
.
query
?.
idcard
)
{
...
...
src/views/rzcx/jszcyygl.vue
View file @
89e3088d
...
...
@@ -22,6 +22,9 @@
<
script
>
import
SelectTree
from
"@c/tree_components.vue"
;
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
url
from
"@/api/base"
;
import
request
from
"@/utils/axiosHttp.js"
;
import
qs
from
"qs"
;
export
default
{
name
:
"ptCxForm"
,
components
:
{
...
...
@@ -72,58 +75,53 @@ export default {
},
methods
:
{
goDetail
(
type
)
{
var
url
=
"http://89.0.23.203:9047/api/sys/getTokenForUser"
;
//线上应用
$
.
ajax
({
url
:
url
,
type
:
"post"
,
xhrFields
:
{
withCredentials
:
true
,
},
crossdomain
:
true
,
success
:
function
(
data
)
{
var
redirect
=
""
;
if
(
"magl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/sso/xzxtSSO?systemID=MA0101000055"
;
}
else
if
(
"sqgl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/sheqiang/main?V=1&desktopAppId=4035"
;
}
else
if
(
"gmgl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/zxyw_gab_aly/zxywLink.jsp?biz=gmfnet"
;
}
else
if
(
"wzmstgl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/wmst/#/?desktopAppId=4045"
;
}
else
if
(
"szrygl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/szry/#/?desktopAppId=4044"
;
}
else
if
(
"rxbd"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/wjrxbd/index?desktopAppId=2901&desktopAppId=2901"
;
}
else
if
(
"zczl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/zcxz/zczl/request.do?desktopAppId=2321"
;
}
else
if
(
"shce"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/portal_shce/shce/index.jsp"
;
}
else
if
(
"wwfz"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/zxyw_ww/zxywLink.jsp?biz=wwfz&logo=wwfz&desktopAppId=2007"
;
}
else
if
(
"sdqpcl"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/zxyw_dqpcl/sendDimension/sendDimension.do?viewId=v_tb_sdqpcl&ywrk=ASJGLLB&xwzt=ASJGL001&jspUrl=/pages/sdqpcl/index.jsp&searchView=v_tb_sdqpcl~search&biz=dqpjdc&logo=sdqpjdcgl&desktopAppId=1769"
;
}
else
if
(
"qgztry"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/ztry/dist/index.html#/ztxxlr"
;
}
else
if
(
"shce"
==
type
)
{
redirect
=
"&redirect_url=http://xz.xz.ga/portal_shce/shce/index_version2.jsp"
;
}
data
=
data
+
redirect
;
window
.
open
(
data
,
"_blank"
);
},
error
:
function
()
{
console
.
log
(
"获取部系统登录链接失败!"
);
this
.
getToken
.
then
((
res
)
=>
{
let
path
=
""
;
if
(
"magl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/sso/xzxtSSO?systemID=MA0101000055"
;
}
else
if
(
"sqgl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/sheqiang/main?V=1&desktopAppId=4035"
;
}
else
if
(
"gmgl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/zxyw_gab_aly/zxywLink.jsp?biz=gmfnet"
;
}
else
if
(
"wzmstgl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/wmst/#/?desktopAppId=4045"
;
}
else
if
(
"szrygl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/szry/#/?desktopAppId=4044"
;
}
else
if
(
"rxbd"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/wjrxbd/index?desktopAppId=2901&desktopAppId=2901"
;
}
else
if
(
"zczl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/zcxz/zczl/request.do?desktopAppId=2321"
;
}
else
if
(
"shce"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/portal_shce/shce/index.jsp"
;
}
else
if
(
"wwfz"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/zxyw_ww/zxywLink.jsp?biz=wwfz&logo=wwfz&desktopAppId=2007"
;
}
else
if
(
"sdqpcl"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/zxyw_dqpcl/sendDimension/sendDimension.do?viewId=v_tb_sdqpcl&ywrk=ASJGLLB&xwzt=ASJGL001&jspUrl=/pages/sdqpcl/index.jsp&searchView=v_tb_sdqpcl~search&biz=dqpjdc&logo=sdqpjdcgl&desktopAppId=1769"
;
}
else
if
(
"qgztry"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/ztry/dist/index.html#/ztxxlr"
;
}
else
if
(
"shce"
==
type
)
{
path
=
res
.
data
.
url
+
"&redirect_url=http://xz.xz.ga/portal_shce/shce/index_version2.jsp"
;
}
window
.
open
(
path
,
"_blank"
);
});
},
getToken
(
params
)
{
return
request
({
url
:
url
.
wokerURL
+
"/api/sys/getTokenForUser"
,
params
:
qs
.
stringify
(
params
),
method
:
"post"
,
headers
:
{
"content-type"
:
"application/x-www-form-urlencoded"
,
"blade-auth"
:
sessionStorage
.
getItem
(
"zhyyToken"
),
},
});
},
...
...
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