Quellcode durchsuchen

百伦打印单

See999 vor 4 Jahren
Ursprung
Commit
657c4fd657

+ 113 - 84
src/router/modules/dialysis.js Datei anzeigen

@@ -1,42 +1,43 @@
1
-import Layout from '@/views/layout/Layout'
1
+import Layout from "@/views/layout/Layout";
2 2
 
3 3
 export default {
4
-  path: '/dialysis/',
4
+  path: "/dialysis/",
5 5
   component: Layout,
6
-  redirect: 'noredirect',
7
-  name: 'dialysis',
6
+  redirect: "noredirect",
7
+  name: "dialysis",
8 8
   alwaysShow: true,
9 9
   meta: {
10
-    title: 'dialysis',
11
-    icon: 'touxi'
10
+    title: "dialysis",
11
+    icon: "touxi"
12 12
   },
13
-  children: [{
14
-      path: '/dialysis/dialysisrecord',
15
-      component: () => import('@/xt_pages/dialysis/schedualPatient'),
16
-      name: '透析记录',
13
+  children: [
14
+    {
15
+      path: "/dialysis/dialysisrecord",
16
+      component: () => import("@/xt_pages/dialysis/schedualPatient"),
17
+      name: "透析记录",
17 18
       meta: {
18
-        title: '透析记录'
19
+        title: "透析记录"
19 20
       }
20 21
     },
21 22
     {
22
-      path: '/dialysis/record/:id',
23
-      component: () => import('@/xt_pages/dialysis/dialysisPage'),
23
+      path: "/dialysis/record/:id",
24
+      component: () => import("@/xt_pages/dialysis/dialysisPage"),
24 25
       hidden: true,
25 26
       is_menu: false,
26
-      name: 'paper',
27
+      name: "paper",
27 28
       meta: {
28
-        title: 'paper',
29
+        title: "paper",
29 30
         noCache: true
30 31
       }
31 32
     },
32 33
     {
33
-      path: '/dialysis/print',
34
-      component: () => import('@/xt_pages/dialysis/dialysisPrintOrder'),
34
+      path: "/dialysis/print",
35
+      component: () => import("@/xt_pages/dialysis/dialysisPrintOrder"),
35 36
       hidden: true,
36 37
       is_menu: false,
37
-      name: 'dialysisPrintOrder',
38
+      name: "dialysisPrintOrder",
38 39
       meta: {
39
-        title: 'dialysisPrintOrder',
40
+        title: "dialysisPrintOrder",
40 41
         noCache: true
41 42
       }
42 43
     },
@@ -44,158 +45,186 @@ export default {
44 45
     // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
45 46
     // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
46 47
     {
47
-      path: '/dialysis/watch',
48
-      component: () => import('@/xt_pages/dialysis/bloodPresssWatch'),
49
-      name: 'watch',
48
+      path: "/dialysis/watch",
49
+      component: () => import("@/xt_pages/dialysis/bloodPresssWatch"),
50
+      name: "watch",
50 51
       meta: {
51
-        title: 'watch'
52
+        title: "watch"
52 53
       }
53 54
     },
54 55
     {
55
-      path: '/dialysis/details',
56
-      component: () => import('@/xt_pages/dialysis/details'),
57
-      name: 'details',
56
+      path: "/dialysis/details",
57
+      component: () => import("@/xt_pages/dialysis/details"),
58
+      name: "details",
58 59
       meta: {
59
-        title: 'details'
60
+        title: "details"
60 61
       },
61 62
       hidden: true,
62 63
       is_menu: false
63 64
     },
64 65
     {
65
-      path: '/dialysis/print/batch',
66
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
66
+      path: "/dialysis/print/batch",
67
+      component: () =>
68
+        import("@/xt_pages/dialysis/batch_print/batch_print_order"),
69
+      hidden: true,
70
+      is_menu: false,
71
+      name: "dialysis_batch_print",
72
+      meta: {
73
+        title: "批量打印",
74
+        noCache: true
75
+      }
76
+    },
77
+    {
78
+      path: "/dialysis/print/batch/other",
79
+      component: () =>
80
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_other"),
67 81
       hidden: true,
68 82
       is_menu: false,
69
-      name: 'dialysis_batch_print',
83
+      name: "dialysis_batch_print_two",
70 84
       meta: {
71
-        title: '批量打印',
85
+        title: "批量打印",
72 86
         noCache: true
73 87
       }
74
-    }, {
75
-      path: '/dialysis/print/batch/other',
76
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other'),
88
+    },
89
+    {
90
+      path: "/dialysis/print/batch/three",
91
+      component: () =>
92
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_three"),
77 93
       hidden: true,
78 94
       is_menu: false,
79
-      name: 'dialysis_batch_print_two',
95
+      name: "dialysis_batch_print_two_one",
80 96
       meta: {
81
-        title: '批量打印',
97
+        title: "批量打印",
82 98
         noCache: true
83 99
       }
84 100
     },
85 101
     {
86
-      path: '/dialysis/print/batch/three',
87
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_three'),
102
+      path: "/dialysis/print/batch/four",
103
+      component: () =>
104
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_four"),
88 105
       hidden: true,
89 106
       is_menu: false,
90
-      name: 'dialysis_batch_print_two_one',
107
+      name: "dialysis_batch_print_two_one",
91 108
       meta: {
92
-        title: '批量打印',
109
+        title: "批量打印",
93 110
         noCache: true
94 111
       }
95 112
     },
96 113
     {
97
-      path: '/dialysis/print/batch/four',
98
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_four'),
114
+      path: "/dialysis/print/batch/five",
115
+      component: () =>
116
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_five"),
99 117
       hidden: true,
100 118
       is_menu: false,
101
-      name: 'dialysis_batch_print_two_one',
119
+      name: "dialysis_batch_print_two_one",
102 120
       meta: {
103
-        title: '批量打印',
121
+        title: "批量打印",
104 122
         noCache: true
105 123
       }
106 124
     },
107 125
     {
108
-      path: '/dialysis/print/batch/five',
109
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_five'),
126
+      path: "/dialysis/print/batch/six",
127
+      component: () =>
128
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_six"),
110 129
       hidden: true,
111 130
       is_menu: false,
112
-      name: 'dialysis_batch_print_two_one',
131
+      name: "dialysis_batch_six",
113 132
       meta: {
114
-        title: '批量打印',
133
+        title: "批量打印",
115 134
         noCache: true
116 135
       }
117 136
     },
118 137
     {
119
-      path: '/dialysis/print/batch/six',
120
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_six'),
138
+      path: "/dialysis/print/batch/seven",
139
+      component: () =>
140
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_seven"),
121 141
       hidden: true,
122 142
       is_menu: false,
123
-      name: 'dialysis_batch_six',
143
+      name: "dialysis_batch_seven",
124 144
       meta: {
125
-        title: '批量打印',
145
+        title: "批量打印",
126 146
         noCache: true
127 147
       }
128 148
     },
129 149
     {
130
-      path: '/dialysis/print/batch/seven',
131
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_seven'),
150
+      path: "/dialysis/print/batch/eight",
151
+      component: () =>
152
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_eight"),
132 153
       hidden: true,
133 154
       is_menu: false,
134
-      name: 'dialysis_batch_seven',
155
+      name: "dialysis_batch_eight",
135 156
       meta: {
136
-        title: '批量打印',
157
+        title: "批量打印",
137 158
         noCache: true
138 159
       }
139 160
     },
140 161
     {
141
-      path: '/dialysis/print/batch/eight',
142
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_eight'),
162
+      path: "/dialysis/print/batch/nine",
163
+      component: () =>
164
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_nine"),
143 165
       hidden: true,
144 166
       is_menu: false,
145
-      name: 'dialysis_batch_eight',
167
+      name: "dialysis_batch_nine",
146 168
       meta: {
147
-        title: '批量打印',
169
+        title: "批量打印",
148 170
         noCache: true
149 171
       }
150 172
     },
151 173
     {
152
-      path: '/dialysis/print/batch/otherone',
153
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other_one'),
174
+      path: "/dialysis/print/batch/otherone",
175
+      component: () =>
176
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_other_one"),
154 177
       hidden: true,
155 178
       is_menu: false,
156
-      name: 'dialysis_batch_print_two_one',
179
+      name: "dialysis_batch_print_two_one",
157 180
       meta: {
158
-        title: '批量打印',
181
+        title: "批量打印",
159 182
         noCache: true
160 183
       }
161
-    }, {
162
-      path: '/dialysis/print/batch/othertwo',
163
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other_two'),
184
+    },
185
+    {
186
+      path: "/dialysis/print/batch/othertwo",
187
+      component: () =>
188
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_other_two"),
164 189
       hidden: true,
165 190
       is_menu: false,
166
-      name: 'dialysis_batch_print_two_two',
191
+      name: "dialysis_batch_print_two_two",
167 192
       meta: {
168
-        title: '批量打印',
193
+        title: "批量打印",
169 194
         noCache: true
170 195
       }
171
-    }, {
172
-      path: '/dialysis/print/batch/fiveone',
173
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_five_one'),
196
+    },
197
+    {
198
+      path: "/dialysis/print/batch/fiveone",
199
+      component: () =>
200
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_five_one"),
174 201
       hidden: true,
175 202
       is_menu: false,
176
-      name: 'dialysis_batch_print_two_two',
203
+      name: "dialysis_batch_print_two_two",
177 204
       meta: {
178
-        title: '批量打印',
205
+        title: "批量打印",
179 206
         noCache: true
180 207
       }
181
-    }, {
182
-      path: '/dialysis/print/batch/fivetwo',
183
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_five_two'),
208
+    },
209
+    {
210
+      path: "/dialysis/print/batch/fivetwo",
211
+      component: () =>
212
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_five_two"),
184 213
       hidden: true,
185 214
       is_menu: false,
186
-      name: 'dialysis_batch_print_two_two',
215
+      name: "dialysis_batch_print_two_two",
187 216
       meta: {
188
-        title: '批量打印',
217
+        title: "批量打印",
189 218
         noCache: true
190 219
       }
191 220
     },
192 221
     {
193
-      path: '/dialysis/board',
194
-      component: () => import('@/xt_pages/dialysis/bulletinBoard'),
195
-      name: '数据看板',
222
+      path: "/dialysis/board",
223
+      component: () => import("@/xt_pages/dialysis/bulletinBoard"),
224
+      name: "数据看板",
196 225
       meta: {
197
-        title: '数据看板'
226
+        title: "数据看板"
198 227
       }
199 228
     }
200 229
   ]
201
-}
230
+};

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_four.vue Datei anzeigen

@@ -337,7 +337,7 @@
337 337
                       目标KT/V:
338 338
                       <div class="under_line" style="width: 50px;"></div>&nbsp;&nbsp;
339 339
                       电导度::
340
-                      <div class="under_line" style="width: 50px;"></div>mS/m&nbsp;&nbsp;
340
+                      <div class="under_line" style="width: 50px;"></div>mS/cm&nbsp;&nbsp;
341 341
 
342 342
                     </div>
343 343
                   </div>

Datei-Diff unterdrückt, da er zu groß ist
+ 2925 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue


+ 12 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Datei anzeigen

@@ -120,6 +120,16 @@
120 120
           >批量打印</el-button
121 121
         >
122 122
       </template>
123
+      <template v-if="this.template_id == 9">
124
+        <el-button
125
+          size="small"
126
+          icon="el-icon-printer"
127
+          :disabled="selecting_schs.length == 0"
128
+          @click="batchPrintAction"
129
+          type="primary"
130
+          >批量打印</el-button
131
+        >
132
+      </template>
123 133
     </div>
124 134
     <div class="app-container">
125 135
       <!-- <div class="filter-container">
@@ -579,6 +589,8 @@ export default {
579 589
         this.$router.push({ path: "/dialysis/print/batch/seven" });
580 590
       } else if (this.template_id == 8) {
581 591
         this.$router.push({ path: "/dialysis/print/batch/eight" });
592
+      } else if (this.template_id == 9) {
593
+        this.$router.push({ path: "/dialysis/print/batch/nine" });
582 594
       }
583 595
     },
584 596
     batchPrintActionOne: function() {

Datei-Diff unterdrückt, da er zu groß ist
+ 520 - 357
src/xt_pages/dialysis/details/DialysisPrescription.vue


+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Datei anzeigen

@@ -267,7 +267,7 @@
267 267
           <el-table-column
268 268
             prop="displacement_flow_quantity"
269 269
             align="center"
270
-            label="电导度(mS/m)"
270
+            label="电导度(mS/cm)"
271 271
             width="100"
272 272
             v-if="isShow('电导度')"
273 273
           >
@@ -447,7 +447,7 @@
447 447
           </el-col>
448 448
 
449 449
           <el-col :span="8" v-if="isShow('电导度')">
450
-            <el-form-item label="电导度(mS/m):">
450
+            <el-form-item label="电导度(mS/cm):">
451 451
               <el-input v-model="form.conductivity"></el-input>
452 452
             </el-form-item>
453 453
           </el-col>

+ 1 - 1
src/xt_pages/dialysis/details/dialysisMonitoring.vue Datei anzeigen

@@ -22,7 +22,7 @@
22 22
         <th v-if="isShow('置换量')&& template_id == 6" width="92px">置换量(ml)</th>
23 23
         <th v-if="isShow('置换量')&& template_id != 6" width="92px">置换量(L)</th>
24 24
          <th v-if="isShow('SpO₂')&& template_id != 6" width="92px">SpO₂(%)</th>
25
-        <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
25
+        <th v-if="isShow('电导度')" width="92px">电导度(mS/cm)</th>
26 26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27 27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
28 28
         <th v-if="isShow('处理')"  width="92px">处理</th>

+ 231 - 190
src/xt_pages/dialysis/dialysisPrintOrder.vue Datei anzeigen

@@ -12,7 +12,12 @@
12 12
           >打印</el-button
13 13
         >
14 14
       </template>
15
-      <template v-if=" org_template_info.template_id == 2 || org_template_info.template_id == 0  " >
15
+      <template
16
+        v-if="
17
+          org_template_info.template_id == 2 ||
18
+            org_template_info.template_id == 0
19
+        "
20
+      >
16 21
         <div>
17 22
           <el-button
18 23
             :loading="loading"
@@ -118,6 +123,16 @@
118 123
           >打印</el-button
119 124
         >
120 125
       </template>
126
+      <template v-if="org_template_info.template_id == 9">
127
+        <el-button
128
+          :loading="loading"
129
+          size="small"
130
+          icon="el-icon-printer"
131
+          @click="printThisPage"
132
+          type="primary"
133
+          >打印</el-button
134
+        >
135
+      </template>
121 136
     </div>
122 137
     <div class="app-container ">
123 138
       <!--<div class="order-print-btn"-->
@@ -179,28 +194,33 @@
179 194
         v-if="org_template_info.template_id == 8"
180 195
       >
181 196
       </DialysisPrintOrderEight>
197
+      <DialysisPrintOrderNine
198
+        v-bind:childResponse="childResponse"
199
+        v-if="org_template_info.template_id == 9"
200
+      ></DialysisPrintOrderNine>
182 201
     </div>
183 202
   </div>
184 203
 </template>
185 204
 
186 205
 <script>
187
-import { getDialysisRecord } from '@/api/dialysis'
188
-import { getDataConfig } from '@/utils/data'
189
-import { jsGetAge, uParseTime } from '@/utils/tools'
190
-import LabelBox from './printItem/LabelBox'
191
-import BreadCrumb from '@/xt_pages/components/bread-crumb'
192
-import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
193
-import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
194
-import DialysisPrintOrderThree from './template/dialysisPrintOrderThree'
195
-import DialysisPrintOrderFour from './template/DialysisPrintOrderFour'
196
-import DialysisPrintOrderFive from './template/DialysisPrintOrderFive'
197
-import DialysisPrintOrderSix from './template/DialysisPrintOrderSix'
198
-import DialysisPrintOrderSeven from './template/DialysisPrintOrderSeven'
199
-import DialysisPrintOrderEight from './template/DialysisPrintOrderEight'
200
-import print from 'print-js'
206
+import { getDialysisRecord } from "@/api/dialysis";
207
+import { getDataConfig } from "@/utils/data";
208
+import { jsGetAge, uParseTime } from "@/utils/tools";
209
+import LabelBox from "./printItem/LabelBox";
210
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
211
+import DialysisPrintOrderOne from "./template/dialysisPrintOrderOne";
212
+import DialysisPrintOrderTwo from "./template/dialysisPrintOrderTwo";
213
+import DialysisPrintOrderThree from "./template/dialysisPrintOrderThree";
214
+import DialysisPrintOrderFour from "./template/DialysisPrintOrderFour";
215
+import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
216
+import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
217
+import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
218
+import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
219
+import DialysisPrintOrderNine from "./template/DialysisPrintOrderNine";
220
+import print from "print-js";
201 221
 
202 222
 export default {
203
-  name: 'dialysisPrintOrder',
223
+  name: "dialysisPrintOrder",
204 224
   components: {
205 225
     DialysisPrintOrderOne,
206 226
     DialysisPrintOrderTwo,
@@ -210,14 +230,15 @@ export default {
210 230
     DialysisPrintOrderSix,
211 231
     DialysisPrintOrderSeven,
212 232
     DialysisPrintOrderEight,
233
+    DialysisPrintOrderNine,
213 234
     LabelBox,
214 235
     BreadCrumb
215 236
   },
216 237
   data() {
217 238
     return {
218 239
       crumbs: [
219
-        { path: false, name: '透析管理' },
220
-        { path: false, name: '打印单' }
240
+        { path: false, name: "透析管理" },
241
+        { path: false, name: "打印单" }
221 242
       ],
222 243
       childResponse: {},
223 244
       operators: [],
@@ -228,21 +249,21 @@ export default {
228 249
       },
229 250
       operatorMaps: {},
230 251
       complications: [
231
-        '低血压',
232
-        '高血压',
233
-        '心律失常',
234
-        '头晕',
235
-        '头痛',
236
-        '呕吐',
237
-        '抽搐',
238
-        '出血',
239
-        '心衰',
240
-        '腹痛'
252
+        "低血压",
253
+        "高血压",
254
+        "心律失常",
255
+        "头晕",
256
+        "头痛",
257
+        "呕吐",
258
+        "抽搐",
259
+        "出血",
260
+        "心衰",
261
+        "腹痛"
241 262
       ],
242 263
       jilurow: 0,
243 264
       advice_jilurow: 0,
244 265
       loading: false,
245
-      orgname: '',
266
+      orgname: "",
246 267
       patientInfo_gender_1: false,
247 268
       patientInfo_gender_2: false,
248 269
       patientInfo_source_2: false,
@@ -255,30 +276,30 @@ export default {
255 276
       dialysateFormulationOptions: {},
256 277
 
257 278
       queryParams: {
258
-        xtdate: '',
259
-        xtno: ''
279
+        xtdate: "",
280
+        xtno: ""
260 281
       },
261 282
       patientInfo: {
262
-        birth: '',
263
-        age: '',
283
+        birth: "",
284
+        age: "",
264 285
         DialysisSchedule: {
265
-          device_number: { number: '' },
266
-          device_zone: { name: '' }
286
+          device_number: { number: "" },
287
+          device_zone: { name: "" }
267 288
         },
268 289
         gender: 0
269 290
       },
270 291
       predialysis: {
271
-        score: '',
272
-        internal_fistula: '',
273
-        internal_fistula_skin: '',
274
-        catheter: '',
275
-        blood_access_part_opera_name: ''
292
+        score: "",
293
+        internal_fistula: "",
294
+        internal_fistula_skin: "",
295
+        catheter: "",
296
+        blood_access_part_opera_name: ""
276 297
       },
277 298
       afterdialysis: {
278
-        complications_index: ''
299
+        complications_index: ""
279 300
       },
280 301
       prescription: {
281
-        dialysate_formulation_name: '',
302
+        dialysate_formulation_name: "",
282 303
         device: {}
283 304
       },
284 305
       advices: [],
@@ -293,185 +314,205 @@ export default {
293 314
 
294 315
       AlPanel: {
295 316
         id: 0,
296
-        name: '',
317
+        name: "",
297 318
         type: 1,
298 319
         shouji: 2,
299 320
         weichi: 2,
300 321
         zongliang: 2,
301 322
         gaimingcheng: -1,
302 323
         gaijiliang: -1,
303
-        shouji_unit: 'mg',
304
-        weichi_unit: 'mg/h',
305
-        zongliang_unit: 'mg',
306
-        gaimingcheng_unit: '',
307
-        gaijiliang_unit: ''
324
+        shouji_unit: "mg",
325
+        weichi_unit: "mg/h",
326
+        zongliang_unit: "mg",
327
+        gaimingcheng_unit: "",
328
+        gaijiliang_unit: ""
308 329
       }
309
-    }
330
+    };
310 331
   },
311 332
   methods: {
312 333
     getAdminUser(id) {
313 334
       if (id == 0) {
314
-        return ''
335
+        return "";
315 336
       }
316 337
       if (id == undefined) {
317
-        return ''
338
+        return "";
318 339
       }
319 340
       for (let i = 0; i < this.adminUser.length; i++) {
320 341
         if (this.adminUser[i].id == id) {
321
-          return this.adminUser[i].name
342
+          return this.adminUser[i].name;
322 343
         }
323 344
       }
324 345
     },
325 346
     getTime(value, temp) {
326 347
       if (value == 0) {
327
-        return ''
348
+        return "";
328 349
       }
329 350
       if (value != undefined) {
330
-        return uParseTime(value, temp)
351
+        return uParseTime(value, temp);
331 352
       }
332
-      return ''
353
+      return "";
333 354
     },
334 355
     printThisPage() {
335
-      var ptime = Math.round(new Date().getTime() / 1000)
336
-      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
356
+      var ptime = Math.round(new Date().getTime() / 1000);
357
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
337 358
 
338
-      const style = '@media print {.dialysis-print-order{width:960px;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;}'
339
-      const style2 = '@media print {.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: 14px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
340
-      const style3 = '@media print {.dialysis-print-order{width:960px;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  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: 2px 5px;} .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;}'
341
-      const style4 = '@media print {.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: 16px;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: 3px 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: 16px;padding: 6px 5px;line-height: 18px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
359
+      const style =
360
+        '@media print {.dialysis-print-order{width:960px;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;}';
361
+      const style2 =
362
+        '@media print {.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: 14px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
363
+      const style3 =
364
+        '@media print {.dialysis-print-order{width:960px;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  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: 2px 5px;} .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;}';
365
+      const style4 =
366
+        '@media print {.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: 16px;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: 3px 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: 16px;padding: 6px 5px;line-height: 18px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
342 367
 
343 368
       if (this.org_template_info.template_id == 1) {
344 369
         printJS({
345
-          printable: 'dialysis-print-box',
346
-          type: 'html',
370
+          printable: "dialysis-print-box",
371
+          type: "html",
347 372
           style: style,
348 373
           scanStyles: false
349
-        })
374
+        });
350 375
       } else if (this.org_template_info.template_id == 0) {
351 376
         printJS({
352
-          printable: 'dialysis-print-box-1',
353
-          type: 'html',
377
+          printable: "dialysis-print-box-1",
378
+          type: "html",
354 379
           style: style2,
355 380
           scanStyles: false
356
-        })
381
+        });
357 382
       } else if (this.org_template_info.template_id == 2) {
358 383
         printJS({
359
-          printable: 'dialysis-print-box-1',
360
-          type: 'html',
384
+          printable: "dialysis-print-box-1",
385
+          type: "html",
361 386
           style: style4,
362 387
           scanStyles: false
363
-        })
388
+        });
364 389
       } else if (this.org_template_info.template_id == 3) {
365 390
         printJS({
366
-          printable: 'dialysis-print-box',
367
-          type: 'html',
391
+          printable: "dialysis-print-box",
392
+          type: "html",
368 393
           style: style,
369 394
           scanStyles: false
370
-        })
395
+        });
371 396
       } else if (this.org_template_info.template_id == 4) {
372 397
         printJS({
373
-          printable: 'dialysis-print-box',
374
-          type: 'html',
398
+          printable: "dialysis-print-box",
399
+          type: "html",
375 400
           style: style,
376 401
           scanStyles: false
377
-        })
402
+        });
378 403
       } else if (this.org_template_info.template_id == 5) {
379 404
         printJS({
380
-          printable: 'dialysis-print-box-1',
381
-          type: 'html',
405
+          printable: "dialysis-print-box-1",
406
+          type: "html",
382 407
           style: style2,
383 408
           scanStyles: false
384
-        })
409
+        });
385 410
       } else if (this.org_template_info.template_id == 6) {
386 411
         printJS({
387
-          printable: 'dialysis-print-box-1',
388
-          type: 'html',
412
+          printable: "dialysis-print-box-1",
413
+          type: "html",
389 414
           style: style2,
390 415
           scanStyles: false
391
-        })
416
+        });
392 417
       } else if (this.org_template_info.template_id == 7) {
393 418
         printJS({
394
-          printable: 'dialysis-print-box',
395
-          type: 'html',
419
+          printable: "dialysis-print-box",
420
+          type: "html",
396 421
           style: style,
397 422
           scanStyles: false
398
-        })
423
+        });
399 424
       } else if (this.org_template_info.template_id == 8) {
400 425
         printJS({
401
-          printable: 'dialysis-print-box',
402
-          type: 'html',
426
+          printable: "dialysis-print-box",
427
+          type: "html",
428
+          style: style3,
429
+          scanStyles: false
430
+        });
431
+      } else if (this.org_template_info.template_id == 9) {
432
+        console.log(
433
+          "joasdjjaslkdjlasjdlkasj",
434
+          this.org_template_info.template_id
435
+        );
436
+        printJS({
437
+          printable: "dialysis-print-box",
438
+          type: "html",
403 439
           style: style3,
404 440
           scanStyles: false
405
-        })
441
+        });
406 442
       }
