Commit 156fde65 authored by renjintao's avatar renjintao

task

parent 2c6a97b3
......@@ -248,7 +248,7 @@ export default {
type: "icon",
oprate: "edit",
title: "开始",
disable: params.row.status
disable: params.row.status == 0 ? false : true
},
on: {
click: () => this.updatepart(params.row.id, 1)
......@@ -260,7 +260,7 @@ export default {
type: "icon",
oprate: "edit",
title: "回报工作",
disable: params.row.status == 1 || params.row.status == 3 ? 0 : 1
disable: params.row.status == 1 || params.row.status == 3 ? false : true
},
on: {
click: () => this.viewRecord(params.row.id, params.row.status)
......@@ -272,7 +272,7 @@ export default {
type: "icon",
oprate: "add",
title: "新增记录",
disable: params.row.status == 1 ? 0 : 1
disable: params.row.status == 1 ? false : true
},
on: {
click: () => this.addRecord(params.row)
......@@ -284,7 +284,7 @@ export default {
type: "icon",
oprate: "edit",
title: "修改",
disable: params.row.status
disable: params.row.status == 0 ? false : true
},
on: {
click: () => this.edit(params.row.id)
......@@ -296,7 +296,7 @@ export default {
type: "icon",
title: "删除",
oprate: 'delete',
disable: params.row.status
disable: params.row.status == 0 ? false : true
},
on: {
click: () => this.remove(params.row.id)
......
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