Browse Source

11月13 透析处方 收费列表

yq1 4 months ago
parent
commit
f89d19245f

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

10
                 class="newDialog"
10
                 class="newDialog"
11
         >
11
         >
12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13
-            <div style="position: absolute;left: 20%;top: 3%;width: 80%;">
13
+            <div style="position: absolute;left: 20%;top: 3%;width: 75%;">
14
               <span  v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
14
               <span  v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
15
                 透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
15
                 透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
               </span>&nbsp;&nbsp;
16
               </span>&nbsp;&nbsp;
28
                 <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
28
                 <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
29
               </span>&nbsp;&nbsp;
29
               </span>&nbsp;&nbsp;
30
             </div>
30
             </div>
31
-            <div style="position: absolute;left: 20%;top: 10%;width: 80%;">
31
+            <div style="position: absolute;left: 20%;top: 10%;width: 75%;">
32
               <span style="display: inline-block;" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id ==10721">
32
               <span style="display: inline-block;" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id ==10721">
33
                 衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
33
                 衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
34
               </span>&nbsp;&nbsp;
34
               </span>&nbsp;&nbsp;

+ 17 - 8
src/xt_pages/outpatientCharges/listPrint.vue View File

41
   import PrintTwo10265 from "./listTemplate/printTwo10265";
41
   import PrintTwo10265 from "./listTemplate/printTwo10265";
42
   import ListPrintThree from "./listTemplate/listPrintThree";
42
   import ListPrintThree from "./listTemplate/listPrintThree";
43
   import listPrintforu from "./listTemplate/listPrintforu"
43
   import listPrintforu from "./listTemplate/listPrintforu"
44
+import { watch } from 'vue';
44
   export default {
45
   export default {
45
     name: 'listPrint',
46
     name: 'listPrint',
46
     components: {
47
     components: {
53
       printTwo,
54
       printTwo,
54
     },
55
     },
55
     props: {
56
     props: {
56
-      paramsObj: Object
57
+      paramsObj: Object,
58
+      // paramsObj3:Object
57
     },
59
     },
58
     data() {
60
     data() {
59
       return {
61
       return {
67
         charge_admin:{},
69
         charge_admin:{},
68
         org_id:'',
70
         org_id:'',
69
 
71
 
70
-        hospital_record:{}
72
+        hospital_record:{},
73
+        paramsobjid:0,
71
       }
74
       }
72
     },
75
     },
73
     created() {
76
     created() {
74
-      this.getInfo(this.paramsObj.id)
77
+      this.paramsobjid = this.paramsObj.id
78
+      console.log('1111111222222',this.paramsObj.id);
79
+      
80
+      // this.getInfo(this.paramsObj.id)
81
+      this.getInfo(this.paramsobjid)
82
+      console.log('333333333',this.paramsObj.id);
75
       this.org_id = this.$store.getters.xt_user.org_id
83
       this.org_id = this.$store.getters.xt_user.org_id
76
       if(this.org_id == 10106){
84
       if(this.org_id == 10106){
77
         if(this.paramsObj.balance_accounts_type == 2){
85
         if(this.paramsObj.balance_accounts_type == 2){
80
 
88
 
81
         }else{
89
         }else{
82
           this.getInfo10106(this.paramsObj.id)
90
           this.getInfo10106(this.paramsObj.id)
83
-
84
-
85
-
86
         }
91
         }
87
       }
92
       }
88
       // this.getinfos(this.paramsObj.id)
93
       // this.getinfos(this.paramsObj.id)
89
     },
94
     },
95
+    beforeUpdate(){
96
+      console.log('444444',this.paramsObj.id);
97
+      
98
+    },
90
 
99
 
91
     methods: {
100
     methods: {
92
       getTimes(time) {
101
       getTimes(time) {
828
       //     }
837
       //     }
829
       //   })
838
       //   })
830
       // }
839
       // }
831
-    }
832
-
840
+    },
841
+    
833
   }
842
   }
834
 </script>
843
 </script>
835
 
844
 

+ 14 - 14
src/xt_pages/outpatientCharges/summary.vue View File

445
       title="打印"
445
       title="打印"
446
       :visible.sync="listVisible"
446
       :visible.sync="listVisible"
447
     >
447
     >
448
-      <listPrint :paramsObj='paramsObj'></listPrint>
448
+      <listPrint ref="checklists" :paramsObj='paramsObj' :key="jgFileTimer"></listPrint>
449
     </el-dialog>
449
     </el-dialog>
450
     
450
     
451
     <el-dialog
451
     <el-dialog
625
 import { getDoctorList, getExportConsumeDetailList, getHisOrderList, Refund } from '@/api/his/his'
625
 import { getDoctorList, getExportConsumeDetailList, getHisOrderList, Refund } from '@/api/his/his'
626
 import { ModifyFapiaoCode } from '@/api/his/his_tools'
626
 import { ModifyFapiaoCode } from '@/api/his/his_tools'
627
 
627
 
628
-
629
 // import NewStatementPrint from './newStatementPrint'
628
 // import NewStatementPrint from './newStatementPrint'
630
 import { adminMainView} from "@/api/role/admin";
629
 import { adminMainView} from "@/api/role/admin";
631
 import NewStatementPrint from './statementPrint.vue'
630
 import NewStatementPrint from './statementPrint.vue'
667
     listPrint,
666
     listPrint,
668
     allListPrint,
667
     allListPrint,
669
     invoicePrint,
668
     invoicePrint,
670
-    settlementPrint
669
+    settlementPrint,
671
   },
670
   },
672
   data() {
671
   data() {
673
     return {
672
     return {
729
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
728
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
730
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
729
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
731
       ],
730
       ],
732
-      // paramsObj3:{
733
-      //   id:''
734
-      // }
731
+      jgFileTimer:''
735
     }
732
     }
736
   },
733
   },
737
 
734
 
4037
     getTimes(time) {
4034
     getTimes(time) {
4038
       return uParseTime(time, '{y}-{m}-{d}')
4035
       return uParseTime(time, '{y}-{m}-{d}')
4039
     },
4036
     },
4037
+    
4040
     toDetail(row) {
4038
     toDetail(row) {
4041
       this.$router.push(
4039
       this.$router.push(
4042
         '/outpatientCharges/summaryDetail?patient_id=' +
4040
         '/outpatientCharges/summaryDetail?patient_id=' +
4090
       })
4088
       })
4091
     },
4089
     },
4092
     open(row) {
4090
     open(row) {
4093
-      console.log('row',row);
4094
-      this.paramsObj.id = row.id
4095
-      // if (index == 1) {
4096
-        this.listVisible = true
4097
-      // } else if (index == 2) {
4098
-      //   this.allListVisible = true
4099
-      // }
4091
+      this.paramsObj.id =''
4092
+      console.log('row',(row.id).toString());
4093
+      const id = (row.id).toString()
4094
+      this.paramsObj.id = id
4095
+      this.jgFileTimer = new Date().getTime()
4096
+      console.log('this.paramsObj.id',this.paramsObj.id);
4097
+      this.listVisible = true
4098
+
4100
     }, unique(array) {
4099
     }, unique(array) {
4101
       // res用来存储结果
4100
       // res用来存储结果
4102
       var res = []
4101
       var res = []
4185
 
4184
 
4186
 
4185
 
4187
     }
4186
     }
4188
-  }
4187
+  },
4188
+  
4189
 }
4189
 }
4190
 </script>
4190
 </script>
4191
 <style lang="scss">
4191
 <style lang="scss">