Sfoglia il codice sorgente

10月4日,80打印单

yq1 5 mesi fa
parent
commit
084e3d5c77

+ 21 - 5
src/pages/main/PrintIndex.vue Vedi File

@@ -418,6 +418,14 @@
418 418
         v-bind:childResponse="childResponse"
419 419
         v-if="org_template_info.template_id == 79">
420 420
       </DialysisPrintOrderServentynine>
421
+
422
+      <DialysisPrintOrdereighty
423
+        ref="childOne"
424
+        style="margin-top: 60px"
425
+        v-bind:childResponse="childResponse"
426
+        v-if="org_template_info.template_id == 80 && (org_id == 10206 || org_id ==0)">
427
+
428
+      </DialysisPrintOrdereighty>
421 429
     </div>
422 430
     
423 431
     <!--<side-bar :active_index="0" v-if="isShow == true"></side-bar>-->
@@ -489,6 +497,7 @@ import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyf
489 497
 import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysix'
490 498
 import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
491 499
 import DialysisPrintOrderServentynine from './template/DialysisPrintOrderServentynine'
500
+import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
492 501
 export default {
493 502
   name: "PrintIndex",
494 503
   components: {
@@ -551,7 +560,8 @@ export default {
551 560
     DialysisPrintOrderseventyfive,
552 561
     DialysisPrintOrderSeventysix,
553 562
     DialysisPrintOrderSeventyeight,
554
-    DialysisPrintOrderServentynine
563
+    DialysisPrintOrderServentynine,
564
+    DialysisPrintOrdereighty
555 565
   },
556 566
   data() {
557 567
     return {
@@ -638,6 +648,7 @@ export default {
638 648
         gaimingcheng_unit: "",
639 649
         gaijiliang_unit: "",
640 650
       },
651
+      org_id:0,
641 652
     };
642 653
   },
643 654
 
@@ -707,9 +718,14 @@ export default {
707 718
       getPrintDialysisRecord(this.queryParams).then((response) => {
708 719
         this.loading = false;
709 720
         if (response.data.state == 1) {
710
-          this.childResponse = response;
711
-
712
-          this.org_template_info = response.data.data.org_template_info;
721
+            this.childResponse = response;
722
+            
723
+          if(this.org_id != 10206 && response.data.data.template_id != 80){
724
+            this.org_template_info = response.data.data.org_template_info;
725
+          }else{
726
+            this.org_template_info.template_id = 80
727
+          }
728
+          console.log('this.org_template_info',this.org_template_info);
713 729
         } else {
714 730
           this.$message.error("请求数据失败");
715 731
           return false;
@@ -798,7 +814,7 @@ export default {
798 814
     this.replacementWays = this.$store.getters.replacement_ways;
799 815
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
800 816
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
801
-
817
+    this.org_id = this.$store.getters.user.template_info.org_id
802 818
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
803 819
 
804 820
     var bloodAccessParOpera = getDataConfig(

File diff suppressed because it is too large
+ 2151 - 0
src/pages/main/template/DialysisPrintOrdereighty.vue