|
@@ -111,7 +111,8 @@
|
111
|
111
|
org_template_info.template_id == 50 ||
|
112
|
112
|
org_template_info.template_id == 52 ||
|
113
|
113
|
org_template_info.template_id == 53 ||
|
114
|
|
- $store.getters.xt_user.org.id == 0
|
|
114
|
+ org_template_info.template_id == 64 ||
|
|
115
|
+ $store.getters.xt_user.org.id == 0
|
115
|
116
|
"
|
116
|
117
|
>
|
117
|
118
|
<div>
|
|
@@ -796,7 +797,17 @@
|
796
|
797
|
>
|
797
|
798
|
</div>
|
798
|
799
|
</template>
|
799
|
|
-
|
|
800
|
+
|
|
801
|
+ <!-- <template v-if="org_template_info.template_id == 64">
|
|
802
|
+ <el-button
|
|
803
|
+ :loading="loading"
|
|
804
|
+ size="small"
|
|
805
|
+ icon="el-icon-printer"
|
|
806
|
+ @click="printThisPage"
|
|
807
|
+ type="primary"
|
|
808
|
+ >打印</el-button
|
|
809
|
+ >
|
|
810
|
+ </template> -->
|
800
|
811
|
</div>
|
801
|
812
|
<div class="app-container" style="min-height: 0">
|
802
|
813
|
<!--<div class="order-print-btn"-->
|
|
@@ -1239,6 +1250,11 @@
|
1239
|
1250
|
v-bind:childResponse="childResponse"
|
1240
|
1251
|
v-if="org_template_info.template_id == 63">
|
1241
|
1252
|
</DialysisPrintOrderSixtyThree> -->
|
|
1253
|
+ <DialysisPrintOrderSixtyfour
|
|
1254
|
+ v-bind:childResponse="childResponse"
|
|
1255
|
+ v-if="org_template_info.template_id == 64">
|
|
1256
|
+
|
|
1257
|
+ </DialysisPrintOrderSixtyfour>
|
1242
|
1258
|
</div>
|
1243
|
1259
|
</el-container>
|
1244
|
1260
|
</div>
|
|
@@ -1320,6 +1336,7 @@ import DialysisPrintOrderSixty from "./template/DialysisPrintOrderSixty";
|
1320
|
1336
|
import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
|
1321
|
1337
|
import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
|
1322
|
1338
|
// import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
|
|
1339
|
+import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
|
1323
|
1340
|
export default {
|
1324
|
1341
|
name: "dialysisPrintOrder",
|
1325
|
1342
|
components: {
|
|
@@ -1386,7 +1403,7 @@ export default {
|
1386
|
1403
|
DialysisPrintOrderSeven,
|
1387
|
1404
|
DialysisPrintOrderEight,
|
1388
|
1405
|
DialysisPrintOrderNine,
|
1389
|
|
-
|
|
1406
|
+ DialysisPrintOrderSixtyfour,
|
1390
|
1407
|
LabelBox,
|
1391
|
1408
|
BreadCrumb,
|
1392
|
1409
|
},
|
|
@@ -1937,6 +1954,16 @@ export default {
|
1937
|
1954
|
style: style2,
|
1938
|
1955
|
scanStyles: false,
|
1939
|
1956
|
});
|
|
1957
|
+ }else if (
|
|
1958
|
+ this.org_template_info.template_id == 64
|
|
1959
|
+ ) {
|
|
1960
|
+ printJS({
|
|
1961
|
+ printable: "dialysis-print-box-64",
|
|
1962
|
+ type: "html",
|
|
1963
|
+ style: style12,
|
|
1964
|
+ scanStyles: false,
|
|
1965
|
+ });
|
|
1966
|
+
|
1940
|
1967
|
}else if (
|
1941
|
1968
|
this.org_template_info.template_id == 53
|
1942
|
1969
|
) {
|
|
@@ -1947,7 +1974,8 @@ export default {
|
1947
|
1974
|
scanStyles: false,
|
1948
|
1975
|
});
|
1949
|
1976
|
|
1950
|
|
- }else if (
|
|
1977
|
+ }
|
|
1978
|
+ else if (
|
1951
|
1979
|
this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
|
1952
|
1980
|
) {
|
1953
|
1981
|
printJS({
|
|
@@ -2032,7 +2060,7 @@ export default {
|
2032
|
2060
|
style: style,
|
2033
|
2061
|
scanStyles: false,
|
2034
|
2062
|
});
|
2035
|
|
- }
|
|
2063
|
+ }
|
2036
|
2064
|
},
|
2037
|
2065
|
printThisTwoPage() {
|
2038
|
2066
|
var ptime = Math.round(new Date().getTime() / 1000);
|
|
@@ -2160,6 +2188,7 @@ export default {
|
2160
|
2188
|
getDialysisRecord(this.queryParams).then((response) => {
|
2161
|
2189
|
if (response.data.state == 1) {
|
2162
|
2190
|
this.childResponse = response;
|
|
2191
|
+ console.log('this.org_template_info是数据',response.data.data);
|
2163
|
2192
|
this.org_template_info = response.data.data.org_template_info;
|
2164
|
2193
|
this.loading = false;
|
2165
|
2194
|
// this.adminUser = response.data.data.users
|