Quellcode durchsuchen

11月14日 库存扣减更新

XMLWAN vor 3 Jahren
Ursprung
Commit
0440f5b065

+ 5 - 6
src/xt_pages/dialysis/details/DialysisPrescription.vue Datei anzeigen

7
       <ul>
7
       <ul>
8
         <li v-if="isShow('透析模式')">
8
         <li v-if="isShow('透析模式')">
9
           <label>透析模式 : </label>
9
           <label>透析模式 : </label>
10
-          <span class="content">{{ dialysis_mode }}</span>
10
+          <span class="content">{{ dialysis_mode }} </span>
11
         </li>
11
         </li>
12
 
12
 
13
         <li v-if="isShow('置换量') && (dialysis_mode == 'HDF' || dialysis_mode == 'HF' || dialysis_mode =='HDF+HP')">
13
         <li v-if="isShow('置换量') && (dialysis_mode == 'HDF' || dialysis_mode == 'HF' || dialysis_mode =='HDF+HP')">
444
     },
444
     },
445
     dialysis_mode: function() {
445
     dialysis_mode: function() {
446
       var mode = this.getValueStr('mode_id', 'mode_id')
446
       var mode = this.getValueStr('mode_id', 'mode_id')
447
+
447
       if (mode.length == 0) {
448
       if (mode.length == 0) {
448
         return ''
449
         return ''
449
       }
450
       }
714
 
715
 
715
   },
716
   },
716
   created() {
717
   created() {
717
-
718
+    console.log("中国出口233232323233223",this.prescription)
718
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
719
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
719
     var map = {}
720
     var map = {}
720
     for (let index = 0; index < perfusion_apparatus.length; index++) {
721
     for (let index = 0; index < perfusion_apparatus.length; index++) {
741
       ) {
742
       ) {
742
         return ''
743
         return ''
743
       } else if (this.prescription != null && this.prescription.id != '') {
744
       } else if (this.prescription != null && this.prescription.id != '') {
744
-        if (
745
-          this.prescription[pkey] == null ||
746
-          this.prescription[pkey] == undefined
747
-        ) {
745
+     
746
+        if (this.prescription[pkey] == null || this.prescription[pkey] == undefined) {
748
           return ''
747
           return ''
749
         }
748
         }
750
         return this.prescription[pkey] + ''
749
         return this.prescription[pkey] + ''

+ 5 - 0
src/xt_pages/dialysis/details/NavIgation.vue Datei anzeigen

268
         return { id: 0 };
268
         return { id: 0 };
269
       }
269
       }
270
     },
270
     },
271
+    dialysis_prescription:{
272
+      type: Object,
273
+    },
271
     solution: {
274
     solution: {
272
       // 透析方案
275
       // 透析方案
273
       type: Object,
276
       type: Object,
620
       this.$refs.finish_dialog.show(this.dialysis_order);
623
       this.$refs.finish_dialog.show(this.dialysis_order);
621
     },
624
     },
622
     showPrescription: function() {
625
     showPrescription: function() {
626
+      console.log("粗32323232",this.prescription)
623
       this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open);
627
       this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open);
624
     },
628
     },
625
     showAccepts: function() {
629
     showAccepts: function() {
631
       this.$refs.assessmentBefore.show(this.predialysis_evaluation,this.last_dryWeight_dislysis,this.last_predialysis_evaluation,this.lastAssessment);
635
       this.$refs.assessmentBefore.show(this.predialysis_evaluation,this.last_dryWeight_dislysis,this.last_predialysis_evaluation,this.lastAssessment);
632
     },
636
     },
633
     showDoubleCheck: function() {
637
     showDoubleCheck: function() {
638
+       
634
       this.$refs.doubleCheck.show();
639
       this.$refs.doubleCheck.show();
635
     },
640
     },
636
     showrTeatmentSummary: function() {
641
     showrTeatmentSummary: function() {

+ 2 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Datei anzeigen

882
           }
882
           }
883
 
883
 
884
         } else {
884
         } else {
885
-         
885
+          console.log("为首务2322323",this.assessmentBeforeDislysis.period)
886
+          this.assessmentBeforeDislysis.period = this.assessmentBeforeDislysis.period.toString()
886
      
887
      
887
           this.assessmentBeforeDislysis.dry_weight = this.predialysis_evaluation['dry_weight']
888
           this.assessmentBeforeDislysis.dry_weight = this.predialysis_evaluation['dry_weight']
888
           this.weight_adjust.weight = this.predialysis_evaluation['dry_weight']
889
           this.weight_adjust.weight = this.predialysis_evaluation['dry_weight']

+ 40 - 20
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Datei anzeigen

1328
           max_ultrafiltration_rate:'',
1328
           max_ultrafiltration_rate:'',
1329
           hemodialysisPipelinesOptions: [],
1329
           hemodialysisPipelinesOptions: [],
1330
           punctureNeedleOptions: [],
1330
           punctureNeedleOptions: [],
1331
-          epoOptions: []
1331
+          epoOptions: [],
1332
+          impulse:0,
1332
         },
