Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 9 mēnešus atpakaļ
vecāks
revīzija
88b7ac7199

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

2630
       },
2630
       },
2631
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2631
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2632
       
2632
       
2633
-        if(this.$store.getters.xt_user.template_info.org_id==10702){
2633
+        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635){
2634
           if(this.predialysis!=undefined){
2634
           if(this.predialysis!=undefined){
2635
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2635
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2636
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2636
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue Parādīt failu

619
                   <td width="100">
619
                   <td width="100">
620
                     <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="2.0"></label-box>
620
                     <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="2.0"></label-box>
621
                     <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="2.5"></label-box>
621
                     <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="2.5"></label-box>
622
+                    <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('钾3.0') > -1 ? true : false" showValue="3.0"></label-box>
622
                   </td>
623
                   </td>
623
                   <td width="10">)</td>
624
                   <td width="10">)</td>
624
                   <td width="10">mmol/L</td>
625
                   <td width="10">mmol/L</td>

+ 4 - 1
src/xt_pages/org/orginfo.vue Parādīt failu

390
             GetOrgInfo().then(response=>{
390
             GetOrgInfo().then(response=>{
391
                 var res = response.data;
391
                 var res = response.data;
392
                 if (res.state === 1) {
392
                 if (res.state === 1) {
393
+                   
393
                     this.formloading = false;
394
                     this.formloading = false;
394
                     this.form.org_name = res.data.orginfo.org_name;
395
                     this.form.org_name = res.data.orginfo.org_name;
395
                     this.form.contact_name = res.data.orginfo.contact_name;
396
                     this.form.contact_name = res.data.orginfo.contact_name;
411
                     this.form.illness_list = [];
412
                     this.form.illness_list = [];
412
                     this.form.org_gallery = res.data.orginfo.org_gallery;
413
                     this.form.org_gallery = res.data.orginfo.org_gallery;
413
                     this.fileList = [];
414
                     this.fileList = [];
414
-                    var gallery =  res.data.orginfo.gallery
415
+                    var gallery =  res.data.orginfo.org_gallery
416
+                    console.log("haaaaaaaaaaaaaaaaaa",gallery)
415
                     for (const index in gallery) {
417
                     for (const index in gallery) {
416
                         var image = {id:gallery[index].id, name:gallery[index].id, url:gallery[index].type==1?gallery[index].url:gallery[index].url+'?vframe/jpg/offset/0/w/100/h/100'};
418
                         var image = {id:gallery[index].id, name:gallery[index].id, url:gallery[index].type==1?gallery[index].url:gallery[index].url+'?vframe/jpg/offset/0/w/100/h/100'};
417
                         this.fileList.push(image);
419
                         this.fileList.push(image);
418
                     }
420
                     }
421
+                    console.log("fileList-------------",fileList)
419
 
422
 
420
                     var illness = res.data.orginfo.illness.split(',');
423
                     var illness = res.data.orginfo.illness.split(',');
421
                     for (const index in illness) {
424
                     for (const index in illness) {

+ 8 - 2
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue Parādīt failu

820
     this.first_dialysis_date = this.getTime(
820
     this.first_dialysis_date = this.getTime(
821
       this.patientInfo.first_dialysis_date
821
       this.patientInfo.first_dialysis_date
822
     );
822
     );
823
-   
823
+    
824
+    console.log("case_history-----------------------------",this.case_history)
824
     if(this.case_history!=undefined){
825
     if(this.case_history!=undefined){
825
       if(this.case_history.id == 0){
826
       if(this.case_history.id == 0){
826
         this.primary_disease = this.LastCaseHistory.primary_disease
827
         this.primary_disease = this.LastCaseHistory.primary_disease
893
         console.log("patient------------------------",this.patientInfo)
894
         console.log("patient------------------------",this.patientInfo)
894
         console.log("prescriptionInfo--------------------",this.prescriptionInfo)
895
         console.log("prescriptionInfo--------------------",this.prescriptionInfo)
895
         console.log("this.diagnoses",this.diagnoses)
896
         console.log("this.diagnoses",this.diagnoses)
896
-        if(this.befor!=undefined){
897
+        console.log("this.case_history",this.case_history)
898
+        if(this.case_history!=null && this.case_history.id == 0){
899
+          console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh")
900
+          if(this.befor!=undefined){
897
           if(this.case_history.temperature == 0){
901
           if(this.case_history.temperature == 0){
898
             this.case_history.temperature =  this.befor.temperature?this.befor.temperature:""
902
             this.case_history.temperature =  this.befor.temperature?this.befor.temperature:""
899
           }
903
           }
925
                console.log("诊断---------------------",this.diagnoses)
929
                console.log("诊断---------------------",this.diagnoses)
926
               this.case_history.diagnose = this.getDiagnosis(this.prescriptionInfo.diagnosis) 
930
               this.case_history.diagnose = this.getDiagnosis(this.prescriptionInfo.diagnosis) 
927
            }
931
            }
932
+         }
928
         }
933
         }
934
+      
929
       },
935
       },
930
       deep: true,
936
       deep: true,
931
     },
937
     },

+ 18 - 0
src/xt_pages/qcd/basicInformationAnalysis.vue Parādīt failu

174
                     <p>HDF+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
174
                     <p>HDF+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
175
                     <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
175
                     <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
176
                   </span>
176
                   </span>
177
+
178
+                 
177
                   <!-- <span v-if="item.mode_id == 'HFHD+HD'">
179
                   <!-- <span v-if="item.mode_id == 'HFHD+HD'">
178
                       <p>HFHD+HD:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
180
                       <p>HFHD+HD:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
179
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
181
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
301
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
303
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
302
                   </span>
304
                   </span>
303
 
305
 
306
+                  <span v-if="item.mode_id == 'HD(无肝素)'">
307
+                    <p>HD(无肝素):{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
308
+                    <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
309
+                  </span>
310
+
311
+                  <span v-if="item.mode_id == 'HDF17H'">
312
+                    <p>HDF17H:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
313
+                    <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
314
+                  </span>
315
+
304
 
316
 
305
                </div>
317
                </div>
306
               </div>
318
               </div>
1105
             if(modedate[i].mode_id == 39){
1117
             if(modedate[i].mode_id == 39){
1106
               modedate[i].mode_id = "HF16"
1118
               modedate[i].mode_id = "HF16"
1107
             }
1119
             }
1120
+            if(modedate[i].mode_id == 40){
1121
+                modedate[i].mode_id = "HD(无肝素)"
1122
+            }
1123
+            if(modedate[i].mode_id == 41){
1124
+                modedate[i].mode_id = "HDF17H"
1125
+            }
1108
             this.modetype = modedate
1126
             this.modetype = modedate
1109
 
1127
 
1110
             // this.modesData.xAxis.push(modedate[i].mode_id)
1128
             // this.modesData.xAxis.push(modedate[i].mode_id)

+ 32 - 6
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue Parādīt failu

367
             if(modeIdCount[i].mode_id == 39){
367
             if(modeIdCount[i].mode_id == 39){
368
               modeIdCount[i].mode_id = "HF16"
368
               modeIdCount[i].mode_id = "HF16"
369
             }
369
             }
370
+            if(modeIdCount[i].mode_id == 40){
371
+              modeIdCount[i].mode_id = "HD(无肝素)"
372
+            }
373
+            if(modeIdCount[i].mode_id == 41){
374
+              modeIdCount[i].mode_id = "HDF17H"
375
+            }
370
           }
376
           }
371
           this.modeIdCount = modeIdCount
377
           this.modeIdCount = modeIdCount
372
 
378
 
493
             if(scheduleCount[i].mode_id == 39){
499
             if(scheduleCount[i].mode_id == 39){
494
               scheduleCount[i].mode_id = "HF16"
500
               scheduleCount[i].mode_id = "HF16"
495
             }
501
             }
502
+            if(scheduleCount[i].mode_id == 40){
503
+              scheduleCount[i].mode_id = "HD(无肝素)"
504
+            }
505
+            if(scheduleCount[i].mode_id == 41){
506
+              scheduleCount[i].mode_id = "HDF17H"
507
+            }
496
           }
508
           }
497
           this.scheduleCount = scheduleCount
509
           this.scheduleCount = scheduleCount
498
           let dataInfo = {}
510
           let dataInfo = {}
703
           patients[i].mode_id = "HDF80"
715
           patients[i].mode_id = "HDF80"
704
         }else if(patients[i].mode_id == 39){
716
         }else if(patients[i].mode_id == 39){
705
           patients[i].mode_id = "HF16"
717
           patients[i].mode_id = "HF16"
718
+        }else if(patients[i].mode_id == 40){
719
+          patients[i].mode_id = "HD(无肝素)"
720
+        }else if(patients[i].mode_id == 41){
721
+          patients[i].mode_id = "HDF17H"
706
         }
722
         }
707
         
723
         
708
 
724
 
783
          this.DialysisData[i].HDF80 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HDF80")
799
          this.DialysisData[i].HDF80 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HDF80")
784
          this.DialysisData[i].HF16 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HF16")
800
          this.DialysisData[i].HF16 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HF16")
785
 
801
 
802
+         this.DialysisData[i].HD无肝素 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HD(无肝素)")
803
+
804
+         this.DialysisData[i].HDF17H = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HDF17H")
805
+
786
          this.DialysisData[i].age = this.getAge(this.DialysisData[i].id_card_no)
806
          this.DialysisData[i].age = this.getAge(this.DialysisData[i].id_card_no)
787
          this.DialysisData[i].total_count = this.getDialysisCount(this.DialysisData[i].patient_id)
807
          this.DialysisData[i].total_count = this.getDialysisCount(this.DialysisData[i].patient_id)
788
        }
808
        }
