设备点检

This commit is contained in:
2023-10-07 14:50:08 +08:00
parent 90c5ee18bd
commit 10462e5218

View File

@@ -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]
},
/** 确定 */