407 443
     },
408 444
     printThisOnePage() {
409
-      var ptime = Math.round(new Date().getTime() / 1000)
410
-      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
445
+      var ptime = Math.round(new Date().getTime() / 1000);
446
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
411 447
 
412 448
       const style =
413
-        '@media print {.dialysis-print-order{width:960px;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;}'
414
-      const style2 = '@media print {.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: 14px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
415
-      const style3 = '@media print {.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: 16px;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: 3px 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: 16px;padding: 6px 5px;line-height: 18px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
449
+        '@media print {.dialysis-print-order{width:960px;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;}';
450
+      const style2 =
451
+        '@media print {.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: 14px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
452
+      const style3 =
453
+        '@media print {.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: 16px;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: 3px 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: 16px;padding: 6px 5px;line-height: 18px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
416 454
 
417 455
       if (this.org_template_info.template_id == 1) {
418 456
         printJS({
419
-          printable: 'dialysis-print-box',
420
-          type: 'html',
457
+          printable: "dialysis-print-box",
458
+          type: "html",
421 459
           style: style,
422 460
           scanStyles: false
423
-        })
461
+        });
424 462
       } else if (this.org_template_info.template_id == 2) {
425 463
         printJS({
426
-          printable: 'dialysis-print-box-1-1',
427
-          type: 'html',
464
+          printable: "dialysis-print-box-1-1",
465
+          type: "html",
428 466
           style: style3,
429 467
           scanStyles: false
430
-        })
468
+        });
431 469
       } else if (
432
-
433 470
         this.org_template_info.template_id == 0 ||
434 471
         this.org_template_info.template_id == 5
435 472
       ) {
436 473
         printJS({
437
-          printable: 'dialysis-print-box-1-1',
438
-          type: 'html',
474
+          printable: "dialysis-print-box-1-1",
475
+          type: "html",
439 476
           style: style2,
440 477
           scanStyles: false
441
-        })
478
+        });
442 479
       }
