Sfoglia il codice sorgente

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

csx 5 anni fa
parent
commit
9ca66d0c58

+ 18 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Vedi File

@@ -179,6 +179,14 @@
179 179
         v-if="org_template_info.template_id == 8"
180 180
       >
181 181
       </DialysisPrintOrderEight>
182
+
183
+      <!--<DialysisPrintOrderTen></DialysisPrintOrderTen>-->
184
+      <DialysisPrintOrderTen
185
+        v-bind:childResponse="childResponse"
186
+        v-if="org_template_info.template_id == 10"
187
+      ></DialysisPrintOrderTen>
188
+
189
+
182 190
     </div>
183 191
   </div>
184 192
 </template>
@@ -198,10 +206,12 @@ import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
198 206
 import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
199 207
 import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
200 208
 import print from "print-js";
209
+import DialysisPrintOrderTen from './template/DialysisPrintOrderTen'
201 210
 
202 211
 export default {
203 212
   name: "dialysisPrintOrder",
204 213
   components: {
214
+    DialysisPrintOrderTen,
205 215
     DialysisPrintOrderOne,
206 216
     DialysisPrintOrderTwo,
207 217
     DialysisPrintOrderThree,
@@ -210,6 +220,7 @@ export default {
210 220
     DialysisPrintOrderSix,
211 221
     DialysisPrintOrderSeven,
212 222
     DialysisPrintOrderEight,
223
+
213 224
     LabelBox,
214 225
     BreadCrumb
215 226
   },
@@ -399,6 +410,13 @@ export default {
399 410
           style: style,
400 411
           scanStyles: false
401 412
         });
413
+      } else if (this.org_template_info.template_id == 10) {
414
+        printJS({
415
+          printable: "dialysis-print-box",
416
+          type: "html",
417
+          style: style,
418
+          scanStyles: false
419
+        });
402 420
       }
403 421
     },
404 422
     printThisOnePage() {

File diff suppressed because it is too large
+ 2892 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue