Bladeren bron

25 1月8 打印单

yq1 1 dag geleden
bovenliggende
commit
d705dfd0fe
1 gewijzigde bestanden met toevoegingen van 24 en 3 verwijderingen
  1. 24 3
      src/xt_pages/outpatientTool/components/print9919.vue

+ 24 - 3
src/xt_pages/outpatientTool/components/print9919.vue Bestand weergeven

@@ -83,7 +83,7 @@
83 83
         <td width="80">身份证号</td>
84 84
         <td colspan="3">{{info.certno}}</td>
85 85
       </tr>
86
-      <tr v-if="this.$store.getters.xt_user.org_id != 10387">
86
+      <tr v-if="org_id != 10387 && org_id !=10480&&org_id !=0">
87 87
         <td>住院号</td>
88 88
         <td>{{info.number}}</td>
89 89
         <td>科别</td>
@@ -98,7 +98,19 @@
98 98
         <td>{{info.num}}</td>
99 99
 
100 100
       </tr>
101
-      <tr>
101
+      <tr v-if="org_id ==10480|| org_id ==0">
102
+        <td>险种</td>
103
+        <td colspan="11">
104
+          <span v-if="info.insutype == '310'">职工基本医疗保险</span>
105
+          <span v-if="info.insutype == '320'">公务员医疗补助</span>
106
+          <span v-if="info.insutype == '330'">大额医疗费用补助</span>
107
+          <span v-if="info.insutype == '340'">离休人员医疗保障</span>
108
+          <span v-if="info.insutype == '390'">城乡居民基本医疗保险</span>
109
+          <span v-if="info.insutype == '392'">城乡居民大病医疗保险</span>
110
+          <span v-if="info.insutype == '510'">生育保险</span>
111
+        </td>
112
+      </tr>
113
+      <tr v-if="org_id !=10480&&org_id !=0">
102 114
         <td>险种</td>
103 115
         <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
104 116
         <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
@@ -338,7 +350,13 @@ export default {
338 350
         return {}
339 351
       }
340 352
     }
341
-  },methods:{
353
+  },
354
+  data(){
355
+    return{
356
+      org_id:'',
357
+    }
358
+  },
359
+  methods:{
342 360
     getBirth(idNo){
343 361
       var year = idNo.substring(6, 10);
344 362
       var month = idNo.substring(10, 12);
@@ -374,6 +392,9 @@ export default {
374 392
       return dateTime
375 393
     },
376 394
 
395
+  },
396
+  created(){
397
+    this.org_id =this.$store.getters.xt_user.org_id
377 398
   }
378 399
 }
379 400