|
@@ -96,7 +96,7 @@ const statusMap = {
|
|
ISOUT: '占用',
|
|
ISOUT: '占用',
|
|
BREAK_DOWN: '故障',
|
|
BREAK_DOWN: '故障',
|
|
};
|
|
};
|
|
-supplierListApi().then((res) => {
|
|
|
|
|
|
+supplierListApi({ type: 'DEVICE' }).then((res) => {
|
|
supplierList.value = res || [];
|
|
supplierList.value = res || [];
|
|
res?.length && (supplierId.value = res[0].id);
|
|
res?.length && (supplierId.value = res[0].id);
|
|
});
|
|
});
|