Преглед на файлове

设备分类初始化接口

duy преди 2 години
родител
ревизия
32f5a760ce
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 6 1
      src/api/modules/tentative/index.js

+ 6 - 1
src/api/modules/tentative/index.js

@@ -6,7 +6,12 @@ export const getClassList = (form, msg = true) => httpApi({
     method: 'get',
     params: form
 }, msg);
-
+//初始化设备分类接口 api/blade-business/device/class-init
+export const deviceClassListInit = (form, msg = true) => httpApi({
+    url: '/api/blade-business/device/class-init',
+    method: 'post',
+    params: form
+}, msg);
 //项目树全加载
 export const getProjectTree = (form, msg = true) => httpApi({
     url: '/api/blade-manager/projectInfo/tree',