|
@@ -86,7 +86,7 @@ const fields = [
|
|
|
{ label: t('pages.achievement.status'), model: 'status', format: (i) => getDict(i, 'status') }
|
|
|
]
|
|
|
const opera = [
|
|
|
- { label: t('common.update'), method: 'edit', display: (i) => i.is_use === '1' },
|
|
|
+ { label: t('common.update'), method: 'edit' },
|
|
|
{ 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' }
|
|
|
]
|