Browse Source

处方笺

huangyw 3 years ago
parent
commit
3a2b2c03df

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue View File

671
                       透析时间:
671
                       透析时间:
672
                       <div
672
                       <div
673
                         class="under_line"
673
                         class="under_line"
674
-                        style="width: 30px; text-align: center"
674
+                        style="width: 20px; text-align: center"
675
                       >
675
                       >
676
                         {{
676
                         {{
677
                           prescription.dialysis_duration_hour
677
                           prescription.dialysis_duration_hour

BIN
src/xt_pages/outpatientDoctorStation/assets/shuiyin.jpg View File


+ 2 - 2
src/xt_pages/outpatientDoctorStation/print.vue View File

14
 
14
 
15
     <div class="dialysisPage" style="padding-top: 40px">
15
     <div class="dialysisPage" style="padding-top: 40px">
16
       <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 9675">
16
       <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 9675">
17
-        <printOne
17
+        <printSix
18
           v-if="org_id != 10088 && org_id != 10215"
18
           v-if="org_id != 10088 && org_id != 10215"
19
           v-bind:childResponse="childResponse"
19
           v-bind:childResponse="childResponse"
20
           :advicePrint="advicePrint"
20
           :advicePrint="advicePrint"
25
           :patient_id="patient_id"
25
           :patient_id="patient_id"
26
           :record_date="record_date"
26
           :record_date="record_date"
27
           :prescription_id="prescription_id"
27
           :prescription_id="prescription_id"
28
-        ></printOne>
28
+        ></printSix>
29
         <printFour
29
         <printFour
30
           v-if="org_id == 10088"
30
           v-if="org_id == 10088"
31
           v-bind:childResponse="childResponse"
31
           v-bind:childResponse="childResponse"

+ 15 - 8
src/xt_pages/outpatientDoctorStation/template/printSix.vue View File

14
         </div>
14
         </div>
15
         <div
15
         <div
16
           class="printTitle"
16
           class="printTitle"
17
-          v-if="
18
-            prescriptions[0].med_type != '1111' &&
19
-            prescriptions[0].med_type != '1112'
20
-          "
21
         >
17
         >
22
-          {{ orgname }}处方笺
18
+        <div style="line-height: 60px;font-size: 30px;">{{ orgname }}处方笺</div>
19
+          
20
+          <img class="logo" src="../assets/shuiyin.jpg" alt="加载失败..">
23
         </div>
21
         </div>
24
 
22
 
23
+        
24
+
25
         <div class="infoTitle" style="border-bottom:1px solid #000;">
25
         <div class="infoTitle" style="border-bottom:1px solid #000;">
26
           <p>科室:{{ item.info ? getDepart(item.info.departments) : "" }}</p>
26
           <p>科室:{{ item.info ? getDepart(item.info.departments) : "" }}</p>
27
           <p>费别:</p>
27
           <p>费别:</p>
28
           <p>门诊号:{{ hisPatient.number ? hisPatient.number : "" }}</p>
28
           <p>门诊号:{{ hisPatient.number ? hisPatient.number : "" }}</p>
29
           <p>
29
           <p>
30
-            <!-- <span>年</span> <span>月</span> <span>日</span> -->
31
-            {{getTime(item.ctime)?getTime(item.ctime):""}}
30
+            <span>{{record_date.split("-")[0]}}年</span> <span>{{record_date.split("-")[1]}}月</span> <span>{{record_date.split("-")[2]}}日</span>
31
+            <!-- {{getTime(item.ctime)?getTime(item.ctime):""}} -->
32
           </p>
32
           </p>
33
         </div>
33
         </div>
34
 
34
 
40
             <span v-if="item.patient.gender == 2">女</span>
40
             <span v-if="item.patient.gender == 2">女</span>
41
           </p>
41
           </p>
42
           <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
42
           <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
43
-          <p>电话:</p>
43
+          <p>电话:{{item.patient.phone}}</p>
44
         </div>
44
         </div>
45
         <div class="infoTitle" style="border-bottom:1px solid #000;">
45
         <div class="infoTitle" style="border-bottom:1px solid #000;">
46
           <p>地址:{{ item.patient.home_address }}</p>
46
           <p>地址:{{ item.patient.home_address }}</p>
264
     },
264
     },
265
     getTime(value, temp) {
265
     getTime(value, temp) {
266
       if (value != undefined) {
266
       if (value != undefined) {
267
+
267
         return uParseTime(value, temp);
268
         return uParseTime(value, temp);
268
       }
269
       }
269
       return "";
270
       return "";
448
   font-size: 22px;
449
   font-size: 22px;
449
   text-align: center;
450
   text-align: center;
450
   font-weight: bold;
451
   font-weight: bold;
452
+  display: flex;
453
+    position: relative;
454
+    left: 50%;
455
+    transform: translateX(-50px);
451
 }
456
 }
452
 .infoTitle_thin {
457
 .infoTitle_thin {
453
   display: flex;
458
   display: flex;
535
 .actionBar p {
540
 .actionBar p {
536
   width: 150px;
541
   width: 150px;
537
 }
542
 }
543
+
544
+.logo{}
538
 </style>
545
 </style>