|
@@ -170,6 +170,16 @@
|
170
|
170
|
>打印</el-button
|
171
|
171
|
>
|
172
|
172
|
</template>
|
|
173
|
+ <template v-if="org_template_info.template_id == 15">
|
|
174
|
+ <el-button
|
|
175
|
+ :loading="loading"
|
|
176
|
+ size="small"
|
|
177
|
+ icon="el-icon-printer"
|
|
178
|
+ @click="printThisPage"
|
|
179
|
+ type="primary"
|
|
180
|
+ >打印</el-button
|
|
181
|
+ >
|
|
182
|
+ </template>
|
173
|
183
|
</div>
|
174
|
184
|
<div class="app-container ">
|
175
|
185
|
<!--<div class="order-print-btn"-->
|
|
@@ -259,6 +269,10 @@
|
259
|
269
|
v-bind:childResponse="childResponse"
|
260
|
270
|
v-if="org_template_info.template_id == 14"
|
261
|
271
|
></DialysisPrintOrderFourteen>
|
|
272
|
+ <DialysisPrintOrderFifteen
|
|
273
|
+ v-bind:childResponse="childResponse"
|
|
274
|
+ v-if="org_template_info.template_id == 15"
|
|
275
|
+ ></DialysisPrintOrderFifteen>
|
262
|
276
|
</div>
|
263
|
277
|
</div>
|
264
|
278
|
</template>
|
|
@@ -284,10 +298,12 @@ import DialysisPrintOrderEleven from "./template/DialysisPrintOrderEleven";
|
284
|
298
|
import DialysisPrintOrderTwelve from "./template/DialysisPrintOrderTwelve";
|
285
|
299
|
import DialysisPrintOrderThirteen from "./template/DialysisPrintOrderThirteen";
|
286
|
300
|
import DialysisPrintOrderFourteen from "./template/DialysisPrintOrderFourteen";
|
|
301
|
+import DialysisPrintOrderFifteen from "./template/DialysisPrintOrderFifteen";
|
287
|
302
|
|
288
|
303
|
export default {
|
289
|
304
|
name: "dialysisPrintOrder",
|
290
|
305
|
components: {
|
|
306
|
+ DialysisPrintOrderFifteen,
|
291
|
307
|
DialysisPrintOrderFourteen,
|
292
|
308
|
DialysisPrintOrderThirteen,
|
293
|
309
|
DialysisPrintOrderTwelve,
|
|
@@ -531,6 +547,13 @@ export default {
|
531
|
547
|
style: style,
|
532
|
548
|
scanStyles: false
|
533
|
549
|
});
|
|
550
|
+ } else if (this.org_template_info.template_id == 15){
|
|
551
|
+ printJS({
|
|
552
|
+ printable: "dialysis-print-box",
|
|
553
|
+ type: "html",
|
|
554
|
+ style: style,
|
|
555
|
+ scanStyles: false
|
|
556
|
+ });
|
534
|
557
|
}
|
535
|
558
|
},
|
536
|
559
|
printThisOnePage() {
|