|
|
@@ -22,33 +22,9 @@ Page({
|
|
|
shipCertificate: [],
|
|
|
shipCrewCertificate: [],
|
|
|
certOperationContact: [],
|
|
|
- palletList: [
|
|
|
- {
|
|
|
- id: 5,
|
|
|
- cargoName: "222",
|
|
|
- loadPortName: "2",
|
|
|
- dischargePortName: "3",
|
|
|
- cargoTons: 4,
|
|
|
- contactName: "5",
|
|
|
- contactPhone: "13666666666",
|
|
|
- status: 1,
|
|
|
- releaseTime: "2025/05/08 19:52:33",
|
|
|
- createTime: "2025/05/07 23:36:26",
|
|
|
- },
|
|
|
- {
|
|
|
- id: 6,
|
|
|
- cargoName: "测试1",
|
|
|
- loadPortName: "上海",
|
|
|
- dischargePortName: "张家港",
|
|
|
- cargoTons: 111,
|
|
|
- contactName: "11",
|
|
|
- contactPhone: "11111111111",
|
|
|
- status: 1,
|
|
|
- releaseTime: "2025/05/08 19:52:14",
|
|
|
- createTime: "2025/05/08 11:06:03",
|
|
|
- },
|
|
|
- ],
|
|
|
+ palletList: [],
|
|
|
palletListSearchWords: "", // 货盘搜索关键词
|
|
|
+ crewUpgradeData: [],
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
@@ -61,6 +37,7 @@ Page({
|
|
|
this.getIntelligentService();
|
|
|
this.getPalletList();
|
|
|
this.getCheckinStatus();
|
|
|
+ this.getCrewUpgradeData();
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
@@ -209,7 +186,10 @@ Page({
|
|
|
|
|
|
// intelligent/service获取智能服务
|
|
|
async getIntelligentService() {
|
|
|
- let { data } = await postApi("/pallet/intelligent/service", {});
|
|
|
+ let { data } = await postApi(
|
|
|
+ "/pallet/intelligent/service/ship/cert/expiries",
|
|
|
+ {}
|
|
|
+ );
|
|
|
if (data.status === 0) {
|
|
|
this.setData(data.result);
|
|
|
} else {
|
|
|
@@ -505,4 +485,16 @@ Page({
|
|
|
url: "/pages/takeBill/takeBill",
|
|
|
});
|
|
|
},
|
|
|
+ async getCrewUpgradeData() {
|
|
|
+ let { data } = await getApi("/pallet/intelligent/service/crew/upgrade");
|
|
|
+ if (data.status === 0) {
|
|
|
+ this.setData({
|
|
|
+ crewUpgradeData: data.result,
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.setData({
|
|
|
+ crewUpgradeData: [],
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
});
|