Browse Source

保养标准批量新增和调整接口,以设备为维度

hfxc226 1 year ago
parent
commit
5cace5a495
1 changed files with 18 additions and 0 deletions
  1. 18 0
      src/api/check/checkstandard.js

+ 18 - 0
src/api/check/checkstandard.js

@@ -35,6 +35,24 @@ export function addCheckStandard (parameter) {
   })
 }
 
+/**
+ * add func
+ * parameter: { }
+ * @param parameter
+ * @returns {*}
+ */
+export function batch (parameter) {
+  return axios({
+    url: '/check/standards/batch',
+    method: 'POST',
+    headers: {
+      'Accept': 'application/json',
+      'Content-Type': 'application/json;charset=UTF-8'
+    },
+    data: parameter
+  })
+}
+
 /**
  * add func
  * parameter: { }