|
|
|
|
|
|
|
|
text: true, |
|
|
text: true, |
|
|
onClick: editHandle.bind(null, row, 'update') |
|
|
onClick: editHandle.bind(null, row, 'update') |
|
|
}, |
|
|
}, |
|
|
show: row.status > 10 || row.inspectionType !== 1, |
|
|
|
|
|
|
|
|
show: row.status < 11 && row.inspectionType === 1, |
|
|
auth: 'task:all:edit' |
|
|
auth: 'task:all:edit' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
onPositiveClick: deleteData.bind(null, row.id) |
|
|
onPositiveClick: deleteData.bind(null, row.id) |
|
|
}, |
|
|
}, |
|
|
auth: 'task:all:delete', |
|
|
auth: 'task:all:delete', |
|
|
show: row.status > 15 || row.inspectionType !== 1, |
|
|
|
|
|
|
|
|
show: row.status < 16 && row.inspectionType === 1, |
|
|
ButtonProps: { |
|
|
ButtonProps: { |
|
|
text: true, |
|
|
text: true, |
|
|
type: 'primary' |
|
|
type: 'primary' |