1333
         },
1333
 
1334
 
1334
         anticoagulant: {
1335
         anticoagulant: {
1879
               mode = 2
1880
               mode = 2
1880
             }
1881
             }
1881
             ParamsQuery['mode'] = mode
1882
             ParamsQuery['mode'] = mode
1882
-            //  console.log("paramsquery",ParamsQuery)
1883
+           console.log("paramsquery",ParamsQuery)
1883
             postPrescription(ParamsQuery).then(response => {
1884
             postPrescription(ParamsQuery).then(response => {
1884
               if (response.data.state == 0) {
1885
               if (response.data.state == 0) {
1885
                 this.$message.error(response.data.msg)
1886
                 this.$message.error(response.data.msg)
2695
         this.hide()
2696
         this.hide()
2696
       },
2697
       },
2697
       handleSolution: function() {
2698
       handleSolution: function() {
2699
+       
2698
         if (this.dialysisPrescription.anticoagulant == 1) {
2700
         if (this.dialysisPrescription.anticoagulant == 1) {
2699
           this.dialysisPrescription.anticoagulant_weichi = '0'
2701
           this.dialysisPrescription.anticoagulant_weichi = '0'
2700
           this.dialysisPrescription.anticoagulant_shouji = '0'
2702
           this.dialysisPrescription.anticoagulant_shouji = '0'
2723
               this.loading = false
2725
               this.loading = false
2724
               return
2726
               return
2725
             }
2727
             }
2728
+             console.log("预充了2",this.dialysisPrescription.pre_impulse)
2729
+             this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2726
             var arr = this.dialysisPrescription
2730
             var arr = this.dialysisPrescription
2727
-            // console.log('arr', arr)
2731
+             console.log('arr2', arr)
2728
 
2732
 
2729
             const ParamsQuery = arr
2733
             const ParamsQuery = arr
2730
             // console.log('长期处方1', ParamsQuery)
2734
             // console.log('长期处方1', ParamsQuery)
2731
             ParamsQuery['patient'] = this.patient.id
2735
             ParamsQuery['patient'] = this.patient.id
2732
             ParamsQuery['record_date'] = this.record_date
2736
             ParamsQuery['record_date'] = this.record_date
2733
             ParamsQuery['mode'] = '1'
2737
             ParamsQuery['mode'] = '1'
2734
-
2738
+          
2735
             postSoulution(ParamsQuery).then(response => {
2739
             postSoulution(ParamsQuery).then(response => {
2736
               if (response.data.state == 0) {
2740
               if (response.data.state == 0) {
2737
                 this.$message.error(response.data.msg)
2741
                 this.$message.error(response.data.msg)
2770
                 this.loading = false
2774
                 this.loading = false
2771
                 return
2775
                 return
2772
               }
2776
               }
2777
+              console.log("预充了3",this.dialysisPrescription.pre_impulse)
2778
+               this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2773
               var arr = this.dialysisPrescription
2779
               var arr = this.dialysisPrescription
2774
-              // console.log('arr', arr)
2775
-
2780
+              console.log('arr3', arr)
2781
+               
2776
               const ParamsQuery = arr
2782
               const ParamsQuery = arr
2777
               // console.log('长期处方2', ParamsQuery)
2783
               // console.log('长期处方2', ParamsQuery)
2778
 
2784
 
2779
               ParamsQuery['patient'] = this.patient.id
2785
               ParamsQuery['patient'] = this.patient.id
2780
               ParamsQuery['record_date'] = this.record_date
2786
               ParamsQuery['record_date'] = this.record_date
2781
               ParamsQuery['mode'] = '1'
2787
               ParamsQuery['mode'] = '1'
2782
-
2788
+       
2783
               postSoulution(ParamsQuery).then(response => {
2789
               postSoulution(ParamsQuery).then(response => {
2784
                 if (response.data.state == 0) {
2790
                 if (response.data.state == 0) {
2785
                   this.$message.error(response.data.msg)
2791
                   this.$message.error(response.data.msg)
2824
                 this.loading = false
2830
                 this.loading = false
2825
                 return
2831
                 return
2826
               }
2832
               }
2827
-
2833
+              console.log("预充了4",this.dialysisPrescription.pre_impulse)
2834
+             this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse 
2828
               var arr = this.dialysisPrescription
2835
               var arr = this.dialysisPrescription
2829
-              // console.log('arr', arr)
2830
-
2836
+              console.log('arr4', arr)
2837
+             
2831
               const ParamsQuery = arr
2838
               const ParamsQuery = arr
2832
               // console.log('长期处方3', ParamsQuery)
2839
               // console.log('长期处方3', ParamsQuery)
2833
 
2840
 
2893
                 this.loading = false
2900
                 this.loading = false
2894
                 return
2901
                 return
2895
               }
2902
               }
2903
+              console.log("预充了5",this.dialysisPrescription.pre_impulse)
2904
+               this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2896
               var arr = this.dialysisPrescription
2905
               var arr = this.dialysisPrescription
2897
-              // console.log('arr', arr)
2898
-
2906
+             console.log('arr5', arr)
2907
+         
2899
               const ParamsQuery = arr
2908
               const ParamsQuery = arr
2900
               // console.log('长期处方5', ParamsQuery)
2909
               // console.log('长期处方5', ParamsQuery)
2901
 
2910
 
2940
                 this.loading = false
2949
                 this.loading = false
2941
                 return
2950
                 return
2942
               }
2951
               }
2952
+              console.log("预充了6",this.dialysisPrescription.pre_impulse)
2953
+              this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2943
               var arr = this.dialysisPrescription
2954
               var arr = this.dialysisPrescription
2944
-              // console.log('arr', arr)
2955
+              console.log('arr', arr)
2945
 
2956
 
2946
               const ParamsQuery = arr
2957
               const ParamsQuery = arr
2947
               // console.log('长期处方6', ParamsQuery)
2958
               // console.log('长期处方6', ParamsQuery)
2987
                   this.loading = false
2998
                   this.loading = false
2988
                   return
2999
                   return
2989
                 }
3000
                 }
3001
+                console.log("预充了7",this.dialysisPrescription.pre_impulse)
3002
+               this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2990
                 var arr = this.dialysisPrescription
3003
                 var arr = this.dialysisPrescription
2991
                 // console.log('arr', arr)
3004
                 // console.log('arr', arr)
2992
 
3005
 
2993
                 const ParamsQuery = arr
3006
                 const ParamsQuery = arr
2994
-                // console.log('长期处方7', ParamsQuery)
3007
+                console.log('长期处方7', ParamsQuery)
2995
                 ParamsQuery['patient'] = this.patient.id
3008
                 ParamsQuery['patient'] = this.patient.id
2996
                 ParamsQuery['record_date'] = this.record_date
3009
                 ParamsQuery['record_date'] = this.record_date
2997
                 ParamsQuery['mode'] = '1'
3010
                 ParamsQuery['mode'] = '1'
3040
                   this.loading = false
3053
                   this.loading = false
3041
                   return
3054
                   return
3042
                 }
3055
                 }
3056
+                console.log("预充了w233323223",this.dialysisPrescription.pre_impulse)
3057
+               this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3043
                 var arr = this.dialysisPrescription
3058
                 var arr = this.dialysisPrescription
3044
-                // console.log('arr', arr)
3045
-
3059
+                console.log('arr', arr)
3060
+   
3046
                 const ParamsQuery = arr
3061
                 const ParamsQuery = arr
3047
                 // console.log('长期处方8', ParamsQuery)
3062
                 // console.log('长期处方8', ParamsQuery)
3048
                 ParamsQuery['patient'] = this.patient.id
3063
                 ParamsQuery['patient'] = this.patient.id
3114
                   this.loading = false
3129
                   this.loading = false
3115
                   return
3130
                   return
3116
                 }
3131
                 }
3132
+                
3133
+                console.log("预充了99999",this.dialysisPrescription.pre_impulse)
3134
+               this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3117
                 var arr = this.dialysisPrescription
3135
                 var arr = this.dialysisPrescription
3118
-                // console.log('arr', arr)
3136
+                console.log('arr', arr)
3119
 
3137
 
3120
                 const ParamsQuery = arr
3138
                 const ParamsQuery = arr
3121
                 // console.log('长期处方9', ParamsQuery)
3139
                 // console.log('长期处方9', ParamsQuery)
3158
               this.loading = false
3176
               this.loading = false
3159
               return
3177
               return
3160
             }
3178
             }
3179
+            console.log("预充了1",this.dialysisPrescription.pre_impulse)
3180
+           this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3161
             var arr = this.dialysisPrescription
3181
             var arr = this.dialysisPrescription
3162
-            // console.log('arr', arr)
3182
+            console.log('arr12333223', arr)
3163
 
3183
 
3164
             const ParamsQuery = arr
3184
             const ParamsQuery = arr
3165
-            // console.log('长期处方10', ParamsQuery)
3185
+          
3166
 
3186
 
3167
             ParamsQuery['patient'] = this.patient.id
3187
             ParamsQuery['patient'] = this.patient.id
3168
             ParamsQuery['record_date'] = this.record_date
3188
             ParamsQuery['record_date'] = this.record_date
3169
             ParamsQuery['mode'] = '1'
3189
             ParamsQuery['mode'] = '1'
3170
-
3190
+            console.log('长期处方10', ParamsQuery)
3171
             postSoulution(ParamsQuery).then(response => {
3191
             postSoulution(ParamsQuery).then(response => {
3172
               if (response.data.state == 0) {
3192
               if (response.data.state == 0) {
3173
                 this.$message.error(response.data.msg)
3193
                 this.$message.error(response.data.msg)

+ 5 - 13
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue Datei anzeigen

314
             })
314
             })
315
 
315
 
316
             this.doubleReview.creater = response.data.data.doubleCheck.creater
316
             this.doubleReview.creater = response.data.data.doubleCheck.creater
317
-            this.doubleReview.check_time =
318
-              response.data.data.doubleCheck.check_time
319
-            this.doubleReview.first_check_time =
320
-              response.data.data.doubleCheck.first_check_time
317
+            this.doubleReview.check_time = response.data.data.doubleCheck.check_time
318
+            this.doubleReview.first_check_time = response.data.data.doubleCheck.first_check_time
321
             this.doubleReview.modifier = response.data.data.doubleCheck.modifier
319
             this.doubleReview.modifier = response.data.data.doubleCheck.modifier
322
 
320
 
323
             this.first_check_time = uParseTime(
321
             this.first_check_time = uParseTime(
325
               '{y}-{m}-{d}  {h}:{i}'
323
               '{y}-{m}-{d}  {h}:{i}'
326
             ).split(' ')[1]
324
             ).split(' ')[1]
327
 
325
 
328
-            // if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
329
-            //   this.check_time = uParseTime(
330
-            //     this.doubleReview.check_time,
331
-            //     '{y}-{m}-{d}  {h}:{i}'
332
-            //   ).split(' ')[1]
333
-            // }
326
+           
334
 
327
 
335
             let doublecheck_resp = response.data.data.doubleCheck
328
             let doublecheck_resp = response.data.data.doubleCheck
336
-         
329
+            console.log("双核2332322323",doublecheck_resp)
337
             var doubleCheck = this.double_check
330
             var doubleCheck = this.double_check
338
-            for (var index in doublecheck_resp) {
339
-              // doubleCheck[index] = doublecheck_resp[index];
331
+            for (var index in doublecheck_resp) {        
340
               this.$set(doubleCheck, index, doublecheck_resp[index])
332
               this.$set(doubleCheck, index, doublecheck_resp[index])
341
             }
333
             }
342
             this.hide()
334
             this.hide()

+ 19 - 28
src/xt_pages/dialysis/details/index.vue Datei anzeigen

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

+ 1 - 8
src/xt_pages/hospitalStation/components/dialysisIndex.vue Datei anzeigen

574
       }
574
       }
575
     },
575
     },
