Kaynağa Gözat

25 1月9 打印单

yq1 1 gün önce
ebeveyn
işleme
c5d35ed83c

+ 4 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue Dosyayı Görüntüle

@@ -96,14 +96,14 @@
96 96
               <div class="inline_block">
97 97
                 入科方式:
98 98
                 <div v-for="(item, i) in way_arr" class="under_line" v-if="record.receive_assessment.way == item.id"
99
-                  style="width: 180px; text-align: left">
99
+                  style="width: 100px; text-align: left">
100 100
                   {{ item.name }}
101 101
                 </div>
102 102
               </div>
103 103
               <div class="inline_block" style="margin-left: 10px" v-if="org_id != 10460 && org_id != 10624">
104 104
                 诊断:
105 105
                 <div class="under_line" style="
106
-                    width: 640px;
106
+                    width: 440px;
107 107
                     text-align: left;
108 108
                     word-break: break-all;
109 109
                     word-wrap: break-word;
@@ -249,7 +249,7 @@
249 249
                         <div class="inline_block" style="flex: 1;">
250 250
                           内瘘:
251 251
                           <div class="under_line" style="
252
-                              width: 150px;
252
+                              width: 80%;
253 253
                               text-align: center;
254 254
                               white-space: normal;
255 255
                             ">
@@ -263,7 +263,7 @@
263 263
 
264 264
                         <div class="inline_block" style="flex: 1">
265 265
                           导管:
266
-                          <div class="under_line" style="width: 150px; text-align: center">
266
+                          <div class="under_line" style="width: 80%; text-align: center">
267 267
                             {{ record.assessment_before_dislysis.catheter ?
268 268
                               record.assessment_before_dislysis.catheter : "/"
269 269
                             }}
@@ -274,7 +274,6 @@
274 274
                       <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
275 275
                         <div class="inline_block" style="flex: 1">
276 276
                           <span>透析方式:</span>
277
-
278 277
                           <div class="under_line" style="
279 278
                               width: 100px;
280 279
                               text-align: center;

+ 78 - 52
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue Dosyayı Görüntüle

@@ -118,7 +118,7 @@
118 118
             <div class="inline_block" style="flex: 1;">
119 119
               入科方式:
120 120
               <div v-for="(item, index) in way_arr" class="under_line" v-if="receiverTreatmentAccess.way == item.id"
121
-                style="width: 60%; text-align: left">
121
+                style="width: 50%; text-align: left">
122 122
                 {{ item.name }}
123 123
               </div>
124 124
 
@@ -272,7 +272,7 @@
272 272
                       <div class="inline_block" style="flex: 1;">
273 273
                         内瘘:
274 274
                         <div class="under_line" style="
275
-                            width: 150px;
275
+                            width: 80%;
276 276
                             text-align: center;
277 277
                             white-space: normal;
278 278
                           ">
@@ -285,7 +285,7 @@
285 285
                       </div>
286 286
                       <div class="inline_block" style="flex: 1">
287 287
                         导管:
288
-                        <div class="under_line" style="width: 150px; text-align: center">
288
+                        <div class="under_line" style="width: 80%; text-align: center">
289 289
                           {{ predialysis.catheter ? predialysis.catheter : "/" }}
290 290
                         </div>
291 291
                       </div>
@@ -759,7 +759,7 @@
759 759
                               }}
760 760
                             </span>
761 761
                           </td>
