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
673fea2e
Commit
673fea2e
authored
Aug 05, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
61dba4fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
38 deletions
+9
-38
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+9
-38
No files found.
src/pages/workbench/fwzc_fwcs.vue
View file @
673fea2e
...
...
@@ -540,40 +540,6 @@ export default {
is_map
:
false
,
param_fields
:
[],
body_fields
:
[],
dataTree_apaas_config
:
{
"
18
"
:
"
Map Service
"
,
"
19
"
:
"
Feature Service
"
,
"
20
"
:
"
Web Map
"
,
"
31
"
:
"
WFS
"
,
"
32
"
:
"
WMS
"
,
"
Map Service
"
:
"
18
"
,
"
Feature Service
"
:
"
19
"
,
"
Web Map
"
:
"
20
"
,
WFS
:
"
31
"
,
WMS
:
"
32
"
,
},
//数据服务页面中行业分类配置项
industryTree_apaas_Config
:
{
"
1
"
:
"
T001
"
,
"
2
"
:
"
T002
"
,
"
3
"
:
"
T004
"
,
"
4
"
:
"
T005
"
,
"
25
"
:
"
T006
"
,
"
26
"
:
"
T007
"
,
"
27
"
:
"
T008
"
,
"
28
"
:
"
T009
"
,
"
29
"
:
"
T010
"
,
T001
:
"
1
"
,
T002
:
"
2
"
,
T004
:
"
3
"
,
T005
:
"
4
"
,
T006
:
"
25
"
,
T007
:
"
26
"
,
T008
:
"
27
"
,
T009
:
"
28
"
,
T010
:
"
29
"
,
},
portal_data_service_type_2
:
""
,
};
},
computed
:
{},
...
...
@@ -837,8 +803,6 @@ export default {
?
12
:
this
.
activeBtn
==
1
?
this
.
skfwQqt
:
this
.
activeBtn
==
2
?
portal_data_service_type_2
:
this
.
activeBtn
==
4
?
this
.
zhyyVal
:
0
,
...
...
@@ -937,7 +901,7 @@ export default {
},
addPortalItem
()
{
console
.
log
(
"
添加portal
"
);
document
.
getElementById
(
"
listener
"
).
postMessage
(
document
.
getElementById
(
"
listener
"
).
contentWindow
.
postMessage
(
{
cmd
:
"
addPortalItem
"
,
params
:
{
...
...
@@ -953,7 +917,7 @@ export default {
},
getItemInfo
(
itemid
)
{
console
.
log
(
`获取portal参数
${
itemid
}
`
);
document
.
getElementById
(
"
listener
"
).
postMessage
(
document
.
getElementById
(
"
listener
"
).
contentWindow
.
postMessage
(
{
cmd
:
"
getPortalItem
"
,
params
:
itemid
,
...
...
@@ -968,6 +932,13 @@ export default {
if
(
event
.
origin
==
"
https://apaasgis.wodcloud.com
"
&&
event
.
data
)
{
if
(
event
.
data
.
cmd
==
"
getPortalItemInfo
"
)
{
console
.
log
(
event
.
data
.
params
);
let
data
=
event
.
data
.
params
;
self
.
form
.
name
=
data
.
name
;
self
.
form
.
desc
=
data
.
descript
;
self
.
form
.
area
=
data
.
sectors
;
self
.
serviceUrl
=
data
.
url
;
self
.
skfwQqt
=
data
.
data_service_type2
;
self
.
cover
[
0
]
=
data
.
cover
;
}
else
if
(
event
.
data
.
cmd
==
"
getPortalItemInfoError
"
)
{
console
.
log
(
event
.
data
.
params
);
}
else
if
(
event
.
data
.
cmd
==
"
addPortalItem
"
)
{
...
...
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