lighter 1 jaar geleden
bovenliggende
commit
5753d59e64

+ 1 - 1
src/router/index.js

@@ -160,7 +160,7 @@ export const constantRoutes = [
     meta: { title: '病理报告查询' },
   },
   {
-    path: '/checkPathologyDetail/:patientId',
+    path: '/checkPathologyDetail',
     component: () => import('../views/hospital-service/check-exam/pathology/CheckPathologyDetail.vue'),
     meta: { title: '病理报告详情' },
   },

+ 1 - 17
src/views/hospital-service/check-exam/pathology/CheckPathologyDetail.vue

@@ -5,24 +5,8 @@
 </template>
 
 <script setup>
-import {onMounted, ref} from 'vue'
 import {useStore} from "vuex";
 
 const store = useStore()
 const pathologyIndex = store.getters.getCurrentPathologyIndex
-
-console.log(pathologyIndex)
-
-onMounted(() => {
-
-})
-
-</script>
-
-<style scoped>
-.test-result-text {
-  font-size: 14px;
-  color: black;
-  padding: 4px 20px;
-}
-</style>
+</script>

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

@@ -142,7 +142,7 @@ function handleClickPathologyIndex(item) {
     type: 'storeCurrentPathologyIndex',
     currentPathologyIndex: item
   }).then(() => {
-    router.push('/checkPathologyDetail/' + patientId);
+    router.push('/checkPathologyDetail');
   })
 }