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
4de6c1b1
Commit
4de6c1b1
authored
Mar 02, 2021
by
刘殿昕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
c66233bb
6f02be43
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
config/index.js
config/index.js
+3
-3
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+4
-1
static/config/configmap.js
static/config/configmap.js
+2
-1
No files found.
config/index.js
View file @
4de6c1b1
...
@@ -11,21 +11,21 @@ module.exports = {
...
@@ -11,21 +11,21 @@ module.exports = {
assetsPublicPath
:
"
/apaas/ui/
"
,
assetsPublicPath
:
"
/apaas/ui/
"
,
proxyTable
:
{
proxyTable
:
{
"
/apaas
"
:
{
"
/apaas
"
:
{
target
:
"
https://apaas
.test
.wodcloud.com/apaas/
"
,
target
:
"
https://apaas
3
.wodcloud.com/apaas/
"
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
"
^/apaas
"
:
""
"
^/apaas
"
:
""
}
}
},
},
"
/awecloud
"
:
{
"
/awecloud
"
:
{
target
:
"
https://apaas
.test
.wodcloud.com/awecloud/
"
,
target
:
"
https://apaas
3
.wodcloud.com/awecloud/
"
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
"
^/awecloud
"
:
""
"
^/awecloud
"
:
""
}
}
},
},
"
/vmap
"
:
{
"
/vmap
"
:
{
target
:
"
https://apaas
.test
.wodcloud.com/vmap/
"
,
target
:
"
https://apaas
3
.wodcloud.com/vmap/
"
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
"
^/vmap
"
:
""
"
^/vmap
"
:
""
...
...
src/pages/workbench/workPlace.vue
View file @
4de6c1b1
...
@@ -353,6 +353,7 @@ import { mapGetters, mapState } from "vuex";
...
@@ -353,6 +353,7 @@ import { mapGetters, mapState } from "vuex";
import
{
getCookie
}
from
"
../../services/cookie
"
;
import
{
getCookie
}
from
"
../../services/cookie
"
;
var
echarts
=
require
(
"
echarts
"
);
var
echarts
=
require
(
"
echarts
"
);
const
state
=
window
.
serviceConfig
.
state
;
const
state
=
window
.
serviceConfig
.
state
;
const
cloudServiceRoot
=
window
.
serviceConfig
.
cloudServiceRoot
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -1056,7 +1057,9 @@ export default {
...
@@ -1056,7 +1057,9 @@ export default {
...
mapGetters
([
"
level
"
]),
...
mapGetters
([
"
level
"
]),
...
mapState
([
"
userInfo
"
])
...
mapState
([
"
userInfo
"
])
},
},
created
()
{},
created
()
{
this
.
manage_arr
[
this
.
manage_arr
.
length
-
1
].
url
=
cloudServiceRoot
;
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
level
);
console
.
log
(
this
.
level
);
if
(
this
.
userInfo
)
{
if
(
this
.
userInfo
)
{
...
...
static/config/configmap.js
View file @
4de6c1b1
window
.
serviceConfig
=
{
window
.
serviceConfig
=
{
gisServiceRoot
:
'
https://apaasgis.wodcloud.com
'
,
gisServiceRoot
:
'
https://apaasgis.wodcloud.com
'
,
state
:
"
needLogin
"
// needLogin / notNeedLogin
state
:
"
needLogin
"
,
// needLogin / notNeedLogin
cloudServiceRoot
:
'
https://cloud4.wodcloud.com/awecloud/login/#/
'
,
};
};
\ 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