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
6173d950
Commit
6173d950
authored
Aug 19, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
namespace请求单个运行状态
parent
7b2060cc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
src/components/service-list/commodity-cell.vue
src/components/service-list/commodity-cell.vue
+2
-2
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+3
-1
src/request/api/workbench.js
src/request/api/workbench.js
+5
-0
No files found.
src/components/service-list/commodity-cell.vue
View file @
6173d950
...
...
@@ -80,7 +80,7 @@ export default {
<
style
scoped
>
.com_cell
{
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
space-between
;
padding
:
20px
10px
;
border-bottom
:
2px
#f4f7fc
solid
;
}
...
...
@@ -97,7 +97,7 @@ export default {
}
.com_cell_message
{
padding-left
:
20px
;
width
:
calc
(
100%
-
4
2
0px
);
width
:
calc
(
100%
-
4
7
0px
);
}
.com_cell_msg_title
{
color
:
#0d1847
;
...
...
src/pages/workbench/fwgl/serviceDetail.vue
View file @
6173d950
...
...
@@ -613,7 +613,8 @@ export default {
});
},
getData
()
{
this
.
$api
.
workbench
.
getServiceTopology
().
then
((
response
)
=>
{
console
.
log
(
this
.
namespace
)
this
.
$api
.
workbench
.
getServiceRunningTopology
({
namespace
:
this
.
namespace
}).
then
((
response
)
=>
{
this
.
datas
=
response
.
data
.
elements
;
});
},
...
...
@@ -626,6 +627,7 @@ export default {
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
===
1
)
{
let
data
=
response
.
data
.
data
;
this
.
namespace
=
data
.
namespace
;
if
(
data
.
workflows_id
){
this
.
workflows_id
=
data
.
workflows_id
}
...
...
src/request/api/workbench.js
View file @
6173d950
...
...
@@ -82,6 +82,11 @@ const workbench = {
releaseProcess
(
params
)
{
return
axios
.
post
(
`/apaas/serviceapp/v3/workflows/publish`
,
params
)
},
// get service running topology
getServiceRunningTopology
(
params
)
{
return
axios
.
get
(
`/apaas/istio/service/apaas-proxy/overview/
${
params
.
namespace
}
`
)
},
}
export
default
workbench
;
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