Commit 85296545 authored by renjintao's avatar renjintao

task action op

parent 90e9ab54
......@@ -243,12 +243,13 @@ export default {
align: 'center',
render: (h, params) => {
return h('div', {
class: "action actionCur"
class: "action"
}, [
h('op', {
attrs: {
icon: "ios-play",
icon: "md-arrow-dropright-circle",
type: "icon",
oprate: "edit",
title: params.row.status == 0 ? "开始" : params.row.status == 2 ? "继续" : '',
// color: "#19be6b",
//disable: (params.row.status == 0 || params.row.status == 2) ? false : true
......@@ -271,8 +272,9 @@ export default {
// }),
h('op', {
attrs: {
icon: "md-checkbox-outline",
icon: "ios-alarm",
type: "icon",
oprate: "edit",
title: "完成",
//color: "#19be6b",
//disable: (params.row.status != 0 && params.row.status != 3) ? false : true
......@@ -285,6 +287,7 @@ export default {
attrs: {
icon: "md-add",
type: "icon",
oprate: "add",
title: "新增记录",
//color: "#19be6b",
// disable: (params.row.status != 3 && params.row.status != 4) ? false : true
......@@ -295,8 +298,9 @@ export default {
}),
h('op', {
attrs: {
icon: "ios-create-outline",
icon: "md-create",
type: "icon",
oprate: "edit",
title: "修改",
// color: "#2b85e4",
//disable: (params.row.status == 0 || params.row.status == 2) ? false : true
......@@ -307,7 +311,7 @@ export default {
}),
h('op', {
attrs: {
icon: "ios-trash-outline",
icon: "md-trash",
type: "icon",
title: "删除",
oprate: 'delete',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment