ソースを参照

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 4 年 前
コミット
5a6f19689f

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue ファイルの表示

@@ -427,6 +427,16 @@
427 427
           >打印</el-button
428 428
         >
429 429
       </template>
430
+      <template v-if="org_template_info.template_id == 31">
431
+        <el-button
432
+          :loading="loading"
433
+          size="small"
434
+          icon="el-icon-printer"
435
+          @click="printThisPage"
436
+          type="primary"
437
+          >打印</el-button
438
+        >
439
+      </template>
430 440
     </div>
431 441
     <div class="app-container" style="min-height:0;">
432 442
       <!--<div class="order-print-btn"-->
@@ -657,6 +667,11 @@
657 667
             v-if="org_template_info.template_id == 30"
658 668
           >
659 669
           </DialysisPrintOrderThirty>
670
+          <DialysisPrintOrderThirtyOne
671
+            v-bind:childResponse="childResponse"
672
+            v-if="org_template_info.template_id == 31"
673
+          >
674
+          </DialysisPrintOrderThirtyOne>
660 675
         </div>
661 676
       </el-container>
662 677
     </div>
@@ -706,9 +721,11 @@ import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySe
706 721
 import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEight";
707 722
 import DialysisPrintOrderTwentyNine from "./template/DialysisPrintOrderTwentyNine";
708 723
 import DialysisPrintOrderThirty from "./template/DialysisPrintOrderThirty";
724
+import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne";
709 725
 export default {
710 726
   name: "dialysisPrintOrder",
711 727
   components: {
728
+    DialysisPrintOrderThirtyOne,
712 729
     DialysisPrintOrderThirty,
713 730
     DialysisPrintOrderTwentyNine,
714 731
     DialysisPrintOrderTwentyEight,
@@ -1116,7 +1133,14 @@ export default {
1116 1133
           style: style,
1117 1134
           scanStyles: false
1118 1135
         });
1119
-      }
1136
+      } else if (this.org_template_info.template_id == 31) {
1137
+        printJS({
1138
+          printable: "dialysis-print-box-1",
1139
+          type: "html",
1140
+          style: style3,
1141
+          scanStyles: false
1142
+        });
1143
+      } 
1120 1144
     },
1121 1145
     printThisOnePage() {
1122 1146
       var ptime = Math.round(new Date().getTime() / 1000);

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue ファイルの表示

@@ -899,7 +899,7 @@ export default {
899 899
           )
900 900
           this.assessmentafter = response.data.data.assessmentAfterDislysis
901 901
           console.log('上次透后体重', this.assessmentafter)
902
-          var doctorAdevieInfo = response.data.data.doctorAdevieInfo
902
+          var doctorAdevieInfo = response.data.data.advices
903 903
           var tableAdvice = doctorAdevieInfo
904 904
           console.log('医生', tableAdvice)
905 905
           if (tableAdvice.length === 0) {

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


+ 2 - 0
src/xt_pages/qcd/treatmentControlAnalysis/components/TimeAll.vue ファイルの表示

@@ -229,6 +229,7 @@ export default {
229 229
         this.listQuery.start_time = "";
230 230
       } else {
231 231
         this.geStatistics()
232
+        this.getlist()
232 233
       }
233 234
 
234 235
     },
@@ -239,6 +240,7 @@ export default {
239 240
         this.listQuery.end_time = "";
240 241
       } else {
241 242
         this.geStatistics()
243
+        this.getlist()
242 244
       }
243 245
     },
244 246
     getTimestamp(time) {