lighter 1 rok temu
rodzic
commit
a0b2e27a02

+ 0 - 8
src/api/check-exam.js

@@ -15,11 +15,3 @@ export function checkExamDetail(data) {
     data,
   })
 }
-
-export function checkCovidExamIndexBySocialNo(socialNo) {
-  return request({
-    url: '/inspections/checkCovidExamIndexBySocialNo',
-    method: 'get',
-    params: { socialNo },
-  })
-}

+ 1 - 1
src/router/index.js

@@ -129,7 +129,7 @@ export const constantRoutes = [
     meta: { title: '报告查询' },
   },
   {
-    path: '/checkExamDetail/:orderId/:patNo?/:patType?',
+    path: '/checkExamDetail/:orderId/:patientId',
     component: () => import('../views/hospital-service/check-exam/CheckExamDetail.vue'),
     meta: { title: '报告详情' },
   },

+ 1 - 1
src/views/hospital-service/check-exam/CheckExamDetail.vue

@@ -118,7 +118,7 @@ export default {
     }
     onMounted(() => {
       const params = router.currentRoute.value.params
-      params.key = localStorage.getItem('openId')
+      params.openId = localStorage.getItem('openId')
       checkExamDetail(params).then((res) => {
         exam.reportHeader = res.reportHeader
         exam.reportItems = res.reportItems

+ 2 - 2
src/views/hospital-service/check-exam/CheckExamIndex.vue

@@ -56,7 +56,7 @@ export default {
         patientId,
         start,
         end,
-        key: localStorage.getItem('openId')
+        openId: localStorage.getItem('openId')
       }
       checkExamIndex(param).then((res) => {
         store.commit('SET_EXAMINDEXARRAY', res)
@@ -77,7 +77,7 @@ export default {
           patientId,
           start: range[0],
           end: range[1],
-          key: localStorage.getItem('openId')
+          openId: localStorage.getItem('openId')
         }
         checkExamIndex(param).then((res) => {
           store.commit('SET_EXAMINDEXARRAY', res)