Pārlūkot izejas kodu

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

28169 3 nedēļas atpakaļ
vecāks
revīzija
beebc5f55e

+ 1 - 1
src/xt_pages/outpatientDoctorStation/print.vue Parādīt failu

@@ -3,7 +3,7 @@
3 3
     <div class="dialysisPage" style="padding-top: 40px">
4 4
       <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 10537 ">
5 5
 
6
-        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 10217 && org_id != 10598 && org_id != 0" v-bind:childResponse="childResponse"
6
+        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 10217 && org_id != 10598 && org_id != 10644 && org_id != 0" v-bind:childResponse="childResponse"
7 7
         :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
8 8
         :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
9 9
         :prescription_id="prescription_id"></printOne>

+ 2 - 2
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue Parādīt failu

@@ -60,7 +60,7 @@
60 60
             </div>
61 61
           </div>
62 62
         </div>
63
-          <div class="prescriptionBox" style="height: 300px;">
63
+          <div class="prescriptionBox" style="height: 400px;">
64 64
             <div class="Rp">Rp:</div>
65 65
             <div
66 66
               class="drugsBox"
@@ -869,7 +869,7 @@ export default{
869 869
 }
870 870
 .prescriptionBox {
871 871
   padding: 0 10px;
872
-  min-height: 450px;
872
+  max-height: 450px;
873 873
 }
