See999 4 lat temu
rodzic
commit
3d87846b0e

+ 1 - 1
src/xt_pages/outpatientCharges/print.vue Wyświetl plik

218
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
218
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
219
 
219
 
220
       const style =
220
       const style =
221
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;min-height:750px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
221
+        '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
222
       printJS({
222
       printJS({
223
         printable: "prescription-print",
223
         printable: "prescription-print",
224
         type: "html",
224
         type: "html",

+ 15 - 15
src/xt_pages/outpatientCharges/template/printOne.vue Wyświetl plik

7
             <p>年龄:12岁</p>
7
             <p>年龄:12岁</p>
8
         </div>
8
         </div>
9
         <div class="infoMain">
9
         <div class="infoMain">
10
-            <p style="margin-bottom: 10px;">门诊号:111111111111</p>
11
-            <p style="margin-bottom: 10px;">科室:全科</p>
12
-            <p style="margin-bottom: 10px;">医保卡号:111111111111</p>
13
-            <p style="margin-bottom: 10px;">电话:111111111111</p>
14
-            <p>地址:加上来看待就卢萨卡的及拉丝机的了</p>
15
-            <p>临床诊断:拉胯手机上的拉丝机的</p>
10
+            <div style="margin-bottom: 10px;">门诊号:111111111111</div>
11
+            <div style="margin-bottom: 10px;">科室:全科</div>
12
+            <div style="margin-bottom: 10px;">医保卡号:111111111111</div>
13
+            <div style="margin-bottom: 10px;">电话:111111111111</div>
14
+            <div>地址:加上来看待就卢萨卡的及拉丝机的了</div>
15
+            <div>临床诊断:拉胯手机上的拉丝机的</div>
16
         </div>
16
         </div>
17
         <div class="prescriptionBox">
17
         <div class="prescriptionBox">
18
-            <p class="Rp">Rp:</p>
18
+            <div class="Rp">Rp:</div>
19
             <div class="drugsBox">
19
             <div class="drugsBox">
20
-                <p class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</p>
21
-                <p style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></p>
20
+                <div class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</div>
21
+                <div style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></div>
22
             </div>
22
             </div>
23
             <div class="drugsBox">
23
             <div class="drugsBox">
24
-                <p class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</p>
25
-                <p style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></p>
24
+                <div class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</div>
25
+                <div style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></div>
26
             </div>
26
             </div>
27
         </div>
27
         </div>
28
         <div class="doctorBox">
28
         <div class="doctorBox">
63
     border-bottom: 2px solid #000;
63
     border-bottom: 2px solid #000;
64
     padding:0 10px;
64
     padding:0 10px;
65
 }
65
 }
66
-.infoMain p{
66
+.infoMain div{
67
     width: 50%;
67
     width: 50%;
68
     line-height: 24px;
68
     line-height: 24px;
69
 }
69
 }
70
 .prescriptionBox{
70
 .prescriptionBox{
71
     padding:0 10px;
71
     padding:0 10px;
72
-    min-height:600px;
72
+    min-height:450px;
73
 }
73
 }
74
 .Rp{
74
 .Rp{
75
     font-size: 22px;
75
     font-size: 22px;
79
     padding-left: 40px;
79
     padding-left: 40px;
80
     margin-bottom: 10px;
80
     margin-bottom: 10px;
81
 }
81
 }
82
-.drugsBox p{
83
-    line-height: 30px;
82
+.drugsBox div{
83
+    line-height: 20px;
84
 }
84
 }
85
 .drugsOne{
85
 .drugsOne{
86
     line-height: 24px;
86
     line-height: 24px;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/print.vue Wyświetl plik

81
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
81
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
82
 
82
 
83
       const style =
83
       const style =
84
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;min-height:750px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
84
+        '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
85
       printJS({
85
       printJS({
86
         printable: "prescription-print",
86
         printable: "prescription-print",
87
         type: "html",
87
         type: "html",

+ 1 - 1
src/xt_pages/outpatientDoctorStation/printtwo.vue Wyświetl plik

74
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
74
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
75
 
75
 
76
       const style =
76
       const style =
77
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;height:750px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
77
+        '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
78
       printJS({
78
       printJS({
79
         printable: "prescription-print",
79
         printable: "prescription-print",
80
         type: "html",
80
         type: "html",

+ 1 - 1
src/xt_pages/outpatientDoctorStation/recordPrint.vue Wyświetl plik

101
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
101
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
102
 
102
 
103
       const style =
103
       const style =
104
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 1px;padding:0 10px;}.infoTitle p{width: 200px;}.otherInfo{display: flex;margin-top:10px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle p{width: 200px;}}';
104
+        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}';
105
       printJS({
105
       printJS({
106
         printable: "prescription-print",
106
         printable: "prescription-print",
107
         type: "html",
107
         type: "html",

+ 42 - 42
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Wyświetl plik

2
     <div id='prescription-print' class="prescription-print">
2
     <div id='prescription-print' class="prescription-print">
3
         <div class="printTitle">门诊病历</div>
3
         <div class="printTitle">门诊病历</div>
4
         <div class="infoTitle">
4
         <div class="infoTitle">
5
-            <p>姓名:{{patient.name}}</p>
6
-            <p>性别:
5
+            <div>姓名:{{patient.name}}</div>
6
+            <div>性别:
7
                 <span v-if="patient.gender == 1">男</span>
7
                 <span v-if="patient.gender == 1">男</span>
8
                 <span v-if="patient.gender == 2">女</span>
8
                 <span v-if="patient.gender == 2">女</span>
9
-            </p>
10
-            <p>年龄:{{patient.age}}岁</p>
9
+            </div>
10
+            <div>年龄:{{patient.age}}岁</div>
11
         </div>
11
         </div>
12
         <div class="infoTitle">
12
         <div class="infoTitle">
13
-            <p>婚姻状况:
13
+            <div>婚姻状况:
14
               <span v-if="patient.marital_status == 1">已婚 </span>
14
               <span v-if="patient.marital_status == 1">已婚 </span>
15
               <span v-if="patient.marital_status == 2">未婚 </span>
15
               <span v-if="patient.marital_status == 2">未婚 </span>
16
-            </p>
17
-            <p>职业:{{getProfession(patient.profession)}}</p>
16
+            </div>
17
+            <div>职业:{{getProfession(patient.profession)}}</div>
18
         </div>
18
         </div>
19
         <div class="otherInfo">
19
         <div class="otherInfo">
20
-            <p>医保号:</p>
21
-            <p style="flex:1;">{{patient.health_care_no}}</p>
20
+            <div>医保号:</div>
21
+            <div style="flex:1;">{{patient.health_care_no}}</div>
22
         </div>
22
         </div>
23
         <div class="otherInfo">
23
         <div class="otherInfo">
24
-            <p>联系电话:</p>
25
-            <p style="flex:1;">{{patient.phone}}</p>
24
+            <div>联系电话:</div>
25
+            <div style="flex:1;">{{patient.phone}}</div>
26
         </div>
26
         </div>
27
         <div class="otherInfo">
27
         <div class="otherInfo">
28
-            <p>通讯地址:</p>
29
-            <p style="flex:1;">{{patient.home_address}}</p>
28
+            <div>通讯地址:</div>
29
+            <div style="flex:1;">{{patient.home_address}}</div>
30
         </div>
30
         </div>
31
         <div class="otherInfo">
31
         <div class="otherInfo">
32
-            <p>药物过敏史:</p>
33
-            <p style="flex:1;">{{patient.past_history}}</p>
32
+            <div>药物过敏史:</div>
33
+            <div style="flex:1;">{{patient.past_history}}</div>
34
         </div>
34
         </div>
35
         <div class="otherInfo">
35
         <div class="otherInfo">
36
-            <p>病历编号:</p>
37
-            <p style="flex:1;">{{patient.id}}</p>
36
+            <div>病历编号:</div>
37
+            <div style="flex:1;">{{patient.id}}</div>
38
         </div>
38
         </div>
39
         <div style="page-break-after:always;margin-top:50px;"></div>
39
         <div style="page-break-after:always;margin-top:50px;"></div>
40
 
40
 
41
 
41
 
42
         <div class="printTitle">病历内容</div>
42
         <div class="printTitle">病历内容</div>
43
         <div class="recordTitle">
43
         <div class="recordTitle">
44
-            <p>科别:{{hispatient.departments}}</p>
45
-            <p>姓名:{{hispatient.name}}</p>
46
-            <p>性别:
44
+            <div>科别:{{hispatient.departments}}</div>
45
+            <div>姓名:{{hispatient.name}}</div>
46
+            <div>性别:
47
                 <span v-if="hispatient.gender == 1">男</span>
47
                 <span v-if="hispatient.gender == 1">男</span>
48
                 <span v-if="hispatient.gender == 2">女</span>
48
                 <span v-if="hispatient.gender == 2">女</span>
49
-            </p>
50
-            <p>年龄:{{hispatient.age}}岁</p>
49
+            </div>
50
+            <div>年龄:{{hispatient.age}}岁</div>
51
         </div>
51
         </div>
52
         <div class="otherInfo">
52
         <div class="otherInfo">
53
-            <p class="otherName">主诉:</p>
54
-            <p style="flex:1;">{{history.chief_conplaint}}</p>
53
+            <div class="otherName">主诉:</div>
54
+            <div style="flex:1;">{{history.chief_conplaint}}</div>
55
         </div>
55
         </div>
56
         <div class="otherInfo">
56
         <div class="otherInfo">
57
-            <p class="otherName">现病史:</p>
58
-            <p style="flex:1;">{{history.history_of_present_illness}}</p>
57
+            <div class="otherName">现病史:</div>
58
+            <div style="flex:1;">{{history.history_of_present_illness}}</div>
59
         </div>
59
         </div>
60
         <div class="otherInfo">
60
         <div class="otherInfo">
61
-            <p class="otherName">既往史:</p>
62
-            <p style="flex:1;">{{history.past_history}}</p>
61
+            <div class="otherName">既往史:</div>
62
+            <div style="flex:1;">{{history.past_history}}</div>
63
         </div>
63
         </div>
64
         <div class="otherInfo">
64
         <div class="otherInfo">
65
-            <p class="otherName">药物过敏史:</p>
66
-            <p style="flex:1;">{{history.past_history}}</p>
65
+            <div class="otherName">药物过敏史:</div>
66
+            <div style="flex:1;">{{history.past_history}}</div>
67
         </div>
67
         </div>
68
         <div class="otherInfo">
68
         <div class="otherInfo">
69
-            <p class="otherName">个人史:</p>
70
-            <p style="flex:1;">{{history.personal_history}}</p>
69
+            <div class="otherName">个人史:</div>
70
+            <div style="flex:1;">{{history.personal_history}}</div>
71
         </div>
71
         </div>
72
         <div class="otherInfo">
72
         <div class="otherInfo">
73
-            <p class="otherName">家族史:</p>
74
-            <p style="flex:1;">{{history.family_history}}</p>
73
+            <div class="otherName">家族史:</div>
74
+            <div style="flex:1;">{{history.family_history}}</div>
75
         </div>
75
         </div>
76
         <div class="otherInfo">
76
         <div class="otherInfo">
77
-            <p class="otherName">体格检查:</p>
78
-            <p style="flex:1;">无</p>
77
+            <div class="otherName">体格检查:</div>
78
+            <div style="flex:1;">无</div>
79
         </div>
79
         </div>
80
         <div class="otherInfo">
80
         <div class="otherInfo">
81
-            <p class="otherName">门诊诊断:</p>
82
-            <p style="flex:1;">{{history.diagnostic}}</p>
81
+            <div class="otherName">门诊诊断:</div>
82
+            <div style="flex:1;">{{history.diagnostic}}</div>
83
         </div>
83
         </div>
84
         <div class="otherInfo">
84
         <div class="otherInfo">
85
-            <p class="otherName">门诊医嘱:</p>
86
-            <p style="flex:1;">{{history.doctor_advice}}</p>
85
+            <div class="otherName">门诊医嘱:</div>
86
+            <div style="flex:1;">{{history.doctor_advice}}</div>
87
         </div>
87
         </div>
88
         <div style="margin-top:20px;text-align:right;">
88
         <div style="margin-top:20px;text-align:right;">
89
             医生签名:{{getDoctor(history.doctor)}}
89
             医生签名:{{getDoctor(history.doctor)}}
160
     line-height: 24px;
160
     line-height: 24px;
161
     padding:0 10px;
161
     padding:0 10px;
162
 }
162
 }
163
-.infoTitle p{
163
+.infoTitle div{
164
     width: 200px;
164
     width: 200px;
165
 }
165
 }
166
 .otherInfo{
166
 .otherInfo{
176
     padding:0 10px;
176
     padding:0 10px;
177
     border-bottom: 2px solid #000;
177
     border-bottom: 2px solid #000;
178
 }
178
 }
179
-.recordTitle p{
179
+.recordTitle div{
180
     width: 200px;
180
     width: 200px;
181
 }
181
 }
182
 
182
 

+ 13 - 13
src/xt_pages/outpatientDoctorStation/template/printOne.vue Wyświetl plik

10
             <p>年龄:{{patient.age}}岁</p>
10
             <p>年龄:{{patient.age}}岁</p>
11
         </div>
11
         </div>
12
         <div class="infoMain">
12
         <div class="infoMain">
13
-            <p style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
14
-            <p style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</p>
15
-            <p style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
16
-            <p style="margin-bottom: 10px;">电话:{{patient.phone}}</p>
17
-            <p>地址:{{patient.home_address}}</p>
18
-            <p>临床诊断:{{patient.diagnose}}</p>
13
+            <div style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
14
+            <div style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</div>
15
+            <div style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
16
+            <div style="margin-bottom: 10px;">电话:{{patient.phone}}</div>
17
+            <div>地址:{{patient.home_address}}</div>
18
+            <div style="display:flex;width:50%;">临床诊断:{{patient.diagnose}}</div>
19
         </div>
19
         </div>
20
         <div class="prescriptionBox">
20
         <div class="prescriptionBox">
21
-            <p class="Rp">Rp:</p>
21
+            <div class="Rp">Rp:</div>
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
23
-                <p class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</p>
24
-                <p style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></p>
23
+                <div class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</div>
24
+                <div style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></div>
25
             </div>
25
             </div>
26
         </div>
26
         </div>
27
         <div class="doctorBox">
27
         <div class="doctorBox">
182
     border-bottom: 2px solid #000;
182
     border-bottom: 2px solid #000;
183
     padding:0 10px;
183
     padding:0 10px;
184
 }
184
 }
185
-.infoMain p{
185
+.infoMain div{
186
     width: 50%;
186
     width: 50%;
187
     line-height: 24px;
187
     line-height: 24px;
188
 }
188
 }
189
 .prescriptionBox{
189
 .prescriptionBox{
190
     padding:0 10px;
190
     padding:0 10px;
191
-    min-height:600px;
191
+    min-height:450px;
192
 }
192
 }
193
 .Rp{
193
 .Rp{
194
     font-size: 22px;
194
     font-size: 22px;
198
     padding-left: 40px;
198
     padding-left: 40px;
199
     margin-bottom: 10px;
199
     margin-bottom: 10px;
200
 }
200
 }
201
-.drugsBox p{
202
-    line-height: 30px;
201
+.drugsBox div{
202
+    line-height: 20px;
203
 }
203
 }
204
 .drugsOne{
204
 .drugsOne{
205
     line-height: 24px;
205
     line-height: 24px;

+ 13 - 13
src/xt_pages/outpatientDoctorStation/template/printTwo.vue Wyświetl plik

10
             <p>年龄:{{patient.age}}岁</p>
10
             <p>年龄:{{patient.age}}岁</p>
11
         </div>
11
         </div>
12
         <div class="infoMain">
12
         <div class="infoMain">
13
-            <p style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
14
-            <p style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</p>
15
-            <p style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
16
-            <p style="margin-bottom: 10px;">电话:{{patient.phone}}</p>
17
-            <p>地址:{{patient.home_address}}</p>
18
-            <p>临床诊断:{{patient.diagnose}}</p>
13
+            <div style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
14
+            <div style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</div>
15
+            <div style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
16
+            <div style="margin-bottom: 10px;">电话:{{patient.phone}}</div>
17
+            <div>地址:{{patient.home_address}}</div>
18
+            <div style="display:flex;width:50%;">临床诊断:{{patient.diagnose}}</div>
19
         </div>
19
         </div>
20
         <div class="prescriptionBox">
20
         <div class="prescriptionBox">
21
-            <p class="Rp">Rp:</p>
21
+            <div class="Rp">Rp:</div>
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
23
-                <p class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</p>
24
-                <p style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></p>
23
+                <div class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</div>
24
+                <div style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></div>
25
             </div>
25
             </div>
26
         </div>
26
         </div>
27
         <div class="doctorBox">
27
         <div class="doctorBox">
182
     border-bottom: 2px solid #000;
182
     border-bottom: 2px solid #000;
183
     padding:0 10px;
183
     padding:0 10px;
184
 }
184
 }
185
-.infoMain p{
185
+.infoMain div{
186
     width: 50%;
186
     width: 50%;
187
     line-height: 24px;
187
     line-height: 24px;
188
 }
188
 }
189
 .prescriptionBox{
189
 .prescriptionBox{
190
     padding:0 10px;
190
     padding:0 10px;
191
-    height:600px;
191
+    min-height:450px;
192
 }
192
 }
193
 .Rp{
193
 .Rp{
194
     font-size: 22px;
194
     font-size: 22px;
198
     padding-left: 40px;
198
     padding-left: 40px;
199
     margin-bottom: 10px;
199
     margin-bottom: 10px;
200
 }
200
 }
201
-.drugsBox p{
202
-    line-height: 30px;
201
+.drugsBox div{
202
+    line-height: 20px;
203
 }
203
 }
204
 .drugsOne{
204
 .drugsOne{
205
     line-height: 24px;
205
     line-height: 24px;