diff --git a/src/views/modules/monitoring/productionLine.vue b/src/views/modules/monitoring/productionLine.vue index a35a31d..3f1c42f 100644 --- a/src/views/modules/monitoring/productionLine.vue +++ b/src/views/modules/monitoring/productionLine.vue @@ -52,7 +52,7 @@ const tableConfigs = [ { prop: 'factoryName', name: i18n.t('factory.title') }, { prop: 'name', name: i18n.t('pl.name') }, { 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: 'remark', name: i18n.t('remark') }, { prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }