yq1 преди 4 месеца
родител
ревизия
47823a0604

+ 14 - 1
src/router/modules/dialysis.js Целия файл

@@ -781,6 +781,7 @@ export default {
781 781
         noCache: true
782 782
       }
783 783
     },
784
+    
784 785
     {
785 786
       path: '/dialysis/print/batch/thirtyTwo',
786 787
       component: () =>
@@ -1130,7 +1131,7 @@ export default {
1130 1131
         noCache: true
1131 1132
       }
1132 1133
     },
1133
-    {//80
1134
+    {//81
1134 1135
       path: '/dialysis/print/batch/eightyone',
1135 1136
       component: () =>
1136 1137
         import('@/xt_pages/dialysis/batch_print/batch_print_order_eightyone'),
@@ -1142,6 +1143,18 @@ export default {
1142 1143
         noCache: true
1143 1144
       }
1144 1145
     },
1146
+    {//82
1147
+      path: '/dialysis/print/batch/eightyTwo',
1148
+      component: () =>
1149
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_eightyTwo'),
1150
+      hidden: true,
1151
+      is_menu: false,
1152
+      name: 'batch_print_order_eightyTwo',
1153
+      meta: {
1154
+        title: '批量打印',
1155
+        noCache: true
1156
+      }
1157
+    },
1145 1158
     {
1146 1159
       path: '/dialysis/flow',
1147 1160
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

Файловите разлики са ограничени, защото са твърде много
+ 1505 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eightyTwo.vue


+ 18 - 11
src/xt_pages/dialysis/bloodPresssWatch.vue Целия файл

@@ -228,7 +228,7 @@
228 228
             >批量打印</el-button
229 229
           >
230 230
         </template>
231
-        
231
+
232 232
         <template v-if="template_id == 27">
233 233
           <el-button
234 234
             style=""
@@ -268,6 +268,7 @@
268 268
             >批量打印</el-button
269 269
           >
270 270
         </template>
271
+        
271 272
         <template v-if="this.template_id == 32">
272 273
           <el-button
273 274
             size="small"
@@ -548,6 +549,16 @@
548 549
             type="primary"
549 550
             >批量打印</el-button>
550 551
         </template>
552
+        <template v-if="this.template_id == 82">
553
+          <el-button
554
+            size="small"
555
+            icon="el-icon-printer"
556
+            :disabled="selecting_schs.length == 0"
557
+            @click="batchPrintAction"
558
+            type="primary"
559
+            >批量打印</el-button
560
+          >
561
+        </template>
551 562
       </div>
552 563
     </div>
553 564
     <div class="app-container">
@@ -1982,7 +1993,6 @@ export default {
1982 1993
       this.getSchedualPatientList()
1983 1994
     },
1984 1995
     changeEndTime(){
1985
-
1986 1996
       this.getSchedualPatientList()
1987 1997
     },
1988 1998
     getAllZone: function() {
@@ -2014,8 +2024,6 @@ export default {
2014 2024
         this.listQuery.schedul_time = "";
2015 2025
 
2016 2026
       }
2017
-
2018
-
2019 2027
       console.log("params332322332323232",this.listQuery.start_time)
2020 2028
       this.SchedualPatientsTableData = [];
2021 2029
       getSchedualPatient(this.listQuery).then(response => {
@@ -2027,7 +2035,8 @@ export default {
2027 2035
         } else {
2028 2036
           this.loading = false;
2029 2037
           this.total = response.data.data.total;
2030
-          console.log("世界文化遗产",response.data.data.schedule)
2038
+          console.log("世界文化遗产",response.data.data)
2039
+          // const schedualpatientsTableData2=[]
2031 2040
           for (let i = 0; i < response.data.data.schedule.length; i++) {
2032 2041
 
2033 2042
             if (response.data.data.schedule[i].patient&&response.data.data.schedule[i].patient.id > 0) {
@@ -2082,9 +2091,6 @@ export default {
2082 2091
                 SchedualPatientsTable["pressure_name"] =response.data.data.schedule[i].assessment_before_dislysis.systolic_blood_pressure+"/"+ response.data.data.schedule[i].assessment_before_dislysis.diastolic_blood_pressure;
2083 2092
               }
2084 2093
 
2085
-
2086
-
2087
-
2088 2094
               if(response.data.data.schedule[i].monitoring_record!=null &&response.data.data.schedule[i].monitoring_record.length >0 ){
2089 2095
                  SchedualPatientsTable["monitoring_record"]  = response.data.data.schedule[i].monitoring_record
2090 2096
               }
@@ -2107,7 +2113,6 @@ export default {
2107 2113
                }
2108 2114
               }
2109 2115
 
2110
-
2111 2116
               // 体温
2112 2117
               SchedualPatientsTable.tp = [];
2113 2118
 
@@ -2546,8 +2551,8 @@ export default {
2546 2551
                 SchedualPatientsTable["after_pressure_name"] =response.data.data.schedule[i].assessment_after_dislysis.systolic_blood_pressure+"/"+ response.data.data.schedule[i].assessment_after_dislysis.diastolic_blood_pressure;
2547 2552
               }
2548 2553
 
2549
-
2550
-
2554
+              // schedualpatientsTableData2.push(SchedualPatientsTable)
2555
+              // this.SchedualPatientsTableData = schedualpatientsTableData2
2551 2556
               this.SchedualPatientsTableData.push(SchedualPatientsTable);
2552 2557
               // console.log("wode数据",(-100).toString())
2553 2558
               // console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
@@ -2782,6 +2787,8 @@ export default {
2782 2787
         this.$router.push({ path: "/dialysis/print/batch/eighty" });
2783 2788
       }else if (this.template_id == 81) {
2784 2789
         this.$router.push({ path: "/dialysis/print/batch/eightyone" });
2790
+      } else if (this.template_id == 82) {
2791
+        this.$router.push({ path: "/dialysis/print/batch/eightyTwo" });
2785 2792
       }
2786 2793
     },
2787 2794
     batchPrintActionOne: function() {

+ 5 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue Целия файл

@@ -1389,14 +1389,12 @@ export default {
1389 1389
     },
1390 1390
     getcheckData(val){
1391 1391
       if(val.length >0){
1392
-        let message = `记录单未填数据:<br/><br/>&nbsp;&nbsp;${val.join("<br/><br/>&nbsp;&nbsp;")}`;
1393
-        this.$message({
1392
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1393
+        this.$alert(message, '提示', {
1394
+          confirmButtonText: '确定',
1395
+          type: 'warning',
1394 1396
           dangerouslyUseHTMLString: true,
1395
-          message:message,
1396
-          duration:0,
1397
-          showClose:true,
1398
-          type:'error'
1399
-        })
1397
+        });
1400 1398
         return message
1401 1399
       }else{
1402 1400
         this.$message.success('核对完成')

+ 12 - 21
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue Целия файл

@@ -809,7 +809,7 @@ export default {
809 809
         const obj0 = '血液净化方式'
810 810
         checkDate.push(obj0)
811 811
       }
812
-      if(this.prescription.dialyzer_perfusion_apparatus ==''){
812
+      if(this.prescription.dialysis_dialyszers =='' && this.prescription.dialysis_irrigation == ''){
813 813
         const obj = '血液净化器类型'
814 814
         checkDate.push(obj)
815 815
       } if(this.prescription.dialysate_formulation_name ==''){
@@ -821,10 +821,10 @@ export default {
821 821
       } if(this.predialysis.blood_access_part_opera_name ==''){
822 822
         const obj3 = '血管通路'
823 823
         checkDate.push(obj3)
824
-      } if(this.predialysis.catheter == ''){
824
+      } if(this.predialysis.catheter == '' && this.predialysis.internal_fistula ==''){
825 825
         const obj4 = '透前导管'
826 826
         checkDate.push(obj4)
827
-      } if(this.predialysis.internal_fistula ==''){
827
+      } if(this.predialysis.internal_fistula =='' && this.predialysis.catheter == ''){
828 828
         const obj5 = '透前内瘘'
829 829
         checkDate.push(obj5)
830 830
       } if(this.prescription.anticoagulant == 0){
@@ -913,15 +913,10 @@ export default {
913 913
       ){
914 914
         const obj31 = '透后血压'
915 915
         checkDate.push(obj31)
916
-      } if(this.afterdialysis.symptom_after_dialysis == ""){
917
-        const obj32 = '透后症状'
918
-        checkDate.push(obj32)
919
-      } if(this.afterdialysis.actual_displacement == 0){
916
+      } 
917
+      if(this.afterdialysis.actual_displacement == 0){
920 918
         const obj33 = '实际置换量'
921 919
         checkDate.push(obj33)
922
-      } if(this.afterdialysis.is_eat == 0){
923
-        const obj34 = '透析期间进食'
924
-        checkDate.push(obj34)
925 920
       } if(this.predialysis.is_eat == 1 && this.predialysis.dialysis_during == 0){
926 921
         const obj35 = '透析进食'
927 922
         checkDate.push(obj35)
@@ -943,9 +938,6 @@ export default {
943 938
       } if(this.summary.dialysis_summary == ""){
944 939
         const obj41 = '透析小结'
945 940
         checkDate.push(obj41)
946
-      } if(this.summary.special_record == ""){
947
-        const obj42 = '病情记录'
948
-        checkDate.push(obj42)
949 941
       } if(this.tableAdvice.length > 0){
950 942
         this.tableAdvice.map((item) =>{
951 943
           if(item.id > 0 && (item.created_time || item.start_time)){
@@ -1731,15 +1723,14 @@ export default {
1731 1723
     },
1732 1724
     getcheckData(val){
1733 1725
       if(val.length >0){
1734
-        let message = `记录单未填数据:<br/><br/>&nbsp;&nbsp;${val.join("<br/><br/>&nbsp;&nbsp;")}`;
1735
-        this.$message({
1726
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1727
+        this.$alert(message, '提示', {
1728
+          confirmButtonText: '确定',
1729
+          type: 'warning',
1736 1730
           dangerouslyUseHTMLString: true,
1737
-          message:message,
1738
-          duration:0,
1739
-          showClose:true,
1740
-          type:'error'
1741
-        })
1742
-        return message
1731
+          
1732
+        });
1733
+        // return message
1743 1734
       }else{
1744 1735
         this.$message.success('核对完成')
1745 1736
       }