|
|
@@ -885,8 +885,8 @@
|
|
|
<br />
|
|
|
{{ item.createTime }}
|
|
|
<br />
|
|
|
- 天气 : {{ item.weather.weather }} - 气温 :
|
|
|
- {{ item.weather.temperature }}℃
|
|
|
+ 天气 : {{ item.weather?.weather }} - 气温 :
|
|
|
+ {{ item.weather?.temperature }}℃
|
|
|
</div>
|
|
|
<div class="medias-box mb10" style="position: relative">
|
|
|
<el-image
|
|
|
@@ -1031,6 +1031,7 @@ async function getVoyageDetail(isInit) {
|
|
|
let res = await api.getVoyageDetail({
|
|
|
type: localStorage.userType,
|
|
|
voyageId: route.query.id,
|
|
|
+ loginAccountId: localStorage.loginAccountId,
|
|
|
});
|
|
|
if (res.data.status == 0) {
|
|
|
ElNotification({
|
|
|
@@ -1123,6 +1124,7 @@ async function getDischargeList(type) {
|
|
|
portId: currentDiscPortId.value,
|
|
|
currentPage: dischargeCurrentPage.value,
|
|
|
size: 10,
|
|
|
+ loginAccountId: localStorage.loginAccountId,
|
|
|
});
|
|
|
if (res.data.status == 0) {
|
|
|
dischargeList.value = res.data.result;
|
|
|
@@ -1328,7 +1330,6 @@ async function finishVoyage() {
|
|
|
type: "error",
|
|
|
title: res.data.msg,
|
|
|
});
|
|
|
- console.log(res);
|
|
|
}
|
|
|
}
|
|
|
let currentUrl = ref("");
|
|
|
@@ -1462,6 +1463,7 @@ async function getTruckLoadRecord() {
|
|
|
portId: currentDiscPortId.value,
|
|
|
currentPage: truckCurrentPage.value,
|
|
|
size: 10,
|
|
|
+ loginAccountId: localStorage.loginAccountId,
|
|
|
});
|
|
|
truckTableData.value = res.data.result;
|
|
|
truckTotal.value = res.data.total;
|
|
|
@@ -1532,6 +1534,7 @@ async function getLabList() {
|
|
|
portId: currentDiscPortId.value,
|
|
|
currentPage: labCurrentPage.value,
|
|
|
size: 10,
|
|
|
+ loginAccountId: localStorage.loginAccountId,
|
|
|
});
|
|
|
labTableData.value = res.data.result;
|
|
|
labTotal.value = res.data.total;
|
|
|
@@ -1554,6 +1557,8 @@ function showLab(item) {
|
|
|
|
|
|
labForm.value = { ...item };
|
|
|
}
|
|
|
+let labModalType = ref("");
|
|
|
+function cancelUploadLab() {}
|
|
|
|
|
|
let currentPortId = ref("");
|
|
|
let currentDiscPortId = ref("");
|