|
@@ -8,10 +8,8 @@
|
8
|
8
|
</div>
|
9
|
9
|
<div class="app-container">
|
10
|
10
|
<div id="print_content">
|
11
|
|
- <div class="print_page_main_content">
|
|
11
|
+ <div class="print_page_main_content" style="height: 100%;">
|
12
|
12
|
<div class="order-yy-name"></div>
|
13
|
|
- <!-- <div class="order_title" style="padding-top:12px;text-align:center;">首次病程记录</div>
|
14
|
|
- -->
|
15
|
13
|
<h1 style="text-align:center;">首次病程记录</h1>
|
16
|
14
|
<div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;">
|
17
|
15
|
<div class="inline_block;">
|
|
@@ -45,29 +43,25 @@
|
45
|
43
|
|
46
|
44
|
<div class="inline_block" style="width:100%;">
|
47
|
45
|
<span style="font-size:20px">初步诊断:</span>
|
48
|
|
- <div v-html="hosDetail.tentative_diagnosis" class="printP" style="text-indent:20px">
|
49
|
|
-
|
|
46
|
+ <div v-html="hosDetail.tentative_diagnosis" class="printP" style="text-indent:20px;">
|
50
|
47
|
</div>
|
51
|
48
|
</div>
|
52
|
49
|
|
53
|
50
|
<div class="inline_block" style="width:100%;">
|
54
|
51
|
<span style="font-size:20px"> 诊断依据:</span>
|
55
|
|
- <div v-html="hosDetail.diagnostic_basis" class="printP" style="text-indent:20px">
|
56
|
|
-
|
|
52
|
+ <div v-html="hosDetail.diagnostic_basis" class="printP" style="text-indent:20px; margin-bottom: 0px;">
|
57
|
53
|
</div>
|
58
|
54
|
</div>
|
59
|
55
|
|
60
|
56
|
<div class="inline_block" style="width:100%;">
|
61
|
57
|
<span style="font-size:20px">鉴别诊断:</span>
|
62
|
58
|
<div v-html="hosDetail.differential_diagnosis" class="printP" style="text-indent:20px">
|
63
|
|
-
|
64
|
59
|
</div>
|
65
|
60
|
</div>
|
66
|
61
|
|
67
|
62
|
<div class="inline_block" style="width:100%;">
|
68
|
63
|
<span style="font-size:20px">诊疗计划:</span>
|
69
|
64
|
<div v-html="hosDetail.treatment_plan" class="printP" style="text-indent:20px">
|
70
|
|
-
|
71
|
65
|
</div>
|
72
|
66
|
</div>
|
73
|
67
|
|
|
@@ -98,6 +92,7 @@ import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
98
|
92
|
import {getFirstDetail,getPatientInfo} from "@/api/patient"
|
99
|
93
|
import { getAllDoctorList } from "@/api/device"
|
100
|
94
|
import { getDataConfig } from "@/utils/data";
|
|
95
|
+import print from "print-js";
|
101
|
96
|
export default {
|
102
|
97
|
name: 'dialysisPrintOrderOne',
|
103
|
98
|
components: {
|
|
@@ -135,7 +130,7 @@ export default {
|
135
|
130
|
printThisPage() {
|
136
|
131
|
var ptime = Math.round(new Date().getTime() / 1000)
|
137
|
132
|
this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
|
138
|
|
- const style ='@media print {.dialysis-print-order{width:960px;margin:0 auto;letter-spacing:5px} .dialysis-print-order p{margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;font-weight: bold;margin: 10px 0;}'
|
|
133
|
+ // const style ='@media print {.dialysis-print-order{width:960px;margin:0 auto;letter-spacing:5px} .dialysis-print-order p{margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;font-weight: bold;margin: 10px 0;}'
|
139
|
134
|
printJS({
|
140
|
135
|
printable: 'dialysis-print-box',
|
141
|
136
|
type: 'html',
|
|
@@ -233,12 +228,12 @@ export default {
|
233
|
228
|
return count + 1
|
234
|
229
|
},
|
235
|
230
|
printAction: function() {
|
236
|
|
- const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
|
|
231
|
+ // const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
|
237
|
232
|
printJS({
|
238
|
233
|
printable: 'print_content',
|
239
|
234
|
type: 'html',
|
240
|
235
|
documentTitle: ' ',
|
241
|
|
- style: style,
|
|
236
|
+ // style: style,
|
242
|
237
|
scanStyles: false
|
243
|
238
|
})
|
244
|
239
|
},
|
|
@@ -301,7 +296,7 @@ export default {
|
301
|
296
|
<style>
|
302
|
297
|
.borderBox p{
|
303
|
298
|
font-weight: bold;
|
304
|
|
- margin: 10px 0;
|
|
299
|
+ /* margin: 10px 0; */
|
305
|
300
|
}
|
306
|
301
|
.dialysis-print-order {
|
307
|
302
|
width: 960px;
|
|
@@ -320,7 +315,7 @@ export default {
|
320
|
315
|
font-weight: 600;
|
321
|
316
|
text-align: center;
|
322
|
317
|
font-size: 22px;
|
323
|
|
- padding: 10px 20px 20px 20px;
|
|
318
|
+ /* padding: 10px 20px 20px 20px; */
|
324
|
319
|
}
|
325
|
320
|
|
326
|
321
|
.dialysis-print-order .table-box {
|