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
8770d175
Commit
8770d175
authored
Jul 27, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed:详情页不该展示审批通过后工作区域规格,只会展示当前工作区域规格(资源调整后的)
parent
2506f18a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
src/pages/workbench/fwgl/cloud-detail.vue
src/pages/workbench/fwgl/cloud-detail.vue
+19
-0
No files found.
src/pages/workbench/fwgl/cloud-detail.vue
View file @
8770d175
...
...
@@ -642,6 +642,20 @@ export default {
this
.
tabShow
=
false
;
this
.
activeName
=
"
0
"
;
}
/**
* 资源调整通过后,"工作区域申请规格"会同步"审批通过后工作区域规格"信息,届时需要隐藏掉"审批通过后工作区域规格"
* add by xuym
* */
if
(
this
.
apploy_msg
.
first_level
==
1
&&
this
.
apploy_msg
.
second_level
==
1
)
{
let
index
=
this
.
list_arr
.
findIndex
(
item
=>
item
.
title
==
"
审批通过后工作区域规格:
"
);
if
(
index
>
-
1
)
{
this
.
list_arr
.
splice
(
index
,
1
);
}
}
},
getCloudDetail
()
{
let
query
=
{
...
...
@@ -702,6 +716,7 @@ export default {
);
this
.
list_arr
.
splice
(
index
,
1
);
}
this
.
cloudDteail
.
containers
=
data
.
containers
;
this
.
cloudDteail
.
cpu
=
data
.
cpu
;
this
.
cloudDteail
.
disk
=
data
.
disk
;
...
...
@@ -711,6 +726,7 @@ export default {
this
.
cloudDteail
.
one_cpu_min
=
data
.
one_cpu_min
;
this
.
cloudDteail
.
one_memory_max
=
data
.
one_memory_max
;
this
.
cloudDteail
.
one_memory_min
=
data
.
one_memory_min
;
this
.
cloudDetailNew
.
adjust_containers
=
data
.
adjust_containers
;
this
.
cloudDetailNew
.
adjust_cpu
=
data
.
adjust_cpu
;
this
.
cloudDetailNew
.
adjust_disk
=
data
.
adjust_disk
;
...
...
@@ -720,8 +736,10 @@ export default {
this
.
cloudDetailNew
.
adjust_one_cpu_min
=
data
.
adjust_one_cpu_min
;
this
.
cloudDetailNew
.
adjust_one_memory_max
=
data
.
adjust_one_memory_max
;
this
.
cloudDetailNew
.
adjust_one_memory_min
=
data
.
adjust_one_memory_min
;
this
.
apploy_msg
.
first_level
=
data
.
first_level
;
this
.
apploy_msg
.
second_level
=
data
.
second_level
;
this
.
cloudData
.
namespace
=
data
.
namespace
;
this
.
cloudData
.
workplace
=
data
.
workplace
;
this
.
cloudData
.
user_name
=
data
.
user_name
;
...
...
@@ -729,6 +747,7 @@ export default {
this
.
cloudData
.
apply_time
=
data
.
apply_time
;
this
.
cloudData
.
system_name
=
data
.
system_name
;
}
if
(
this
.
use_uid
!=
""
)
{
this
.
getCloudApplication
();
}
...
...
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