443 480
     },
444 481
     printThisTwoPage() {
445
-      var ptime = Math.round(new Date().getTime() / 1000)
446
-      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
482
+      var ptime = Math.round(new Date().getTime() / 1000);
483
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
447 484
 
448 485
       const style =
449
-        '@media print {.dialysis-print-order{width:960px;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;}'
486
+        '@media print {.dialysis-print-order{width:960px;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;}';
450 487
       const style2 =
451
-        '@media print {.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: 14px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
452
-      const style3 = '@media print {.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: 16px;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: 3px 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: 16px;padding: 6px 5px;line-height: 18px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
488
+        '@media print {.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: 14px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
489
+      const style3 =
490
+        '@media print {.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: 16px;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: 3px 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: 16px;padding: 6px 5px;line-height: 18px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
453 491
 
454 492
       if (this.org_template_info.template_id == 1) {
455 493
         printJS({
456
-          printable: 'dialysis-print-box',
457
-          type: 'html',
494
+          printable: "dialysis-print-box",
495
+          type: "html",
458 496
           style: style,
459 497
           scanStyles: false
460
-        })
498
+        });
461 499
       } else if (this.org_template_info.template_id == 2) {
462 500
         printJS({
463
-          printable: 'dialysis-print-box-1-2',
464
-          type: 'html',
501
+          printable: "dialysis-print-box-1-2",
502
+          type: "html",
465 503
           style: style3,
466 504
           scanStyles: false
467
-        })
468
-      } else if (this.org_template_info.template_id == 0 || this.org_template_info.template_id == 5) {
505
+        });
506
+      } else if (
507
+        this.org_template_info.template_id == 0 ||
508
+        this.org_template_info.template_id == 5
509
+      ) {
469 510
         printJS({
470
-          printable: 'dialysis-print-box-1-2',
471
-          type: 'html',
511
+          printable: "dialysis-print-box-1-2",
512
+          type: "html",
472 513
           style: style2,
473 514
           scanStyles: false
474
-        })
515
+        });
475 516
       }
