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
e6e51434
Commit
e6e51434
authored
Jun 12, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务管理
parent
10a908b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+23
-13
No files found.
src/pages/workbench/fwgl/fwglList.vue
View file @
e6e51434
...
...
@@ -140,7 +140,7 @@ export default {
label
:
"
操作
"
,
type
:
"
buttons
"
,
align
:
"
center
"
,
width
:
24
0
,
width
:
30
0
,
actionList
:
[
{
label
:
"
编辑
"
,
...
...
@@ -148,12 +148,16 @@ export default {
},
{
getLabel
(
item
)
{
return
item
.
state
==
0
?
"
申请上架
"
:
"
申请下架
"
;
return
(
[
"
申请上架
"
,
"
申请下架
"
,
"
申请上架中
"
][
item
.
state
]
||
"
-
"
);
},
callback
(
item
)
{
item
.
state
==
0
?
_self
.
applyForSoldUpItem
(
item
)
:
_self
.
applyForSoldOutItem
(
item
);
if
(
item
.
state
==
0
)
{
_self
.
applyForSoldUpItem
(
item
);
}
else
if
(
item
.
state
==
1
)
{
_self
.
applyForSoldOutItem
(
item
);
}
},
disabledRule
(
item
)
{
return
item
.
state
==
2
;
...
...
@@ -530,6 +534,9 @@ export default {
{
label
:
"
审批
"
,
callback
:
this
.
approvalItem
,
disabledRule
(
item
)
{
return
item
.
service_apply_info
.
approval_status
===
1
;
},
},
{
label
:
"
删除
"
,
...
...
@@ -679,7 +686,7 @@ export default {
label
:
"
操作
"
,
type
:
"
buttons
"
,
align
:
"
center
"
,
width
:
24
0
,
width
:
30
0
,
actionList
:
[
{
label
:
"
编辑
"
,
...
...
@@ -687,21 +694,21 @@ export default {
},
{
getLabel
(
item
)
{
return
item
.
state
==
0
?
"
上架
"
:
"
下
架
"
;
return
item
.
state
==
1
?
"
下架
"
:
"
上
架
"
;
},
callback
(
item
)
{
item
.
state
==
0
?
_self
.
soldUpItem
(
item
)
:
_self
.
soldOutItem
(
item
);
item
.
state
==
1
?
_self
.
soldOutItem
(
item
)
:
_self
.
soldUpItem
(
item
);
},
disabledRule
(
item
)
{
return
item
.
state
===
0
;
},
},
{
label
:
"
删除
"
,
class
:
"
warn
"
,
callback
:
this
.
deleteItem
,
disabledRule
(
item
)
{
return
item
.
state
===
1
;
},
},
],
},
...
...
@@ -796,6 +803,9 @@ export default {
{
label
:
"
审批
"
,
callback
:
this
.
approvalItem
,
disabledRule
(
item
)
{
return
item
.
service_apply_info
.
approval_status
===
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