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
85bf45da
Commit
85bf45da
authored
Aug 06, 2020
by
张豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加configmap配置
parent
1b82f183
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
8 deletions
+19
-8
config/index.js
config/index.js
+1
-1
index.html
index.html
+1
-0
src/components/menu.vue
src/components/menu.vue
+2
-1
src/components/service-info/map-view.vue
src/components/service-info/map-view.vue
+2
-1
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+4
-2
src/pages/workbench/intelligent_appbuilder.vue
src/pages/workbench/intelligent_appbuilder.vue
+2
-1
src/pages/workbench/intelligent_details.vue
src/pages/workbench/intelligent_details.vue
+2
-1
src/pages/workbench/intelligent_drawing.vue
src/pages/workbench/intelligent_drawing.vue
+2
-1
static/configmap.js
static/configmap.js
+3
-0
No files found.
config/index.js
View file @
85bf45da
...
@@ -8,7 +8,7 @@ module.exports = {
...
@@ -8,7 +8,7 @@ module.exports = {
dev
:
{
dev
:
{
// Paths
// Paths
assetsSubDirectory
:
"
static
"
,
assetsSubDirectory
:
"
static
"
,
assetsPublicPath
:
"
/
"
,
assetsPublicPath
:
"
/
apaas/ui/
"
,
proxyTable
:
{
proxyTable
:
{
"
/apaas
"
:
{
"
/apaas
"
:
{
target
:
"
https://apaas3.wodcloud.com/apaas/
"
,
target
:
"
https://apaas3.wodcloud.com/apaas/
"
,
...
...
index.html
View file @
85bf45da
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
}
}
</style>
</style>
</head>
</head>
<script
src=
"/apaas/ui/static/configmap.js"
></script>
<body>
<body>
<div
id=
"app"
></div>
<div
id=
"app"
></div>
</body>
</body>
...
...
src/components/menu.vue
View file @
85bf45da
...
@@ -102,6 +102,7 @@
...
@@ -102,6 +102,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -146,7 +147,7 @@ export default {
...
@@ -146,7 +147,7 @@ export default {
},
},
gotopage
(
n
)
{
gotopage
(
n
)
{
if
(
n
==
"
logout
"
)
{
if
(
n
==
"
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
"
;
window
.
location
.
href
=
gisServiceUrl
+
"
/portal/sharing/rest/oauth2/signout?client_id=arcgisonline&redirect_uri=https://apaas3.wodcloud.com/iam/api/logout
"
;
}
else
if
(
n
==
"
login
"
)
{
}
else
if
(
n
==
"
login
"
)
{
let
path
=
this
.
$route
.
path
;
let
path
=
this
.
$route
.
path
;
window
.
location
.
href
=
"
/iam/login/#/login?ReturnUrl=
"
+
path
;
window
.
location
.
href
=
"
/iam/login/#/login?ReturnUrl=
"
+
path
;
...
...
src/components/service-info/map-view.vue
View file @
85bf45da
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
export
default
{
name
:
"
map-view
"
,
name
:
"
map-view
"
,
data
:
()
=>
({
data
:
()
=>
({
...
@@ -35,7 +36,7 @@ export default {
...
@@ -35,7 +36,7 @@ export default {
},
},
methods
:
{
methods
:
{
viewAction
()
{
viewAction
()
{
this
.
src
=
`https://apaasgis.wodcloud.com
/portal/apaasplat/viewer/previewMap.html?id=
${
this
.
id
}
`
;
this
.
src
=
gisServiceUrl
+
`
/portal/apaasplat/viewer/previewMap.html?id=
${
this
.
id
}
`
;
this
.
showDialog
=
true
;
this
.
showDialog
=
true
;
},
},
beforeClose
(
done
)
{
beforeClose
(
done
)
{
...
...
src/pages/workbench/fwzc_fwcs.vue
View file @
85bf45da
...
@@ -357,7 +357,7 @@
...
@@ -357,7 +357,7 @@
<div
style=
"display: none"
>
<div
style=
"display: none"
>
<iframe
<iframe
id=
"listener"
id=
"listener"
src=
"https://apaasgis.wodcloud.com/portal/apaasplat/viewer/addPortalItem.htm
l"
:src=
"addPortalItemUr
l"
></iframe>
></iframe>
</div>
</div>
<apass-dialog
<apass-dialog
...
@@ -371,6 +371,7 @@
...
@@ -371,6 +371,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
import
BlockRadius
from
"
@/components/general/block-radius
"
;
import
BlockRadius
from
"
@/components/general/block-radius
"
;
import
CesTable
from
"
@/components/table/table-um
"
;
import
CesTable
from
"
@/components/table/table-um
"
;
import
Codes
from
"
@/components/general/codes
"
;
import
Codes
from
"
@/components/general/codes
"
;
...
@@ -387,6 +388,7 @@ export default {
...
@@ -387,6 +388,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
addPortalItemUrl
:
gisServiceUrl
+
'
/portal/apaasplat/viewer/addPortalItem.html
'
,
btnList
:
[],
btnList
:
[],
activeBtn
:
null
,
activeBtn
:
null
,
serviceUrl
:
""
,
serviceUrl
:
""
,
...
@@ -1040,7 +1042,7 @@ export default {
...
@@ -1040,7 +1042,7 @@ export default {
listeners
(
event
)
{
listeners
(
event
)
{
console
.
log
(
event
);
console
.
log
(
event
);
let
self
=
this
;
let
self
=
this
;
if
(
event
&&
event
.
origin
==
"
https://apaasgis.wodcloud.com
"
&&
event
.
data
)
{
if
(
event
&&
event
.
origin
==
gisServiceUrl
&&
event
.
data
)
{
if
(
event
.
data
.
cmd
==
"
getPortalItemInfo
"
)
{
if
(
event
.
data
.
cmd
==
"
getPortalItemInfo
"
)
{
console
.
log
(
event
.
data
.
params
);
console
.
log
(
event
.
data
.
params
);
let
data
=
event
.
data
.
params
;
let
data
=
event
.
data
.
params
;
...
...
src/pages/workbench/intelligent_appbuilder.vue
View file @
85bf45da
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
originUrl
:
'
https://apaasgis.wodcloud.com
/portal/apps/webappbuilder/index.html
'
originUrl
:
gisServiceUrl
+
'
/portal/apps/webappbuilder/index.html
'
};
};
},
},
computed
:{
computed
:{
...
...
src/pages/workbench/intelligent_details.vue
View file @
85bf45da
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
originUrl
:
'
https://apaasgis.wodcloud.com
/portal/apaasplat/viewer/item.html
'
,
originUrl
:
gisServiceUrl
+
'
/portal/apaasplat/viewer/item.html
'
,
};
};
},
},
computed
:{
computed
:{
...
...
src/pages/workbench/intelligent_drawing.vue
View file @
85bf45da
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
<
script
>
<
script
>
import
{
mapState
}
from
"
vuex
"
;
import
{
mapState
}
from
"
vuex
"
;
const
gisServiceUrl
=
window
.
serviceConfig
.
gisServiceRoot
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
url
:
'
https://apaasgis.wodcloud.com
/portal/apaasplat/viewer/mapViewer.html
'
,
url
:
gisServiceUrl
+
'
/portal/apaasplat/viewer/mapViewer.html
'
,
queryType
:
''
,
queryType
:
''
,
id
:
''
,
id
:
''
,
};
};
...
...
static/configmap.js
0 → 100644
View file @
85bf45da
window
.
serviceConfig
=
{
gisServiceRoot
:
'
https://apaasgis.wodcloud.com
'
};
\ No newline at end of file
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