|
|
@@ -78,7 +78,7 @@ const tableConfigStatic = [ |
|
|
|
] |
|
|
|
const tableConfigDynamic = [ |
|
|
|
{ type: 'index', width: 100, name: i18n.t('index') }, |
|
|
|
{ name: i18n.t('inspect.type'), prop: 'inspectionContent' }, |
|
|
|
{ name: i18n.t('inspect.det'), prop: 'inspectionContent' }, |
|
|
|
/** dynamic */ |
|
|
|
{ name: i18n.t('inspect.typetotal'), prop: '' }, |
|
|
|
{ name: i18n.t('inspect.rate'), prop: '' } |
|
|
@@ -282,7 +282,7 @@ export default { |
|
|
|
|
|
|
|
this.tableConfigDynamic = [ |
|
|
|
{ type: 'index', width: 100, name: i18n.t('index') }, |
|
|
|
{ name: i18n.t('inspect.type'), prop: 'inspectionContent' }, |
|
|
|
{ name: i18n.t('inspect.det'), prop: 'inspectionContent' }, |
|
|
|
...subProps, |
|
|
|
{ name: i18n.t('inspect.typetotal'), prop: 'sumInput' }, |
|
|
|
{ name: i18n.t('inspect.rate'), prop: 'scrapRatio', filter: val => (val || val === 0 ? `${val}%` : '-') } |
|
|
|