576
     getScheduleDetail: function() {
576
     getScheduleDetail: function() {
577
-      
578
       this.loading = true
577
       this.loading = true
579
-    //   var dateStr = parseTime(this.date, '{y}-{m}-{d}')
580
-      // if(this.$route.query.showView == true){
581
-      //   this.loading = false
582
-      //   return
583
-      // }
584
-        console.log('this.patient_id',this.patient_id)
585
-        console.log('this.date',this.date)
586
       this.doctor_advices = []
578
       this.doctor_advices = []
587
       getDialysisScheduleDetail(this.patient_id, this.date).then(rs => {
579
       getDialysisScheduleDetail(this.patient_id, this.date).then(rs => {
588
 
580
 
592
           var schedual = resp.data.schedual // 患者排班信息
584
           var schedual = resp.data.schedual // 患者排班信息
593
          
585
          
594
           var prescription = resp.data.prescription // 透析处方
586
           var prescription = resp.data.prescription // 透析处方
587
+          console.log("投产出大发大发233232323232233232",prescription)
595
           if (prescription != null) {
588
           if (prescription != null) {
596
             if (prescription.body_fluid == -2) {
589
             if (prescription.body_fluid == -2) {
597
               prescription.body_fluid = 0
590
               prescription.body_fluid = 0