|
@@ -108,7 +108,7 @@ export default {
|
|
|
},
|
|
|
edit: {
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return row.flag === 0
|
|
|
+ return row.status === 'SAVE'
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.addOrEdit('edit', row.sheetId)
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
del: {
|
|
|
prompt: '确定删除吗?',
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return row.flag === 0
|
|
|
+ return row.status === 'SAVE'
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.delSheet(row.sheetId)
|
|
@@ -126,7 +126,7 @@ export default {
|
|
|
confirm: {
|
|
|
prompt: '确定审核吗?',
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return row.flag === 0
|
|
|
+ return row.status === 'SAVE'
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.confirmSheet(row.sheetId)
|