浏览代码

新质控栏

yuwandanmian 1 年之前
父节点
当前提交
cb39688f4b
共有 3 个文件被更改,包括 33 次插入3 次删除
  1. 11 0
      src/router/index.js
  2. 15 0
      src/views/medicalRecord/cost.vue
  3. 7 3
      src/views/medicalRecord/index.vue

+ 11 - 0
src/router/index.js

@@ -506,6 +506,17 @@ export const constantRoutes = [
           canMultipleOpen: true 
         },
       },
+      {
+        path: '/cost',
+        name: 'Cost',
+        component: () => import('@/views/medicalRecord/cost'),
+        hidden: true,//不在导航栏展示
+        meta: { 
+          title: '费用详情',
+          keepAlive: 0,
+          canMultipleOpen: true 
+        },
+      },
     ],
   },
 

+ 15 - 0
src/views/medicalRecord/cost.vue

@@ -0,0 +1,15 @@
+<template>
+  <div>
+    费用详情todo
+  </div>
+</template>
+
+<script>
+  export default {
+    
+  }
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 7 - 3
src/views/medicalRecord/index.vue

@@ -68,7 +68,7 @@
           <td colspan="7">
             <NoValueInputVue :data="blInfo.patient_address_info.AAA48.replace('省', '')" />(省)
             <NoValueInputVue :data="blInfo.patient_address_info.AAA49.replace('市', '')" />(市)
-            <NoValueInputVue :data="blInfo.patient_address_info.AAA16C.toString().replace('县', '')" />(县)
+            <NoValueInputVue :data="blInfo.patient_address_info.AAA50.toString().replace('县', '')" />(县)
             <NoValueInputVue :data="blInfo.patient_address_info.toString().AAA36C" />
           </td>
           <td class="label">电话</td>
@@ -419,7 +419,7 @@
         </tr>
         <tr>
           <td class="label">颅脑损伤患者昏迷时间</td>
-          <td colspan="9">
+          <td colspan="11">
             入院前:
             <NoValueInputVue :data="blInfo.patient_medical_info.AEJ01" />天
             <NoValueInputVue :data="blInfo.patient_medical_info.AEJ02" />小时
@@ -471,7 +471,7 @@
       </table>
       <div class="oper-box">
         <IconBtnVue style="margin-right: 0;">
-          <span class="text_btn">查看费用详情</span>
+          <span class="text_btn" @click="toCostPage">查看费用详情</span>
         </IconBtnVue>
       </div>
       <!-- 费用信息 -->
@@ -1108,6 +1108,10 @@ export default {
       this.$axios.post('/bmy/getBlDetails', params).then(res => {
         this.blInfo = res.data
       });
+    },
+    // 查看费用详情
+    toCostPage() {
+      this.$router.push({ name: 'Cost', query: { zyh: this.$route.query.zyh }})
     }
   }
 }