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
65518830
Commit
65518830
authored
Jun 16, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj' into dev
parents
383364ef
1d508500
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
9 deletions
+30
-9
src/pages/workbench/yygl/deploy_app_detail.vue
src/pages/workbench/yygl/deploy_app_detail.vue
+30
-9
No files found.
src/pages/workbench/yygl/deploy_app_detail.vue
View file @
65518830
...
@@ -204,6 +204,7 @@ import norCard from "@/components/card";
...
@@ -204,6 +204,7 @@ import norCard from "@/components/card";
import
exampleIcon
from
"
@/pages/example/example_icon
"
;
import
exampleIcon
from
"
@/pages/example/example_icon
"
;
import
Topology
from
"
@/components/topology.vue
"
;
import
Topology
from
"
@/components/topology.vue
"
;
import
{
getRole
}
from
"
@/utils/common
"
;
import
{
getRole
}
from
"
@/utils/common
"
;
import
{
mapGetters
,
mapState
}
from
'
vuex
'
export
default
{
export
default
{
components
:
{
components
:
{
infoList
,
infoList
,
...
@@ -478,20 +479,40 @@ export default {
...
@@ -478,20 +479,40 @@ export default {
public_form
:
false
,
public_form
:
false
,
};
};
},
},
computed
:{
...
mapGetters
([
'
level
'
,
]),
...
mapState
([
'
userInfo
'
]),
},
watch
:
{},
watch
:
{},
created
()
{
created
()
{
this
.
now_user
=
this
.
$store
.
state
.
role
;
if
(
this
.
userInfo
){
getRole
().
then
((
data
)
=>
{
this
.
now_user
=
this
.
level
this
.
now_user
=
data
;
}
else
{
this
.
$store
.
commit
(
"
rolefun
"
,
data
);
this
.
getCurrentUser
()
}
this
.
getServiceInfo
();
this
.
getServiceInfo
();
this
.
getServiceBaseInfo
();
this
.
getServiceBaseInfo
();
this
.
getServiceyxztInfo
();
this
.
getServiceyxztInfo
();
this
.
getImageInfo
();
this
.
getImageInfo
();
});
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
getCurrentUser
()
{
this
.
$api
.
user
.
getNowUser
().
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
console
.
log
(
"
--- user info ---
"
);
console
.
log
(
data
.
data
);
console
.
log
(
"
--- user info ---
"
);
this
.
$store
.
commit
(
"
userInfofun
"
,
data
.
data
);
this
.
now_user
=
this
.
level
console
.
log
(
this
.
level
);
}
else
{
console
.
log
(
data
.
errMsg
);
}
});
},
detail
(
val
){
detail
(
val
){
console
.
log
(
val
);
console
.
log
(
val
);
},
},
...
...
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