diff --git a/src/views/modules/monitoring/equipment.vue b/src/views/modules/monitoring/equipment.vue index fc2b2e1..153bc46 100644 --- a/src/views/modules/monitoring/equipment.vue +++ b/src/views/modules/monitoring/equipment.vue @@ -75,7 +75,7 @@ const addOrUpdateConfigs = { infoUrl: '/monitoring/equipment', fields: [ { name: 'name', label: i18n.t('eq.name'), required: true }, - { name: 'code', label: i18n.t('eq.code') }, + { name: 'code', label: i18n.t('eq.code'), api: '/monitoring/equipment/getCode' }, { name: 'enName', label: i18n.t('enname') }, { name: 'abbr', label: i18n.t('abbr') }, {