Commit 4b262951 authored by zhengke's avatar zhengke

修改

parent b38b5651
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
<i class="iconfont icon-hangchenganpai"></i> <i class="iconfont icon-hangchenganpai"></i>
PDF下载 PDF下载
</li> </li>
<li @click="goUrlTrip()"> <li @click="goUrlTrip()" v-if="dataList.lineId!=2">
<i class="iconfont icon-hangchenganpai"></i> <i class="iconfont icon-hangchenganpai"></i>
行程 行程
</li> </li>
...@@ -1192,13 +1192,14 @@ ...@@ -1192,13 +1192,14 @@
}, },
//跳转至新行程 //跳转至新行程
goUrlTrip(){ goUrlTrip(){
this.$router.push({ let routeData = this.$router.resolve({
name: "newTrip", name: 'newTrip',
query: { query: {
ID : decodeURIComponent(this.$route.params.id), ID : decodeURIComponent(this.$route.params.id),
tcid : decodeURIComponent(this.$route.params.tcid) tcid : decodeURIComponent(this.$route.params.tcid),
} }
}) })
window.open(routeData.href, '_blank')
}, },
handleScroll() { handleScroll() {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment