Commit 95fe0a4b by 张杰

修复姓名为null的bug

1 parent 3a418244
...@@ -64,7 +64,7 @@ import { ...@@ -64,7 +64,7 @@ import {
GET_JOURNEYS_EXPORTDETAIL, GET_JOURNEYS_EXPORTDETAIL,
} from "services/report"; } from "services/report";
import { deepClone, showToast } from "@/utils/util"; import { deepClone, showToast } from "@/utils/util";
import {mileageDetailShortcuts} from '@/common/index' import { mileageDetailShortcuts } from "@/common/index";
export default { export default {
data() { data() {
return { return {
...@@ -154,11 +154,11 @@ export default { ...@@ -154,11 +154,11 @@ export default {
// 查看轨迹 // 查看轨迹
lookTrack(row) { lookTrack(row) {
console.log(row); console.log(row);
let path = `/oEshield#/monitor/replay?sn=${row.sn}&isInitFence=1&name=${ let path = `/oEshield#/monitor/replay?sn=${row.sn||""}&isInitFence=1&name=${
row.ownerName row.ownerName || ""
}&standno=${row.vin}&startTime=${row.journeyStartTime || ""}&endTime=${ }&standno=${row.vin||""}&startTime=${row.journeyStartTime || ""}&endTime=${
row.journeyEndTime || 0 row.journeyEndTime || 0
}&fenceId=${row.fenceId}`; }&fenceId=${row.fenceId||""}`;
//let query = {sn:row.sn,isInitFence:1,name:row.name,standno:row.vin}; //let query = {sn:row.sn,isInitFence:1,name:row.name,standno:row.vin};
let query = {}; let query = {};
//this.$router.push({path:path}) //this.$router.push({path:path})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!