789
        console.log("hhh2323323232",this.DialysisData)
809
        console.log("hhh2323323232",this.DialysisData)
790
        import('@/vendor/Export2Excel').then(excel => {
810
        import('@/vendor/Export2Excel').then(excel => {
791
-        const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','总数']
792
-        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','total_count']
811
+        const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','HD无肝素','HDF17H','总数']
812
+        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','HD无肝素','HDF17H','total_count']
793
 
813
 
794
         const data = this.formatJson(filterVal, this.DialysisData)
814
         const data = this.formatJson(filterVal, this.DialysisData)
795
 
815
 
838
          this.DialysisData[i].HDF80 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HDF80")
858
          this.DialysisData[i].HDF80 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HDF80")
839
          this.DialysisData[i].HF16 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HF16")
859
          this.DialysisData[i].HF16 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HF16")
840
 
860
 
861
+         this.DialysisData[i].HD无肝素 = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HD(无肝素)")
862
+
863
+          this.DialysisData[i].HDF17H = this.getScheduleHdModeIdCount(this.DialysisData[i].patient_id,"HDF17H")
864
+
841
          this.DialysisData[i].age = this.getAge(this.DialysisData[i].id_card_no)
865
          this.DialysisData[i].age = this.getAge(this.DialysisData[i].id_card_no)
842
          this.DialysisData[i].total_count = this.getScheduleDialysisCount(this.DialysisData[i].patient_id)
866
          this.DialysisData[i].total_count = this.getScheduleDialysisCount(this.DialysisData[i].patient_id)
843
        }
867
        }
844
        console.log("hhh2323323232",this.DialysisData)
868
        console.log("hhh2323323232",this.DialysisData)
845
        import('@/vendor/Export2Excel').then(excel => {
869
        import('@/vendor/Export2Excel').then(excel => {
846
-        const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','总数']
847
-        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','total_count']
870
+        const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','HD无肝素','HDF17H','总数']
871
+        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','HD无肝素','HDF17H','total_count']
848
 
872
 
849
         const data = this.formatJson(filterVal, this.DialysisData)
873
         const data = this.formatJson(filterVal, this.DialysisData)
850
 
874
 
893
          this.scheduleList[i].HDF1000 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HDF1000")
917
          this.scheduleList[i].HDF1000 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HDF1000")
894
          this.scheduleList[i].HDF80 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HDF80")
918
          this.scheduleList[i].HDF80 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HDF80")
895
          this.scheduleList[i].HF16 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HF16")
919
          this.scheduleList[i].HF16 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HF16")
920
+         this.scheduleList[i].HD无肝素 = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HD(无肝素)")
921
+         this.scheduleList[i].HDF17H = this.getScheduleHdModeIdCount(this.scheduleList[i].patient_id,"HDF17H")
896
          this.scheduleList[i].age = this.getAge(this.scheduleList[i].id_card_no)
922
          this.scheduleList[i].age = this.getAge(this.scheduleList[i].id_card_no)
897
          this.scheduleList[i].total_count = this.getScheduleDialysisCount(this.scheduleList[i].patient_id)
923
          this.scheduleList[i].total_count = this.getScheduleDialysisCount(this.scheduleList[i].patient_id)
898
        }
924
        }
899
        console.log("hhh2323323232",this.scheduleList)
925
        console.log("hhh2323323232",this.scheduleList)
900
        import('@/vendor/Export2Excel').then(excel => {
926
        import('@/vendor/Export2Excel').then(excel => {
901
-        const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','','HDF80','HF16','总数']
902
-        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','total_count']
927
+        const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','','HDF80','HF16','HD无肝素','HDF17H','总数']
928
+        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','PHF','HDF100','HDF600','HDF800','HDF1000','HDF80','HF16','HD无肝素','HDF17H','total_count']
903
 
929
 
904
         const data = this.formatJson(filterVal, this.scheduleList)
930
         const data = this.formatJson(filterVal, this.scheduleList)
905
 
931
 

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue Parādīt failu

190
               name: '1-3',
190
               name: '1-3',
191
               label: '肾科检验'
191
               label: '肾科检验'
192
             },
192
             },
193
-            {
194
-              name: '4-12',
195
-              label: '新版肾科检验'
196
-            },
193
+            // {
194
+            //   name: '4-12',
195
+            //   label: '新版肾科检验'
196
+            // },
197
             {
197
             {
198
               name: '4-1',
198
               name: '4-1',
199
               label: '肾科检查'
199
               label: '肾科检查'