diff --git a/pages/modules/equip-inspection.vue b/pages/modules/equip-inspection.vue index 1440a6a..7c98d1d 100644 --- a/pages/modules/equip-inspection.vue +++ b/pages/modules/equip-inspection.vue @@ -66,11 +66,17 @@ /** 获取设备下拉框 */ async _deviceInfo () { let res = await deviceInfo() + res.map(el => { + this.$set(el, 'text', el.label) + }) this.options1 = [...res] }, /** 获取设备状态下拉框 */ async _deviceStatus () { let res = await deviceStatus() + res.map(el => { + this.$set(el, 'text', el.label) + }) this.options2 = [...res] }, /** 确定 */