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
5391b149
Commit
5391b149
authored
Jul 29, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组织云资源详情状态fixed
parent
d29a9c45
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
src/assets/imgs/ic_cancel.png
src/assets/imgs/ic_cancel.png
+0
-0
src/pages/workbench/fwgl/organizationCloudResource.vue
src/pages/workbench/fwgl/organizationCloudResource.vue
+20
-0
No files found.
src/assets/imgs/ic_cancel.png
0 → 100644
View file @
5391b149
1.44 KB
src/pages/workbench/fwgl/organizationCloudResource.vue
View file @
5391b149
...
...
@@ -443,11 +443,25 @@ export default {
align
:
"
center
"
,
type
:
"
image-tooltip
"
,
getImage
(
item
)
{
if
(
(
item
.
apply_type
===
0
&&
item
.
approve_state
===
-
1
)
||
(
item
.
apply_type
===
1
&&
item
.
approve_update_state
===
-
1
)
)
{
return
require
(
"
@/assets/imgs/ic_cancel.png
"
);
}
return
item
.
state
==
1
?
require
(
"
@/assets/imgs/ic_true.png
"
)
:
require
(
"
@/assets/imgs/ic_failed.png
"
);
},
getTooltip
(
item
)
{
if
(
(
item
.
apply_type
===
0
&&
item
.
approve_state
===
-
1
)
||
(
item
.
apply_type
===
1
&&
item
.
approve_update_state
===
-
1
)
)
{
return
"
审批未通过
"
;
}
return
item
.
state
==
1
?
"
运行中
"
:
"
该工作区域已被禁用
"
;
},
},
...
...
@@ -522,6 +536,12 @@ export default {
return
item
.
state
==
1
?
"
禁用
"
:
"
启用
"
;
},
callback
:
this
.
stateAction
,
disabledRule
(
item
)
{
return
(
(
item
.
apply_type
===
0
&&
item
.
approve_state
===
-
1
)
||
(
item
.
apply_type
===
1
&&
item
.
approve_update_state
===
-
1
)
);
},
},
{
label
:
"
移除
"
,
...
...
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