fzq #31
@ -52,7 +52,7 @@ const tableConfigs = [
|
|||||||
{ prop: 'factoryName', name: i18n.t('factory.title') },
|
{ prop: 'factoryName', name: i18n.t('factory.title') },
|
||||||
{ prop: 'name', name: i18n.t('pl.name') },
|
{ prop: 'name', name: i18n.t('pl.name') },
|
||||||
{ prop: 'code', name: i18n.t('pl.code') },
|
{ prop: 'code', name: i18n.t('pl.code') },
|
||||||
{ prop: 'status', name: i18n.t('pl.status') },
|
{ prop: 'status', name: i18n.t('pl.status'), filter: val => (val === 0 || val === 1 || val === 2) && ['停止', '运行', '未知'][val] },
|
||||||
{ prop: 'description', name: i18n.t('desc') },
|
{ prop: 'description', name: i18n.t('desc') },
|
||||||
{ prop: 'remark', name: i18n.t('remark') },
|
{ prop: 'remark', name: i18n.t('remark') },
|
||||||
{ prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
|
{ prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
|
||||||
|
Loading…
Reference in New Issue
Block a user