Browse Source

25 1月8 打印单

yq1 1 day ago
parent
commit
d705dfd0fe
1 changed files with 24 additions and 3 deletions
  1. 24 3
      src/xt_pages/outpatientTool/components/print9919.vue

+ 24 - 3
src/xt_pages/outpatientTool/components/print9919.vue View File

83
         <td width="80">身份证号</td>
83
         <td width="80">身份证号</td>
84
         <td colspan="3">{{info.certno}}</td>
84
         <td colspan="3">{{info.certno}}</td>
85
       </tr>
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
         <td>住院号</td>
87
         <td>住院号</td>
88
         <td>{{info.number}}</td>
88
         <td>{{info.number}}</td>
89
         <td>科别</td>
89
         <td>科别</td>
98
         <td>{{info.num}}</td>
98
         <td>{{info.num}}</td>
99
 
99
 
100
       </tr>
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
         <td>险种</td>
114
         <td>险种</td>
103
         <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
115
         <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
104
         <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
116
         <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
338
         return {}
350
         return {}
339
       }
351
       }
340
     }
352
     }
341
-  },methods:{
353
+  },
354
+  data(){
355
+    return{
356
+      org_id:'',
357
+    }
358
+  },
359
+  methods:{
342
     getBirth(idNo){
360
     getBirth(idNo){
343
       var year = idNo.substring(6, 10);
361
       var year = idNo.substring(6, 10);
344
       var month = idNo.substring(10, 12);
362
       var month = idNo.substring(10, 12);
374
       return dateTime
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