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
34d478a5
Commit
34d478a5
authored
Jul 13, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云资源详情页传参
parent
758d6cab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
13 deletions
+26
-13
src/pages/workbench/fwgl/approveWorkspace.vue
src/pages/workbench/fwgl/approveWorkspace.vue
+7
-6
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+11
-5
src/pages/workbench/fwgl/organizationCloudResource.vue
src/pages/workbench/fwgl/organizationCloudResource.vue
+8
-2
No files found.
src/pages/workbench/fwgl/approveWorkspace.vue
View file @
34d478a5
...
...
@@ -91,18 +91,19 @@ export default {
detailAction
(
item
)
{
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/cloud_detail/
${
item
.
id
}
`
,
query
:
{
apply_id
:
item
.
apply_id
,
apply_type
:
item
.
apply_type
,
use_uid
:
item
.
use_uid
,
user_id
:
item
.
user_id
,
},
});
},
approveAction
(
item
)
{
let
action
=
(
type
)
=>
{
this
.
$http
.
put
(
"
/apaas/service/v3/resource/apply/approve
"
,
null
,
{
params
:
{
apply_id
:
item
.
apply_id
,
apply_type
:
item
.
apply_type
,
cloud_id
:
item
.
id
,
apply_state
:
type
,
},
params
:
{},
})
.
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
...
...
src/pages/workbench/fwgl/fwglList.vue
View file @
34d478a5
...
...
@@ -1223,12 +1223,12 @@ export default {
total
:
cloud
.
memory_total
,
unit
:
"
(GB)
"
,
},
{
/*
{
name: "数据盘使用量",
value: cloud.disk_use,
total: cloud.disk_total,
unit: "(GB)",
},
},
*/
{
name
:
"
容器组使用量
"
,
value
:
cloud
.
containers_use
,
...
...
@@ -1252,12 +1252,12 @@ export default {
total
:
cloud
.
memory_total
,
unit
:
"
(GB)
"
,
},
{
/*
{
name: "数据盘使用量",
value: cloud.disk_use,
total: cloud.disk_total,
unit: "(GB)",
},
},
*/
{
name
:
"
容器组使用量
"
,
value
:
cloud
.
containers_use
,
...
...
@@ -1488,6 +1488,12 @@ export default {
cloudDetail
(
item
)
{
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/cloud_detail/
${
item
.
id
}
`
,
query
:
{
apply_id
:
item
.
apply_id
,
apply_type
:
item
.
apply_type
,
use_uid
:
item
.
use_uid
,
user_id
:
item
.
user_id
,
},
});
},
cloudAllot
(
item
)
{
...
...
@@ -2037,7 +2043,7 @@ export default {
<
style
scoped
>
.service_management_list
{
height
:
100%
;
min-width
:
1
5
00px
;
min-width
:
1
2
00px
;
}
.cloud_title
{
margin-top
:
15px
;
...
...
src/pages/workbench/fwgl/organizationCloudResource.vue
View file @
34d478a5
...
...
@@ -119,12 +119,12 @@ export default {
total
:
cloud
.
memory_total
,
unit
:
"
(GB)
"
,
},
{
/*
{
name: "数据盘使用量",
value: cloud.disk_use,
total: cloud.disk_total,
unit: "(GB)",
},
},
*/
{
name
:
"
容器组使用量
"
,
value
:
cloud
.
containers_use
,
...
...
@@ -323,6 +323,12 @@ export default {
detailAction
(
item
)
{
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/cloud_detail/
${
item
.
id
}
`
,
query
:
{
apply_id
:
item
.
apply_id
,
apply_type
:
item
.
apply_type
,
use_uid
:
item
.
use_uid
,
user_id
:
item
.
user_id
,
},
});
},
stateAction
(
item
)
{
...
...
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