Explorar o código

外部镶嵌检验报告

lighter hai 1 ano
pai
achega
cfad666823
Modificáronse 2 ficheiros con 9 adicións e 3 borrados
  1. 6 0
      src/router/modules/dashboard.ts
  2. 3 3
      src/views/system/JumpRedirect.vue

+ 6 - 0
src/router/modules/dashboard.ts

@@ -80,6 +80,12 @@ const route: Array<RouteRecordRaw> = [
         component: () => import('@/views/view/patient360/src/Patient360.vue'),
         meta: {title: '患者360', hideTabs: true},
     },
+    {
+        path: '/inspectionReportV2',
+        name: 'inspectionReportV2',
+        component: () => import('@/views/examination/InspectionReportIndex.vue'),
+        meta: { title: '检验报告'}
+    },
     {
         path: '/blank',
         name: 'blank',

+ 3 - 3
src/views/system/JumpRedirect.vue

@@ -54,11 +54,11 @@ const openAddress = {
   '/inspectionResult': () => {
     const param = parseUrl.searchQuery
     if (param && param.patNo && param.start && param.end) {
-      routerPush(`/inspections/inspectionReportIndex/${param.patNo}/${param.start}/${param.end}`)
+      routerPush(`/inspectionReportV2/${param.patNo}/${param.start}/${param.end}`)
     } else {
-      routerPush('/inspections/inspectionReportIndex')
+      routerPush('/inspectionReportV2')
     }
-  }
+  },
 }
 
 async function routerPush(val: string) {