|
@@ -160,7 +160,40 @@
|
160
|
160
|
>打印</el-button
|
161
|
161
|
>
|
162
|
162
|
</template>
|
163
|
|
- <template v-if="org_template_info.template_id == 14">
|
|
163
|
+ <template
|
|
164
|
+ v-if="
|
|
165
|
+ org_template_info.template_id == 14 ||
|
|
166
|
+ org_template_info.template_id == 0
|
|
167
|
+ "
|
|
168
|
+ >
|
|
169
|
+ <div>
|
|
170
|
+ <el-button
|
|
171
|
+ :loading="loading"
|
|
172
|
+ size="small"
|
|
173
|
+ icon="el-icon-printer"
|
|
174
|
+ @click="printThisPage"
|
|
175
|
+ type="primary"
|
|
176
|
+ >打印全部</el-button
|
|
177
|
+ >
|
|
178
|
+ <el-button
|
|
179
|
+ :loading="loading"
|
|
180
|
+ size="small"
|
|
181
|
+ icon="el-icon-printer"
|
|
182
|
+ @click="printThisOnePage"
|
|
183
|
+ type="primary"
|
|
184
|
+ >打印纪录单</el-button
|
|
185
|
+ >
|
|
186
|
+ <el-button
|
|
187
|
+ :loading="loading"
|
|
188
|
+ size="small"
|
|
189
|
+ icon="el-icon-printer"
|
|
190
|
+ @click="printThisTwoPage"
|
|
191
|
+ type="primary"
|
|
192
|
+ >打印医嘱单</el-button
|
|
193
|
+ >
|
|
194
|
+ </div>
|
|
195
|
+ </template>
|
|
196
|
+ <template v-if="org_template_info.template_id == 15">
|
164
|
197
|
<el-button
|
165
|
198
|
:loading="loading"
|
166
|
199
|
size="small"
|
|
@@ -170,7 +203,7 @@
|
170
|
203
|
>打印</el-button
|
171
|
204
|
>
|
172
|
205
|
</template>
|
173
|
|
- <template v-if="org_template_info.template_id == 15">
|
|
206
|
+ <template v-if="org_template_info.template_id == 16">
|
174
|
207
|
<el-button
|
175
|
208
|
:loading="loading"
|
176
|
209
|
size="small"
|
|
@@ -180,7 +213,7 @@
|
180
|
213
|
>打印</el-button
|
181
|
214
|
>
|
182
|
215
|
</template>
|
183
|
|
- <template v-if="org_template_info.template_id == 16">
|
|
216
|
+ <template v-if="org_template_info.template_id == 17">
|
184
|
217
|
<el-button
|
185
|
218
|
:loading="loading"
|
186
|
219
|
size="small"
|
|
@@ -358,6 +391,10 @@
|
358
|
391
|
v-bind:childResponse="childResponse"
|
359
|
392
|
v-if="org_template_info.template_id == 16"
|
360
|
393
|
></DialysisPrintOrderSixteen>
|
|
394
|
+ <DialysisPrintOrderSeventeen
|
|
395
|
+ v-bind:childResponse="childResponse"
|
|
396
|
+ v-if="org_template_info.template_id == 17"
|
|
397
|
+ ></DialysisPrintOrderSeventeen>
|
361
|
398
|
</div>
|
362
|
399
|
</el-container>
|
363
|
400
|
</div>
|
|
@@ -393,10 +430,12 @@ import DialysisPrintOrderThirteen from "./template/DialysisPrintOrderThirteen";
|
393
|
430
|
import DialysisPrintOrderFourteen from "./template/DialysisPrintOrderFourteen";
|
394
|
431
|
import DialysisPrintOrderFifteen from "./template/DialysisPrintOrderFifteen";
|
395
|
432
|
import DialysisPrintOrderSixteen from "./template/DialysisPrintOrderSixteen";
|
|
433
|
+import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
|
396
|
434
|
|
397
|
435
|
export default {
|
398
|
436
|
name: "dialysisPrintOrder",
|
399
|
437
|
components: {
|
|
438
|
+ DialysisPrintOrderSeventeen,
|
400
|
439
|
DialysisPrintOrderSixteen,
|
401
|
440
|
DialysisPrintOrderFifteen,
|
402
|
441
|
DialysisPrintOrderFourteen,
|
|
@@ -689,6 +728,13 @@ export default {
|
689
|
728
|
style: style,
|
690
|
729
|
scanStyles: false
|
691
|
730
|
});
|
|
731
|
+ } else if (this.org_template_info.template_id == 17) {
|
|
732
|
+ printJS({
|
|
733
|
+ printable: "dialysis-print-box",
|
|
734
|
+ type: "html",
|
|
735
|
+ style: style,
|
|
736
|
+ scanStyles: false
|
|
737
|
+ });
|
692
|
738
|
}
|
693
|
739
|
},
|
694
|
740
|
printThisOnePage() {
|
|
@@ -710,7 +756,7 @@ export default {
|
710
|
756
|
} else if (
|
711
|
757
|
this.org_template_info.template_id == 2 ||
|
712
|
758
|
this.org_template_info.template_id == 0 ||
|
713
|
|
- this.org_template_info.template_id == 5
|
|
759
|
+ this.org_template_info.template_id == 5
|
714
|
760
|
) {
|
715
|
761
|
printJS({
|
716
|
762
|
printable: "dialysis-print-box-1-1",
|
|
@@ -718,6 +764,13 @@ export default {
|
718
|
764
|
style: style2,
|
719
|
765
|
scanStyles: false
|
720
|
766
|
});
|
|
767
|
+ } else if(this.org_template_info.template_id == 14){
|
|
768
|
+ printJS({
|
|
769
|
+ printable: "new-dialysis-1",
|
|
770
|
+ type: "html",
|
|
771
|
+ style: style,
|
|
772
|
+ scanStyles: false
|
|
773
|
+ });
|
721
|
774
|
}
|
722
|
775
|
},
|
723
|
776
|
printThisTwoPage() {
|
|
@@ -747,6 +800,13 @@ export default {
|
747
|
800
|
style: style2,
|
748
|
801
|
scanStyles: false
|
749
|
802
|
});
|
|
803
|
+ }else if(this.org_template_info.template_id == 14){
|
|
804
|
+ printJS({
|
|
805
|
+ printable: "new-dialysis-2",
|
|
806
|
+ type: "html",
|
|
807
|
+ style: style,
|
|
808
|
+ scanStyles: false
|
|
809
|
+ });
|
750
|
810
|
}
|
751
|
811
|
},
|
752
|
812
|
getNumber() {
|