476 517
     },
477 518
     getNumber() {
@@ -479,60 +520,60 @@ export default {
479 520
         return (
480 521
           this.patientInfo.DialysisSchedule.device_zone.name +
481 522
           this.dialysisOrder.DeviceNumber.number
482
-        )
523
+        );
483 524
       } else {
484 525
         return (
485 526
           this.patientInfo.DialysisSchedule.device_zone.name +
486 527
           this.patientInfo.DialysisSchedule.device_number.number
487
-        )
528
+        );
488 529
       }
489 530
     },
490 531
 
491 532
     getXuserName(id) {
492 533
       if (id <= 0) {
493
-        return ''
534
+        return "";
494 535
       }
495
-      var name = ''
496
-      if (this.users == null || typeof this.users.length === 'undefined') {
497
-        return name
536
+      var name = "";
537
+      if (this.users == null || typeof this.users.length === "undefined") {
538
+        return name;
498 539
       }
499
-      var leng = this.users.length
540
+      var leng = this.users.length;
500 541
       if (leng == 0) {
501
-        return name
542
+        return name;
502 543
       }
503 544
       for (let index = 0; index < leng; index++) {
504 545
         if (this.users[index].id == id) {
505
-          name = this.users[index].name
506
-          break
546
+          name = this.users[index].name;
547
+          break;
507 548
         }
508 549
       }
509
-      return name
550
+      return name;
510 551
     },
511 552
     setAdminUserES(id) {
512
-      console.log(id)
553
+      console.log(id);
513 554
       if (id == 0) {
514
-        return ''
555
+        return "";
515 556
       }
516 557
       if (id in this.operatorMaps) {
517
-        return this.operatorMaps[id].url
558
+        return this.operatorMaps[id].url;
518 559
       } else {
519
-        return ''
560
+        return "";
520 561
       }
521 562
     },
522 563
     modeName(mode_id) {
523
-      return typeof this.modeOptions[mode_id] !== 'undefined' &&
524
-        typeof this.modeOptions[mode_id].name !== 'undefined'
564
+      return typeof this.modeOptions[mode_id] !== "undefined" &&
565
+        typeof this.modeOptions[mode_id].name !== "undefined"
525 566
         ? this.modeOptions[mode_id].name
526
-        : ''
567
+        : "";
527 568
     },
528 569
     getDialysisRecord() {
529
-      this.loading = true
570
+      this.loading = true;
530 571
 
531 572
       getDialysisRecord(this.queryParams).then(response => {
532 573
         if (response.data.state == 1) {
533
-          this.childResponse = response
534
-          this.org_template_info = response.data.data.org_template_info
535
-          this.loading = false
574
+          this.childResponse = response;
575
+          this.org_template_info = response.data.data.org_template_info;
576
+          this.loading = false;
536 577
           //   this.adminUser = response.data.data.users
537 578
           //   this.users = response.data.data.users
538 579
           //   this.patientInfo = response.data.data.patientInfo
@@ -769,23 +810,23 @@ export default {
769 810
           //   }
770 811
           //   console.log(this.advice_groups)
771 812
         } else {
772
-          this.loading = false
773
-          this.$message.error('请求数据失败')
774
-          return false
813
+          this.loading = false;
814
+          this.$message.error("请求数据失败");
815
+          return false;
775 816
         }
776
-      })
817
+      });
777 818
     },
