Ver código fonte

Merge branch '20230223_pad_vue_new_branch' of http://git.shengws.com/csx/Pad_New into 20230223_pad_vue_new_branch

28169 1 ano atrás
pai
commit
a0f9d19827

+ 2 - 25
src/pages/main/newActionBar/components/subDrugOrder.vue Ver arquivo

@@ -28,6 +28,7 @@
28 28
                         v-model="order.advice_desc"
29 29
                         :fetch-suggestions="querySearch1"
30 30
                         placeholder="请输入内容"
31
+                        @select="handleSelect1"
31 32
                         @input="changeDrugDesc"
32 33
                         ></el-autocomplete>
33 34
                         <input
@@ -260,28 +261,15 @@ export default {
260 261
         },
261 262
         createFilter (queryString) {
262 263
             return (restaurant) => {
263
-                // return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
264
+                //return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
264 265
                 return (restaurant.drug_name.indexOf(queryString) != -1)
265 266
             }
266 267
         },
267 268
         handleSelect (item) {
268
-            console.log("itemwowowowo",item)
269 269
             this.drug_id = 0
270 270
             this.way = 0
271 271
             this.current_drug_name = name
272 272
             this.order.advice_desc = ''
273
-             
274
-            var specai_name  = item.drug_specs[0].dose + item.drug_specs[0].dose_unit +"*" +item.drug_specs[0].min_number + item.drug_specs[0].min_unit +"/" + item.drug_specs[0].max_unit
275
-
276
-            this.order.advice_desc = specai_name
277
-            this.order.drug_spec_unit = item.drug_specs[0].min_unit
278
-            this.order.prescribing_number = item.drug_specs[0].prescribing_number
279
-            this.order.prescribing_number_unit = item.drug_specs[0].prescribing_number_unit
280
-            this.order.single_dose = item.drug_specs[0].single_dose
281
-            this.order.single_dose_unit =this.getUnits(item.drug_specs[0].drug_dose_unit) 
282
-            this.order.delivery_way  = item.drug_specs[0].delivery_way
283
-            this.order.execution_frequency = item.drug_specs[0].execution_frequency
284
-
285 273
             this.drugSpec = []
286 274
             for (let i = 0; i < this.all_drug.length; i++) {
287 275
                 if (this.all_drug[i].drug_name == item.drug_name) {
@@ -509,17 +497,6 @@ export default {
509 497
             this.drug_name_id = 0
510 498
             this.order.drug_id = 0;
511 499
         },
512
-
513
-        getUnits(id){
514
-            console.log("drug_spec_unit_options",this.drug_spec_unit_options)
515
-            var name = ""
516
-            for(let i=0;i<this.drug_spec_unit_options.length;i++){
517
-                if(id == this.drug_spec_unit_options[i].id){
518
-                name = this.drug_spec_unit_options[i].name
519
-                }
520
-            }
521
-            return name
522
-          },
523 500
     }
524 501
 }
525 502
 </script>

+ 15 - 15
src/pages/main/template/DialysisPrintOrderSeventy.vue Ver arquivo

@@ -27,13 +27,13 @@
27 27
                 <check-box  :checked="patientInfo_source_1 "></check-box>
28 28
             </div>
29 29
         </div>
30
-        <div class="inline_block" v-if="org_id!=10510">
30
+        <div class="inline_block" v-if="org_id!=10510" >
31 31
           病区:
32
-            <div class="under_line" style="width: 50px;text-align: center;">
32
+            <div class="under_line" style="width: 70px;text-align: left;">
33 33
                 {{'/'}}
34 34
             </div>
35 35
         </div>
36
-        <div class="inline_block" v-if="org_id!=10510">
36
+        <div class="inline_block" v-if="org_id!=10510" style="margin-left: 10px;">
37 37
           床号:
38 38
             <div class="under_line" style="width: 50px;text-align: center;">
39 39
               <span v-if="org_id!=9675 && org_id!=10447 && org_id!=10460"> {{'/'}}</span>
@@ -184,33 +184,33 @@
184 184
                   </div>
185 185
                 </div>
186 186
                 <div class="row" style="padding: 2px 0;line-height:23px;display:flex;" >
187
-                  <div class="inline_block" style="flex:1;">
187
+                  <div class="inline_block" style=" flex: 1">
188 188
                     穿刺方式:
189 189
                     <div
190 190
                       class="under_line"
191
-                      style="width: 100px;text-align: center"
192
-                      v-if="predialysis.puncture_way == 0"
191
+                      style="width: 100px; text-align: center"
192
+                      v-if="predialysis.puncture_way == ''"
193 193
                     >
194
-                      /
194
+                        /
195 195
                     </div>
196 196
                     <div
197 197
                       class="under_line"
198
-                      style="width: 100px;text-align: center"
199
-                      v-if="predialysis.puncture_way == 1"
198
+                      style="width: 60px; text-align: center"
199
+                      v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
200 200
                     >
201 201
                       绳梯
202 202
                     </div>
203 203
                     <div
204 204
                       class="under_line"
205
-                      style="width: 100px;text-align: center"
206
-                      v-if="predialysis.puncture_way == 2"
205
+                      style="width: 60px; text-align: center"
206
+                      v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
207 207
                     >
208 208
                       扣眼
209 209
                     </div>
210 210
                     <div
211 211
                       class="under_line"
212
-                      style="width: 100px;text-align: center"
213
-                      v-if="predialysis.puncture_way == 3"
212
+                      style="width: 60px; text-align: center"
213
+                      v-if="predialysis.puncture_way.indexOf('区域') > -1"
214 214
                     >
215 215
                       区域
216 216
                     </div>
@@ -444,7 +444,7 @@
444 444
                     kg
445 445
                   </div>
446 446
                   <div class="inline_block" style="flex:1;" >
447
-                    计划超滤量:
447
+                    目标超滤量:
448 448
                     <div class="under_line" style="width: 70px;text-align: center">
449 449
                       {{prescription.target_ultrafiltration?prescription.target_ultrafiltration:'/'}}
450 450
                     </div>
@@ -627,10 +627,10 @@
627 627
                       <td> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
628 628
                       <td>{{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}</td>
629 629
                       <td> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
630
-                      <td> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
631 630
                       <td> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}
632 631
                         {{  monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
633 632
                       </td>
633
+                      <td> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
634 634
                       <td> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
635 635
                       <td> {{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }} </td>
636 636
                       <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} </td>