See999 4 years ago
parent
commit
8b353bd62d
1 changed files with 23 additions and 23 deletions
  1. 23 23
      src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue

+ 23 - 23
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue View File

1
 <template>
1
 <template>
2
-   <div>
2
+   <div id='prescriptionPrint'>
3
     <div id='prescription-print' class="prescription-print" v-for="(item,index) in advicePrint" :key="index">
3
     <div id='prescription-print' class="prescription-print" v-for="(item,index) in advicePrint" :key="index">
4
 
4
 
5
-        <div style="display:flex;justify-content: space-between;font-weight:bold;">
6
-            <p style="width:300px;display:flex;justify-content: space-between;font-weight:bold;">
5
+        <div style="display:flex;justify-content: space-between;font-weight:bold;align-items:center;">
6
+            <div style="width:200px;display:flex;justify-content: space-between;font-weight:bold;">
7
                 <span>费别</span>
7
                 <span>费别</span>
8
                 <span>自费</span>
8
                 <span>自费</span>
9
                 <span>公费</span>
9
                 <span>公费</span>
10
                 <span>保险</span>
10
                 <span>保险</span>
11
                 <span>其他</span>
11
                 <span>其他</span>
12
-            </p>
13
-            <p>就诊日期:{{getTime(item.ctime)}}</p>
12
+            </div>
13
+            <div>就诊日期:{{getTime(item.ctime,"{y}-{m}-{d}")}}</div>
14
         </div>
14
         </div>
15
 
15
 
16
-        <div class="printTitle">{{orgname}} &nbsp;&nbsp; 血液透析中心处方、治疗单</div>
17
-
18
-        <!-- <div class="printTitle">处方、治疗单</div> -->
16
+        <div class="printTitle">{{orgname}}</div>
17
+        <div class="printTitle">血液透析中心处方、治疗单</div>
19
 
18
 
20
         <div class="infoTitle">
19
         <div class="infoTitle">
21
-            <p>门诊编号:</p>
22
-            <p>电脑号:</p>
20
+            <div>门诊编号:</div>
21
+            <div>电脑号:</div>
23
         </div>
22
         </div>
24
 
23
 
25
         <div class="infoMain">
24
         <div class="infoMain">
26
-            <p style="margin-bottom: 10px;width:25%">姓名:{{item.patient.name}}</p>
27
-            <p style="margin-bottom: 10px;width:25%">性别:
25
+            <div style="margin-bottom: 10px;width:25%">姓名:{{item.patient.name}}</div>
26
+            <div style="margin-bottom: 10px;width:25%">性别:
28
                 <span v-if="item.patient.gender == 1">男</span>
27
                 <span v-if="item.patient.gender == 1">男</span>
29
                 <span v-if="item.patient.gender == 2">女</span>
28
                 <span v-if="item.patient.gender == 2">女</span>
30
-            </p>
31
-            <p style="margin-bottom: 10px;width:25%">年龄:
29
+            </div>
30
+            <div style="margin-bottom: 10px;width:25%">年龄:
32
                 <span>{{item.patient.age}}</span>
31
                 <span>{{item.patient.age}}</span>
33
-            </p>
34
-            <p style="margin-bottom: 10px;width:25%">参保类型:</p>
35
-            <p style="margin-bottom: 10px;width:50%;">联系电话:{{item.patient.phone}}</p>
36
-            <p style="width:50%;">地址:{{item.patient.unit_address}}</p>
37
-            <p style="width:50%;">诊断:{{item.patient.diagnose}}</p>
32
+            </div>
33
+            <div style="margin-bottom: 10px;width:25%">参保类型:</div>
34
+            <div style="margin-bottom: 10px;width:50%;">联系电话:{{item.patient.phone}}</div>
35
+            <div style="width:50%;">地址:{{item.patient.unit_address}}</div>
36
+            <div style="width:100%;">诊断:{{item.patient.diagnose}}</div>
38
         </div>
37
         </div>
39
 
38
 
40
         <div class="prescriptionBox">
39
         <div class="prescriptionBox">
64
         </div>
63
         </div>
65
 
64
 
66
         <div class="infoTitle">
65
         <div class="infoTitle">
67
-            <p>开单医生:{{item.doctor?item.doctor:""}}</p>
68
-            <p>签章:</p>
66
+            <div>开单医生:{{item.doctor?item.doctor:""}}</div>
67
+            <div>签章:</div>
69
         </div>
68
         </div>
70
 
69
 
71
         <div class="actionBar">
70
         <div class="actionBar">
72
-            <p>执行医生:{{item.doctor?item.doctor:""}}</p>
73
-            <p>费用:{{getTotalOne(item.id)?getTotalOne(item.id):''}}元</p>
71
+            <div>执行医生:{{item.doctor?item.doctor:""}}</div>
72
+            <div>费用:{{getTotalOne(item.id)?getTotalOne(item.id):''}}元</div>
74
         </div>
73
         </div>
75
 
74
 
76
         <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
75
         <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
369
     font-size: 18px;
368
     font-size: 18px;
370
     text-align: center;
369
     text-align: center;
371
     font-weight: bold;
370
     font-weight: bold;
371
+    margin-top: 10px;
372
 }
372
 }
373
 .infoTitle{
373
 .infoTitle{
374
     display: flex;
374
     display: flex;