|
@@ -160,6 +160,16 @@
|
160
|
160
|
>打印</el-button
|
161
|
161
|
>
|
162
|
162
|
</template>
|
|
163
|
+ <template v-if="org_template_info.template_id == 14">
|
|
164
|
+ <el-button
|
|
165
|
+ :loading="loading"
|
|
166
|
+ size="small"
|
|
167
|
+ icon="el-icon-printer"
|
|
168
|
+ @click="printThisPage"
|
|
169
|
+ type="primary"
|
|
170
|
+ >打印</el-button
|
|
171
|
+ >
|
|
172
|
+ </template>
|
163
|
173
|
</div>
|
164
|
174
|
<div class="app-container ">
|
165
|
175
|
<!--<div class="order-print-btn"-->
|
|
@@ -245,6 +255,10 @@
|
245
|
255
|
v-bind:childResponse="childResponse"
|
246
|
256
|
v-if="org_template_info.template_id == 13"
|
247
|
257
|
></DialysisPrintOrderThirteen>
|
|
258
|
+ <DialysisPrintOrderFourteen
|
|
259
|
+ v-bind:childResponse="childResponse"
|
|
260
|
+ v-if="org_template_info.template_id == 14"
|
|
261
|
+ ></DialysisPrintOrderFourteen>
|
248
|
262
|
</div>
|
249
|
263
|
</div>
|
250
|
264
|
</template>
|
|
@@ -269,10 +283,12 @@ import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
|
269
|
283
|
import DialysisPrintOrderEleven from "./template/DialysisPrintOrderEleven";
|
270
|
284
|
import DialysisPrintOrderTwelve from "./template/DialysisPrintOrderTwelve";
|
271
|
285
|
import DialysisPrintOrderThirteen from "./template/DialysisPrintOrderThirteen";
|
|
286
|
+import DialysisPrintOrderFourteen from "./template/DialysisPrintOrderFourteen";
|
272
|
287
|
|
273
|
288
|
export default {
|
274
|
289
|
name: "dialysisPrintOrder",
|
275
|
290
|
components: {
|
|
291
|
+ DialysisPrintOrderFourteen,
|
276
|
292
|
DialysisPrintOrderThirteen,
|
277
|
293
|
DialysisPrintOrderTwelve,
|
278
|
294
|
DialysisPrintOrderEleven,
|
|
@@ -508,6 +524,13 @@ export default {
|
508
|
524
|
style: style3,
|
509
|
525
|
scanStyles: false
|
510
|
526
|
});
|
|
527
|
+ } else if (this.org_template_info.template_id == 14){
|
|
528
|
+ printJS({
|
|
529
|
+ printable: "dialysis-print-box",
|
|
530
|
+ type: "html",
|
|
531
|
+ style: style,
|
|
532
|
+ scanStyles: false
|
|
533
|
+ });
|
511
|
534
|
}
|
512
|
535
|
},
|
513
|
536
|
printThisOnePage() {
|