ZaiZai 1 gadu atpakaļ
vecāks
revīzija
d7ac623f55
1 mainītis faili ar 10 papildinājumiem un 2 dzēšanām
  1. 10 2
      src/api/modules/tentative/detect/commission.js

+ 10 - 2
src/api/modules/tentative/detect/commission.js

@@ -20,9 +20,17 @@ export default {
     //详情
     async detail(id, msg = true) {
         return HcApi({
-            url: '/api/blade-business/entrustinfo/detail',
-            method: 'get',
+            url: '/api/blade-business/entrustinfo/get-report-detail',
+            method: 'post',
             params: { id },
         }, msg)
     },
+    //创建报告
+    async update(form, msg = true) {
+        return HcApi({
+            url: '/api/blade-business/entrustinfo/update',
+            method: 'post',
+            data: form,
+        }, msg)
+    },
 }