Explorar o código

新增 接口地址

wangzhihui %!s(int64=4) %!d(string=hai) anos
pai
achega
e6d57450a2
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  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);
+  },
 };