소스 검색

故障上报

lipenghui 2 일 전
부모
커밋
9240790ee8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/api/pms/device/index.ts

+ 3 - 0
src/api/pms/device/index.ts

@@ -49,6 +49,9 @@ export const IotDeviceApi = {
   getCompany: async (params:any) => {
     return await request.get({ url: `/rq/iot-device/company?id=`+params})
   },
+  getCompanyByDevice: async (params:any) => {
+    return await request.get({ url: `/rq/iot-device/company/`+params})
+  },
   getMaxCode: async (params:any) => {
     return await request.get({ url: `/rq/iot-device/max?yfCode=`+params})
   },