778 819
     bloodAccessParOperaName(id) {
779 820
       if (id in this.bloodAccessParOpera) {
780
-        return this.bloodAccessParOpera[id].name
821
+        return this.bloodAccessParOpera[id].name;
781 822
       }
782
-      return ''
823
+      return "";
783 824
     },
784 825
     dialysateFormulationName(id) {
785 826
       if (id in this.dialysateFormulationOptions) {
786
-        return this.dialysateFormulationOptions[id].name
827
+        return this.dialysateFormulationOptions[id].name;
787 828
       }
788
-      return ''
829
+      return "";
789 830
     },
790 831
     getAge: function(val) {
791 832
       if (
@@ -793,12 +834,12 @@ export default {
793 834
         this.org_template_info.template_id == 0
794 835
       ) {
795 836
         if (val.age == 0) {
796
-          return jsGetAge(val.birth, '-')
837
+          return jsGetAge(val.birth, "-");
797 838
         } else {
798
-          return val.age
839
+          return val.age;
799 840
         }
800 841
       } else {
801
-        return jsGetAge(val.birth, '-')
842
+        return jsGetAge(val.birth, "-");
802 843
       }
803 844
     },
804 845
     newAdviceGroupObject: function() {
@@ -813,81 +854,81 @@ export default {
813 854
           // exec_time: 0,
814 855
           // checker: 0,
815 856
         }
816
-      )
857
+      );
817 858
     }
