|
@@ -253,7 +253,7 @@
|
253
|
253
|
>打印</el-button
|
254
|
254
|
>
|
255
|
255
|
</template>
|
256
|
|
- <template v-if="org_template_info.template_id == 21">
|
|
256
|
+ <!-- <template v-if="org_template_info.template_id == 21">
|
257
|
257
|
<el-button
|
258
|
258
|
:loading="loading"
|
259
|
259
|
size="small"
|
|
@@ -262,6 +262,39 @@
|
262
|
262
|
type="primary"
|
263
|
263
|
>打印</el-button
|
264
|
264
|
>
|
|
265
|
+ </template> -->
|
|
266
|
+ <template
|
|
267
|
+ v-if="
|
|
268
|
+ org_template_info.template_id == 21 ||
|
|
269
|
+ org_template_info.template_id == 0
|
|
270
|
+ "
|
|
271
|
+ >
|
|
272
|
+ <div>
|
|
273
|
+ <el-button
|
|
274
|
+ :loading="loading"
|
|
275
|
+ size="small"
|
|
276
|
+ icon="el-icon-printer"
|
|
277
|
+ @click="printThisPage"
|
|
278
|
+ type="primary"
|
|
279
|
+ >打印全部</el-button
|
|
280
|
+ >
|
|
281
|
+ <el-button
|
|
282
|
+ :loading="loading"
|
|
283
|
+ size="small"
|
|
284
|
+ icon="el-icon-printer"
|
|
285
|
+ @click="printThisOnePage"
|
|
286
|
+ type="primary"
|
|
287
|
+ >打印纪录单</el-button
|
|
288
|
+ >
|
|
289
|
+ <el-button
|
|
290
|
+ :loading="loading"
|
|
291
|
+ size="small"
|
|
292
|
+ icon="el-icon-printer"
|
|
293
|
+ @click="printThisTwoPage"
|
|
294
|
+ type="primary"
|
|
295
|
+ >打印医嘱单</el-button
|
|
296
|
+ >
|
|
297
|
+ </div>
|
265
|
298
|
</template>
|
266
|
299
|
<template v-if="org_template_info.template_id == 22">
|
267
|
300
|
<div>
|
|
@@ -930,6 +963,13 @@ export default {
|
930
|
963
|
style: style,
|
931
|
964
|
scanStyles: false
|
932
|
965
|
});
|
|
966
|
+ } else if(this.org_template_info.template_id == 21){
|
|
967
|
+ printJS({
|
|
968
|
+ printable: "new-dialysis-1",
|
|
969
|
+ type: "html",
|
|
970
|
+ style: style,
|
|
971
|
+ scanStyles: false
|
|
972
|
+ });
|
933
|
973
|
}
|
934
|
974
|
},
|
935
|
975
|
printThisTwoPage() {
|
|
@@ -967,6 +1007,13 @@ export default {
|
967
|
1007
|
style: style,
|
968
|
1008
|
scanStyles: false
|
969
|
1009
|
});
|
|
1010
|
+ } else if(this.org_template_info.template_id == 21){
|
|
1011
|
+ printJS({
|
|
1012
|
+ printable: "new-dialysis-2",
|
|
1013
|
+ type: "html",
|
|
1014
|
+ style: style,
|
|
1015
|
+ scanStyles: false
|
|
1016
|
+ });
|
970
|
1017
|
}
|
971
|
1018
|
},
|
972
|
1019
|
getNumber() {
|