|
@@ -107,11 +107,13 @@ export default {
|
|
title: "",
|
|
title: "",
|
|
// 是否显示弹出层
|
|
// 是否显示弹出层
|
|
open: false,
|
|
open: false,
|
|
- // 查询参数
|
|
|
|
|
|
+ // 查询参数.
|
|
|
|
+ registrationNumber : null,
|
|
queryParams: {
|
|
queryParams: {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
shipId: null,
|
|
shipId: null,
|
|
|
|
+
|
|
longitude: null,
|
|
longitude: null,
|
|
latitude: null,
|
|
latitude: null,
|
|
shipTime: null
|
|
shipTime: null
|
|
@@ -131,17 +133,19 @@ export default {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
+ mounted() {
|
|
|
|
+ },
|
|
created() {
|
|
created() {
|
|
- this.shipId = this.$route.query.id;
|
|
|
|
|
|
+ this.registrationNumber = this.$route.query.id;
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
/** 查询列表 */
|
|
/** 查询列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- const shipId = this.shipId;
|
|
|
|
- this.queryParams.shipId = this.shipId
|
|
|
|
- listMapping(this.addDateRange(this.queryParams, this.dateRange,shipId)).then(response => {
|
|
|
|
|
|
+ const registrationNumber = this.registrationNumber;
|
|
|
|
+ this.queryParams.registrationNumber = this.$route.query.id
|
|
|
|
+ listMapping(this.addDateRange(this.queryParams, this.dateRange,registrationNumber)).then(response => {
|
|
this.mappingList = response.rows;
|
|
this.mappingList = response.rows;
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
this.loading = false;
|
|
this.loading = false;
|