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
fc17c0b7
Commit
fc17c0b7
authored
Aug 05, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试portal
parent
9efd7f9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+12
-8
No files found.
src/pages/workbench/fwzc_fwcs.vue
View file @
fc17c0b7
...
@@ -355,7 +355,10 @@
...
@@ -355,7 +355,10 @@
</block-radius>
</block-radius>
</div>
</div>
<div>
<div>
<iframe
src=
"https://apaasgis.wodcloud.com/portal/apaasplat/viewer/autologin.html"
style=
"width: 1000px;height: 600px"
></iframe>
<iframe
src=
"https://apaasgis.wodcloud.com/portal/apaasplat/viewer/autologin.html"
style=
"width: 1000px;height: 600px"
></iframe>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -749,8 +752,10 @@ export default {
...
@@ -749,8 +752,10 @@ export default {
this
.
$message
.
error
(
"
请完善返回参数信息中的字段名称
"
);
this
.
$message
.
error
(
"
请完善返回参数信息中的字段名称
"
);
}
}
}
else
if
(
this
.
activeBtn
==
1
)
{
}
else
if
(
this
.
activeBtn
==
1
)
{
console
.
log
(
this
.
portalUser
);
if
(
this
.
portalUser
.
username
&&
this
.
portalUser
.
username
!=
""
)
{
if
(
this
.
portalUser
.
username
&&
this
.
portalUser
.
username
!=
""
)
{
let
value
=
helper
.
getQueryString
(
"
id
"
,
this
.
serviceUrl
);
let
value
=
helper
.
getQueryString
(
"
id
"
,
this
.
serviceUrl
);
console
.
log
(
value
);
if
(
value
&&
value
!=
""
)
{
if
(
value
&&
value
!=
""
)
{
this
.
getItemInfo
(
value
);
this
.
getItemInfo
(
value
);
}
else
{
}
else
{
...
@@ -948,7 +953,7 @@ export default {
...
@@ -948,7 +953,7 @@ export default {
token
:
self
.
portalUser
.
token
,
token
:
self
.
portalUser
.
token
,
};
};
self
.
$http
self
.
$http
.
post
(
url
,
data
,
{
emulateJSON
:
true
})
.
post
(
url
,
data
,
{
emulateJSON
:
true
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
self
.
shareItem
(
response
.
data
.
id
);
self
.
shareItem
(
response
.
data
.
id
);
...
@@ -982,7 +987,7 @@ export default {
...
@@ -982,7 +987,7 @@ export default {
groups
:
null
,
groups
:
null
,
};
};
self
.
$http
self
.
$http
.
post
(
searchUrl
,
data
,
{
emulateJSON
:
true
})
.
post
(
searchUrl
,
data
,
{
emulateJSON
:
true
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
})
})
...
@@ -993,7 +998,7 @@ export default {
...
@@ -993,7 +998,7 @@ export default {
getItemInfo
(
itemid
)
{
getItemInfo
(
itemid
)
{
console
.
log
(
`获取portal参数
${
itemid
}
`
);
console
.
log
(
`获取portal参数
${
itemid
}
`
);
let
self
=
this
;
let
self
=
this
;
console
.
log
(
self
.
portalUser
)
console
.
log
(
self
.
portalUser
)
;
let
searchUrl
=
let
searchUrl
=
"
https://apaasgis.wodcloud.com/portal//portal/sharing/rest/content/users/
"
+
"
https://apaasgis.wodcloud.com/portal//portal/sharing/rest/content/users/
"
+
self
.
portalUser
.
username
+
self
.
portalUser
.
username
+
...
@@ -1004,7 +1009,7 @@ export default {
...
@@ -1004,7 +1009,7 @@ export default {
f
:
"
json
"
,
f
:
"
json
"
,
};
};
self
.
$http
self
.
$http
.
post
(
searchUrl
,
data
,
{
emulateJSON
:
true
})
.
post
(
searchUrl
,
data
,
{
emulateJSON
:
true
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
...
@@ -1032,9 +1037,8 @@ export default {
...
@@ -1032,9 +1037,8 @@ export default {
self
.
portalUser
.
token
;
self
.
portalUser
.
token
;
self
.
iportal_id
=
data
.
item
.
id
;
self
.
iportal_id
=
data
.
item
.
id
;
self
.
serviceUrl
=
data
.
item
.
url
;
self
.
serviceUrl
=
data
.
item
.
url
;
self
.
portal_data_service_type_2
=
self
.
dataTree_apaas_config
[
self
.
portal_data_service_type_2
=
data
.
item
.
type
self
.
dataTree_apaas_config
[
data
.
item
.
type
];
];
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
...
...
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