|
@@ -72,9 +72,9 @@ const fields = [
|
|
|
]
|
|
|
const opera = [
|
|
|
{ label: t('common.sign'), method: 'sign' },
|
|
|
- { label: t('common.update'), method: 'edit', display: (i) => i.is_use === '1' },
|
|
|
+ { label: t('common.update'), method: 'edit', display: (i) => i.is_use === '1' && i.match_status === '0' },
|
|
|
{ label: t('common.exam'), method: 'exam', type: 'warning', display: (i) => i.status === '0' },
|
|
|
- { label: t('common.delete'), method: 'delete', confirm: true, type: 'danger', display: (i) => i.is_use === '1' }
|
|
|
+ { label: t('common.delete'), method: 'delete', confirm: true, type: 'danger', display: (i) => i.is_use === '1' && i.match_status === '0' }
|
|
|
]
|
|
|
const buttonFields = [{ label: t('common.add'), method: 'add' }]
|
|
|
let skip = 0
|