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
d17b5900
Commit
d17b5900
authored
Oct 27, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task
parent
f39a37ab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
opration.vue
components/page/opration.vue
+2
-1
index.vue
pages/project/task/index.vue
+12
-12
No files found.
components/page/opration.vue
View file @
d17b5900
...
@@ -42,7 +42,8 @@ export default {
...
@@ -42,7 +42,8 @@ export default {
disable
:
{
disable
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
}
},
},
},
data
()
{
data
()
{
return
{
return
{
...
...
pages/project/task/index.vue
View file @
d17b5900
...
@@ -234,8 +234,8 @@ export default {
...
@@ -234,8 +234,8 @@ export default {
icon
:
"ios-play"
,
icon
:
"ios-play"
,
type
:
"icon"
,
type
:
"icon"
,
title
:
params
.
row
.
status
==
0
?
"开始"
:
params
.
row
.
status
==
2
?
"继续"
:
''
,
title
:
params
.
row
.
status
==
0
?
"开始"
:
params
.
row
.
status
==
2
?
"继续"
:
''
,
color
:
"#19be6b"
,
//
color: "#19be6b",
disable
:
(
params
.
row
.
status
==
0
||
params
.
row
.
status
==
2
)
?
false
:
true
//
disable: (params.row.status == 0 || params.row.status == 2) ? false : true
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
1
)
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
1
)
...
@@ -246,8 +246,8 @@ export default {
...
@@ -246,8 +246,8 @@ export default {
icon
:
"ios-pause"
,
icon
:
"ios-pause"
,
type
:
"icon"
,
type
:
"icon"
,
title
:
"暂停"
,
title
:
"暂停"
,
color
:
"#19be6b"
,
//
color: "#19be6b",
disable
:
params
.
row
.
status
==
1
?
false
:
true
//
disable: params.row.status == 1 ? false : true
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
2
)
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
2
)
...
@@ -258,8 +258,8 @@ export default {
...
@@ -258,8 +258,8 @@ export default {
icon
:
"md-checkbox-outline"
,
icon
:
"md-checkbox-outline"
,
type
:
"icon"
,
type
:
"icon"
,
title
:
"完成"
,
title
:
"完成"
,
color
:
"#19be6b"
,
//
color: "#19be6b",
disable
:
(
params
.
row
.
status
!=
0
&&
params
.
row
.
status
!=
3
)
?
false
:
true
//
disable: (params.row.status != 0 && params.row.status != 3) ? false : true
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
3
)
click
:
()
=>
this
.
updatepart
(
params
.
row
.
id
,
3
)
...
@@ -270,8 +270,8 @@ export default {
...
@@ -270,8 +270,8 @@ export default {
icon
:
"md-add"
,
icon
:
"md-add"
,
type
:
"icon"
,
type
:
"icon"
,
title
:
"新增记录"
,
title
:
"新增记录"
,
color
:
"#19be6b"
,
//
color: "#19be6b",
disable
:
(
params
.
row
.
status
!=
3
&&
params
.
row
.
status
!=
4
)
?
false
:
true
//
disable: (params.row.status != 3 && params.row.status != 4) ? false : true
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
addRecord
(
params
.
row
.
id
)
click
:
()
=>
this
.
addRecord
(
params
.
row
.
id
)
...
@@ -282,8 +282,8 @@ export default {
...
@@ -282,8 +282,8 @@ export default {
icon
:
"ios-create-outline"
,
icon
:
"ios-create-outline"
,
type
:
"icon"
,
type
:
"icon"
,
title
:
"修改"
,
title
:
"修改"
,
color
:
"#2b85e4"
,
//
color: "#2b85e4",
disable
:
(
params
.
row
.
status
==
0
||
params
.
row
.
status
==
2
)
?
false
:
true
//
disable: (params.row.status == 0 || params.row.status == 2) ? false : true
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
...
@@ -295,8 +295,8 @@ export default {
...
@@ -295,8 +295,8 @@ export default {
type
:
"icon"
,
type
:
"icon"
,
title
:
"删除"
,
title
:
"删除"
,
oprate
:
'delete'
,
oprate
:
'delete'
,
color
:
"#ed4014"
,
//
color: "#ed4014",
disable
:
(
params
.
row
.
status
==
0
||
params
.
row
.
status
==
3
)
?
false
:
true
//
disable: (params.row.status == 0 || params.row.status == 3) ? false : true
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
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