|
@@ -928,6 +928,18 @@
|
928
|
928
|
>
|
929
|
929
|
</div>
|
930
|
930
|
</template>
|
|
931
|
+ <template v-if="org_template_info.template_id == 75">
|
|
932
|
+ <div>
|
|
933
|
+ <el-button
|
|
934
|
+ :loading="loading"
|
|
935
|
+ size="small"
|
|
936
|
+ icon="el-icon-printer"
|
|
937
|
+ @click="printThisPage"
|
|
938
|
+ type="primary"
|
|
939
|
+ >打印</el-button
|
|
940
|
+ >
|
|
941
|
+ </div>
|
|
942
|
+ </template>
|
931
|
943
|
</div>
|
932
|
944
|
<div class="app-container" style="min-height: 0">
|
933
|
945
|
<!--<div class="order-print-btn"-->
|
|
@@ -1429,6 +1441,10 @@
|
1429
|
1441
|
v-if="org_template_info.template_id == 74">
|
1430
|
1442
|
|
1431
|
1443
|
</DialysisPrintOrderSop>
|
|
1444
|
+ <DialysisPrintOrderseventyfive v-bind:childResponse="childResponse"
|
|
1445
|
+ v-if="org_template_info.template_id == 75">
|
|
1446
|
+
|
|
1447
|
+ </DialysisPrintOrderseventyfive>
|
1432
|
1448
|
</div>
|
1433
|
1449
|
</el-container>
|
1434
|
1450
|
</div>
|
|
@@ -1521,6 +1537,7 @@ import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyon
|
1521
|
1537
|
import DialysisPrintOrderSeventyTwo from './template/DialysisPrintOrderSeventyTwo'
|
1522
|
1538
|
import DialysisPrintOrderSeventythree from './template/DialysisPrintOrderSeventythree'
|
1523
|
1539
|
import DialysisPrintOrderSop from './template/DialysisPrintOrderSop'
|
|
1540
|
+import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
|
1524
|
1541
|
import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
|
1525
|
1542
|
export default {
|
1526
|
1543
|
name: "dialysisPrintOrder",
|
|
@@ -1599,6 +1616,7 @@ export default {
|
1599
|
1616
|
DialysisPrintOrderSeventyTwo,
|
1600
|
1617
|
DialysisPrintOrderSeventythree,
|
1601
|
1618
|
DialysisPrintOrderSop,
|
|
1619
|
+ DialysisPrintOrderseventyfive,
|
1602
|
1620
|
DialysisPrintOrderZero,
|
1603
|
1621
|
LabelBox,
|
1604
|
1622
|
BreadCrumb,
|
|
@@ -1772,7 +1790,7 @@ export default {
|
1772
|
1790
|
// if(this.$store.getters.xt_user.org.id == 0){
|
1773
|
1791
|
// this.org_template_info.template_id = 65
|
1774
|
1792
|
// }
|
1775
|
|
-
|
|
1793
|
+ console.log('0000000011111',this.org_template_info.template_id);
|
1776
|
1794
|
var ptime = Math.round(new Date().getTime() / 1000);
|
1777
|
1795
|
this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
|
1778
|
1796
|
|
|
@@ -2274,6 +2292,13 @@ export default {
|
2274
|
2292
|
style: style4,
|
2275
|
2293
|
scanStyles: false,
|
2276
|
2294
|
});
|
|
2295
|
+ }else if (this.org_template_info.template_id == 75) {
|
|
2296
|
+ printJS({
|
|
2297
|
+ printable: "dialysis-print-box-1",
|
|
2298
|
+ type: "html",
|
|
2299
|
+ style: style2,
|
|
2300
|
+ scanStyles: false,
|
|
2301
|
+ });
|
2277
|
2302
|
}
|
2278
|
2303
|
else if (this.org_template_info.template_id == 199 ) {
|
2279
|
2304
|
printJS({
|
|
@@ -2915,7 +2940,7 @@ export default {
|
2915
|
2940
|
changePatient(schedual) {
|
2916
|
2941
|
console.log('schedual',schedual);
|
2917
|
2942
|
var xtdate = parseTime(schedual.schedule_date, "{y}-{m}-{d}");
|
2918
|
|
- console.log('fffff',this.org_template_info.template_id);
|
|
2943
|
+ console.log('fffff打印单单号',this.org_template_info.template_id);
|
2919
|
2944
|
this.x_tdate=xtdate
|
2920
|
2945
|
|
2921
|
2946
|
// this.queryParams.xtdate = xtdate;
|