Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
23916b8b
Commit
23916b8b
authored
Oct 28, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task icon
parent
ea1b0bdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
index.vue
pages/project/task/index.vue
+1
-16
No files found.
pages/project/task/index.vue
View file @
23916b8b
...
...
@@ -276,30 +276,18 @@ export default {
oprate
:
"edit"
,
title
:
params
.
row
.
status
==
0
?
"开始"
:
params
.
row
.
status
==
2
?
"继续"
:
''
,
disable
:
params
.
row
.
status
//disable: (params.row.status == 0 || params.row.status == 2) ? false : true
},
on
:
{
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
1
)
}
}),
// h('op', {
// attrs: {
// icon: "ios-pause",
// type: "icon",
// title: "暂停",
// //disable: params.row.status == 1 ? false : true
// },
// on: {
// click: () => this.updatepart(params.row.id, 2)
// }
// }),
h
(
'op'
,
{
attrs
:
{
icon
:
"ios-alarm"
,
type
:
"icon"
,
oprate
:
"edit"
,
title
:
"完成"
,
//disable: (params.row.status != 0 && params.row.status != 3) ? false : true
disable
:
params
.
row
.
status
==
1
?
0
:
1
},
on
:
{
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
2
)
...
...
@@ -312,7 +300,6 @@ export default {
oprate
:
"add"
,
title
:
"新增记录"
,
disable
:
params
.
row
.
status
==
1
?
0
:
1
// disable: (params.row.status != 3 && params.row.status != 4) ? false : true
},
on
:
{
click
:
()
=>
this
.
addRecord
(
params
.
row
.
id
)
...
...
@@ -325,7 +312,6 @@ export default {
oprate
:
"edit"
,
title
:
"修改"
,
disable
:
params
.
row
.
status
//disable: (params.row.status == 0 || params.row.status == 2) ? false : true
},
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
...
...
@@ -338,7 +324,6 @@ export default {
title
:
"删除"
,
oprate
:
'delete'
,
disable
:
params
.
row
.
status
// disable: (params.row.status == 0 || params.row.status == 3) ? false : true
},
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
...
...
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