소스 검색

委托单

ZaiZai 1 년 전
부모
커밋
d7ac623f55
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  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)
+    },
 }