Browse Source

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

XMLWAN 3 years ago
parent
commit
86645fb83f
33 changed files with 850 additions and 265 deletions
  1. 7 1
      src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue
  2. 7 1
      src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue
  3. 67 33
      src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue
  4. 19 4
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue
  5. 16 7
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue
  6. 62 32
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue
  7. 7 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue
  8. 54 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue
  9. 6 1
      src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue
  10. 8 1
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  11. 6 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue
  12. 7 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue
  13. 6 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  14. 8 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue
  15. 6 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue
  16. 12 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue
  17. 65 31
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue
  18. 63 33
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue
  19. 62 32
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue
  20. 49 22
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue
  21. 64 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue
  22. 65 18
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue
  23. 7 1
      src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue
  24. 12 3
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue
  25. 27 3
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue
  26. 8 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue
  27. 10 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyNine.vue
  28. 7 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  29. 29 5
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue
  30. 11 5
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyTwo.vue
  31. 5 1
      src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue
  32. 7 1
      src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue
  33. 61 10
      src/xt_pages/workforce/remind_print_setting.vue

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name"></div>
@@ -1369,6 +1369,7 @@ export default {
1369 1369
                 if(it.id == item.monitoring_nurse){
1370 1370
                   if(it.user_type == 2){
1371 1371
                     num++
1372
+                    this.$message.closeAll()
1372 1373
                     this.$message.error('存在不是护士保存的监测')
1373 1374
                   }
1374 1375
                 }
@@ -1383,26 +1384,31 @@ export default {
1383 1384
                 if(it.id == item.advice_doctor){
1384 1385
                   if(it.user_type == 3){
1385 1386
                     num++
1387
+                    this.$message.closeAll()
1386 1388
                     this.$message.error('存在不是医生保存的医嘱')
1387 1389
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1388 1390
                     if(it.user_type == 2){
1389 1391
                       num++
1392
+                      this.$message.closeAll()
1390 1393
                       this.$message.error('存在不是护士执行的医嘱')
1391 1394
                     }
1392 1395
                   }else if(it.id == item.checker && item.checker > 0){
1393 1396
                     if(it.user_type == 2){
1394 1397
                       num++
1398
+                      this.$message.closeAll()
1395 1399
                       this.$message.error('存在不是护士核对的医嘱')
1396 1400
                     }
1397 1401
                   }
1398 1402
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1399 1403
                   if(it.user_type == 2){
1400 1404
                     num++
1405
+                    this.$message.closeAll()
1401 1406
                     this.$message.error('存在不是护士执行的医嘱')
1402 1407
                   }
1403 1408
                 }else if(it.id == item.checker && item.checker > 0){
1404 1409
                   if(it.user_type == 2){
1405 1410
                     num++
1411
+                    this.$message.closeAll()
1406 1412
                     this.$message.error('存在不是护士核对的医嘱')
1407 1413
                   }
1408 1414
                 }

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content">
6 6
         <div style="display:inline-block;width:100%;text-align:center;">
@@ -1266,6 +1266,7 @@ export default {
1266 1266
                 if(it.id == item.monitoring_nurse){
1267 1267
                   if(it.user_type == 2){
1268 1268
                     num++
1269
+                    this.$message.closeAll()
1269 1270
                     this.$message.error('存在不是护士保存的监测')
1270 1271
                   }
1271 1272
                 }
@@ -1280,26 +1281,31 @@ export default {
1280 1281
                 if(it.id == item.advice_doctor){
1281 1282
                   if(it.user_type == 3){
1282 1283
                     num++
1284
+                    this.$message.closeAll()
1283 1285
                     this.$message.error('存在不是医生保存的医嘱')
1284 1286
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1285 1287
                     if(it.user_type == 2){
1286 1288
                       num++
1289
+                      this.$message.closeAll()
1287 1290
                       this.$message.error('存在不是护士执行的医嘱')
1288 1291
                     }
1289 1292
                   }else if(it.id == item.checker && item.checker > 0){
1290 1293
                     if(it.user_type == 2){
1291 1294
                       num++
1295
+                      this.$message.closeAll()
1292 1296
                       this.$message.error('存在不是护士核对的医嘱')
1293 1297
                     }
1294 1298
                   }
1295 1299
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1296 1300
                   if(it.user_type == 2){
1297 1301
                     num++
1302
+                    this.$message.closeAll()
1298 1303
                     this.$message.error('存在不是护士执行的医嘱')
1299 1304
                   }
1300 1305
                 }else if(it.id == item.checker && item.checker > 0){
1301 1306
                   if(it.user_type == 2){
1302 1307
                     num++
1308
+                    this.$message.closeAll()
1303 1309
                     this.$message.error('存在不是护士核对的医嘱')
1304 1310
                   }
1305 1311
                 }

+ 67 - 33
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
       
@@ -1822,7 +1822,7 @@ export default {
1822 1822
           this.$message.error('透前体温未填')
1823 1823
         }else if(this.receiverTreatmentAccess.posture == 0){
1824 1824
           this.$message.error('体位未填')
1825
-        }else if(monitors[0] && (this.monitors[0].systolic_blood_pressure.systolic_blood_pressure == 0 || this.monitors[0].systolic_blood_pressure.diastolic_blood_pressure == 0)){
1825
+        }else if(this.monitors[0] && (this.monitors[0].systolic_blood_pressure == 0 || this.monitors[0].diastolic_blood_pressure == 0)){
1826 1826
           this.$message.error('透前血压未填完整')
1827 1827
         }else if(this.predialysis.catheter == ''){
1828 1828
           this.$message.error('导管穿刺口未填')
@@ -1910,46 +1910,80 @@ export default {
1910 1910
           this.$message.error('治疗小结未填')
1911 1911
         }else if(this.prescription.prescription_doctor == 0){
1912 1912
           this.$message.error('医生未填')
1913
-        }else if(this.dialysisOrder.start_nurse == 0){
1913
+        }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1914 1914
           this.$message.error('责任护士未填')
1915
-        }else if(this.dialysisOrder.puncture_nurse == 0){
1915
+        }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1916 1916
           this.$message.error('穿刺护士未填')
1917
+        }else if (this.dialysisOrder == null && this.check.creater == 0) {
1918
+          this.$message.error('核对护士未填')
1919
+        }else if (this.dialysisOrder != null && this.check.creater == 0) {
1920
+          this.$message.error('核对护士未填')
1917 1921
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1918 1922
           this.$message.error('核对护士未填')
1919 1923
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1920 1924
           this.$message.error('核对护士未填')
1921
-        }else if(this.monitors.length > 0){
1922
-          this.monitors.map(item => {
1923
-            if(item.id > 0 && item.operate_time){
1924
-              this.users.map(it => {
1925
-                if(it.id == item.monitoring_nurse){
1926
-                  if(it.type != 3){
1927
-                    this.$message.error('存在不是护士保存的监测')
1928
-                  }
1929
-                }
1930
-              })
1931
-            }
1932
-          })
1933
-        }else if(this.tableAdvice.length > 0){
1934
-          this.tableAdvice.map(item => {
1935
-            if(item.id > 0 && item.created_time){
1936
-              this.users.map(it => {
1937
-                if(it.id == item.advice_doctor){
1938
-                  if(it.type != 2){
1939
-                    this.$message.error('存在不是医生保存的医嘱')
1940
-                  }
1941
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1942
-                  if(it.type != 3){
1943
-                    this.$message.error('存在不是护士执行的医嘱')
1925
+        }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1926
+          let num = 0
1927
+          if(this.monitors.length > 0){
1928
+            this.monitors.map(item => {
1929
+              if(item.id > 0 && item.operate_time){
1930
+                this.users.map(it => {
1931
+                  if(it.id == item.monitoring_nurse){
1932
+                    if(it.user_type == 2){
1933
+                      num++
1934
+                      this.$message.closeAll()
1935
+                      this.$message.error('存在不是护士保存的监测')
1936
+                    }
1944 1937
                   }
1945
-                }else if(it.id == item.checker && item.checker > 0){
1946
-                  if(it.type != 3){
1947
-                    this.$message.error('存在不是护士核对的医嘱')
1938
+                })
1939
+              }
1940
+            })
1941
+          }
1942
+          if(this.tableAdvice.length > 0){
1943
+            this.tableAdvice.map(item => {
1944
+              if(item.id > 0 && (item.created_time || item.start_time)){
1945
+                this.users.map(it => {
1946
+                  if(it.id == item.advice_doctor){
1947
+                    if(it.user_type == 3){
1948
+                      num++
1949
+                      this.$message.closeAll()
1950
+                      this.$message.error('存在不是医生保存的医嘱')
1951
+                    }else if(it.id == item.execution_staff && item.execution_staff > 0){
1952
+                      if(it.user_type == 2){
1953
+                        num++
1954
+                        this.$message.closeAll()
1955
+                        this.$message.error('存在不是护士执行的医嘱')
1956
+                      }
1957
+                    }else if(it.id == item.checker && item.checker > 0){
1958
+                      if(it.user_type == 2){
1959
+                        num++
1960
+                        this.$message.closeAll()
1961
+                        this.$message.error('存在不是护士核对的医嘱')
1962
+                      }
1963
+                    }
1964
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1965
+                    if(it.user_type == 2){
1966
+                      num++
1967
+                      this.$message.closeAll()
1968
+                      this.$message.error('存在不是护士执行的医嘱')
1969
+                    }
1970
+                  }else if(it.id == item.checker && item.checker > 0){
1971
+                    if(it.user_type == 2){
1972
+                      num++
1973
+                      this.$message.closeAll()
1974
+                      this.$message.error('存在不是护士核对的医嘱')
1975
+                    }
1948 1976
                   }
1949
-                }
1950
-              })
1951
-            }
1977
+                })
1978
+              }
1952 1979
           })
1980
+          }
1981
+          
1982
+          if(num == 0){
1983
+            this.$message.success('核对完成')
1984
+          }
1985
+        }else{
1986
+          this.$message.success('核对完成')
1953 1987
         }
1954 1988
       },
1955 1989
       getComplication(complication){

+ 19 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -834,7 +834,7 @@
834 834
                           <!--<span v-if="afterdialysis.creater==0">&nbsp;</span>-->
835 835
                           <!--<img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else>-->
836 836
 
837
-                          <span v-if="dialysisOrder.start_nurse != check.modifier">
837
+                          <span v-if="dialysisOrder ? dialysisOrder.start_nurse != check.modifier : false">
838 838
                             <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
839 839
                             {{ getAdminUser(check == null ? 0 : check.modifier) }}
840 840
                             </span>
@@ -1183,8 +1183,10 @@ export default {
1183 1183
         this.$message.error('透前体温未填')
1184 1184
       }else if(this.receiverTreatmentAccess.posture == 0){
1185 1185
         this.$message.error('体位未填')
1186
-      }else if((this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0) && this.org_id == 9987){
1186
+      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1187 1187
         this.$message.error('透前血压未填完整')
1188
+      }else if(this.predialysis.pulse_frequency == ""){
1189
+        this.$message.error('透前脉搏未填')
1188 1190
       }else if(this.predialysis.is_hemorrhage == 0){
1189 1191
         this.$message.error('出血未填')
1190 1192
       }else if(this.predialysis.blood_access_part_opera_name == ''){
@@ -1225,6 +1227,8 @@ export default {
1225 1227
         this.$message.error('医生签名未填')
1226 1228
       }else if(this.advices[0].length > 0 && this.advices[0][0].advice_doctor == 0 && this.org_id != 9987){
1227 1229
         this.$message.error('医生签名未填')
1230
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1231
+        this.$message.error('上机护士未填')
1228 1232
       }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1229 1233
         this.$message.error('实际治疗时间未填')
1230 1234
       }else if(this.afterdialysis.actual_ultrafiltration == 0){
@@ -1247,7 +1251,13 @@ export default {
1247 1251
         this.$message.error('患者去向未填')
1248 1252
       }else if(this.afterdialysis.patient_gose == 3 && this.afterdialysis.observation_content == ""){
1249 1253
         this.$message.error('交待病房护士/患者/陪人观察内容未填')
1250
-      }else if(this.afterdialysis.creater == 0){
1254
+      }else if (this.dialysisOrder == null && this.check.creater == 0) {
1255
+        this.$message.error('当班责任(核对)护士未填')
1256
+      }else if (this.dialysisOrder != null && this.check.creater == 0) {
1257
+        this.$message.error('当班责任(核对)护士未填')
1258
+      }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1259
+        this.$message.error('当班责任(核对)护士未填')
1260
+      }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1251 1261
         this.$message.error('当班责任(核对)护士未填')
1252 1262
       }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
1253 1263
         this.$message.error('下机护士未填')
@@ -1259,26 +1269,31 @@ export default {
1259 1269
               if(it.id == item.advice_doctor){
1260 1270
                 if(it.user_type == 3){
1261 1271
                   num++
1272
+                  this.$message.closeAll()
1262 1273
                   this.$message.error('存在不是医生保存的医嘱')
1263 1274
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1264 1275
                   if(it.user_type == 2){
1265 1276
                     num++
1277
+                    this.$message.closeAll()
1266 1278
                     this.$message.error('存在不是护士执行的医嘱')
1267 1279
                   }
1268 1280
                 }else if(it.id == item.checker && item.checker > 0){
1269 1281
                   if(it.user_type == 2){
1270 1282
                     num++
1283
+                    this.$message.closeAll()
1271 1284
                     this.$message.error('存在不是护士核对的医嘱')
1272 1285
                   }
1273 1286
                 }
1274 1287
               }else if(it.id == item.execution_staff && item.execution_staff > 0){
1275 1288
                 if(it.user_type == 2){
1276 1289
                   num++
1290
+                  this.$message.closeAll()
1277 1291
                   this.$message.error('存在不是护士执行的医嘱')
1278 1292
                 }
1279 1293
               }else if(it.id == item.checker && item.checker > 0){
1280 1294
                 if(it.user_type == 2){
1281 1295
                   num++
1296
+                  this.$message.closeAll()
1282 1297
                   this.$message.error('存在不是护士核对的医嘱')
1283 1298
                 }
1284 1299
               }

+ 16 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1" style="width:940px">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -916,8 +916,8 @@ export default {
916 916
   },
917 917
   methods: {
918 918
     checkData(){
919
-      if(this.receiverTreatmentAccess.condition == 0){
920
-        this.$message.error('门诊或住院未填')
919
+      if(this.predialysis.dialysis_count == 0){
920
+        this.$message.error('透析频率未填')
921 921
       }else if(this.predialysis.temperature == ""){
922 922
         this.$message.error('透前体温未填')
923 923
       }else if(this.predialysis.pulse_frequency == ""){
@@ -986,6 +986,12 @@ export default {
986 986
         this.$message.error('置换方式未填')
987 987
       }else if(this.prescription.mode_id == 2 && this.prescription.displace_liqui_value == 0){
988 988
         this.$message.error('置换总量未填')
989
+      }else if(this.prescription.mode_id == 2 && this.prescription.displace_speed == ''){
990
+        this.$message.error('置换液流速未填')
991
+      }else if(this.prescription.dialysis_dialyszers == ''){
992
+        this.$message.error('透析器未填')
993
+      }else if(this.prescription.dialysis_irrigation == ''){
994
+        this.$message.error('灌流器未填')
989 995
       }else if(this.predialysis.blood_access_part_opera_name == ''){
990 996
         this.$message.error('血管通路未填')
991 997
       }else if(this.predialysis.blood_access_part_id == ''){
@@ -1004,8 +1010,6 @@ export default {
1004 1010
         this.$message.error('钙未填')
1005 1011
       }else if(this.prescription.bicarbonate == 0){
1006 1012
         this.$message.error('碳酸氢根未填')
1007
-      }else if(this.prescription.max_ultrafiltration_rate == 0){
1008
-        this.$message.error('最大超滤率未填')
1009 1013
       }else if(this.summary.special_record == ""){
1010 1014
         this.$message.error('医师记录未填')
1011 1015
       }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
@@ -1014,7 +1018,7 @@ export default {
1014 1018
         this.$message.error('治疗小结未填')
1015 1019
       }else if(this.summary.mission == ""){
1016 1020
         this.$message.error('透后宣教未填')
1017
-      }else if(this.dialysisOrder.start_nurse == 0){
1021
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1018 1022
         this.$message.error('上机护士未填')
1019 1023
       }else if(this.dialysisOrder == null && this.check.creater == 0){
1020 1024
         this.$message.error('核对人员未填')
@@ -1024,7 +1028,7 @@ export default {
1024 1028
         this.$message.error('核对人员未填')
1025 1029
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1026 1030
         this.$message.error('核对人员未填')
1027
-      }else if(this.dialysisOrder.finish_nurse == 0){
1031
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
1028 1032
         this.$message.error('下机护士未填')
1029 1033
       }else if(this.prescription.creater == 0){
1030 1034
         this.$message.error('医生签名未填')
@@ -1051,26 +1055,31 @@ export default {
1051 1055
                 if(it.id == item.advice_doctor){
1052 1056
                   if(it.user_type == 3){
1053 1057
                     num++
1058
+                    this.$message.closeAll()
1054 1059
                     this.$message.error('存在不是医生保存的医嘱')
1055 1060
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1056 1061
                     if(it.user_type == 2){
1057 1062
                       num++
1063
+                      this.$message.closeAll()
1058 1064
                       this.$message.error('存在不是护士执行的医嘱')
1059 1065
                     }
1060 1066
                   }else if(it.id == item.checker && item.checker > 0){
1061 1067
                     if(it.user_type == 2){
1062 1068
                       num++
1069
+                      this.$message.closeAll()
1063 1070
                       this.$message.error('存在不是护士核对的医嘱')
1064 1071
                     }
1065 1072
                   }
1066 1073
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1067 1074
                   if(it.user_type == 2){
1068 1075
                     num++
1076
+                    this.$message.closeAll()
1069 1077
                     this.$message.error('存在不是护士执行的医嘱')
1070 1078
                   }
1071 1079
                 }else if(it.id == item.checker && item.checker > 0){
1072 1080
                   if(it.user_type == 2){
1073 1081
                     num++
1082
+                    this.$message.closeAll()
1074 1083
                     this.$message.error('存在不是护士核对的医嘱')
1075 1084
                   }
1076 1085
                 }

+ 62 - 32
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1" style="width:940px">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -1012,7 +1012,7 @@ export default {
1012 1012
         this.$message.error('治疗小结未填')
1013 1013
       }else if(this.summary.mission == ""){
1014 1014
         this.$message.error('透后宣教未填')
1015
-      }else if(this.dialysisOrder.start_nurse == 0){
1015
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1016 1016
         this.$message.error('上机护士未填')
1017 1017
       }else if(this.dialysisOrder == null && this.check.creater == 0){
1018 1018
         this.$message.error('核对人员未填')
@@ -1022,42 +1022,72 @@ export default {
1022 1022
         this.$message.error('核对人员未填')
1023 1023
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1024 1024
         this.$message.error('核对人员未填')
1025
-      }else if(this.dialysisOrder.finish_nurse == 0){
1025
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
1026 1026
         this.$message.error('下机护士未填')
1027 1027
       }else if(this.prescription.creater == 0){
1028 1028
         this.$message.error('医生签名未填')
1029
-      }else if(this.monitors.length > 0){
1030
-        this.monitors.map(item => {
1031
-          if(item.id > 0 && item.operate_time){
1032
-            this.users.map(it => {
1033
-              if(it.id == item.monitoring_nurse){
1034
-                if(it.type != 3){
1035
-                  this.$message.error('存在不是护士保存的监测')
1029
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1030
+        let num = 0
1031
+        if(this.monitors.length > 0){
1032
+          this.monitors.map(item => {
1033
+            if(item.id > 0 && item.operate_time){
1034
+              this.users.map(it => {
1035
+                if(it.id == item.monitoring_nurse){
1036
+                  if(it.user_type == 2){
1037
+                    num++
1038
+                    this.$message.closeAll()
1039
+                    this.$message.error('存在不是护士保存的监测')
1040
+                  }
1036 1041
                 }
1037
-              }
1038
-            })
1039
-          }
1040
-        })
1041
-      }else if(this.tableAdvice.length > 0){
1042
-        this.tableAdvice.map(item => {
1043
-          if(item.id > 0 && item.created_time){
1044
-            this.users.map(it => {
1045
-              if(it.id == item.advice_doctor){
1046
-                if(it.type != 2){
1047
-                  this.$message.error('存在不是医生保存的医嘱')
1048
-                }
1049
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
1050
-                if(it.type != 3){
1051
-                  this.$message.error('存在不是护士执行的医嘱')
1052
-                }
1053
-              }else if(it.id == item.checker && item.checker > 0){
1054
-                if(it.type != 3){
1055
-                  this.$message.error('存在不是护士核对的医嘱')
1042
+              })
1043
+            }
1044
+          })
1045
+        }
1046
+        if(this.tableAdvice.length > 0){
1047
+          this.tableAdvice.map(item => {
1048
+            if(item.id > 0 && (item.created_time || item.start_time)){
1049
+              this.users.map(it => {
1050
+                if(it.id == item.advice_doctor){
1051
+                  if(it.user_type == 3){
1052
+                    num++
1053
+                    this.$message.closeAll()
1054
+                    this.$message.error('存在不是医生保存的医嘱')
1055
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1056
+                    if(it.user_type == 2){
1057
+                      num++
1058
+                      this.$message.closeAll()
1059
+                      this.$message.error('存在不是护士执行的医嘱')
1060
+                    }
1061
+                  }else if(it.id == item.checker && item.checker > 0){
1062
+                    if(it.user_type == 2){
1063
+                      num++
1064
+                      this.$message.closeAll()
1065
+                      this.$message.error('存在不是护士核对的医嘱')
1066
+                    }
1067
+                  }
1068
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1069
+                  if(it.user_type == 2){
1070
+                    num++
1071
+                    this.$message.closeAll()
1072
+                    this.$message.error('存在不是护士执行的医嘱')
1073
+                  }
1074
+                }else if(it.id == item.checker && item.checker > 0){
1075
+                  if(it.user_type == 2){
1076
+                    num++
1077
+                    this.$message.closeAll()
1078
+                    this.$message.error('存在不是护士核对的医嘱')
1079
+                  }
1056 1080
                 }
1057
-              }
1058
-            })
1059
-          }
1081
+              })
1082
+            }
1060 1083
         })
1084
+        }
1085
+        
1086
+        if(num == 0){
1087
+          this.$message.success('核对完成')
1088
+        }
1089
+      }else{
1090
+        this.$message.success('核对完成')
1061 1091
       }
1062 1092
     },
1063 1093
     getDisplaceLiquiPart: function(val) {

+ 7 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -713,7 +713,7 @@ export default {
713 713
         this.$message.error('透析器未填')
714 714
       }else if(this.prescription.anticoagulant == 0){
715 715
         this.$message.error('抗凝剂未填')
716
-      }else if(this.prescription.blood_access_part_opera_name == ''){
716
+      }else if(this.predialysis.blood_access_part_opera_name == ''){
717 717
         this.$message.error('血管通路未填')
718 718
       }else if(this.prescription.mode_id == 2 && this.prescription.displace_liqui_part == 0){
719 719
         this.$message.error('置换方式未填')
@@ -762,26 +762,31 @@ export default {
762 762
                 if(it.id == item.advice_doctor){
763 763
                   if(it.user_type == 3){
764 764
                     num++
765
+                    this.$message.closeAll()
765 766
                     this.$message.error('存在不是医生保存的医嘱')
766 767
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
767 768
                     if(it.user_type == 2){
768 769
                       num++
770
+                      this.$message.closeAll()
769 771
                       this.$message.error('存在不是护士执行的医嘱')
770 772
                     }
771 773
                   }else if(it.id == item.checker && item.checker > 0){
772 774
                     if(it.user_type == 2){
773 775
                       num++
776
+                      this.$message.closeAll()
774 777
                       this.$message.error('存在不是护士核对的医嘱')
775 778
                     }
776 779
                   }
777 780
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
778 781
                   if(it.user_type == 2){
779 782
                     num++
783
+                    this.$message.closeAll()
780 784
                     this.$message.error('存在不是护士执行的医嘱')
781 785
                   }
782 786
                 }else if(it.id == item.checker && item.checker > 0){
783 787
                   if(it.user_type == 2){
784 788
                     num++
789
+                    this.$message.closeAll()
785 790
                     this.$message.error('存在不是护士核对的医嘱')
786 791
                   }
787 792
                 }

+ 54 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name"></div>
@@ -796,16 +796,68 @@ export default {
796 796
         this.$message.error('导管评估未填')
797 797
       }else if(this.afterdialysis.intravenous_tube == 0){
798 798
         this.$message.error('静脉管道未填')
799
-      }else if(this.dialysisOrder.start_nurse == 0){
799
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
800 800
         this.$message.error('责任护士未填')
801 801
       }else if(this.dialysisOrder == null && this.check.creater == 0){
802 802
         this.$message.error('核对护士未填')
803
+      }else if (this.dialysisOrder != null && this.check.creater == 0) {
804
+        this.$message.error('核对护士未填')
803 805
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
804 806
         this.$message.error('核对护士未填')
805 807
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
806 808
         this.$message.error('核对护士未填')
807 809
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
808 810
         this.$message.error('核对护士未填')
811
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
812
+        let num = 0
813
+        if(this.monitors.length > 0){
814
+          this.monitors.map(item => {
815
+            if(item.id > 0 && item.operate_time){
816
+              this.users.map(it => {
817
+                if(it.id == item.monitoring_nurse){
818
+                  if(it.user_type == 2){
819
+                    num++
820
+                    this.$message.closeAll()
821
+                    this.$message.error('存在不是护士保存的监测')
822
+                  }
823
+                }
824
+              })
825
+            }
826
+          })
827
+        }
828
+        if(this.tableAdvice.length > 0){
829
+          this.tableAdvice.map(item => {
830
+            if(item.id > 0 && (item.created_time || item.start_time)){
831
+              this.users.map(it => {
832
+                if(it.id == item.advice_doctor){
833
+                  if(it.user_type == 3){
834
+                    num++
835
+                    this.$message.closeAll()
836
+                    this.$message.error('存在不是医生保存的医嘱')
837
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
838
+                    if(it.user_type == 2){
839
+                      num++
840
+                      this.$message.closeAll()
841
+                      this.$message.error('存在不是护士执行的医嘱')
842
+                    }
843
+                  }
844
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
845
+                  if(it.user_type == 2){
846
+                    num++
847
+                    this.$message.closeAll()
848
+                    this.$message.error('存在不是护士执行的医嘱')
849
+                  }
850
+                }
851
+              })
852
+            }
853
+        })
854
+        }
855
+        
856
+        if(num == 0){
857
+          this.$message.success('核对完成')
858
+        }
859
+      }else{
860
+        this.$message.success('核对完成')
809 861
       }
810 862
     },
811 863
     getMonths(t){

+ 6 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1864,26 +1864,31 @@ export default {
1864 1864
                 if(it.id == item.advice_doctor){
1865 1865
                   if(it.user_type == 3){
1866 1866
                     num++
1867
+                    this.$message.closeAll()
1867 1868
                     this.$message.error('存在不是医生保存的医嘱')
1868 1869
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1869 1870
                     if(it.user_type == 2){
1870 1871
                       num++
1872
+                      this.$message.closeAll()
1871 1873
                       this.$message.error('存在不是护士执行的医嘱')
1872 1874
                     }
1873 1875
                   }else if(it.id == item.checker && item.checker > 0){
1874 1876
                     if(it.user_type == 2){
1875 1877
                       num++
1878
+                      this.$message.closeAll()
1876 1879
                       this.$message.error('存在不是护士核对的医嘱')
1877 1880
                     }
1878 1881
                   }
1879 1882
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1880 1883
                   if(it.user_type == 2){
1881 1884
                     num++
1885
+                    this.$message.closeAll()
1882 1886
                     this.$message.error('存在不是护士执行的医嘱')
1883 1887
                   }
1884 1888
                 }else if(it.id == item.checker && item.checker > 0){
1885 1889
                   if(it.user_type == 2){
1886 1890
                     num++
1891
+                    this.$message.closeAll()
1887 1892
                     this.$message.error('存在不是护士核对的医嘱')
1888 1893
                   }
1889 1894
                 }

+ 8 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1198,6 +1198,8 @@ export default {
1198 1198
         this.$message.error('医生签名未填')
1199 1199
       }else if(this.advices[0].length > 0 && this.advices[0][0].advice_doctor == 0 && this.org_id != 9987){
1200 1200
         this.$message.error('医生签名未填')
1201
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1202
+        this.$message.error('上机护士未填')
1201 1203
       }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1202 1204
         this.$message.error('实际治疗时间未填')
1203 1205
       }else if(this.afterdialysis.actual_ultrafiltration == 0){
@@ -1232,26 +1234,31 @@ export default {
1232 1234
               if(it.id == item.advice_doctor){
1233 1235
                 if(it.user_type == 3){
1234 1236
                   num++
1237
+                  this.$message.closeAll()
1235 1238
                   this.$message.error('存在不是医生保存的医嘱')
1236 1239
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1237 1240
                   if(it.user_type == 2){
1238 1241
                     num++
1242
+                    this.$message.closeAll()
1239 1243
                     this.$message.error('存在不是护士执行的医嘱')
1240 1244
                   }
1241 1245
                 }else if(it.id == item.checker && item.checker > 0){
1242 1246
                   if(it.user_type == 2){
1243 1247
                     num++
1248
+                    this.$message.closeAll()
1244 1249
                     this.$message.error('存在不是护士核对的医嘱')
1245 1250
                   }
1246 1251
                 }
1247 1252
               }else if(it.id == item.execution_staff && item.execution_staff > 0){
1248 1253
                 if(it.user_type == 2){
1249 1254
                   num++
1255
+                  this.$message.closeAll()
1250 1256
                   this.$message.error('存在不是护士执行的医嘱')
1251 1257
                 }
1252 1258
               }else if(it.id == item.checker && item.checker > 0){
1253 1259
                 if(it.user_type == 2){
1254 1260
                   num++
1261
+                  this.$message.closeAll()
1255 1262
                   this.$message.error('存在不是护士核对的医嘱')
1256 1263
                 }
1257 1264
               }

+ 6 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -748,26 +748,31 @@ export default {
748 748
               if(it.id == item.advice_doctor){
749 749
                 if(it.user_type == 3){
750 750
                   num++
751
+                  this.$message.closeAll()
751 752
                   this.$message.error('存在不是医生保存的医嘱')
752 753
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
753 754
                   if(it.user_type == 2){
754 755
                     num++
756
+                    this.$message.closeAll()
755 757
                     this.$message.error('存在不是护士执行的医嘱')
756 758
                   }
757 759
                 }else if(it.id == item.checker && item.checker > 0){
758 760
                   if(it.user_type == 2){
759 761
                     num++
762
+                    this.$message.closeAll()
760 763
                     this.$message.error('存在不是护士核对的医嘱')
761 764
                   }
762 765
                 }
763 766
               }else if(it.id == item.execution_staff && item.execution_staff > 0){
764 767
                 if(it.user_type == 2){
765 768
                   num++
769
+                  this.$message.closeAll()
766 770
                   this.$message.error('存在不是护士执行的医嘱')
767 771
                 }
768 772
               }else if(it.id == item.checker && item.checker > 0){
769 773
                 if(it.user_type == 2){
770 774
                   num++
775
+                  this.$message.closeAll()
771 776
                   this.$message.error('存在不是护士核对的医嘱')
772 777
                 }
773 778
               }

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name"></div>
@@ -1397,6 +1397,7 @@ export default {
1397 1397
                 if(it.id == item.monitoring_nurse){
1398 1398
                   if(it.user_type == 2){
1399 1399
                     num++
1400
+                    this.$message.closeAll()
1400 1401
                     this.$message.error('存在不是护士保存的监测')
1401 1402
                   }
1402 1403
                 }
@@ -1411,26 +1412,31 @@ export default {
1411 1412
                 if(it.id == item.advice_doctor){
1412 1413
                   if(it.user_type == 3){
1413 1414
                     num++
1415
+                    this.$message.closeAll()
1414 1416
                     this.$message.error('存在不是医生保存的医嘱')
1415 1417
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1416 1418
                     if(it.user_type == 2){
1417 1419
                       num++
1420
+                      this.$message.closeAll()
1418 1421
                       this.$message.error('存在不是护士执行的医嘱')
1419 1422
                     }
1420 1423
                   }else if(it.id == item.checker && item.checker > 0){
1421 1424
                     if(it.user_type == 2){
1422 1425
                       num++
1426
+                      this.$message.closeAll()
1423 1427
                       this.$message.error('存在不是护士核对的医嘱')
1424 1428
                     }
1425 1429
                   }
1426 1430
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1427 1431
                   if(it.user_type == 2){
1428 1432
                     num++
1433
+                    this.$message.closeAll()
1429 1434
                     this.$message.error('存在不是护士执行的医嘱')
1430 1435
                   }
1431 1436
                 }else if(it.id == item.checker && item.checker > 0){
1432 1437
                   if(it.user_type == 2){
1433 1438
                     num++
1439
+                    this.$message.closeAll()
1434 1440
                     this.$message.error('存在不是护士核对的医嘱')
1435 1441
                   }
1436 1442
                 }

+ 6 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -1383,26 +1383,31 @@ export default {
1383 1383
               if(it.id == item.advice_doctor){
1384 1384
                 if(it.user_type == 3){
1385 1385
                   num++
1386
+                  this.$message.closeAll()
1386 1387
                   this.$message.error('存在不是医生保存的医嘱')
1387 1388
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1388 1389
                   if(it.user_type == 2){
1389 1390
                     num++
1391
+                    this.$message.closeAll()
1390 1392
                     this.$message.error('存在不是护士执行的医嘱')
1391 1393
                   }
1392 1394
                 }else if(it.id == item.checker && item.checker > 0){
1393 1395
                   if(it.user_type == 2){
1394 1396
                     num++
1397
+                    this.$message.closeAll()
1395 1398
                     this.$message.error('存在不是护士核对的医嘱')
1396 1399
                   }
1397 1400
                 }
1398 1401
               }else if(it.id == item.execution_staff && item.execution_staff > 0){
1399 1402
                 if(it.user_type == 2){
1400 1403
                   num++
1404
+                  this.$message.closeAll()
1401 1405
                   this.$message.error('存在不是护士执行的医嘱')
1402 1406
                 }
1403 1407
               }else if(it.id == item.checker && item.checker > 0){
1404 1408
                 if(it.user_type == 2){
1405 1409
                   num++
1410
+                  this.$message.closeAll()
1406 1411
                   this.$message.error('存在不是护士核对的医嘱')
1407 1412
                 }
1408 1413
               }

+ 8 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content">
6 6
         <div style="display:inline-block;width:100%;text-align:center;">
@@ -1184,7 +1184,7 @@ export default {
1184 1184
         this.$message.error('透前脉搏未填')
1185 1185
       }else if(this.predialysis.breathing_rate == ""){
1186 1186
         this.$message.error('透前呼吸频率未填')
1187
-      }else if((this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0) && this.org_id == 9987){
1187
+      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1188 1188
         this.$message.error('透前血压未填完整')
1189 1189
       }else if(this.predialysis.puncture_way == ''){
1190 1190
         this.$message.error('穿刺方式未填')
@@ -1285,6 +1285,7 @@ export default {
1285 1285
                 if(it.id == item.monitoring_nurse){
1286 1286
                   if(it.user_type == 2){
1287 1287
                     num++
1288
+                    this.$message.closeAll()
1288 1289
                     this.$message.error('存在不是护士保存的监测')
1289 1290
                   }
1290 1291
                 }
@@ -1299,26 +1300,31 @@ export default {
1299 1300
                 if(it.id == item.advice_doctor){
1300 1301
                   if(it.user_type == 3){
1301 1302
                     num++
1303
+                    this.$message.closeAll()
1302 1304
                     this.$message.error('存在不是医生保存的医嘱')
1303 1305
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1304 1306
                     if(it.user_type == 2){
1305 1307
                       num++
1308
+                      this.$message.closeAll()
1306 1309
                       this.$message.error('存在不是护士执行的医嘱')
1307 1310
                     }
1308 1311
                   }else if(it.id == item.checker && item.checker > 0){
1309 1312
                     if(it.user_type == 2){
1310 1313
                       num++
1314
+                      this.$message.closeAll()
1311 1315
                       this.$message.error('存在不是护士核对的医嘱')
1312 1316
                     }
1313 1317
                   }
1314 1318
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1315 1319
                   if(it.user_type == 2){
1316 1320
                     num++
1321
+                    this.$message.closeAll()
1317 1322
                     this.$message.error('存在不是护士执行的医嘱')
1318 1323
                   }
1319 1324
                 }else if(it.id == item.checker && item.checker > 0){
1320 1325
                   if(it.user_type == 2){
1321 1326
                     num++
1327
+                    this.$message.closeAll()
1322 1328
                     this.$message.error('存在不是护士核对的医嘱')
1323 1329
                   }
1324 1330
                 }

+ 6 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -829,26 +829,31 @@ export default {
829 829
               if(it.id == item.advice_doctor){
830 830
                 if(it.user_type == 3){
831 831
                   num++
832
+                  this.$message.closeAll()
832 833
                   this.$message.error('存在不是医生保存的医嘱')
833 834
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
834 835
                   if(it.user_type == 2){
835 836
                     num++
837
+                    this.$message.closeAll()
836 838
                     this.$message.error('存在不是护士执行的医嘱')
837 839
                   }
838 840
                 }else if(it.id == item.checker && item.checker > 0){
839 841
                   if(it.user_type == 2){
840 842
                     num++
843
+                    this.$message.closeAll()
841 844
                     this.$message.error('存在不是护士核对的医嘱')
842 845
                   }
843 846
                 }
844 847
               }else if(it.id == item.execution_staff && item.execution_staff > 0){
845 848
                 if(it.user_type == 2){
846 849
                   num++
850
+                  this.$message.closeAll()
847 851
                   this.$message.error('存在不是护士执行的医嘱')
848 852
                 }
849 853
               }else if(it.id == item.checker && item.checker > 0){
850 854
                 if(it.user_type == 2){
851 855
                   num++
856
+                  this.$message.closeAll()
852 857
                   this.$message.error('存在不是护士核对的医嘱')
853 858
                 }
854 859
               }

+ 12 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div id='new-dialysis-1' class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -724,11 +724,15 @@ export default {
724 724
         this.$message.error('透后体重未填')
725 725
       }else if(this.summary.dialysis_summary == ""){
726 726
         this.$message.error('透析小结未填')
727
+      }else if (this.dialysisOrder == null && this.check.creater == 0) {
728
+        this.$message.error('核对护士未填')
729
+      }else if (this.dialysisOrder != null && this.check.creater == 0) {
730
+        this.$message.error('核对护士未填')
727 731
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
728 732
         this.$message.error('核对护士未填')
729 733
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
730 734
         this.$message.error('核对护士未填')
731
-      }else if(this.dialysisOrder.start_nurse == 0){
735
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
732 736
         this.$message.error('上机护士未填')
733 737
       }else if(this.prescription.prescription_doctor == 0){
734 738
         this.$message.error('医师签名未填')
@@ -741,6 +745,7 @@ export default {
741 745
                 if(it.id == item.monitoring_nurse){
742 746
                   if(it.user_type == 2){
743 747
                     num++
748
+                    this.$message.closeAll()
744 749
                     this.$message.error('存在不是护士保存的监测')
745 750
                   }
746 751
                 }
@@ -755,26 +760,31 @@ export default {
755 760
                 if(it.id == item.advice_doctor){
756 761
                   if(it.user_type == 3){
757 762
                     num++
763
+                    this.$message.closeAll()
758 764
                     this.$message.error('存在不是医生保存的医嘱')
759 765
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
760 766
                     if(it.user_type == 2){
761 767
                       num++
768
+                      this.$message.closeAll()
762 769
                       this.$message.error('存在不是护士执行的医嘱')
763 770
                     }
764 771
                   }else if(it.id == item.checker && item.checker > 0){
765 772
                     if(it.user_type == 2){
766 773
                       num++
774
+                      this.$message.closeAll()
767 775
                       this.$message.error('存在不是护士核对的医嘱')
768 776
                     }
769 777
                   }
770 778
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
771 779
                   if(it.user_type == 2){
772 780
                     num++
781
+                    this.$message.closeAll()
773 782
                     this.$message.error('存在不是护士执行的医嘱')
774 783
                   }
775 784
                 }else if(it.id == item.checker && item.checker > 0){
776 785
                   if(it.user_type == 2){
777 786
                     num++
787
+                    this.$message.closeAll()
778 788
                     this.$message.error('存在不是护士核对的医嘱')
779 789
                   }
780 790
                 }

+ 65 - 31
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -667,11 +667,15 @@ export default {
667 667
         this.$message.error('医生未填')
668 668
       }else if(this.predialysis.creater == 0){
669 669
         this.$message.error('透前评估护士未填')
670
+      }else if (this.dialysisOrder == null && this.check.creater == 0) {
671
+        this.$message.error('核对护士未填')
672
+      }else if (this.dialysisOrder != null && this.check.creater == 0) {
673
+        this.$message.error('核对护士未填')
670 674
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
671 675
         this.$message.error('核对护士未填')
672 676
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
673 677
         this.$message.error('核对护士未填')
674
-      }else if(this.dialysisOrder.start_nurse == 0){
678
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
675 679
         this.$message.error('责任护士未填')
676 680
       }else if(this.monitors.length > 0 && this.monitors[0].blood_pressure_monitoring_site == 0){
677 681
         this.$message.error('血压检测部位未填')
@@ -699,38 +703,68 @@ export default {
699 703
         this.$message.error('下机护士未填')
700 704
       }else if(this.summary.dialysis_summary == ""){
701 705
         this.$message.error('病程记录未填')
702
-      }else if(this.monitors.length > 0){
703
-        this.monitors.map(item => {
704
-          if(item.id > 0 && item.operate_time){
705
-            this.users.map(it => {
706
-              if(it.id == item.monitoring_nurse){
707
-                if(it.type != 3){
708
-                  this.$message.error('存在不是护士保存的监测')
709
-                }
710
-              }
711
-            })
712
-          }
713
-        })
714
-      }else if(this.tableAdvice.length > 0){
715
-        this.tableAdvice.map(item => {
716
-          if(item.id > 0 && item.created_time){
717
-            this.users.map(it => {
718
-              if(it.id == item.advice_doctor){
719
-                if(it.type != 2){
720
-                  this.$message.error('存在不是医生保存的医嘱')
721
-                }
722
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
723
-                if(it.type != 3){
724
-                  this.$message.error('存在不是护士执行的医嘱')
706
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
707
+        let num = 0
708
+        if(this.monitors.length > 0){
709
+          this.monitors.map(item => {
710
+            if(item.id > 0 && item.operate_time){
711
+              this.users.map(it => {
712
+                if(it.id == item.monitoring_nurse){
713
+                  if(it.user_type == 2){
714
+                    num++
715
+                    this.$message.closeAll()
716
+                    this.$message.error('存在不是护士保存的监测')
717
+                  }
725 718
                 }
726
-              }else if(it.id == item.checker && item.checker > 0){
727
-                if(it.type != 3){
728
-                  this.$message.error('存在不是护士核对的医嘱')
719
+              })
720
+            }
721
+          })
722
+        }
723
+        if(this.tableAdvice.length > 0){
724
+          this.tableAdvice.map(item => {
725
+            if(item.id > 0 && (item.created_time || item.start_time)){
726
+              this.users.map(it => {
727
+                if(it.id == item.advice_doctor){
728
+                  if(it.user_type == 3){
729
+                    num++
730
+                    this.$message.closeAll()
731
+                    this.$message.error('存在不是医生保存的医嘱')
732
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
733
+                    if(it.user_type == 2){
734
+                      num++
735
+                      this.$message.closeAll()
736
+                      this.$message.error('存在不是护士执行的医嘱')
737
+                    }
738
+                  }else if(it.id == item.checker && item.checker > 0){
739
+                    if(it.user_type == 2){
740
+                      num++
741
+                      this.$message.closeAll()
742
+                      this.$message.error('存在不是护士核对的医嘱')
743
+                    }
744
+                  }
745
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
746
+                  if(it.user_type == 2){
747
+                    num++
748
+                    this.$message.closeAll()
749
+                    this.$message.error('存在不是护士执行的医嘱')
750
+                  }
751
+                }else if(it.id == item.checker && item.checker > 0){
752
+                  if(it.user_type == 2){
753
+                    num++
754
+                    this.$message.closeAll()
755
+                    this.$message.error('存在不是护士核对的医嘱')
756
+                  }
729 757
                 }
730
-              }
731
-            })
732
-          }
758
+              })
759
+            }
733 760
         })
761
+        }
762
+        
763
+        if(num == 0){
764
+          this.$message.success('核对完成')
765
+        }
766
+      }else{
767
+        this.$message.success('核对完成')
734 768
       }
735 769
     },
736 770
     getMonths(t){

+ 63 - 33
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -618,19 +618,19 @@ export default {
618 618
         this.$message.error('实际脱水量未填')
619 619
       }else if(this.afterdialysis.weight_after == 0){
620 620
         this.$message.error('透后体重未填')
621
-      }else if(this.dialysisOrder.end_time == 0){
621
+      }else if(this.dialysisOrder == null || (this.dialysisOrder && this.dialysisOrder.end_time == 0)){
622 622
         this.$message.error('离科时间未填')
623 623
       }else if(this.dialysisOrder.washpipe_nurse == 0){
624 624
         this.$message.error('预冲者未填')
625 625
       }else if(this.dialysisOrder.puncture_nurse == 0){
626 626
         this.$message.error('穿刺者/换药者未填')
627
-      }else if(this.dialysisOrder.start_nurse == 0){
627
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
628 628
         this.$message.error('责任护士未填')
629 629
       }else if(this.check.creater == 0){
630 630
         this.$message.error('查对者未填')
631 631
       }else if(this.check.modifier == 0){
632 632
         this.$message.error('交叉核对者未填')
633
-      }else if(this.dialysisOrder.finish_nurse == 0){
633
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
634 634
         this.$message.error('下机护士未填')
635 635
       }else if(this.afterdialysis.cruor == ""){
636 636
         this.$message.error('透析器级别未填')
@@ -638,38 +638,68 @@ export default {
638 638
         this.$message.error('透析小结未填')
639 639
       }else if(this.prescription.prescription_doctor == 0){
640 640
         this.$message.error('医生签字未填')
641
-      }else if(this.monitors.length > 0){
642
-        this.monitors.map(item => {
643
-          if(item.id > 0 && item.operate_time){
644
-            this.users.map(it => {
645
-              if(it.id == item.monitoring_nurse){
646
-                if(it.type != 3){
647
-                  this.$message.error('存在不是护士保存的监测')
641
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
642
+        let num = 0
643
+        if(this.monitors.length > 0){
644
+          this.monitors.map(item => {
645
+            if(item.id > 0 && item.operate_time){
646
+              this.users.map(it => {
647
+                if(it.id == item.monitoring_nurse){
648
+                  if(it.user_type == 2){
649
+                    num++
650
+                    this.$message.closeAll()
651
+                    this.$message.error('存在不是护士保存的监测')
652
+                  }
648 653
                 }
649
-              }
650
-            })
651
-          }
652
-        })
653
-      }else if(this.tableAdvice.length > 0){
654
-        this.tableAdvice.map(item => {
655
-          if(item.id > 0 && item.created_time){
656
-            this.users.map(it => {
657
-              if(it.id == item.advice_doctor){
658
-                if(it.type != 2){
659
-                  this.$message.error('存在不是医生保存的医嘱')
660
-                }
661
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
662
-                if(it.type != 3){
663
-                  this.$message.error('存在不是护士执行的医嘱')
664
-                }
665
-              }else if(it.id == item.checker && item.checker > 0){
666
-                if(it.type != 3){
667
-                  this.$message.error('存在不是护士核对的医嘱')
654
+              })
655
+            }
656
+          })
657
+        }
658
+        if(this.tableAdvice.length > 0){
659
+          this.tableAdvice.map(item => {
660
+            if(item.id > 0 && (item.created_time || item.start_time)){
661
+              this.users.map(it => {
662
+                if(it.id == item.advice_doctor){
663
+                  if(it.user_type == 3){
664
+                    num++
665
+                    this.$message.closeAll()
666
+                    this.$message.error('存在不是医生保存的医嘱')
667
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
668
+                    if(it.user_type == 2){
669
+                      num++
670
+                      this.$message.closeAll()
671
+                      this.$message.error('存在不是护士执行的医嘱')
672
+                    }
673
+                  }else if(it.id == item.checker && item.checker > 0){
674
+                    if(it.user_type == 2){
675
+                      num++
676
+                      this.$message.closeAll()
677
+                      this.$message.error('存在不是护士核对的医嘱')
678
+                    }
679
+                  }
680
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
681
+                  if(it.user_type == 2){
682
+                    num++
683
+                    this.$message.closeAll()
684
+                    this.$message.error('存在不是护士执行的医嘱')
685
+                  }
686
+                }else if(it.id == item.checker && item.checker > 0){
687
+                  if(it.user_type == 2){
688
+                    num++
689
+                    this.$message.closeAll()
690
+                    this.$message.error('存在不是护士核对的医嘱')
691
+                  }
668 692
                 }
669
-              }
670
-            })
671
-          }
693
+              })
694
+            }
672 695
         })
696
+        }
697
+        
698
+        if(num == 0){
699
+          this.$message.success('核对完成')
700
+        }
701
+      }else{
702
+        this.$message.success('核对完成')
673 703
       }
674 704
     },
675 705
     getDisplaceLiquiPart: function(val) {

+ 62 - 32
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
         <div class="dialysis-print-order">
6 6
             <div class="order-yy-name">{{ orgname }}</div>
@@ -588,7 +588,7 @@ export default {
588 588
         this.$message.error('透析器型号未填')
589 589
       }else if(this.prescription.prescription_doctor == 0){
590 590
         this.$message.error('医生未填')
591
-      }else if(this.dialysisOrder.start_nurse == 0){
591
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
592 592
         this.$message.error('接管护士未填')
593 593
       }else if(this.dialysisOrder.start_time == 0){
594 594
         this.$message.error('接管时间未填')
@@ -602,42 +602,72 @@ export default {
602 602
         this.$message.error('凝血分级未填')
603 603
       }else if(this.summary.dialysis_summary == ""){
604 604
         this.$message.error('补充记录未填')
605
-      }else if(this.dialysisOrder.finish_nurse == 0){
605
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
606 606
         this.$message.error('回血护士未填')
607 607
       }else if(this.dialysisOrder.end_time == 0){
608 608
         this.$message.error('回血时间未填')
609
-      }else if(this.monitors.length > 0){
610
-        this.monitors.map(item => {
611
-          if(item.id > 0 && item.operate_time){
612
-            this.users.map(it => {
613
-              if(it.id == item.monitoring_nurse){
614
-                if(it.type != 3){
615
-                  this.$message.error('存在不是护士保存的监测')
616
-                }
617
-              }
618
-            })
619
-          }
620
-        })
621
-      }else if(this.tableAdvice.length > 0){
622
-        this.tableAdvice.map(item => {
623
-          if(item.id > 0 && item.created_time){
624
-            this.users.map(it => {
625
-              if(it.id == item.advice_doctor){
626
-                if(it.type != 2){
627
-                  this.$message.error('存在不是医生保存的医嘱')
628
-                }
629
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
630
-                if(it.type != 3){
631
-                  this.$message.error('存在不是护士执行的医嘱')
609
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
610
+        let num = 0
611
+        if(this.monitors.length > 0){
612
+          this.monitors.map(item => {
613
+            if(item.id > 0 && item.operate_time){
614
+              this.users.map(it => {
615
+                if(it.id == item.monitoring_nurse){
616
+                  if(it.user_type == 2){
617
+                    num++
618
+                    this.$message.closeAll()
619
+                    this.$message.error('存在不是护士保存的监测')
620
+                  }
632 621
                 }
633
-              }else if(it.id == item.checker && item.checker > 0){
634
-                if(it.type != 3){
635
-                  this.$message.error('存在不是护士核对的医嘱')
622
+              })
623
+            }
624
+          })
625
+        }
626
+        if(this.tableAdvice.length > 0){
627
+          this.tableAdvice.map(item => {
628
+            if(item.id > 0 && (item.created_time || item.start_time)){
629
+              this.users.map(it => {
630
+                if(it.id == item.advice_doctor){
631
+                  if(it.user_type == 3){
632
+                    num++
633
+                    this.$message.closeAll()
634
+                    this.$message.error('存在不是医生保存的医嘱')
635
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
636
+                    if(it.user_type == 2){
637
+                      num++
638
+                      this.$message.closeAll()
639
+                      this.$message.error('存在不是护士执行的医嘱')
640
+                    }
641
+                  }else if(it.id == item.checker && item.checker > 0){
642
+                    if(it.user_type == 2){
643
+                      num++
644
+                      this.$message.closeAll()
645
+                      this.$message.error('存在不是护士核对的医嘱')
646
+                    }
647
+                  }
648
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
649
+                  if(it.user_type == 2){
650
+                    num++
651
+                    this.$message.closeAll()
652
+                    this.$message.error('存在不是护士执行的医嘱')
653
+                  }
654
+                }else if(it.id == item.checker && item.checker > 0){
655
+                  if(it.user_type == 2){
656
+                    num++
657
+                    this.$message.closeAll()
658
+                    this.$message.error('存在不是护士核对的医嘱')
659
+                  }
636 660
                 }
637
-              }
638
-            })
639
-          }
661
+              })
662
+            }
640 663
         })
664
+        }
665
+        
666
+        if(num == 0){
667
+          this.$message.success('核对完成')
668
+        }
669
+      }else{
670
+        this.$message.success('核对完成')
641 671
       }
642 672
     },
643 673
     getNewAge(UUserCard) {

+ 49 - 22
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div
6 6
         id="dialysis-print-box-1-1"
@@ -850,13 +850,13 @@ export default {
850 850
         this.$message.error('跌倒风险预防措施未填')
851 851
       }else if(this.prescription.prescription_doctor == 0){
852 852
         this.$message.error('上机医生未填')
853
-      }else if(this.dialysisOrder.washpipe_nurse == 0){
853
+      }else if(this.dialysisOrder == null || this.dialysisOrder.washpipe_nurse == 0){
854 854
         this.$message.error('冲管护士未填')
855
-      }else if(this.dialysisOrder.puncture_nurse == 0){
855
+      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
856 856
         this.$message.error('穿刺者未填')
857
-      }else if(this.dialysisOrder.start_nurse == 0){
857
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
858 858
         this.$message.error('上机护士未填')
859
-      }else if(this.dialysisOrder.finish_nurse == 0){
859
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
860 860
         this.$message.error('下机护士未填')
861 861
       }else if(this.afterdialysis.temperature == 0){
862 862
         this.$message.error('透后体温未填')
@@ -885,25 +885,52 @@ export default {
885 885
       }else if(this.summary.special_record == ""){
886 886
         this.$message.error('病情记录未填')
887 887
       }else if(this.tableAdvice.length > 0){
888
-        this.tableAdvice.map(item => {
889
-          if(item.id > 0 && item.created_time){
890
-            this.users.map(it => {
891
-              if(it.id == item.advice_doctor){
892
-                if(it.type != 2){
893
-                  this.$message.error('存在不是医生保存的医嘱')
894
-                }
895
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
896
-                if(it.type != 3){
897
-                  this.$message.error('存在不是护士执行的医嘱')
898
-                }
899
-              }else if(it.id == item.checker && item.checker > 0){
900
-                if(it.type != 3){
901
-                  this.$message.error('存在不是护士核对的医嘱')
888
+        let num = 0
889
+        if(this.tableAdvice.length > 0){
890
+          this.tableAdvice.map(item => {
891
+            if(item.id > 0 && (item.created_time || item.start_time)){
892
+              this.users.map(it => {
893
+                if(it.id == item.advice_doctor){
894
+                  if(it.user_type == 3){
895
+                    num++
896
+                    this.$message.closeAll()
897
+                    this.$message.error('存在不是医生保存的医嘱')
898
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
899
+                    if(it.user_type == 2){
900
+                      num++
901
+                      this.$message.closeAll()
902
+                      this.$message.error('存在不是护士执行的医嘱')
903
+                    }
904
+                  }else if(it.id == item.checker && item.checker > 0){
905
+                    if(it.user_type == 2){
906
+                      num++
907
+                      this.$message.closeAll()
908
+                      this.$message.error('存在不是护士核对的医嘱')
909
+                    }
910
+                  }
911
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
912
+                  if(it.user_type == 2){
913
+                    num++
914
+                    this.$message.closeAll()
915
+                    this.$message.error('存在不是护士执行的医嘱')
916
+                  }
917
+                }else if(it.id == item.checker && item.checker > 0){
918
+                  if(it.user_type == 2){
919
+                    num++
920
+                    this.$message.closeAll()
921
+                    this.$message.error('存在不是护士核对的医嘱')
922
+                  }
902 923
                 }
903
-              }
904
-            })
905
-          }
924
+              })
925
+            }
906 926
         })
927
+        }
928
+        
929
+        if(num == 0){
930
+          this.$message.success('核对完成')
931
+        }
932
+      }else{
933
+        this.$message.success('核对完成')
907 934
       }
908 935
     },
909 936
     getNewAge(UUserCard) {

+ 64 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -673,8 +673,70 @@ export default {
673 673
         this.$message.error('静脉凝血未填')
674 674
       }else if(this.dialysis_summary == ""){
675 675
         this.$message.error('治疗小结未填')
676
-      }else if(this.dialysisOrder.start_nurse == 0){
676
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
677 677
         this.$message.error('上机护士未填')
678
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
679
+        let num = 0
680
+        if(this.monitors.length > 0){
681
+          this.monitors.map(item => {
682
+            if(item.id > 0 && item.operate_time){
683
+              this.users.map(it => {
684
+                if(it.id == item.monitoring_nurse){
685
+                  if(it.user_type == 2){
686
+                    num++
687
+                    this.$message.closeAll()
688
+                    this.$message.error('存在不是护士保存的监测')
689
+                  }
690
+                }
691
+              })
692
+            }
693
+          })
694
+        }
695
+        if(this.tableAdvice.length > 0){
696
+          this.tableAdvice.map(item => {
697
+            if(item.id > 0 && (item.created_time || item.start_time)){
698
+              this.users.map(it => {
699
+                if(it.id == item.advice_doctor){
700
+                  if(it.user_type == 3){
701
+                    num++
702
+                    this.$message.closeAll()
703
+                    this.$message.error('存在不是医生保存的医嘱')
704
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
705
+                    if(it.user_type == 2){
706
+                      num++
707
+                      this.$message.closeAll()
708
+                      this.$message.error('存在不是护士执行的医嘱')
709
+                    }
710
+                  }else if(it.id == item.checker && item.checker > 0){
711
+                    if(it.user_type == 2){
712
+                      num++
713
+                      this.$message.closeAll()
714
+                      this.$message.error('存在不是护士核对的医嘱')
715
+                    }
716
+                  }
717
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
718
+                  if(it.user_type == 2){
719
+                    num++
720
+                    this.$message.closeAll()
721
+                    this.$message.error('存在不是护士执行的医嘱')
722
+                  }
723
+                }else if(it.id == item.checker && item.checker > 0){
724
+                  if(it.user_type == 2){
725
+                    num++
726
+                    this.$message.closeAll()
727
+                    this.$message.error('存在不是护士核对的医嘱')
728
+                  }
729
+                }
730
+              })
731
+            }
732
+        })
733
+        }
734
+        
735
+        if(num == 0){
736
+          this.$message.success('核对完成')
737
+        }
738
+      }else{
739
+        this.$message.success('核对完成')
678 740
       }
679 741
     },
680 742
     getCruor(cruor){

+ 65 - 18
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <!-- <div class="order-yy-name">{{ orgname }}</div> -->
@@ -1213,6 +1213,10 @@ export default {
1213 1213
           this.$message.error('医生签名未填')
1214 1214
         }else if(this.dialysisOrder.puncture_nurse == 0){
1215 1215
           this.$message.error('穿刺护士未填')
1216
+        }else if (this.dialysisOrder == null && this.check.creater == 0) {
1217
+          this.$message.error('核对护士未填')
1218
+        }else if (this.dialysisOrder != null && this.check.creater == 0) {
1219
+          this.$message.error('核对护士未填')
1216 1220
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1217 1221
           this.$message.error('核对护士未填')
1218 1222
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
@@ -1221,26 +1225,68 @@ export default {
1221 1225
           this.$message.error('看机护士未填')
1222 1226
         }else if(this.dialysisOrder.finish_nurse == 0){
1223 1227
           this.$message.error('下机护士未填')
1224
-        }else if(this.tableAdvice.length > 0){
1225
-          this.tableAdvice.map(item => {
1226
-            if(item.id > 0 && item.created_time){
1227
-              this.users.map(it => {
1228
-                if(it.id == item.advice_doctor){
1229
-                  if(it.type != 2){
1230
-                    this.$message.error('存在不是医生保存的医嘱')
1231
-                  }
1232
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1233
-                  if(it.type != 3){
1234
-                    this.$message.error('存在不是护士执行的医嘱')
1228
+        }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1229
+          let num = 0
1230
+          if(this.monitors.length > 0){
1231
+            this.monitors.map(item => {
1232
+              if(item.id > 0 && item.operate_time){
1233
+                this.users.map(it => {
1234
+                  if(it.id == item.monitoring_nurse){
1235
+                    if(it.user_type == 2){
1236
+                      num++
1237
+                      this.$message.closeAll()
1238
+                      this.$message.error('存在不是护士保存的监测')
1239
+                    }
1235 1240
                   }
1236
-                }else if(it.id == item.checker && item.checker > 0){
1237
-                  if(it.type != 3){
1238
-                    this.$message.error('存在不是护士核对的医嘱')
1241
+                })
1242
+              }
1243
+            })
1244
+          }
1245
+          if(this.tableAdvice.length > 0){
1246
+            this.tableAdvice.map(item => {
1247
+              if(item.id > 0 && (item.created_time || item.start_time)){
1248
+                this.users.map(it => {
1249
+                  if(it.id == item.advice_doctor){
1250
+                    if(it.user_type == 3){
1251
+                      num++
1252
+                      this.$message.closeAll()
1253
+                      this.$message.error('存在不是医生保存的医嘱')
1254
+                    }else if(it.id == item.execution_staff && item.execution_staff > 0){
1255
+                      if(it.user_type == 2){
1256
+                        num++
1257
+                        this.$message.closeAll()
1258
+                        this.$message.error('存在不是护士执行的医嘱')
1259
+                      }
1260
+                    }else if(it.id == item.checker && item.checker > 0){
1261
+                      if(it.user_type == 2){
1262
+                        num++
1263
+                        this.$message.closeAll()
1264
+                        this.$message.error('存在不是护士核对的医嘱')
1265
+                      }
1266
+                    }
1267
+                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1268
+                    if(it.user_type == 2){
1269
+                      num++
1270
+                      this.$message.closeAll()
1271
+                      this.$message.error('存在不是护士执行的医嘱')
1272
+                    }
1273
+                  }else if(it.id == item.checker && item.checker > 0){
1274
+                    if(it.user_type == 2){
1275
+                      num++
1276
+                      this.$message.closeAll()
1277
+                      this.$message.error('存在不是护士核对的医嘱')
1278
+                    }
1239 1279
                   }
1240
-                }
1241
-              })
1242
-            }
1280
+                })
1281
+              }
1243 1282
           })
1283
+          }
1284
+          
1285
+          if(num == 0){
1286
+            this.$message.success('核对完成')
1287
+          }
1288
+        }else{
1289
+          this.$message.success('核对完成')
1244 1290
         }
1245 1291
       },
1246 1292
       getComplication(complication){
@@ -1508,6 +1554,7 @@ export default {
1508 1554
             }
1509 1555
 
1510 1556
             this.advices = response.data.data.advices
1557
+            this.tableAdvice = response.data.data.advices;
1511 1558
             console.log('hhhhhhhhhhhh', this.advices)
1512 1559
             this.monitors = response.data.data.monitors
1513 1560
             console.log('哈哈哈哈哈哈哈', this.monitors)

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1197,6 +1197,7 @@ export default {
1197 1197
                 if(it.id == item.monitoring_nurse){
1198 1198
                   if(it.user_type == 2){
1199 1199
                     num++
1200
+                    this.$message.closeAll()
1200 1201
                     this.$message.error('存在不是护士保存的监测')
1201 1202
                   }
1202 1203
                 }
@@ -1211,26 +1212,31 @@ export default {
1211 1212
                 if(it.id == item.advice_doctor){
1212 1213
                   if(it.user_type == 3){
1213 1214
                     num++
1215
+                    this.$message.closeAll()
1214 1216
                     this.$message.error('存在不是医生保存的医嘱')
1215 1217
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1216 1218
                     if(it.user_type == 2){
1217 1219
                       num++
1220
+                      this.$message.closeAll()
1218 1221
                       this.$message.error('存在不是护士执行的医嘱')
1219 1222
                     }
1220 1223
                   }else if(it.id == item.checker && item.checker > 0){
1221 1224
                     if(it.user_type == 2){
1222 1225
                       num++
1226
+                      this.$message.closeAll()
1223 1227
                       this.$message.error('存在不是护士核对的医嘱')
1224 1228
                     }
1225 1229
                   }
1226 1230
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1227 1231
                   if(it.user_type == 2){
1228 1232
                     num++
1233
+                    this.$message.closeAll()
1229 1234
                     this.$message.error('存在不是护士执行的医嘱')
1230 1235
                   }
1231 1236
                 }else if(it.id == item.checker && item.checker > 0){
1232 1237
                   if(it.user_type == 2){
1233 1238
                     num++
1239
+                    this.$message.closeAll()
1234 1240
                     this.$message.error('存在不是护士核对的医嘱')
1235 1241
                   }
1236 1242
                 }

+ 12 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
       
@@ -1763,7 +1763,7 @@ export default {
1763 1763
           this.$message.error('计划治疗时间未填')
1764 1764
         }else if(this.prescription.target_ultrafiltration == 0){
1765 1765
           this.$message.error('计划超滤总量未填')
1766
-        }else if(this.prescription.replacement_total == ""){
1766
+        }else if(this.prescription.replacement_total == "" && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
1767 1767
           this.$message.error('置换量未填')
1768 1768
         }else if(this.prescription.mode_id == ""){
1769 1769
           this.$message.error('透析方式未填')
@@ -1803,10 +1803,14 @@ export default {
1803 1803
           this.$message.error('去向未填')
1804 1804
         }else if(this.prescription.prescription_doctor == 0){
1805 1805
           this.$message.error('医生未填')
1806
-        }else if(this.dialysisOrder.start_nurse == 0){
1806
+        }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1807 1807
           this.$message.error('责任护士未填')
1808 1808
         }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1809 1809
           this.$message.error('穿刺护士未填')
1810
+        }else if (this.dialysisOrder == null && this.check.creater == 0) {
1811
+          this.$message.error('核对护士未填')
1812
+        }else if (this.dialysisOrder != null && this.check.creater == 0) {
1813
+          this.$message.error('核对护士未填')
1810 1814
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1811 1815
           this.$message.error('核对护士未填')
1812 1816
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
@@ -1820,26 +1824,31 @@ export default {
1820 1824
                   if(it.id == item.advice_doctor){
1821 1825
                     if(it.user_type == 3){
1822 1826
                       num++
1827
+                      this.$message.closeAll()
1823 1828
                       this.$message.error('存在不是医生保存的医嘱')
1824 1829
                     }else if(it.id == item.execution_staff && item.execution_staff > 0){
1825 1830
                       if(it.user_type == 2){
1826 1831
                         num++
1832
+                        this.$message.closeAll()
1827 1833
                         this.$message.error('存在不是护士执行的医嘱')
1828 1834
                       }
1829 1835
                     }else if(it.id == item.checker && item.checker > 0){
1830 1836
                       if(it.user_type == 2){
1831 1837
                         num++
1838
+                        this.$message.closeAll()
1832 1839
                         this.$message.error('存在不是护士核对的医嘱')
1833 1840
                       }
1834 1841
                     }
1835 1842
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1836 1843
                     if(it.user_type == 2){
1837 1844
                       num++
1845
+                      this.$message.closeAll()
1838 1846
                       this.$message.error('存在不是护士执行的医嘱')
1839 1847
                     }
1840 1848
                   }else if(it.id == item.checker && item.checker > 0){
1841 1849
                     if(it.user_type == 2){
1842 1850
                       num++
1851
+                      this.$message.closeAll()
1843 1852
                       this.$message.error('存在不是护士核对的医嘱')
1844 1853
                     }
1845 1854
                   }

+ 27 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <!-- <div class="order-yy-name">{{ orgname }}</div> -->
@@ -1214,16 +1214,35 @@ export default {
1214 1214
           this.$message.error('医生签名未填')
1215 1215
         }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse <= 0){
1216 1216
           this.$message.error('穿刺护士未填')
1217
+        }else if (this.dialysisOrder == null && this.check.creater == 0) {
1218
+          this.$message.error('核对护士未填')
1219
+        }else if (this.dialysisOrder != null && this.check.creater == 0) {
1220
+          this.$message.error('核对护士未填')
1217 1221
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1218 1222
           this.$message.error('核对护士未填')
1219 1223
         }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1220 1224
           this.$message.error('核对护士未填')
1221
-        }else if(this.dialysisOrder.start_nurse == 0){
1225
+        }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1222 1226
           this.$message.error('看机护士未填')
1223 1227
         }else if(this.dialysisOrder.finish_nurse == 0){
1224 1228
           this.$message.error('下机护士未填')
1225
-        }else if(this.tableAdvice.length > 0){
1229
+        }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1226 1230
           let num = 0
1231
+          if(this.monitors.length > 0){
1232
+            this.monitors.map(item => {
1233
+              if(item.id > 0 && item.operate_time){
1234
+                this.users.map(it => {
1235
+                  if(it.id == item.monitoring_nurse){
1236
+                    if(it.user_type == 2){
1237
+                      num++
1238
+                      this.$message.closeAll()
1239
+                      this.$message.error('存在不是护士保存的监测')
1240
+                    }
1241
+                  }
1242
+                })
1243
+              }
1244
+            })
1245
+          }
1227 1246
           if(this.tableAdvice.length > 0){
1228 1247
             this.tableAdvice.map(item => {
1229 1248
               if(item.id > 0 && (item.created_time || item.start_time)){
@@ -1231,26 +1250,31 @@ export default {
1231 1250
                   if(it.id == item.advice_doctor){
1232 1251
                     if(it.user_type == 3){
1233 1252
                       num++
1253
+                      this.$message.closeAll()
1234 1254
                       this.$message.error('存在不是医生保存的医嘱')
1235 1255
                     }else if(it.id == item.execution_staff && item.execution_staff > 0){
1236 1256
                       if(it.user_type == 2){
1237 1257
                         num++
1258
+                        this.$message.closeAll()
1238 1259
                         this.$message.error('存在不是护士执行的医嘱')
1239 1260
                       }
1240 1261
                     }else if(it.id == item.checker && item.checker > 0){
1241 1262
                       if(it.user_type == 2){
1242 1263
                         num++
1264
+                        this.$message.closeAll()
1243 1265
                         this.$message.error('存在不是护士核对的医嘱')
1244 1266
                       }
1245 1267
                     }
1246 1268
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1247 1269
                     if(it.user_type == 2){
1248 1270
                       num++
1271
+                      this.$message.closeAll()
1249 1272
                       this.$message.error('存在不是护士执行的医嘱')
1250 1273
                     }
1251 1274
                   }else if(it.id == item.checker && item.checker > 0){
1252 1275
                     if(it.user_type == 2){
1253 1276
                       num++
1277
+                      this.$message.closeAll()
1254 1278
                       this.$message.error('存在不是护士核对的医嘱')
1255 1279
                     }
1256 1280
                   }

+ 8 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div id='new-dialysis-1' class="dialysis-print-order">
6 6
         <div class="order-yy-name" style="font-size:28px;font-weight:bold;">{{ orgname }}</div>
@@ -1750,7 +1750,7 @@ export default {
1750 1750
         this.$message.error('冲管护士未填')
1751 1751
       }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse <= 0){
1752 1752
         this.$message.error('穿刺护士未填')
1753
-      }else if(this.dialysisOrder.start_nurse == 0){
1753
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1754 1754
         this.$message.error('责任护士未填')
1755 1755
       }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1756 1756
         let num = 0
@@ -1761,6 +1761,7 @@ export default {
1761 1761
                 if(it.id == item.monitoring_nurse){
1762 1762
                   if(it.user_type == 2){
1763 1763
                     num++
1764
+                    this.$message.closeAll()
1764 1765
                     this.$message.error('存在不是护士保存的监测')
1765 1766
                   }
1766 1767
                 }
@@ -1775,26 +1776,31 @@ export default {
1775 1776
                 if(it.id == item.advice_doctor){
1776 1777
                   if(it.user_type == 3){
1777 1778
                     num++
1779
+                    this.$message.closeAll()
1778 1780
                     this.$message.error('存在不是医生保存的医嘱')
1779 1781
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1780 1782
                     if(it.user_type == 2){
1781 1783
                       num++
1784
+                      this.$message.closeAll()
1782 1785
                       this.$message.error('存在不是护士执行的医嘱')
1783 1786
                     }
1784 1787
                   }else if(it.id == item.checker && item.checker > 0){
1785 1788
                     if(it.user_type == 2){
1786 1789
                       num++
1790
+                      this.$message.closeAll()
1787 1791
                       this.$message.error('存在不是护士核对的医嘱')
1788 1792
                     }
1789 1793
                   }
1790 1794
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1791 1795
                   if(it.user_type == 2){
1792 1796
                     num++
1797
+                    this.$message.closeAll()
1793 1798
                     this.$message.error('存在不是护士执行的医嘱')
1794 1799
                   }
1795 1800
                 }else if(it.id == item.checker && item.checker > 0){
1796 1801
                   if(it.user_type == 2){
1797 1802
                     num++
1803
+                    this.$message.closeAll()
1798 1804
                     this.$message.error('存在不是护士核对的医嘱')
1799 1805
                   }
1800 1806
                 }

+ 10 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyNine.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div id='new-dialysis-1' class="dialysis-print-order" style="position:relative;">
6 6
         <img src="../../../assets/img/xuanwei.jpg" style="position: absolute;" alt="">
@@ -734,7 +734,9 @@ export default {
734 734
   },
735 735
   methods: {
736 736
     checkData(){
737
-      if(this.predialysis.is_hemorrhage == 0){
737
+      if(this.receiverTreatmentAccess.condition == 0){
738
+        this.$message.error('病室未填')
739
+      }else if(this.predialysis.is_hemorrhage == 0){
738 740
         this.$message.error('出血未填')
739 741
       }else if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
740 742
         this.$message.error('出血未填')
@@ -791,6 +793,7 @@ export default {
791 793
                 if(it.id == item.monitoring_nurse){
792 794
                   if(it.user_type == 2){
793 795
                     num++
796
+                    this.$message.closeAll()
794 797
                     this.$message.error('存在不是护士保存的监测')
795 798
                   }
796 799
                 }
@@ -805,26 +808,31 @@ export default {
805 808
                 if(it.id == item.advice_doctor){
806 809
                   if(it.user_type == 3){
807 810
                     num++
811
+                    this.$message.closeAll()
808 812
                     this.$message.error('存在不是医生保存的医嘱')
809 813
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
810 814
                     if(it.user_type == 2){
811 815
                       num++
816
+                      this.$message.closeAll()
812 817
                       this.$message.error('存在不是护士执行的医嘱')
813 818
                     }
814 819
                   }else if(it.id == item.checker && item.checker > 0){
815 820
                     if(it.user_type == 2){
816 821
                       num++
822
+                      this.$message.closeAll()
817 823
                       this.$message.error('存在不是护士核对的医嘱')
818 824
                     }
819 825
                   }
820 826
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
821 827
                   if(it.user_type == 2){
822 828
                     num++
829
+                    this.$message.closeAll()
823 830
                     this.$message.error('存在不是护士执行的医嘱')
824 831
                   }
825 832
                 }else if(it.id == item.checker && item.checker > 0){
826 833
                   if(it.user_type == 2){
827 834
                     num++
835
+                    this.$message.closeAll()
828 836
                     this.$message.error('存在不是护士核对的医嘱')
829 837
                   }
830 838
                 }

+ 7 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div id='new-dialysis-1' class="dialysis-print-order">
6 6
         <div class="order-yy-name"></div>
@@ -1424,7 +1424,7 @@ export default {
1424 1424
         this.$message.error('透后并发症未填')
1425 1425
       }else if(this.summary.special_record == ""){
1426 1426
         this.$message.error('特殊记录未填')
1427
-      }else if(this.dialysisOrder.start_nurse == 0){
1427
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1428 1428
         this.$message.error('当班责任护士未填')
1429 1429
       }else if(this.dialysisOrder.finish_nurse == 0){
1430 1430
         this.$message.error('下机护士未填')
@@ -1437,26 +1437,31 @@ export default {
1437 1437
                 if(it.id == item.advice_doctor){
1438 1438
                   if(it.user_type == 3){
1439 1439
                     num++
1440
+                    this.$message.closeAll()
1440 1441
                     this.$message.error('存在不是医生保存的医嘱')
1441 1442
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1442 1443
                     if(it.user_type == 2){
1443 1444
                       num++
1445
+                      this.$message.closeAll()
1444 1446
                       this.$message.error('存在不是护士执行的医嘱')
1445 1447
                     }
1446 1448
                   }else if(it.id == item.checker && item.checker > 0){
1447 1449
                     if(it.user_type == 2){
1448 1450
                       num++
1451
+                      this.$message.closeAll()
1449 1452
                       this.$message.error('存在不是护士核对的医嘱')
1450 1453
                     }
1451 1454
                   }
1452 1455
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1453 1456
                   if(it.user_type == 2){
1454 1457
                     num++
1458
+                    this.$message.closeAll()
1455 1459
                     this.$message.error('存在不是护士执行的医嘱')
1456 1460
                   }
1457 1461
                 }else if(it.id == item.checker && item.checker > 0){
1458 1462
                   if(it.user_type == 2){
1459 1463
                     num++
1464
+                    this.$message.closeAll()
1460 1465
                     this.$message.error('存在不是护士核对的医嘱')
1461 1466
                   }
1462 1467
                 }

+ 29 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1261,7 +1261,7 @@ export default {
1261 1261
         this.$message.error('透前脉搏未填')
1262 1262
       }else if(this.predialysis.breathing_rate == ""){
1263 1263
         this.$message.error('透前呼吸频率未填')
1264
-      }else if((this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0) && this.org_id == 9987){
1264
+      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1265 1265
         this.$message.error('透前血压未填完整')
1266 1266
       }else if(this.predialysis.symptom_before_dialysis == ""){
1267 1267
         this.$message.error('上机前病情未填')
@@ -1295,7 +1295,7 @@ export default {
1295 1295
         this.$message.error('碳酸氢根未填')
1296 1296
       }else if(this.predialysis.blood_access_part_opera_name == ''){
1297 1297
         this.$message.error('血管通路未填')
1298
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1298
+      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1299 1299
         this.$message.error('穿刺者未填')
1300 1300
       }else if(this.predialysis.weight_before == 0){
1301 1301
         this.$message.error('透前体重未填')
@@ -1313,14 +1313,33 @@ export default {
1313 1313
         this.$message.error('透后导管未填')
1314 1314
       }else if(this.summary.dialysis_summary == ""){
1315 1315
         this.$message.error('治疗小结未填')
1316
-      }else if(this.dialysisOrder.start_nurse == 0){
1316
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1317 1317
         this.$message.error('护士签名未填')
1318
+      }else if (this.dialysisOrder == null && this.check.creater == 0) {
1319
+        this.$message.error('核对护士未填')
1320
+      }else if (this.dialysisOrder != null && this.check.creater == 0) {
1321
+        this.$message.error('核对护士未填')
1318 1322
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1319 1323
         this.$message.error('核对护士未填')
1320 1324
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1321 1325
         this.$message.error('核对护士未填')
1322
-      }else if(this.tableAdvice.length > 0){
1326
+      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1323 1327
         let num = 0
1328
+        if(this.monitors.length > 0){
1329
+          this.monitors.map(item => {
1330
+            if(item.id > 0 && item.operate_time){
1331
+              this.users.map(it => {
1332
+                if(it.id == item.monitoring_nurse){
1333
+                  if(it.user_type == 2){
1334
+                    num++
1335
+                    this.$message.closeAll()
1336
+                    this.$message.error('存在不是护士保存的监测')
1337
+                  }
1338
+                }
1339
+              })
1340
+            }
1341
+          })
1342
+        }
1324 1343
         if(this.tableAdvice.length > 0){
1325 1344
           this.tableAdvice.map(item => {
1326 1345
             if(item.id > 0 && (item.created_time || item.start_time)){
@@ -1328,26 +1347,31 @@ export default {
1328 1347
                 if(it.id == item.advice_doctor){
1329 1348
                   if(it.user_type == 3){
1330 1349
                     num++
1350
+                    this.$message.closeAll()
1331 1351
                     this.$message.error('存在不是医生保存的医嘱')
1332 1352
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1333 1353
                     if(it.user_type == 2){
1334 1354
                       num++
1355
+                      this.$message.closeAll()
1335 1356
                       this.$message.error('存在不是护士执行的医嘱')
1336 1357
                     }
1337 1358
                   }else if(it.id == item.checker && item.checker > 0){
1338 1359
                     if(it.user_type == 2){
1339 1360
                       num++
1361
+                      this.$message.closeAll()
1340 1362
                       this.$message.error('存在不是护士核对的医嘱')
1341 1363
                     }
1342 1364
                   }
1343 1365
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1344 1366
                   if(it.user_type == 2){
1345 1367
                     num++
1368
+                    this.$message.closeAll()
1346 1369
                     this.$message.error('存在不是护士执行的医嘱')
1347 1370
                   }
1348 1371
                 }else if(it.id == item.checker && item.checker > 0){
1349 1372
                   if(it.user_type == 2){
1350 1373
                     num++
1374
+                    this.$message.closeAll()
1351 1375
                     this.$message.error('存在不是护士核对的医嘱')
1352 1376
                   }
1353 1377
                 }

+ 11 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyTwo.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div id="dialysis-print-box-1-1" :class="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9) ? 'margin-bottom-900 dialysis-print-order print-template-two print_page_main_content' : 'margin-bottom-50 dialysis-print-order print-template-two print_page_main_content'">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1343,7 +1343,7 @@ export default {
1343 1343
       }else if(this.predialysis.puncture_way == ""){
1344 1344
         this.$message.error('穿刺方式未填')
1345 1345
       }else if(this.predialysis.venous_catheterization == 0){
1346
-        this.$message.error('中心静脉管未填')
1346
+        this.$message.error('中心静脉管未填')
1347 1347
       }else if(this.predialysis.blood_access_part_id == ''){
1348 1348
         this.$message.error('中心静脉导管位置未填')
1349 1349
       }else if(this.predialysis.catheter == ''){
@@ -1384,7 +1384,7 @@ export default {
1384 1384
         this.$message.error('透析器凝血未填')
1385 1385
       }else if(this.afterdialysis.patient_gose == 0){
1386 1386
         this.$message.error('患者去向未填')
1387
-      }else if(this.dialysisOrder.start_nurse == 0){
1387
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1388 1388
         this.$message.error('责任护士未填')
1389 1389
       }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1390 1390
         this.$message.error('穿刺者未填')
@@ -1398,7 +1398,7 @@ export default {
1398 1398
         this.$message.error('核对人未填')
1399 1399
       }else if(this.dialysisOrder.finish_nurse == 0){
1400 1400
         this.$message.error('收针者未填')
1401
-      }else if(this.dialysisOrder.start_nurse == 0){
1401
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1402 1402
         this.$message.error('血透室护士签名未填')
1403 1403
       }else if(this.prescription.mode_id == ""){
1404 1404
         this.$message.error('治疗方式未填')
@@ -1416,7 +1416,7 @@ export default {
1416 1416
         this.$message.error('钠未填')
1417 1417
       }else if(this.prescription.kalium == 0){
1418 1418
         this.$message.error('钾未填')
1419
-      }else if(this.prescription.displace_liqui_value == 0){
1419
+      }else if(this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
1420 1420
         this.$message.error('置换液后/前稀释未填')
1421 1421
       }else if(this.prescription.blood_access == 0){
1422 1422
         this.$message.error('血管通路未填')
@@ -1441,6 +1441,7 @@ export default {
1441 1441
                 if(it.id == item.monitoring_nurse){
1442 1442
                   if(it.user_type == 2){
1443 1443
                     num++
1444
+                    this.$message.closeAll()
1444 1445
                     this.$message.error('存在不是护士保存的监测')
1445 1446
                   }
1446 1447
                 }
@@ -1455,26 +1456,31 @@ export default {
1455 1456
                 if(it.id == item.advice_doctor){
1456 1457
                   if(it.user_type == 3){
1457 1458
                     num++
1459
+                    this.$message.closeAll()
1458 1460
                     this.$message.error('存在不是医生保存的医嘱')
1459 1461
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1460 1462
                     if(it.user_type == 2){
1461 1463
                       num++
1464
+                      this.$message.closeAll()
1462 1465
                       this.$message.error('存在不是护士执行的医嘱')
1463 1466
                     }
1464 1467
                   }else if(it.id == item.checker && item.checker > 0){
1465 1468
                     if(it.user_type == 2){
1466 1469
                       num++
1470
+                      this.$message.closeAll()
1467 1471
                       this.$message.error('存在不是护士核对的医嘱')
1468 1472
                     }
1469 1473
                   }
1470 1474
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1471 1475
                   if(it.user_type == 2){
1472 1476
                     num++
1477
+                    this.$message.closeAll()
1473 1478
                     this.$message.error('存在不是护士执行的医嘱')
1474 1479
                   }
1475 1480
                 }else if(it.id == item.checker && item.checker > 0){
1476 1481
                   if(it.user_type == 2){
1477 1482
                     num++
1483
+                    this.$message.closeAll()
1478 1484
                     this.$message.error('存在不是护士核对的医嘱')
1479 1485
                   }
1480 1486
                 }

+ 5 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box">
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1311,6 +1311,7 @@ export default {
1311 1311
                 if(it.id == item.monitoring_nurse){
1312 1312
                   if(it.user_type == 2){
1313 1313
                     num++
1314
+                    this.$message.closeAll()
1314 1315
                     this.$message.error('存在不是护士保存的监测')
1315 1316
                   }
1316 1317
                 }
@@ -1325,17 +1326,20 @@ export default {
1325 1326
                 if(it.id == item.advice_doctor){
1326 1327
                   if(it.user_type == 3){
1327 1328
                     num++
1329
+                    this.$message.closeAll()
1328 1330
                     this.$message.error('存在不是医生保存的医嘱')
1329 1331
                   }
1330 1332
                   else if(it.id == item.execution_staff && item.execution_staff > 0){
1331 1333
                     if(it.user_type == 2){
1332 1334
                       num++
1335
+                      this.$message.closeAll()
1333 1336
                       this.$message.error('存在不是护士执行的医嘱')
1334 1337
                     }
1335 1338
                   }
1336 1339
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1337 1340
                   if(it.user_type == 2){
1338 1341
                     num++
1342
+                    this.$message.closeAll()
1339 1343
                     this.$message.error('存在不是护士执行的医嘱')
1340 1344
                   }
1341 1345
                 }

+ 7 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4 4
     <div id="dialysis-print-box-1">
5 5
       <div id="dialysis-print-box-1-1" :class="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9) ? 'margin-bottom-900 dialysis-print-order print-template-two print_page_main_content' : 'margin-bottom-50 dialysis-print-order print-template-two print_page_main_content'">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
@@ -1445,6 +1445,7 @@ export default {
1445 1445
                 if(it.id == item.monitoring_nurse){
1446 1446
                   if(it.user_type == 2){
1447 1447
                     num++
1448
+                    this.$message.closeAll()
1448 1449
                     this.$message.error('存在不是护士保存的监测')
1449 1450
                   }
1450 1451
                 }
@@ -1459,26 +1460,31 @@ export default {
1459 1460
                 if(it.id == item.advice_doctor){
1460 1461
                   if(it.user_type == 3){
1461 1462
                     num++
1463
+                    this.$message.closeAll()
1462 1464
                     this.$message.error('存在不是医生保存的医嘱')
1463 1465
                   }else if(it.id == item.execution_staff && item.execution_staff > 0){
1464 1466
                     if(it.user_type == 2){
1465 1467
                       num++
1468
+                      this.$message.closeAll()
1466 1469
                       this.$message.error('存在不是护士执行的医嘱')
1467 1470
                     }
1468 1471
                   }else if(it.id == item.checker && item.checker > 0){
1469 1472
                     if(it.user_type == 2){
1470 1473
                       num++
1474
+                      this.$message.closeAll()
1471 1475
                       this.$message.error('存在不是护士核对的医嘱')
1472 1476
                     }
1473 1477
                   }
1474 1478
                 }else if(it.id == item.execution_staff && item.execution_staff > 0){
1475 1479
                   if(it.user_type == 2){
1476 1480
                     num++
1481
+                    this.$message.closeAll()
1477 1482
                     this.$message.error('存在不是护士执行的医嘱')
1478 1483
                   }
1479 1484
                 }else if(it.id == item.checker && item.checker > 0){
1480 1485
                   if(it.user_type == 2){
1481 1486
                     num++
1487
+                    this.$message.closeAll()
1482 1488
                     this.$message.error('存在不是护士核对的医嘱')
1483 1489
                   }
1484 1490
                 }

+ 61 - 10
src/xt_pages/workforce/remind_print_setting.vue View File

@@ -19,7 +19,7 @@
19 19
         <div class="print_main_content">
20 20
           <div class="table_panel">
21 21
             <div v-for="(main_collection,index) in scheduleData" :key="index" style="page-break-after: always;">
22
-              <div class="signPrint">
22
+              <div class="signPrint" v-if="org_id != 10188">
23 23
                 <div>
24 24
                  <span v-if="printObj.zone == 1">分区/</span>
25 25
                  <span v-if="printObj.number == 1">床位号:</span>
@@ -80,6 +80,38 @@
80 80
                 <div>用法:静脉注射</div>
81 81
                 <div>打印时间:{{currentDate}}</div>
82 82
               </div>
83
+              <div class="signPrint" style="font-size:16px;" v-else>
84
+                <div style="margin-left:50px;">姓名:
85
+                  <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
86
+                  <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
87
+                  ({{ main_collection.patient.dialysis_no }},{{ main_collection.patient.age }}岁)
88
+                </div>
89
+                <div class="printCell">
90
+                  <span>
91
+                    床号:{{ main_collection.number.number }}
92
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
93
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
94
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
95
+                  </span>
96
+                  <span>{{ printDate }}</span>
97
+                </div>
98
+                <div class="printCell">
99
+                  <span>干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
100
+                  <span>抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
101
+                </div>
102
+                <div class="printCell">
103
+                  <span>净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
104
+                  <span>首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</span>
105
+                </div>
106
+                <div class="printCell">
107
+                  <span>体重增加:{{ main_collection.assessmentbefor.weight_before - main_collection.lastafterweight.weight_after }}Kg</span>
108
+                  <span>维持:{{main_collection.dialysissolution.anticoagulant_weichi}}</span>
109
+                </div>
110
+                <div class="printCell">
111
+                  <span>处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}</span>
112
+                  <span>总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}</span>
113
+                </div>
114
+              </div>
83 115
            </div>
84 116
           </div>
85 117
         </div>
@@ -121,6 +153,7 @@
121 153
         pre_status:0,
122 154
         printObj:{},
123 155
         type:1,
156
+        printDate:''
124 157
       }
125 158
     },
126 159
     components: {
@@ -133,6 +166,7 @@
133 166
      console.log("机构ID",this.org_id)
134 167
      this.currentDate = this.getCurrentDate()
135 168
 
169
+    this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
136 170
     this.modeOptions = this.$store.getters.treatment_mode
137 171
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
138 172
     this.week_type = this.$route.query.week_type
@@ -258,15 +292,26 @@
258 292
 
259 293
       },
260 294
       printAction: function() {
261
-        const style = '@media print {.signPrint{margin-left:30px;} .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } @page {margin-top:10px;}}'
262
-
263
-        printJS({
264
-          printable: 'print_content',
265
-          type: 'html',
266
-          documentTitle: '  ',
267
-          style: style,
268
-          scanStyles: false
269
-        })
295
+        const style = '@media print {.signPrint{margin-left:30px;} .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } .printCell span{display: inline-block;width: 180px;} @page {margin-top:10px;}}'
296
+        const style1 = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } .printCell span{display: inline-block;width: 170px;} @page {margin-top:10px;}}'
297
+        if(this.org_id == 10188){
298
+          printJS({
299
+            printable: 'print_content',
300
+            type: 'html',
301
+            documentTitle: '  ',
302
+            style: style1,
303
+            scanStyles: false
304
+          })
305
+        }else{
306
+          printJS({
307
+            printable: 'print_content',
308
+            type: 'html',
309
+            documentTitle: '  ',
310
+            style: style,
311
+            scanStyles: false
312
+          })
313
+        }
314
+        
270 315
       }, getSchedulesType: function(type) {
271 316
         let type_name = ''
272 317
         switch (type) {
@@ -530,4 +575,10 @@
530 575
   margin-bottom: 20px;
531 576
   padding: 20px 10px;
532 577
 }
578
+.printCell{
579
+  span{
580
+    display: inline-block;
581
+    width: 180px;
582
+  }
583
+}
533 584
 </style>