|
@@ -83,6 +83,7 @@ export default {
|
|
|
dataall: {
|
|
|
id: 7,
|
|
|
name: '总件数',
|
|
|
+ name2: '总件数',
|
|
|
cont: '20000',
|
|
|
top: '35%',
|
|
|
textStyle: {
|
|
@@ -270,13 +271,14 @@ export default {
|
|
|
},
|
|
|
//点击跳转
|
|
|
echar(data) {
|
|
|
+ console.log(data)
|
|
|
let params = {
|
|
|
startTime: this.queryData.beginDate,
|
|
|
endTime: this.queryData.endDate,
|
|
|
destination: data.namech,
|
|
|
agentCode: this.queryData.proxyId,
|
|
|
openResult: '',
|
|
|
- riskRating: data.namefa,
|
|
|
+ riskRating: data.namefa == '总件数' ? '' : data.namefa,
|
|
|
}
|
|
|
if (data == '总数') {
|
|
|
params.riskRating = ''
|
|
@@ -285,12 +287,14 @@ export default {
|
|
|
// path: '/securityCheck/waybillTable',
|
|
|
// query: params,
|
|
|
// })
|
|
|
- let param = JSON.parse(JSON.stringify(params))
|
|
|
- this.$router.push({
|
|
|
- path: './waybillTable',
|
|
|
- name: 'WaybillTable',
|
|
|
- params: param,
|
|
|
- })
|
|
|
+ if (data.namech !== '') {
|
|
|
+ let param = JSON.parse(JSON.stringify(params))
|
|
|
+ this.$router.push({
|
|
|
+ path: './waybillTable',
|
|
|
+ name: 'WaybillTable',
|
|
|
+ params: param,
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
//货物关联统计接口
|
|
|
async relationDate() {
|
|
@@ -321,11 +325,6 @@ export default {
|
|
|
})
|
|
|
// console.log(arr);
|
|
|
})
|
|
|
- console.log(arr, 'arr')
|
|
|
- console.log(Low, 'Low')
|
|
|
- console.log(firs, 'firs')
|
|
|
- console.log(pt, 'pt')
|
|
|
- console.log(strictly, 'strictly')
|
|
|
let arrall = eval(arr.join('+')) //高风险总和
|
|
|
let Lowall = eval(Low.join('+')) //低风险级总和
|
|
|
let firsall = eval(firs.join('+')) //优先级总和
|