28169 3 dni temu
rodzic
commit
0b2b0a140c

+ 7 - 4
src/xt_pages/data/druguseTemplate.vue Wyświetl plik

@@ -2863,6 +2863,7 @@
2863 2863
                 obj.delivery_way = medicalList[i].delivery_way
2864 2864
                 obj.execution_frequency = medicalList[i].execution_frequency
2865 2865
                 obj.single_dose = medicalList[i].single_dose
2866
+                obj.single_dose_unit  = medicalList[i].dose_unit
2866 2867
                 obj.prescribing_number = medicalList[i].prescribing_number
2867 2868
                 obj.type_id = medicalList[i].id
2868 2869
                 obj.type = 2
@@ -2900,6 +2901,7 @@
2900 2901
                 obj.delivery_way = base_drug_list[i].delivery_way
2901 2902
                 obj.execution_frequency = base_drug_list[i].execution_frequency
2902 2903
                 obj.single_dose = base_drug_list[i].single_dose
2904
+                obj.single_dose_unit = base_drug_list[i].dose_unit
2903 2905
                 obj.prescribing_number = base_drug_list[i].prescribing_number
2904 2906
                 obj.type_id = base_drug_list[i].id
2905 2907
                 obj.type = 1
@@ -2917,6 +2919,7 @@
2917 2919
     changeDrugName(name){
2918 2920
        this.current_drug_name = name
2919 2921
        this.templateForm.advice_desc = ''
2922
+       console.log("all_drug=============",this.all_drug)
2920 2923
       this.drugSpec = []
2921 2924
       for (let i = 0; i < this.all_drug.length; i++) {
2922 2925
         if (this.all_drug[i].drug_name == name) {
@@ -3031,15 +3034,15 @@
3031 3034
        return a.sort - b.sort
3032 3035
      },
3033 3036
      hangleSelectChange(val){
3034
-        console.log("==val==",val)
3037
+      console.log("==val==",val)
3035 3038
        var tmp = val.drug_specs[0]
3036 3039
        console.log("tmp",tmp)
3037 3040
        this.templateForm.advice_desc=this.drugSpec[0].drug_spec
3038
-       this.templateForm.drug_spec_unit=this.drugSpec[0].min_unit
3041
+       this.templateForm.drug_spec_unit= this.drugSpec[0].min_unit
3039 3042
        this.templateForm.prescribing_number=this.drugSpec[0].prescribing_number
3040 3043
        this.templateForm.prescribing_number_unit=this.drugSpec[0].prescribing_number_unit
3041
-       this.templateForm.single_dose=this.drugSpec[0].single_dose
3042
-       this.templateForm.single_dose_unit=this.drugSpec[0].min_unit
3044
+       this.templateForm.single_dose= this.drugSpec[0].single_dose
3045
+       this.templateForm.single_dose_unit= val.single_dose_unit
3043 3046
        this.templateForm.delivery_way=this.drugSpec[0].delivery_way
3044 3047
        this.templateForm.execution_frequency=this.drugSpec[0].execution_frequency
3045 3048
        this.templateForm.advice_desc=tmp.dose+tmp.dose_unit+"*"+tmp.min_number+tmp.min_unit+"/"//药品规格

+ 24 - 2
src/xt_pages/dialysis/PatientBox.vue Wyświetl plik

@@ -161,19 +161,41 @@
161 161
         </p>
162 162
 
163 163
 
164
-        <p v-if="$store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340">
164
+        <p v-if="$store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340 && $store.getters.xt_user.org.id!=0&& $store.getters.xt_user.org.id!=10742">
165 165
           透析器/灌流器:{{schedule.prescription? schedule.prescription.dialyzer_perfusion_apparatus: ""}}
166 166
           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_dialyszers: ""}}</span>
167 167
           <span v-if="schedule.prescription != null &&schedule.prescription.dialysis_irrigation != ''">/</span>
168 168
           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_irrigation: ""}}</span>
169 169
         </p>
170
+
171
+        <p v-if="$store.getters.xt_user.org.id ==0 ||  $store.getters.xt_user.org.id ==10742">
172
+          透析器/灌流器/滤过器:
173
+        
174
+          <span v-if="schedule.prescription != null">
175
+            <span v-if="schedule.prescription.id > 0">
176
+              {{schedule.prescription? schedule.prescription.dialysis_dialyszers: ""}}
177
+            </span>
178
+            <span v-if="schedule.prescription != null &&schedule.prescription.dialysis_irrigation != ''">/</span>
179
+            <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_irrigation: ""}}</span>
180
+          </span>
181
+
182
+          <span v-if="schedule.prescription== null && schedule.dialysis_solution!=null">
183
+             <span v-if="schedule.dialysis_solution.id>0">
184
+                {{ schedule.dialysis_solution.dialysis_dialyszers }} 
185
+               <span v-if="schedule.dialysis_solution.dialysis_dialyszers!=''"> {{ schedule.dialysis_solution.dialysis_irrigation }}</span>
186
+               <span v-if="schedule.dialysis_solution.dialysis_strainer!=''"> {{ schedule.dialysis_solution.dialysis_strainer }}</span>
187
+             </span>
188
+          </span>
189
+        
190
+        </p>
191
+
170 192
         <p v-if="$store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
171 193
              透析器/灌流器:
172 194
              <span v-if="schedule.dialysis_order!=null">{{schedule.dialysis_order.dialysis_dialyszers}}</span>
173 195
              <span v-if="schedule.dialysis_order!=null">{{schedule.dialysis_order.dialysis_irrigation}}</span>
174 196
              
175 197
         </p>
176
-        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==10445">
198
+        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==10445 ||  $store.getters.xt_user.org.id==10579 ">
177 199
            滤过器:
178 200
            <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_strainer: ""}}</span>
179 201
         </p>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Wyświetl plik

@@ -1749,7 +1749,7 @@ export default {
1749 1749
           }
1750 1750
       }
1751 1751
 
1752
-      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495){
1752
+      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495 || this.$store.getters.xt_user.org.id == 10742){
1753 1753
         var date = new Date()
1754 1754
           var year = date.getFullYear()
1755 1755
           var month = date.getMonth() + 1

+ 23 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Wyświetl plik

@@ -3064,6 +3064,29 @@ mu
3064 3064
               minites = '0' + minites
3065 3065
             }
3066 3066
             this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
3067
+           }else if(this.$store.getters.xt_user.org.id == 10742){
3068
+            var date = new Date()
3069
+            var year = date.getFullYear()
3070
+            var month = date.getMonth() + 1
3071
+            var day = date.getDate()
3072
+
3073
+            var hours = date.getHours()
3074
+            var minites = date.getMinutes()
3075
+
3076
+            if (month < 10) {
3077
+              month = '0' + month
3078
+            }
3079
+            if (day < 10) {
3080
+              day = '0' + day
3081
+            }
3082
+            if (hours < 10) {
3083
+              hours = '0' + hours
3084
+            }
3085
+            if (minites < 10) {
3086
+              minites = '0' + minites
3087
+            }
3088
+            this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
3089
+
3067 3090
            }else if(this.$store.getters.xt_user.org.id == 10495){
3068 3091
 
3069 3092
             var date = new Date()