소스 검색

新增 接口地址

wangzhihui 4 년 전
부모
커밋
e6d57450a2
1개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 20 0
      src/apis/fetch.js

+ 20 - 0
src/apis/fetch.js

@@ -124,4 +124,24 @@ export default {
   updateDischarge(data) {
     return $http("post", "/voyage/updateDischarge", data);
   },
+
+  // 获取未拍照航次
+  getUnphotographNotice() {
+    return $http("get", "/voyage/backstage/notice");
+  },
+
+  // 计算预计到港时间
+  calExpectedArrivalTime(data) {
+    return $http("/voyage/calExpectedArrivalTime", data);
+  },
+
+  // 删除运单
+  deleteWaybill(data) {
+    return $http("/voyage/deleteWaybill", data);
+  },
+
+  // 上传运单
+  updateVoyageWaybill(data) {
+    return $http("/voyage/updateVoyageWaybill", data);
+  },
 };