|
@@ -52,8 +52,9 @@ export default {
|
|
|
title: '总件数',
|
|
|
clickHandler: (row, rowIndex) => {
|
|
|
this.$router.push({
|
|
|
- path: '/securityCheck/waybillTable',
|
|
|
- query: {
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: {
|
|
|
startTime: this.FormData.beginDate,
|
|
|
endTime: this.FormData.endDate,
|
|
|
destination: row.flightLine == '合计' ? '' : row.flightLine,
|
|
@@ -75,8 +76,9 @@ export default {
|
|
|
title: '件数',
|
|
|
clickHandler: (row, rowIndex) => {
|
|
|
this.$router.push({
|
|
|
- path: '/securityCheck/waybillTable',
|
|
|
- query: {
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: {
|
|
|
startTime: this.FormData.beginDate,
|
|
|
endTime: this.FormData.endDate,
|
|
|
destination: row.flightLine == '合计' ? '' : row.flightLine,
|
|
@@ -105,8 +107,9 @@ export default {
|
|
|
title: '件数',
|
|
|
clickHandler: (row, rowIndex) => {
|
|
|
this.$router.push({
|
|
|
- path: '/securityCheck/waybillTable',
|
|
|
- query: {
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: {
|
|
|
startTime: this.FormData.beginDate,
|
|
|
endTime: this.FormData.endDate,
|
|
|
destination: row.flightLine == '合计' ? '' : row.flightLine,
|
|
@@ -137,8 +140,9 @@ export default {
|
|
|
title: '件数',
|
|
|
clickHandler: (row, rowIndex) => {
|
|
|
this.$router.push({
|
|
|
- path: '/securityCheck/waybillTable',
|
|
|
- query: {
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: {
|
|
|
startTime: this.FormData.beginDate,
|
|
|
endTime: this.FormData.endDate,
|
|
|
destination: row.flightLine == '合计' ? '' : row.flightLine,
|
|
@@ -170,8 +174,9 @@ export default {
|
|
|
title: '件数',
|
|
|
clickHandler: (row, rowIndex) => {
|
|
|
this.$router.push({
|
|
|
- path: '/securityCheck/waybillTable',
|
|
|
- query: {
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: {
|
|
|
startTime: this.FormData.beginDate,
|
|
|
endTime: this.FormData.endDate,
|
|
|
destination: row.flightLine == '合计' ? '' : row.flightLine,
|
|
@@ -203,8 +208,9 @@ export default {
|
|
|
title: '件数',
|
|
|
clickHandler: (row, rowIndex) => {
|
|
|
this.$router.push({
|
|
|
- path: '/securityCheck/waybillTable',
|
|
|
- query: {
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: {
|
|
|
startTime: this.FormData.beginDate,
|
|
|
endTime: this.FormData.endDate,
|
|
|
destination: row.flightLine == '合计' ? '' : row.flightLine,
|
|
@@ -244,7 +250,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
-
|
|
|
this.formatDate()
|
|
|
this.routdata()
|
|
|
},
|
|
@@ -252,15 +257,15 @@ export default {
|
|
|
this.setTableHeight()
|
|
|
window.addEventListener('resize', this.setTableHeight)
|
|
|
},
|
|
|
- activated(){
|
|
|
+ activated() {
|
|
|
if (Object.keys(this.$route.params).length !== 0) {
|
|
|
const { beginDate, endDate, places, proxyId } = this.$route.params
|
|
|
this.FormData.beginDate = beginDate
|
|
|
this.FormData.endDate = endDate
|
|
|
- if (places&&typeof places == 'string') {
|
|
|
+ if (places && typeof places == 'string') {
|
|
|
this.FormData.places = [places]
|
|
|
- }
|
|
|
- if(places&&typeof places != 'string') {
|
|
|
+ }
|
|
|
+ if (places && typeof places != 'string') {
|
|
|
this.FormData.places = places
|
|
|
}
|
|
|
this.FormData.proxyId = proxyId
|
|
@@ -437,11 +442,10 @@ export default {
|
|
|
},
|
|
|
changeHandler() {
|
|
|
let param = JSON.parse(JSON.stringify(this.FormData))
|
|
|
- console.log(param)
|
|
|
param.places = param.places[0]
|
|
|
this.$router.push({
|
|
|
path: './cargoCharts',
|
|
|
- name:'CargoCharts',
|
|
|
+ name: 'CargoCharts',
|
|
|
params: this.FormData,
|
|
|
})
|
|
|
},
|