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
9122e1b8
Commit
9122e1b8
authored
Jul 30, 2020
by
张豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加智能制图服务发布传参
parent
7bb655f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
src/pages/workbench/intelligent_drawing.vue
src/pages/workbench/intelligent_drawing.vue
+13
-11
No files found.
src/pages/workbench/intelligent_drawing.vue
View file @
9122e1b8
...
...
@@ -21,17 +21,19 @@ export default {
};
},
mounted
()
{
// window.addEventListener('message',event =>{
// let data = event.data;
// if (data.cmd == 'mapviewmsg'){
// this.$router.push({
// name: "intelligent_details",
// query: {
// id: data.params.id
// }
// });
// }
// })
window
.
addEventListener
(
'
message
'
,
event
=>
{
let
data
=
event
.
data
;
// 智能制图发布服务
if
(
data
.
cmd
==
'
mapviewmsg
'
){
console
.
log
(
data
);
this
.
$router
.
push
(
`/fwzc/fwcs`
);
}
// App Builder发布服务
if
(
data
.
cmd
==
'
appbuildermsg
'
){
console
.
log
(
data
);
this
.
$router
.
push
(
`/fwzc/fwcs`
);
}
})
},
methods
:
{},
};
...
...
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