diff --git a/src/views/material/ma/device/index.vue b/src/views/material/ma/device/index.vue index 4e612bd4..2a82db8a 100644 --- a/src/views/material/ma/device/index.vue +++ b/src/views/material/ma/device/index.vue @@ -30,7 +30,13 @@ - + item.label == e).value + } + console.log('🚀 ~ handleMaModel ~ typeId:', typeId) + getDeviceType({ level: 4, skipPermission: 1, typeId }).then(response => { + let matModelRes = response.data + this.materialModelList = matModelRes.map((item) => { + return { + label: item.typeName, + value: item.typeId + } + }) + }) + }, + //查询资产属性下拉框 getZichanType() { getZichanType({ isAll: 1 }).then(response => {