From 546ba0ba89cc4a12dd1f2497a5abe6e9d617952b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 27 九月 2022 14:46:28 +0800
Subject: [PATCH] up

---
 src/views/report/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/report/index.vue b/src/views/report/index.vue
index 1475ab6..5bd2d25 100644
--- a/src/views/report/index.vue
+++ b/src/views/report/index.vue
@@ -13,7 +13,7 @@
                     </van-row>
                     <van-row class="lable">
                         <van-col span="12">检验值</van-col>
-                        <van-col span="12" style="text-align: right; color: #769AFF ;">血红蛋白:102</van-col>
+                        <van-col span="12" style="text-align: right; color: #769AFF ;" @click="topath('/report/item')">点击查看详情</van-col>
                     </van-row>
                     <van-row class="lable">
                         <van-col span="12">最新检查日期</van-col>
@@ -26,7 +26,13 @@
 </template>
 <script lang="ts" setup>
     import {ref,reactive,watchEffect,watch} from 'vue'
+    import {useRouter} from 'vue-router'
+    const router=useRouter()
     const inputValue=ref('')
+    const topath=(url:string)=>{
+        console.log('sss')
+        router.push(url)
+    }
 </script>
 <style lang="scss">
     .report{

--
Gitblit v1.8.0