|
|
@@ -9,11 +9,6 @@ export default {
|
|
|
return $http("voyage/list", data);
|
|
|
},
|
|
|
|
|
|
- // 获取航次详情
|
|
|
- getVoyageDetail(data) {
|
|
|
- return $http("/voyage/wx/detail", data);
|
|
|
- },
|
|
|
-
|
|
|
// 更新航次
|
|
|
updateVoyage(data) {
|
|
|
return $http("/voyage/backstage/update", data);
|
|
|
@@ -181,4 +176,194 @@ export default {
|
|
|
getCargoSelect(data) {
|
|
|
return $http("/cargo/select", data);
|
|
|
},
|
|
|
+
|
|
|
+ // 获取用户列表 货主/船东
|
|
|
+ getUserList(data) {
|
|
|
+ return $http("user/backstage/list", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 添加用户
|
|
|
+ addUser(data) {
|
|
|
+ return $http("user/backstage/add", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 添加船东
|
|
|
+ addShipOwner(data) {
|
|
|
+ return $http("user/backstage/saveShipOwner", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取用户详情
|
|
|
+ getUserDetail(data) {
|
|
|
+ return $http("user/backstage/details", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 更新用户详情
|
|
|
+ updateUserDetail(data) {
|
|
|
+ return $http("/user/backstage/update", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取航次详情
|
|
|
+ getVoyageDetail(data) {
|
|
|
+ return $http("/voyage/detail", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 根据船名/MMSI/船东手机号获取船舶用户信息(员工端添加航次选择船)
|
|
|
+ getUserInfoAndShipInfo(data) {
|
|
|
+ return $http("ship/backstage/userShipInfo", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 审核媒体文件
|
|
|
+ auditMedia(data) {
|
|
|
+ return $http("/media/backstage/audit", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 标记媒体文件
|
|
|
+ markMedia(data) {
|
|
|
+ return $http("/media/backstage/markMedia", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 模糊搜索用户
|
|
|
+ searchUser(data) {
|
|
|
+ return $http("/user/backstage/search", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取船舶列表
|
|
|
+ getShipList(data) {
|
|
|
+ return $http("/ship/backstage/list", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 更新船舶信息
|
|
|
+ updateShip(data) {
|
|
|
+ return $http("/ship/backstage/update", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 更新船东信息
|
|
|
+ updateShipOwner(data) {
|
|
|
+ return $http("/user/backstage/update", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取船舶详情
|
|
|
+ getShipDetail(data) {
|
|
|
+ return $http("/ship/backstage/detail", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 船舶查询
|
|
|
+ searchShip(data) {
|
|
|
+ return $http("ship/backstage/search", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 根据shipId获取船东列表
|
|
|
+ getShipOwnerListByShipId(data) {
|
|
|
+ return $http("/user/backstage/shopOwnerlist", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 添加卸货记录
|
|
|
+ addDischarge(data) {
|
|
|
+ return $http("/voyage/addDischarge", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 删除卸货记录
|
|
|
+ deleteDischarge(data) {
|
|
|
+ return $http("/voyage/deleteDischarge", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 修改卸货记录
|
|
|
+ updateDischarge(data) {
|
|
|
+ return $http("/voyage/updateDischarge", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取未拍照航次
|
|
|
+ getUnphotographNotice() {
|
|
|
+ return $http("/voyage/backstage/notice");
|
|
|
+ },
|
|
|
+
|
|
|
+ // 计算预计到港时间
|
|
|
+ calExpectedArrivalTime(data) {
|
|
|
+ return $http("/voyage/calExpectedArrivalTime", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 删除运单
|
|
|
+ deleteWaybill(data) {
|
|
|
+ return $http("/voyage/deleteWaybill", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 上传运单
|
|
|
+ updateVoyageWaybill(data) {
|
|
|
+ return $http("/voyage/updateVoyageWaybill", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 取消航次
|
|
|
+ cancelVoyage(data) {
|
|
|
+ return $http("/voyage/backstage/cancel", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 添加汽车装货记录
|
|
|
+ addTruckLoadRecord(data) {
|
|
|
+ return $http("/voyage/addCarLoadRecord", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 删除汽车装货记录
|
|
|
+ deleteTruckLoadRecord(data) {
|
|
|
+ return $http("/voyage/deleteCarLoadRecord", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 更新汽车装货记录
|
|
|
+ updateTruckLoadRecord(data) {
|
|
|
+ return $http("/voyage/updateCarLoadRecord", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 分配单据
|
|
|
+ distribute(data) {
|
|
|
+ return $http("/shipownerUploadFile/distribute", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // ocr识别
|
|
|
+ ocr(data) {
|
|
|
+ return $http("/shipownerUploadFile/ocr", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 用户选择
|
|
|
+ getUserSelect(data) {
|
|
|
+ return $http("/user/backstage/select", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 添加提货单
|
|
|
+ addLab(data) {
|
|
|
+ return $http("/voyage/addLab", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 更新提货单
|
|
|
+ updateLab(data) {
|
|
|
+ return $http("/voyage/updateLab", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 删除提货单
|
|
|
+ deleteLab(data) {
|
|
|
+ return $http("/voyage/deleteLab", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取区块链列表
|
|
|
+ getBlockChainList(data) {
|
|
|
+ return $http("/block/voyage/list", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 航次上链
|
|
|
+ upBlockChain(data) {
|
|
|
+ return $http("/block/voyage/up", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 插入卸货港
|
|
|
+ addNewPort(data) {
|
|
|
+ return $http("/voyage/backstage/addNewPort", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 代理子账户列表
|
|
|
+ getAgencySubAccountList(data) {
|
|
|
+ return $http("/proxy/account/list", data);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 添加代理子账户
|
|
|
+ addAgencySubAccount(data) {
|
|
|
+ return $http("/proxy/account/add", data);
|
|
|
+ },
|
|
|
};
|