874 874
 .Rp {
875 875
   font-size: 22px;

+ 13 - 88
src/xt_pages/outpatientDoctorStation/template/prineight.vue Parādīt failu

@@ -20,7 +20,7 @@
20 20
             <div style="font-size: 14px;font-weight: normal;text-align: right;" 
21 21
               v-if="prescriptions[index].med_type == '1112'">(精二)
22 22
             </div>
23
-            <span>{{ orgname }}处方笺11111</span>
23
+            <span>{{ orgname }}处方笺</span>
24 24
           </div>
25 25
           <!-- 非精神处方 -->
26 26
           <div  style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;" 
@@ -30,7 +30,7 @@
30 30
                 NO:
31 31
               </div>
32 32
               <div style="flex: 1;">
33
-                开方时间:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
33
+                开方日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
34 34
               </div>
35 35
             </div>
36 36
             <div style="display: flex;line-height: 24px;padding: 0 10px;">
@@ -58,7 +58,7 @@
58 58
                 过敏史:
59 59
               </div>
60 60
             </div>
61
-            <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址:{{ item.patient.home_address }}</div>
61
+            <div style="flex: 2;margin: 10px 0;">住址/电话:{{ item.patient.home_address }}&nbsp;<span>{{ item.patient.phone }}</span></div>
62 62
           </div>
63 63
           <!-- 精二 -->
64 64
           <div style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
@@ -136,7 +136,7 @@
136 136
                       过敏史:
137 137
                     </div>
138 138
                   </div>
139
-                  <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址:{{ item.patient.home_address }}</div>
139
+                  <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址/电话:{{ item.patient.home_address }}&nbsp;<span>{{ item.patient.phone }}</span></div>
140 140
                 </div>
141 141
                 <!-- 精二 -->
142 142
                 <div style="margin: 20px 0px;border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
@@ -199,11 +199,6 @@
199 199
                     <div style="margin-left: 70px" >
200 200
                       <template>
201 201
                           用法:
202
-                          <!-- <div style="display: inline-block;">
203
-                            <template>
204
-                              <span style="margin-right: 0;" v-if="it.arr[0].length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
205
-                            </template>
206
-                          </div> -->
207 202
                         &nbsp;&nbsp;<span>
208 203
                           {{ it.execution_frequency }}&nbsp;{{
209 204
                             it.delivery_way
@@ -225,10 +220,6 @@
225 220
                     </div>
226 221
                   <!-- </div> -->
227 222
                   <template>
228
-                      <!-- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="(item.arr.length>0&&ite[0].groupno!=it.groupno) ||item.arr.length==0">
229
-                        &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
230
-                      </div> -->
231
-
232 223
                       <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" >
233 224
                         &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
234 225
                       </div>
@@ -278,84 +269,12 @@
278 269
                   <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
279 270
                     ×&nbsp;{{ it.prescribing_number}}
280 271
                   </div>
281
-                  <!-- <div> -->
282
-                    <!-- <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
283
-                      ×&nbsp;{{ it.arr[0].prescribing_number}}
284
-                    </div> -->
285
-                  <!-- </div> -->
286 272
                   <template>
287 273
                       <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;">
288 274
                         &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
289 275
                       </div>
290
-
291
-                      <!-- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" >
292
-                        &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
293
-                      </div> -->
294 276
                   </template>
295 277
                 </div>
296
-
297
-                <!-------------------------------------------------------------------------->
298
-                <!-- <template>
299
-                  <div v-for="(ite,indexs) in item.arr" :key="indexs">
300
-                    <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
301
-                    <span style="font-weight: bold" >
302
-                      {{ index + 1 + "."}}
303
-                    </span>
304
-                    {{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;
305
-                    <span v-if="it.drug.min_unit != it.drug.dose_unit">
306
-                      {{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* {{ it.drug.min_number }}{{ it.drug.min_unit }}/
307
-                      {{it.drug.max_unit}}
308
-                    </span>&nbsp;
309
-                    <div >
310
-                      <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
311
-                        <div >
312
-                          <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>&nbsp;&nbsp;
313
-                          <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
314
-                            {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }}&nbsp;* {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
315
-                            {{ite[0].drug.max_unit}}
316
-                          </span>&nbsp;
317
-                        </div>
318
-                        <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
319
-                          &nbsp;共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
320
-                        </div>
321
-                      </template>
322
-                    </div>
323
-                    <div style="margin-left: 70px">
324
-                      用法:
325
-                      <span v-if="(item.arr.length>0 && item.arr[0][0].groupno!=it.groupno)||item.arr.length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
326
-                      &nbsp;&nbsp;<span>
327
-                        {{ it.execution_frequency }}&nbsp;{{
328
-                          it.delivery_way
329
-                        }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
330
-                    </div>
331
-                    <div style="margin-left: 70px" v-if="it.remark !=''">
332
-                      备注:<span > {{ it.remark }}</span>
333
-                    </div>
334
-                    </div>
335
-                    <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
336
-                      ×&nbsp;{{ it.prescribing_number}}
337
-                    </div>
338
-                    <div >
339
-                      <template v-if="item.arr.length>0&&ite[0].groupno==it.groupno">
340
-                        <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
341
-                          ×&nbsp;{{ ite[0].prescribing_number}}
342
-                        </div>
343
-                      </template>
344
-                    </div>
345
-                    <template>
346
-                        <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
347
-                          &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
348
-                        </div>
349
-
350
-                        <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
351
-                          &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
352
-                        </div>
353
-
354
-                    </template>
355
-                  </div>
356
-
357
-                </template> -->
358
-
359 278
               </div>
360 279
               <template v-if="index==yi&&item.advices.length>5">
361 280
                 <div style="margin: 20px 0px;" 
@@ -447,8 +366,13 @@
447 366
               </div>
448 367
             </div>
449 368
             <div style="text-align: center">(以下空白)</div>
369
+            <div style="text-align: center;">/</div>
370
+            <div style="text-align: center;">/</div>
371
+            <div style="text-align: center;">/</div>
372
+          </div>
373
+          <div style="margin-left: 70px">
374
+              备注信息:<span style="border-bottom: 1px solid black;"></span>
450 375
           </div>
451
-
452 376
           <div v-if="prescriptions[index].med_type != '1111' && prescriptions[index].med_type != '1112'">
453 377
             <div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
454 378
               <div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
@@ -602,7 +526,7 @@ export default{
602 526
     },
603 527
     getTime(value, temp) {
604 528
       if (value != undefined) {
605
-        return uParseTime(value, '{y}年{m}月{d}日')
529
+        return uParseTime(value, '{y}年{m}月{d}日 {h}:{i}:{s}')
606 530
       }
607 531
       return "";
608 532
     },
@@ -886,8 +810,9 @@ export default{
886 810
 }
887 811
 .prescriptionBox {
888 812
   padding: 0 10px;
889
-  min-height: 450px;
813
+  max-height: 450px;
890 814
 }
815
+
891 816
 .Rp {
892 817
   font-size: 22px;
893 818
   font-weight: bold;