818 859
   },
819 860
   watch: {
820
-    'patientInfo.gender': function() {
861
+    "patientInfo.gender": function() {
821 862
       if (this.patientInfo.gender == 1) {
822
-        this.patientInfo_gender_1 = true
823
-        this.patientInfo_gender_2 = false
863
+        this.patientInfo_gender_1 = true;
864
+        this.patientInfo_gender_2 = false;
824 865
       } else if (this.patientInfo.gender == 2) {
825
-        this.patientInfo_gender_2 = true
826
-        this.patientInfo_gender_1 = false
866
+        this.patientInfo_gender_2 = true;
867
+        this.patientInfo_gender_1 = false;
827 868
       } else {
828
-        this.patientInfo_gender_2 = false
829
-        this.patientInfo_gender_1 = false
869
+        this.patientInfo_gender_2 = false;
870
+        this.patientInfo_gender_1 = false;
830 871
       }
831 872
     },
832
-    'patientInfo.source': function() {
873
+    "patientInfo.source": function() {
833 874
       if (this.patientInfo.source == 1) {
834
-        this.patientInfo_source_1 = true
835
-        this.patientInfo_source_2 = false
875
+        this.patientInfo_source_1 = true;
876
+        this.patientInfo_source_2 = false;
836 877
       } else if (this.patientInfo.source == 2) {
837
-        this.patientInfo_source_2 = true
838
-        this.patientInfo_source_1 = false
878
+        this.patientInfo_source_2 = true;
879
+        this.patientInfo_source_1 = false;
839 880
       } else {
840
-        this.patientInfo_source_2 = false
841
-        this.patientInfo_source_1 = false
881
+        this.patientInfo_source_2 = false;
882
+        this.patientInfo_source_1 = false;
842 883
       }
843 884
     }
844 885
   },
845 886
   created() {
846
-    var xtuser = this.$store.getters.xt_user
847
-    this.orgname = xtuser.org.org_name
887
+    var xtuser = this.$store.getters.xt_user;
888
+    this.orgname = xtuser.org.org_name;
848 889
     // this.orgname = "遂溪方济医院";
849
-    this.modeOptions = this.$store.getters.treatment_mode
850
-    this.replacementWays = this.$store.getters.replacement_ways
851
-    this.perfusionApparatus = this.$store.getters.perfusion_apparatus
852
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
890
+    this.modeOptions = this.$store.getters.treatment_mode;
891
+    this.replacementWays = this.$store.getters.replacement_ways;
892
+    this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
893
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
853 894
 
854 895
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
855 896
 
856 897
     var bloodAccessParOpera = getDataConfig(
857
-      'hemodialysis',
858
-      'vascular_access_desc'
859
-    )
898
+      "hemodialysis",
899
+      "vascular_access_desc"
900
+    );
860 901
     for (var key in bloodAccessParOpera) {
861 902
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
862
-        bloodAccessParOpera[key]
903
+        bloodAccessParOpera[key];
863 904
     }
864 905
 
865 906
     var dialysateFormulationOptions = getDataConfig(
866
-      'hemodialysis',
867
-      'dialysate_formulation'
868
-    )
907
+      "hemodialysis",
908
+      "dialysate_formulation"
909
+    );
869 910
     for (var key in dialysateFormulationOptions) {
870 911
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
871
-        dialysateFormulationOptions[key]
912
+        dialysateFormulationOptions[key];
872 913
     }
873 914
 
874
-    const xtdate = this.$route.query && this.$route.query.xtdate
875
-    const xtno = this.$route.query && this.$route.query.xtno
915
+    const xtdate = this.$route.query && this.$route.query.xtdate;
916
+    const xtno = this.$route.query && this.$route.query.xtno;
876 917
     if (
877
-      typeof xtdate === 'string' &&
918
+      typeof xtdate === "string" &&
878 919
       xtdate.length > 0 &&
879
-      typeof xtno === 'string' &&
920
+      typeof xtno === "string" &&
880 921
       xtno.length > 0
881 922
     ) {
882
-      this.queryParams.xtdate = xtdate
883
-      this.queryParams.xtno = xtno
884
-      this.getDialysisRecord()
923
+      this.queryParams.xtdate = xtdate;
924
+      this.queryParams.xtno = xtno;
925
+      this.getDialysisRecord();
885 926
     } else {
886
-      this.$message.error('参数不齐')
887
-      return false
927
+      this.$message.error("参数不齐");
928
+      return false;
888 929
     }
889 930
   }
890
-}
931
+};
891 932
 </script>
892 933
 
893 934
 <style>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue Datei anzeigen

@@ -451,7 +451,7 @@
451 451
                           <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_shouji}}</span>
452 452
                         </div>
453 453
                       </td>
454
-                      <td width="20">mS/m</td>
454
+                      <td width="20">mS/cm</td>
455 455
                       <td></td>
456 456
                     </tr>
457 457
                   </tbody>

Datei-Diff unterdrückt, da er zu groß ist
+ 2105 - 1264
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue


Datei-Diff unterdrückt, da er zu groß ist
+ 2983 - 0
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue