|
@@ -892,6 +892,18 @@
|
892
|
892
|
>
|
893
|
893
|
</div>
|
894
|
894
|
</template>
|
|
895
|
+ <template v-if="org_template_info.template_id == 72">
|
|
896
|
+ <div>
|
|
897
|
+ <el-button
|
|
898
|
+ :loading="loading"
|
|
899
|
+ size="small"
|
|
900
|
+ icon="el-icon-printer"
|
|
901
|
+ @click="printThisPage"
|
|
902
|
+ type="primary"
|
|
903
|
+ >打印</el-button
|
|
904
|
+ >
|
|
905
|
+ </div>
|
|
906
|
+ </template>
|
895
|
907
|
</div>
|
896
|
908
|
<div class="app-container" style="min-height: 0">
|
897
|
909
|
<!--<div class="order-print-btn"-->
|
|
@@ -1373,6 +1385,11 @@
|
1373
|
1385
|
v-if="org_template_info.template_id == 71"
|
1374
|
1386
|
>
|
1375
|
1387
|
</DialysisPrintOrderseventyone>
|
|
1388
|
+ <DialysisPrintOrderSeventyTwo
|
|
1389
|
+ v-bind:childResponse="childResponse"
|
|
1390
|
+ v-if="org_template_info.template_id == 72"
|
|
1391
|
+ >
|
|
1392
|
+ </DialysisPrintOrderSeventyTwo>
|
1376
|
1393
|
|
1377
|
1394
|
<DialysisPrintOrderZero
|
1378
|
1395
|
v-bind:childResponse="childResponse"
|
|
@@ -1469,6 +1486,7 @@ import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeigh
|
1469
|
1486
|
import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
|
1470
|
1487
|
import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
|
1471
|
1488
|
import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyone'
|
|
1489
|
+import DialysisPrintOrderSeventyTwo from './template/DialysisPrintOrderSeventyTwo'
|
1472
|
1490
|
import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
|
1473
|
1491
|
export default {
|
1474
|
1492
|
name: "dialysisPrintOrder",
|
|
@@ -1544,6 +1562,7 @@ export default {
|
1544
|
1562
|
DialysisPrintOrderSixtynine,
|
1545
|
1563
|
DialysisPrintOrderSeventy,
|
1546
|
1564
|
DialysisPrintOrderseventyone,
|
|
1565
|
+ DialysisPrintOrderSeventyTwo,
|
1547
|
1566
|
DialysisPrintOrderZero,
|
1548
|
1567
|
LabelBox,
|
1549
|
1568
|
BreadCrumb,
|
|
@@ -1711,6 +1730,7 @@ export default {
|
1711
|
1730
|
}
|
1712
|
1731
|
return "";
|
1713
|
1732
|
},
|
|
1733
|
+ // 打印
|
1714
|
1734
|
printThisPage() {
|
1715
|
1735
|
// console.log("this.org_template_info.template_id",this.org_template_info.template_id)
|
1716
|
1736
|
// if(this.$store.getters.xt_user.org.id == 0){
|
|
@@ -1806,7 +1826,8 @@ export default {
|
1806
|
1826
|
this.org_template_info.template_id == 58 ||
|
1807
|
1827
|
this.org_template_info.template_id == 60 ||
|
1808
|
1828
|
this.org_template_info.template_id == 61 ||
|
1809
|
|
- this.org_template_info.template_id == 66
|
|
1829
|
+ this.org_template_info.template_id == 66 ||
|
|
1830
|
+ this.org_template_info.template_id == 72
|
1810
|
1831
|
) {
|
1811
|
1832
|
printJS({
|
1812
|
1833
|
printable: "dialysis-print-box-1",
|
|
@@ -2204,7 +2225,8 @@ export default {
|
2204
|
2225
|
style: style,
|
2205
|
2226
|
scanStyles: false,
|
2206
|
2227
|
});
|
2207
|
|
- } else if (this.org_template_info.template_id == 199 ) {
|
|
2228
|
+ }
|
|
2229
|
+ else if (this.org_template_info.template_id == 199 ) {
|
2208
|
2230
|
printJS({
|
2209
|
2231
|
printable: "dialysis-print-box-1",
|
2210
|
2232
|
type: "html",
|
|
@@ -2846,7 +2868,7 @@ export default {
|
2846
|
2868
|
var xtdate = parseTime(schedual.schedule_date, "{y}-{m}-{d}");
|
2847
|
2869
|
console.log('fffff',this.org_template_info.template_id);
|
2848
|
2870
|
this.x_tdate=xtdate
|
2849
|
|
-
|
|
2871
|
+
|
2850
|
2872
|
// this.queryParams.xtdate = xtdate;
|
2851
|
2873
|
// this.queryParams.xtno = schedual.patient.dialysis_no;
|
2852
|
2874
|
// this.queryParams.patient_id = schedual.patient.id
|