Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
cd30d313
Commit
cd30d313
authored
Aug 06, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布智能制图获取参数+portal登出
parent
3e260a02
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
src/components/menu.vue
src/components/menu.vue
+1
-1
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+15
-3
src/request/api/general.js
src/request/api/general.js
+1
-0
No files found.
src/components/menu.vue
View file @
cd30d313
...
...
@@ -146,7 +146,7 @@ export default {
},
gotopage
(
n
)
{
if
(
n
==
"
logout
"
)
{
window
.
location
.
href
=
"
/iam/api/logout
"
;
window
.
location
.
href
=
"
https://apaasgis.wodcloud.com/portal/sharing/rest/oauth2/signout?client_id=arcgisonline&redirect_uri=https://apaas3.wodcloud.com
/iam/api/logout
"
;
}
else
if
(
n
==
"
login
"
)
{
let
path
=
this
.
$route
.
path
;
window
.
location
.
href
=
"
/iam/login/#/login?ReturnUrl=
"
+
path
;
...
...
src/pages/workbench/fwzc_fwcs.vue
View file @
cd30d313
...
...
@@ -908,9 +908,21 @@ export default {
});
},
judgeMap
()
{
if
(
this
.
$route
.
query
.
map
&&
this
.
$route
.
query
.
map
!=
0
)
{
this
.
is_map
=
true
;
this
.
jcxxtx
=
true
;
let
self
=
this
;
if
(
self
.
$route
.
query
.
map
&&
self
.
$route
.
query
.
map
!=
0
)
{
self
.
is_map
=
true
;
self
.
jcxxtx
=
true
;
if
(
self
.
$store
.
state
.
znztParams
)
{
let
data
=
this
.
$store
.
state
.
znztParams
;
console
.
log
(
data
);
self
.
form
.
name
=
data
.
name
;
self
.
form
.
desc
=
data
.
descript
;
self
.
form
.
area
=
Number
(
data
.
sectors
);
self
.
serviceUrl
=
data
.
url
;
self
.
skfwQqt
=
Number
(
data
.
data_service_type2
);
self
.
cover
[
0
]
=
data
.
cover
;
self
.
is_portal
=
true
;
}
}
},
goto
(
path
)
{
...
...
src/request/api/general.js
View file @
cd30d313
...
...
@@ -3,6 +3,7 @@ import qs from 'qs'; // 根据需求是否导入qs模块
const
general
=
{
// general api
// logout is not used
logout
(
params
)
{
return
axios
.
get
(
`/iam/api/logout?ReturnUrl=
${
encodeURIComponent
(
params
.
returnUrl
)}
`
);
},
...
...
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