Parcourir la source

订单审核通过tab页-订单轨迹明细查询打开新标签页

@dongkboy il y a 1 mois
Parent
commit
78d1b639af
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/views/finance/index.vue

+ 2 - 1
src/views/finance/index.vue

@@ -1054,13 +1054,14 @@ const handleTrack = (scope) => {
   })
   })
 }
 }
 const viewDetail = (row) => {
 const viewDetail = (row) => {
-  myRouter.push({
+  const { href } = myRouter.resolve({
     name: 'InsurancePolicyViewDetail',
     name: 'InsurancePolicyViewDetail',
     query: {
     query: {
       info: JSON.stringify(row),
       info: JSON.stringify(row),
       activeindex: activeName.value
       activeindex: activeName.value
     }
     }
   })
   })
+  window.open(href, '_blank')
 }
 }
 // 数据导出// 数据导出
 // 数据导出// 数据导出
 const handleExport = (type: any) => {
 const handleExport = (type: any) => {