|
@@ -478,6 +478,7 @@
|
|
|
<el-pagination
|
|
<el-pagination
|
|
|
background
|
|
background
|
|
|
layout="prev, pager, next"
|
|
layout="prev, pager, next"
|
|
|
|
|
+ :current-page="weatherCurrentPage"
|
|
|
:total="weatherTotal"
|
|
:total="weatherTotal"
|
|
|
@current-change="weatherPageChange"
|
|
@current-change="weatherPageChange"
|
|
|
></el-pagination>
|
|
></el-pagination>
|
|
@@ -545,6 +546,7 @@
|
|
|
<el-pagination
|
|
<el-pagination
|
|
|
background
|
|
background
|
|
|
layout="prev, pager, next"
|
|
layout="prev, pager, next"
|
|
|
|
|
+ :current-page="labCurrentPage"
|
|
|
:total="labTotal"
|
|
:total="labTotal"
|
|
|
@current-change="labPageChange"
|
|
@current-change="labPageChange"
|
|
|
></el-pagination>
|
|
></el-pagination>
|
|
@@ -689,6 +691,7 @@
|
|
|
<el-pagination
|
|
<el-pagination
|
|
|
background
|
|
background
|
|
|
layout="prev, pager, next"
|
|
layout="prev, pager, next"
|
|
|
|
|
+ :current-page="currentPage"
|
|
|
:total="total"
|
|
:total="total"
|
|
|
@current-change="pageChange"
|
|
@current-change="pageChange"
|
|
|
></el-pagination>
|
|
></el-pagination>
|
|
@@ -917,6 +920,7 @@
|
|
|
<el-pagination
|
|
<el-pagination
|
|
|
background
|
|
background
|
|
|
layout="prev, pager, next"
|
|
layout="prev, pager, next"
|
|
|
|
|
+ :current-page="truckCurrentPage"
|
|
|
:total="truckTotal"
|
|
:total="truckTotal"
|
|
|
@current-change="truckPageChange"
|
|
@current-change="truckPageChange"
|
|
|
></el-pagination>
|
|
></el-pagination>
|
|
@@ -1710,7 +1714,8 @@ async function getDischargeList() {
|
|
|
dischargeList.value = res.data.result;
|
|
dischargeList.value = res.data.result;
|
|
|
total.value = res.data.total;
|
|
total.value = res.data.total;
|
|
|
} else {
|
|
} else {
|
|
|
- console.log(res);
|
|
|
|
|
|
|
+ dischargeList.value = [];
|
|
|
|
|
+ total.value = 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
let updateForm = ref({});
|
|
let updateForm = ref({});
|
|
@@ -2266,8 +2271,13 @@ async function getTruckLoadRecord() {
|
|
|
currentPage: truckCurrentPage.value,
|
|
currentPage: truckCurrentPage.value,
|
|
|
size: 10,
|
|
size: 10,
|
|
|
});
|
|
});
|
|
|
- truckTableData.value = res.data.result;
|
|
|
|
|
- truckTotal.value = res.data.total;
|
|
|
|
|
|
|
+ if (res.data.status == 0) {
|
|
|
|
|
+ truckTableData.value = res.data.result;
|
|
|
|
|
+ truckTotal.value = res.data.total;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ truckTableData.value = [];
|
|
|
|
|
+ truckTotal.value = 0;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
function truckPageChange(e) {
|
|
function truckPageChange(e) {
|
|
|
truckCurrentPage.value = e;
|
|
truckCurrentPage.value = e;
|
|
@@ -2520,8 +2530,13 @@ async function getLabList() {
|
|
|
currentPage: labCurrentPage.value,
|
|
currentPage: labCurrentPage.value,
|
|
|
size: 10,
|
|
size: 10,
|
|
|
});
|
|
});
|
|
|
- labTableData.value = res.data.result;
|
|
|
|
|
- labTotal.value = res.data.total;
|
|
|
|
|
|
|
+ if (res.data.status == 0) {
|
|
|
|
|
+ labTableData.value = res.data.result;
|
|
|
|
|
+ labTotal.value = res.data.total;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ labTableData.value = [];
|
|
|
|
|
+ labTotal.value = 0;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
function labPageChange(e) {
|
|
function labPageChange(e) {
|
|
|
labCurrentPage.value = e;
|
|
labCurrentPage.value = e;
|
|
@@ -2579,8 +2594,13 @@ async function getPortWeatherList() {
|
|
|
currentPage: weatherCurrentPage.value,
|
|
currentPage: weatherCurrentPage.value,
|
|
|
size: 10,
|
|
size: 10,
|
|
|
});
|
|
});
|
|
|
- weatherTableData.value = res.data.result;
|
|
|
|
|
- weatherTotal.value = res.data.total;
|
|
|
|
|
|
|
+ if (res.data.status == 0) {
|
|
|
|
|
+ weatherTableData.value = res.data.result;
|
|
|
|
|
+ weatherTotal.value = res.data.total;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ weatherTableData.value = [];
|
|
|
|
|
+ weatherTotal.value = 0;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function weatherPageChange(e) {
|
|
function weatherPageChange(e) {
|