|
@@ -8,13 +8,10 @@
|
8
|
8
|
</div>
|
9
|
9
|
<div class="app-container">
|
10
|
10
|
<div id="print_content">
|
11
|
|
- <div class="print_page_main_content" v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
|
12
|
|
- <div class="order-yy-name" style="text-align: center;font-size: 25px;font-weight: 600;">{{orgname}}</div>
|
13
|
|
- <div class="order_title" style="padding-top:12px;text-align: center;font-size: 25px;font-weight: 600;">
|
14
|
|
- 血液净化治疗患者病程记录
|
15
|
|
- </div>
|
16
|
|
- <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;"
|
17
|
|
- v-if="org_id !=10206 && org_id !=0">
|
|
11
|
+ <div class="print_page_main_content" v-if="org_id !=10206">
|
|
12
|
+ <div class="order-yy-name" style="text-align: center;">{{orgname}}</div>
|
|
13
|
+ <div class="order_title" style="padding-top:12px;text-align: center;"> 病程记录</div>
|
|
14
|
+ <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" >
|
18
|
15
|
<div style="flex:1;text-align: center;">
|
19
|
16
|
姓名:
|
20
|
17
|
<div style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
|
|
@@ -27,7 +24,7 @@
|
27
|
24
|
|
28
|
25
|
<div style="flex:1;text-align: center;" v-if="org_id == 9671 || org_id == 10215" >
|
29
|
26
|
病案号:
|
30
|
|
- <div style="width: 240px;text-align: left;display:inline-block;">
|
|
27
|
+ <div style="width: 120px;text-align: left;display:inline-block;">
|
31
|
28
|
{{patient.dialysis_no?patient.dialysis_no:"/"}}
|
32
|
29
|
</div>
|
33
|
30
|
</div>
|
|
@@ -48,49 +45,14 @@
|
48
|
45
|
|
49
|
46
|
</div>
|
50
|
47
|
</div>
|
51
|
|
- <div class="row" style="border-bottom:1px solid #000; display:flex;padding-bottom: 10px;padding-top: 12px;font-family: SimSun;"
|
52
|
|
- v-else>
|
53
|
|
- <div style="flex:1;text-align: center;">
|
54
|
|
- 姓名:
|
55
|
|
- <div style="text-align: left;display:inline-block;">{{patient.name }}</div>
|
56
|
|
- </div>
|
57
|
|
-
|
58
|
|
- <div style="flex:1;text-align: center;">
|
59
|
|
- 性别:
|
60
|
|
- <div style="text-align: left;display:inline-block;">
|
61
|
|
- {{ patient.gender ==1 ? '男': '女' }}
|
62
|
|
- </div>
|
63
|
|
- </div>
|
64
|
|
-
|
65
|
|
- <div style="flex:1;text-align: center;" v-if="org_id!=10206 && org_id!=0">
|
66
|
|
- 年龄:
|
67
|
|
- <div style="text-align: left;display:inline-block;">
|
68
|
|
- {{patient.age}}
|
69
|
|
- </div>
|
70
|
|
- </div>
|
71
|
|
-
|
72
|
|
- <div style="flex:1.5;text-align: center;" v-if="org_id==10206 || org_id == 0">
|
73
|
|
- 出生日期:
|
74
|
|
- <div style="text-align: left;display:inline-block;">
|
75
|
|
- {{ getTime(patient.birthday, '{y}-{m}-{d}') }}
|
76
|
|
- </div>
|
77
|
|
- </div>
|
78
|
|
-
|
79
|
|
- <div style="flex:1.5;text-align: left;" >
|
80
|
|
- 日期:
|
81
|
|
- <div style="text-align: left;display:inline-block;" >
|
82
|
|
- <!-- {{getTime(record[0].record_time,'{y}-{m}-{d} {h}:{i}')}} -->
|
83
|
|
- {{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}
|
84
|
|
- </div>
|
85
|
|
- </div>
|
86
|
|
- </div>
|
87
|
|
- <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;">
|
88
|
|
- <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
|
|
48
|
+ <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;" v-for="(item,index) in this.record" :key="index">
|
|
49
|
+ <div class="inline_block" style="display: inline-block;">
|
89
|
50
|
<div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
|
90
|
51
|
</div>
|
91
|
|
- <div class="inline_block" style="margin-left: 30px;display: inline-block;" v-if="org_id !=10206 && org_id !=0">
|
|
52
|
+ <div class="inline_block" style="margin-left: 30px;display: inline-block;">
|
92
|
53
|
<div>{{item.title}}</div>
|
93
|
54
|
</div>
|
|
55
|
+
|
94
|
56
|
<div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
|
95
|
57
|
<div v-html="item.content" class="printP" >
|
96
|
58
|
|
|
@@ -107,14 +69,76 @@
|
107
|
69
|
</span>
|
108
|
70
|
</div>
|
109
|
71
|
</div>
|
|
72
|
+
|
110
|
73
|
|
111
|
74
|
</div>
|
|
75
|
+ <div class="print_page_main_content" v-if="org_id ==10206" >
|
|
76
|
+ <div v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
|
|
77
|
+ <div class="order-yy-name" style="text-align: center;font-size: 25px;font-weight: 600;">{{orgname}}</div>
|
|
78
|
+ <div class="order_title" style="padding-top:12px;text-align: center;font-size: 25px;font-weight: 600;">
|
|
79
|
+ 血液净化治疗患者病程记录
|
|
80
|
+ </div>
|
|
81
|
+
|
|
82
|
+ <div class="row" style="border-bottom:1px solid #000; display:flex;padding-bottom: 10px;padding-top: 12px;font-family: SimSun;" >
|
|
83
|
+ <div style="flex:1;text-align: center;">
|
|
84
|
+ 姓名:
|
|
85
|
+ <div style="text-align: left;display:inline-block;">{{patient.name }}</div>
|
|
86
|
+ </div>
|
|
87
|
+
|
|
88
|
+ <div style="flex:1;text-align: center;">
|
|
89
|
+ 性别:
|
|
90
|
+ <div style="text-align: left;display:inline-block;">
|
|
91
|
+ {{ patient.gender ==1 ? '男': '女' }}
|
|
92
|
+ </div>
|
|
93
|
+ </div>
|
|
94
|
+
|
|
95
|
+ <div style="flex:1.5;text-align: center;" >
|
|
96
|
+ 出生日期:
|
|
97
|
+ <div style="text-align: left;display:inline-block;">
|
|
98
|
+ {{ getTime(patient.birthday, '{y}-{m}-{d}') }}
|
|
99
|
+ </div>
|
|
100
|
+ </div>
|
|
101
|
+
|
|
102
|
+ <div style="flex:1.5;text-align: left;" >
|
|
103
|
+ 日期:
|
|
104
|
+ <div style="text-align: left;display:inline-block;" >
|
|
105
|
+ <!-- {{getTime(record[0].record_time,'{y}-{m}-{d} {h}:{i}')}} -->
|
|
106
|
+ {{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}
|
|
107
|
+ </div>
|
|
108
|
+ </div>
|
|
109
|
+ </div>
|
|
110
|
+ <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;">
|
|
111
|
+ <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
|
|
112
|
+ <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
|
|
113
|
+ </div>
|
|
114
|
+ <div class="inline_block" style="margin-left: 30px;display: inline-block;" v-if="org_id !=10206 && org_id !=0">
|
|
115
|
+ <div>{{item.title}}</div>
|
|
116
|
+ </div>
|
|
117
|
+ <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
|
|
118
|
+ <div v-html="item.content" class="printP" >
|
|
119
|
+
|
|
120
|
+ </div>
|
|
121
|
+ </div>
|
|
122
|
+
|
|
123
|
+ <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right" v-if="org_id == 0||org_id ==9671 || org_id == 10440 || org_id == 10131 || org_id==9970">
|
|
124
|
+ 医生签名:
|
|
125
|
+ <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
|
|
126
|
+ {{getName(item.recorder)}}
|
|
127
|
+ </span>
|
|
128
|
+ <span v-else>
|
|
129
|
+ <img style="height:30px;" :src="setAdminUserES(item.recorder?item.recorder:item.recorder)" alt="" srcset="">
|
|
130
|
+ </span>
|
|
131
|
+ </div>
|
|
132
|
+ </div>
|
|
133
|
+ </div>
|
|
134
|
+ </div>
|
112
|
135
|
</div>
|
113
|
136
|
</div>
|
114
|
137
|
</div>
|
115
|
138
|
|
116
|
139
|
</template>
|
117
|
140
|
|
|
141
|
+
|
118
|
142
|
<script>
|
119
|
143
|
import { jsGetAge, uParseTime } from '@/utils/tools'
|
120
|
144
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
|
@@ -167,7 +191,7 @@
|
167
|
191
|
|
168
|
192
|
this.adminUserList = resp.data.adminUser
|
169
|
193
|
this.operators = resp.data.operators
|
170
|
|
- console.log("GetCoursePrintData",resp)
|
|
194
|
+ console.log("GetCoursePrintData",this.operators)
|
171
|
195
|
if (this.operators.length > 0) {
|
172
|
196
|
var operatorsLen = this.operators.length
|
173
|
197
|
for (var index = 0; index < operatorsLen; index++) {
|
|
@@ -189,16 +213,6 @@
|
189
|
213
|
})
|
190
|
214
|
},
|
191
|
215
|
methods: {
|
192
|
|
- getIdCard(idCard) {
|
193
|
|
-
|
194
|
|
- console.log("idCard-----------",idCard)
|
195
|
|
- const year = idCard.substring(6, 10);
|
196
|
|
- const month = idCard.substring(10, 12);
|
197
|
|
- const day = idCard.substring(12, 14);
|
198
|
|
-
|
199
|
|
- return year - month - day
|
200
|
|
-
|
201
|
|
- },
|
202
|
216
|
printAction: function() {
|
203
|
217
|
const style1 = '@media print{.print_page_main_content:background-color: white;}'
|
204
|
218
|
// 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; }.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;}'
|