|
@@ -413,13 +413,18 @@ export default {
|
|
|
},
|
|
|
getLiuLists() {
|
|
|
this.loading = true;
|
|
|
- if(this.queryParams.startTime!=undefined && this.queryParams.startTime!=""){
|
|
|
- this.queryParams["params"]["beginTime"]=this.queryParams.startTime;
|
|
|
- this.queryParams["params"]["endTime"]=this.queryParams.endTime;
|
|
|
- }
|
|
|
|
|
|
|
|
|
- getLiuList(this.queryParams).then(response => {
|
|
|
+ var dateRange = '';
|
|
|
+ if(this.queryParams.startTime!=undefined && this.queryParams.startTime!="" &&this.queryParams.endTime!=undefined && this.queryParams.endTime!=""){
|
|
|
+ dateRange = [];
|
|
|
+ dateRange.push(this.queryParams.startTime.toJSON().split("T")[0]);
|
|
|
+ dateRange.push(this.queryParams.endTime.toJSON().split("T")[0]);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ getLiuList(this.addDateRange(this.queryParams, dateRange)).then(response => {
|
|
|
for (var i in response.rows) {
|
|
|
response.rows[i].shipRegionType = '内河船'
|
|
|
response.rows[i].destination = '无'
|