762
-                          <td v-if="org_id != 9919 && org_id != 9671 && org_id != 9836 && org_id != 10644">
762
+                          <td>
763 763
                             {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
764 764
                           </td>
765 765
                           <td>{{monitor.conductivity ? monitor.conductivity : "" }}</td>
@@ -1893,57 +1893,71 @@ export default {
1893 1893
       }if (this.prescription.creater == 0) {
1894 1894
         const obj50='医生签名'
1895 1895
         checkDate.push(obj50)
1896
-      } else if (this.tableAdvice.length > 0) {
1897
-        let num = 0;
1898
-        this.tableAdvice.map((item) => {
1899
-          if (item.id > 0 && (item.created_time || item.start_time)) {
1900
-            this.users.map((it) => {
1901
-              if (it.id == item.advice_doctor) {
1902
-                if (it.user_type == 3) {
1903
-                  num++;
1904
-                  this.$message.closeAll();
1905
-                  this.$message.error("存在不是医生保存的医嘱");
1906
-                } else if (
1907
-                  it.id == item.execution_staff &&
1908
-                  item.execution_staff > 0
1909
-                ) {
1910
-                  if (it.user_type == 2) {
1911
-                    num++;
1912
-                    this.$message.closeAll();
1913
-                    this.$message.error("存在不是护士执行的医嘱");
1914
-                  }
1915
-                } else if (it.id == item.checker && item.checker > 0) {
1916
-                  if (it.user_type == 2) {
1917
-                    num++;
1918
-                    this.$message.closeAll();
1919
-                    this.$message.error("存在不是护士核对的医嘱");
1920
-                  }
1921
-                }
1922
-              } else if (
1923
-                it.id == item.execution_staff &&
1924
-                item.execution_staff > 0
1925
-              ) {
1926
-                if (it.user_type == 2) {
1927
-                  num++;
1928
-                  this.$message.closeAll();
1929
-                  this.$message.error("存在不是护士执行的医嘱");
1930
-                }
1931
-              } else if (it.id == item.checker && item.checker > 0) {
1932
-                if (it.user_type == 2) {
1933
-                  num++;
1934
-                  this.$message.closeAll();
1935
-                  this.$message.error("存在不是护士核对的医嘱");
1936
-                }
1937
-              }
1938
-            });
1896
+      }if (this.doctor_advices.length > 0) {
1897
+
1898
+        this.doctor_advices.map((item) => {
1899
+          if(item.id > 0 && (item.created_time || item.start_time)){
1900
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
1901
+              const obj51 = '执行人员,医生签名'
1902
+              checkDate.push(obj51)
1903
+            }
1939 1904
           }
1940 1905
         });
1941
-        if (num == 0) {
1942
-          this.$message.success("核对完成");
1906
+      }if(this.monitors.length >0){
1907
+        for(let i in this.monitors){
1908
+          if(this.monitors[i].systolic_blood_pressure ==0 ||
1909
+                this.monitors.diastolic_blood_pressure==0){
1910
+            const obj52 = '监测第'+((i*1)+1)+'行血压'
1911
+            checkDate.push(obj52)
1912
+          } if(this.monitors[i].pulse_frequency ==0){
1913
+            const obj53 = '监测第'+((i*1)+1)+'行脉搏'
1914
+            checkDate.push(obj53)
1915
+          } if(this.monitors[i].breathing_rate ==0){
1916
+            const obj54 = '监测第'+((i*1)+1)+'行呼吸'
1917
+            checkDate.push(obj54)
1918
+          } 
1919
+          if(this.monitors[i].blood_flow_volume ==0){
1920
+            const obj55 = '监测第'+((i*1)+1)+'行血流量'
1921
+            checkDate.push(obj55)
1922
+          } if(this.monitors[i].venous_pressure ==0 ){
1923
+            const obj56 = '监测第'+((i*1)+1)+'行静脉压'
1924
+            checkDate.push(obj56)
1925
+          } if(this.monitors[i].transmembrane_pressure ==0){
1926
+            const obj57= '监测第'+((i*1)+1)+'行跨膜压'
1927
+            checkDate.push(obj57)
1928
+          } if(this.monitors[i].dialysate_temperature == 0){
1929
+            const obj58 = '监测第'+((i*1)+1)+'行透析液温度温度'
1930
+            checkDate.push(obj58)
1931
+          }if(this.monitors[i].conductivity ==0){
1932
+            const obj59 = '监测第'+((i*1)+1)+'行电导度'
1933
+            checkDate.push(obj59)
1934
+          }
1935
+
1936
+          // if(this.monitors[i].ultrafiltration_rate ==0){
1937
+          //   const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1938
+          //   monearr.push(obj57)
1939
+          // } 
1940
+          if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
1941
+            const obj60 = '监测第'+((i*1)+1)+'行超滤量'
1942
+            checkDate.push(obj60)
1943
+          } 
1944
+          // if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
1945
+          // ){
1946
+          //   const obj58 = '监测第'+((i*1)+1)+'行置换率'
1947
+          //   monearr.push(obj58)
1948
+          // }
1949
+          // if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1950
+          //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1951
+          //   monearr.push(obj54)
1952
+          // }
1953
+          // if(this.monitors[i].sodium_concentration ==0 ){
1954
+          //   // this.monitors[i].temperature == 0
1955
+          //   const obj59 = '监测第'+((i*1)+1)+'行钠浓度'
1956
+          //   monearr.push(obj59)
1957
+          // }
1943 1958
         }
1944
-      } else {
1945
-        this.$message.success("核对完成");
1946 1959
       }
1960
+      this.getcheckData(checkDate)
1947 1961
     },
1948 1962
     getDisplaceLiquiPart: function (val) {
1949 1963
       let displace_liqui_part_name = "/";
@@ -2731,7 +2745,19 @@ export default {
2731 2745
         return "0.0";
2732 2746
       }
2733 2747
     },
2734
-
2748
+    getcheckData(val){
2749
+      if(val.length >0){
2750
+        let message = `记录单未填数据:<br/>&nbsp;&nbsp;${val.join("<br/>&nbsp;&nbsp;")}`;
2751
+        this.$confirm(message, '提示', {
2752
+          confirmButtonText: '确定',
2753
+          cancelButtonText: '取消',
2754
+          type: 'warning',
2755
+          dangerouslyUseHTMLString: true,
2756
+        })
2757
+      }else{
2758
+        this.$message.success('核对完成')
2759
+      }
2760
+    }
2735 2761
   },
2736 2762
   watch: {
2737 2763
     "patientInfo.gender": function () {