Преглед на файлове

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN преди 3 години
родител
ревизия
99dc066906
променени са 1 файла, в които са добавени 28 реда и са изтрити 19 реда
  1. 28 19
      src/xt_pages/dialysis/details/index.vue

+ 28 - 19
src/xt_pages/dialysis/details/index.vue Целия файл

@@ -268,7 +268,6 @@
268 268
         :his_is_open="his_is_open"
269 269
         :lastAssessment="lastAssessment"
270 270
         :stockType="stockType"
271
-        :dialysis_prescription="dialysis_prescription"
272 271
       >
273 272
       </nav-igation>
274 273
 
@@ -598,7 +597,6 @@ export default {
598 597
       patient: { id: 0 }, // 患者信息
599 598
       schedual: { id: 0 }, // 患者排班信息
600 599
       prescription: { id: 0 }, // 透析处方
601
-      dialysis_prescription:{id:0},
602 600
       solution: { id: 0 }, // 透析方案
603 601
       system_prescribe: { id: 0 },
604 602
       receiver_treatment_access: { id: 0 }, // 接诊评估
@@ -792,17 +790,25 @@ export default {
792 790
         { title: '透后评估', finish: false },
793 791
         { title: '治疗小结', finish: false }
794 792
       ]
795
-     
793
+
796 794
       steps[0].finish = this.prescription.id && this.prescription.creater > 0
797 795
       steps[1].finish = this.receiver_treatment_access.id > 0
798
-      steps[2].finish = this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0
796
+      steps[2].finish =
797
+        this.predialysis_evaluation.id > 0 &&
798
+        this.predialysis_evaluation.creater > 0
799 799
       steps[3].finish = this.doctor_advices.length > 0
800 800
       steps[5].finish = this.dialysis_order.id > 0
801
-      steps[4].finish = this.double_check.id > 0 && this.double_check.creater > 0 &&this.double_check.modifier > 0
802
-      steps[7].finish = this.dialysis_order.id > 0 && this.dialysis_order.stage == 2
803
-      
801
+      steps[7].finish =
802
+        this.dialysis_order.id > 0 && this.dialysis_order.stage == 2
803
+
804
+      steps[4].finish =
805
+        this.double_check.id > 0 &&
806
+        this.double_check.creater > 0 &&
807
+        this.double_check.modifier > 0
804 808
       steps[6].finish = this.monitor_records.length > 0
805
-      steps[8].finish = this.assessment_after_dislysis.id > 0 &&this.assessment_after_dislysis.creater > 0
809
+      steps[8].finish =
810
+        this.assessment_after_dislysis.id > 0 &&
811
+        this.assessment_after_dislysis.creater > 0
806 812
       steps[9].finish = this.treatment_summary.id > 0
807 813
 
808 814
       return steps
@@ -968,13 +974,13 @@ export default {
968 974
 
969 975
       this.doctor_advices = []
970 976
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
977
+
971 978
         var resp = rs.data
972 979
         if (resp.state == 1) {
973 980
           var patient = resp.data.patient // 患者信息
974 981
           var schedual = resp.data.schedual // 患者排班信息
975 982
           console.log("排班22222222222",schedual)
976 983
           var prescription = resp.data.prescription // 透析处方
977
-        
978 984
           if (prescription != null) {
979 985
             if (prescription.body_fluid == -2) {
980 986
               prescription.body_fluid = 0
@@ -987,17 +993,13 @@ export default {
987 993
                prescription.plasma_separator  = ""
988 994
             }
989 995
           }
990
-         this.prescription = prescription == null ? { id: 0 } : prescription
991
-         
992
-         this.dialysis_prescription = prescription
993
-         this.dialysis_prescription.mode_id = schedual.mode_id
994
-         console.log("巴以建军2323223233232323232323332",prescription)
996
+
995 997
           var solution = resp.data.solution // 透析方案
996
-          // console.log("透析方案22223333333333",solution)
998
+          console.log("透析方案22223333333333",solution)
997 999
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
998 1000
 
999 1001
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
1000
-          //  console.log("透器评估",predialysis_evaluation)
1002
+           console.log("透器评估",predialysis_evaluation)
1001 1003
           if (predialysis_evaluation != null) {
1002 1004
             if (predialysis_evaluation.blood_access_part_id == -2) {
1003 1005
               predialysis_evaluation.blood_access_part_id = 0
@@ -1038,7 +1040,12 @@ export default {
1038 1040
           }
1039 1041
           var lastMonitorRecord = resp.data.lastMonitorRecord
1040 1042
           var lastAssessmentAfterDislysis = resp.data.lastAssessmentAfterDislysis
1041
-       
1043
+          // if(lastAssessmentAfterDislysis.hypertenison!=""){
1044
+          //   lastAssessmentAfterDislysis.hypertenison = lastAssessmentAfterDislysis.hypertenison.toString()
1045
+          // }
1046
+          //  if(lastAssessmentAfterDislysis.hypopiesia!=""){
1047
+          //   lastAssessmentAfterDislysis.hypopiesia = lastAssessmentAfterDislysis.hypopiesia.toString()
1048
+          // }
1042 1049
           var lastDialysisPrescribe = resp.data.lastDialysisPrescribe
1043 1050
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis
1044 1051
 
@@ -1069,6 +1076,8 @@ export default {
1069 1076
           this.headNurses = headNurses
1070 1077
           this.system_prescribe = system_prescribe
1071 1078
 
1079
+
1080
+
1072 1081
           this.niprocart_info = []
1073 1082
           this.jms_info = []
1074 1083
           this.fistula_needle_set_info = []
@@ -1106,7 +1115,7 @@ export default {
1106 1115
 
1107 1116
           this.patient = patient
1108 1117
           this.schedual = schedual == null ? { id: 0 } : schedual
1109
-          
1118
+          this.prescription = prescription == null ? { id: 0 } : prescription
1110 1119
           this.solution = solution == null ? { id: 0 } : solution
1111 1120
           this.receiver_treatment_access =
1112 1121
             receiver_treatment_access == null
@@ -1329,7 +1338,7 @@ export default {
1329 1338
         var resp = rs.data
1330 1339
         if (resp.state == 1) {
1331 1340
           var schedules = resp.data.schedules
1332
-        
1341
+          console.log("当前排班信息4444444444444444",schedules)
1333 1342
           this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1334 1343
           const patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
1335 1344
           if (this.activeName == 'first') {