Explorar el Código

Merge branch '20230223_pad_vue_new_branch' of http://git.shengws.com/csx/Pad_New into 20230223_pad_vue_new_branch

28169 hace 4 días
padre
commit
1a8a7db9ad

+ 4 - 1
src/main.js Ver fichero

@@ -73,7 +73,8 @@ import {
73 73
   CollapseItem,
74 74
   Calendar,
75 75
   NoticeBar,
76
-  NavBar
76
+  NavBar,
77
+  Badge
77 78
   // eslint-disable-next-line no-irregular-whitespace,import/no-duplicates
78 79
 } from 'vant'
79 80
 Vue.use(DropdownMenu)
@@ -123,6 +124,7 @@ Vue.use(DropdownMenu)
123 124
   .use(Calendar)
124 125
   .use(NoticeBar)
125 126
   .use(NavBar)
127
+  .use(Badge)
126 128
 // import "@/lib/flexible.js";
127 129
 
128 130
 // main.js
@@ -137,6 +139,7 @@ Vue.use(MintUI)
137 139
 Vue.use(MuseUI)
138 140
 // Vue.use(Vant)
139 141
 Vue.use(ElementUI)
142
+// Vue.use(vant);
140 143
 Vue.config.productionTip = false
141 144
 
142 145
 /* eslint-disable no-new */

+ 10 - 4
src/pages/main/PrintIndex.vue Ver fichero

@@ -442,6 +442,10 @@
442 442
         v-bind:childResponse="childResponse"
443 443
         v-if="org_template_info.template_id == 83">
444 444
       </DialysisPrintOrdereightythree>
445
+      <DialysisPrintOrdereightyfour ref="childOne"
446
+        style="margin-top: 60px"
447
+        v-bind:childResponse="childResponse"
448
+        v-if="org_template_info.template_id == 84"></DialysisPrintOrdereightyfour>
445 449
     </div>
446 450
 
447 451
     <!--<side-bar :active_index="0" v-if="isShow == true"></side-bar>-->
@@ -517,6 +521,7 @@ import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
517 521
 import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
518 522
 import DialysisPrintOrdereightytwo from './template/DialysisPrintOrdereightytwo'
519 523
 import DialysisPrintOrdereightythree from './template/DialysisPrintOrdereightythree'
524
+import DialysisPrintOrdereightyfour from './template/DialysisPrintOrdereightyfour'
520 525
 export default {
521 526
   name: "PrintIndex",
522 527
   components: {
@@ -583,7 +588,8 @@ export default {
583 588
     DialysisPrintOrdereighty,
584 589
     DialysisPrintOrdereightyone,
585 590
     DialysisPrintOrdereightytwo,
586
-    DialysisPrintOrdereightythree
591
+    DialysisPrintOrdereightythree,
592
+    DialysisPrintOrdereightyfour
587 593
   },
588 594
   data() {
589 595
     return {
@@ -742,12 +748,12 @@ export default {
742 748
         if (response.data.state == 1) {
743 749
             this.childResponse = response;
744 750
 
745
-          // if(this.org_id != 10727){//&&this.org_id !=0
751
+          // if(this.org_id != 10635 &&this.org_id !=0){//&&this.org_id !=0
746 752
             this.org_template_info = response.data.data.org_template_info;
747 753
           // }else{
748
-          //   this.org_template_info.template_id = 82
754
+          //   this.org_template_info.template_id = 84
749 755
           // }
750
-          console.log('responsevvvvvv',response.data.data);
756
+          console.log('responsevvvvvv11112222', this.org_template_info.template_id);
751 757
 
752 758
         } else {
753 759
           this.$message.error("请求数据失败");

+ 169 - 53
src/pages/main/newActionBar/doctorAdvice.vue Ver fichero

@@ -56,6 +56,8 @@
56 56
                       >({{advice.remark}})</span>
57 57
 
58 58
                       <span v-if="org_id==10644 && advice.remark!=''">({{advice.remark}})</span>
59
+                      <!-- 药品剩余数 -->
60
+                      <!-- <van-badge :content="5"></van-badge> -->
59 61
                     </div>
60 62
                   </td>
61 63
 
@@ -159,11 +161,10 @@
159 161
                 <span @click="deleteSubAdviceAction">删除子医嘱</span>
160 162
               </div>
161 163
             </div>
162
-
163 164
             <div class="preserveBox">
164 165
               <div style="display: flex;justify-content: space-between;width: 100%;">
165 166
                   <span v-if="his_is_open != 1 || org_id == 10721" :class="{ forbid: is_has_create != true }" @click="showNew">新增</span>
166
-                 
167
+
167 168
                   <mu-date-input v-if="isShowExce && (org_id == 10215 || org_id == 4 || org_id == 9671 || org_id == 10340)" type="dateTime" class="dateInput" label="执行" v-model="newExecTime" @focus="onFocusExecTime" @change="execTimeFunc" container="dialog" :clock-type="'24hr'" actions></mu-date-input>
168 169
                   <span v-if="isShowExce && (org_id != 10215  && org_id != 4 && org_id!=9671 && org_id !=10340)" :class="{ forbid: is_has_exce != true || allForbidShow != true }" @click="execAdvice">执行</span>
169 170
                   <!-- <span v-if="isShowExce && (org_id ==10164 || org_id==10480)" :class="{ forbid: is_has_exce != true || allForbidShow != true }" @click="BatchExecAdvice">全部执行</span> -->
@@ -171,7 +172,7 @@
171 172
                   <mu-date-input v-if="isShowMofifyExce && (org_id == 10215  || org_id == 4 || org_id == 10340 || org_id == 9671)" type="dateTime" class="dateInput2" label="修改执行" v-model="newModifyExecTime" @focus="onFocusModifyExecTime" @change="modifyExecTimeFunc" container="dialog" :clock-type="'24hr'" actions></mu-date-input>
172 173
                   <span v-if="isShowMofifyExce && (org_id != 10215  && org_id != 4 && org_id!=10340 && org_id!=9671)" :class="{ forbid: (current_advice&& current_advice.parent_id > 0) || is_has_modify_exce != true || allForbidShow != true }" @click="modifyExecAdvice">修改执行</span>
173 174
                   <span v-if="org_id!=10445 && org_id!=3877  && org_id !=10344 && org_id!=10597 && org_id!=10599 && org_id!=10624" :class="{ forbid: (current_advice&& current_advice.parent_id > 0) || is_has_check != true || allForbidShow != true }" @click="checkAdvice">核对</span>
174
-                 
175
+
175 176
                   <span v-if="org_id ==3877  || org_id ==10344" :class="{ forbid: (current_advice&& current_advice.parent_id > 0) || is_has_check != true || allForbidShow != true }" @click="checkAdviceOne">核对</span>
176 177
                   <span v-if="his_is_open != 1 || org_id == 10721" :class="{ forbid: current_advice == null || current_advice.parent_id > 0 ||  currentAdvices.length != 1 || is_has_create != true || allForbidShow != true }" @click="openNewChild">添加子药</span>
177 178
                   <span v-if="his_is_open != 1 || org_id == 10721" :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1  || current_select_object== 2 || (is_has_modify != true && is_has_modify_other != true) || allForbidShow != true || modifyOrDelete != true }" @click="modifyAdviceAction">修改</span>
@@ -180,30 +181,34 @@
180 181
               </div>
181 182
             </div>
182 183
         </div>
183
-       <mt-datetime-picker
184
-        class="datetimePicker"
185
-        ref="exec_time"
186
-        type="datetime"
187
-        @confirm="handleExecTime"
188
-        v-model="nowExecTime"
189
-        ></mt-datetime-picker>
190
-
184
+        <!-- 执行 -->
185
+        <!-- <div style="overflow-y: auto;height: 300px;"> -->
186
+          <mt-datetime-picker
187
+            class="datetimePicker"
188
+            ref="exec_time"
189
+            type="datetime"
190
+            @confirm="handleExecTime"
191
+            v-model="nowExecTime"
192
+            ></mt-datetime-picker>
193
+        <!-- </div> -->
191 194
        <mt-datetime-picker
192 195
         class="datetimePicker"
193 196
         ref="batch_exec_time"
194 197
         type="datetime"
195 198
         @confirm="BatchHandleExecTime"
196 199
         v-model="nowExecTime"
197
-        ></mt-datetime-picker> 
198
-
199
-        <mt-datetime-picker
200
-        class="datetimePicker"
201
-        ref="mofify_exec_time"
202
-        type="datetime"
203
-        @confirm="handleModifyExecTime"
204
-        v-model="nowExecTime"
205 200
         ></mt-datetime-picker>
206
-
201
+        <!-- 修改执行 -->
202
+        <div style="overflow-y: auto;">
203
+          <mt-datetime-picker
204
+          class="datetimePicker"
205
+          ref="mofify_exec_time"
206
+          type="datetime"
207
+          @confirm="handleModifyExecTime"
208
+          v-model="nowExecTime"
209
+          style="height: 300px;"
210
+          ></mt-datetime-picker>
211
+        </div>
207 212
         <mt-datetime-picker
208 213
         class="datetimePicker"
209 214
         ref="check_time"
@@ -228,7 +233,7 @@
228 233
         close-on-click-action
229 234
         @select="onCancelSheet"
230 235
         />
231
-    
236
+
232 237
       <van-popup
233 238
         v-model="infor_visibility"
234 239
         class="advicePopup"
@@ -241,12 +246,19 @@
241 246
         >
242 247
       </infor-sub-menu>
243 248
       </van-popup>
244
-
249
+      <!-- <div class="checkBox4"  @click="tiaozhuan" ref="moveBtn2">
250
+        <img src="../../../assets/images/check2.png" @mousedown="down2" @touchstart="down2"
251
+        @mousemove="move2"
252
+        @touchmove="move2"
253
+        @mouseup="end2"
254
+        @touchend="end2"
255
+        @touchcancel="end2" alt="">
256
+      </div> -->
245 257
     </div>
246 258
 </template>
247 259
 
248 260
 <script>
249
-import {Dialog, Toast} from 'vant'
261
+import {Dialog, Toast,Badge } from 'vant'
250 262
 import {parseTime} from '@/utils'
251 263
 import {uParseTime} from '@/utils/tools'
252 264
 import newAddOrder from './components/newAddOrder'
@@ -328,7 +340,8 @@ export default {
328 340
     },
329 341
     prescription_prop:{
330 342
       type: Object,
331
-    }
343
+    },
344
+    // tableIndex:Number
332 345
   },
333 346
   data () {
334 347
     return {
@@ -386,13 +399,26 @@ export default {
386 399
       schedulePatient: {},
387 400
       infor_visibility:false,
388 401
       user_type:0,
402
+
403
+      nx2: '',
404
+      ny2: '',
405
+      dx2: '',
406
+      dy2: '',
407
+      xPum2: '',
408
+      yPum2: '',
409
+      position2:{
410
+        x: 0,
411
+        y: 0
412
+      },
413
+      moveBtn2:{},
414
+      
389 415
     }
390 416
   },
391 417
   created () {
392 418
     console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh",this.advice_groups)
393 419
     var user_type =  this.$store.getters.user.user.user_type
394 420
     this.user_type =user_type
395
-   
421
+
396 422
     this.getPermission()
397 423
     this.template_id = this.$store.getters.user.template_info.template_id
398 424
     this.org_id = this.$store.getters.user.template_info.org_id
@@ -443,8 +469,22 @@ export default {
443 469
     // 获取今日排班数据
444 470
     this.getScheduleByPatient(patient_id, date)
445 471
   },
446
-
472
+  mounted(){
473
+    // this.moveBtn2 = this.$refs.moveBtn2
474
+    // if (sessionStorage.getItem('checkBtnTop2')) {
475
+    //   this.moveBtn2.style.top = sessionStorage.getItem('checkBtnTop2')
476
+    //   this.moveBtn2.style.bottom = 'initial'
477
+    // }
478
+    // if (sessionStorage.getItem('checkBtnLeft2')) {
479
+    //   this.moveBtn2.style.left = sessionStorage.getItem('checkBtnLeft2')
480
+    // }
481
+  },
447 482
   methods: {
483
+    // tiaozhuan(){
484
+    //   this.tableIndex = 1
485
+    //   this.$emit('tiaozhuan',this.tableIndex)
486
+    //   console.log('this.index',this.tableIndex);
487
+    // },
448 488
     menuComfirmFour:function(start_time,remark){
449 489
        var params = {
450 490
          patient_id:this.$route.query.patient_id,
@@ -453,7 +493,7 @@ export default {
453 493
          module:4,
454 494
          remark:remark,
455 495
        }
456
-      
496
+
457 497
       saveMobileInformation(params).then(response=>{
458 498
         if(response.data.state == 1){
459 499
            this.infor_visibility = false
@@ -463,7 +503,7 @@ export default {
463 503
     },
464 504
     menuCancleFour:function(){
465 505
      this.infor_visibility = false
466
-    
506
+
467 507
     },
468 508
     onFocusExecTime () {
469 509
       this.newExecTime = new Date()
@@ -517,7 +557,8 @@ export default {
517 557
             var advice = response.data.data.advice
518 558
             if (this.current_select_object == 1) {
519 559
               var ids = this.currentAdviceIdsStr.split(',')
520
-              var adviceArr = this.advice_groups[this.current_group_index].advices
560
+              var adviceArr = this.advice_groups[this.current_group_index]
561
+                .advices
521 562
               for (let i = 0; i < adviceArr.length; i++) {
522 563
                 for (let a = 0; a < ids.length; a++) {
523 564
                   if (
@@ -545,13 +586,14 @@ export default {
545 586
           return false
546 587
         })
547 588
     },
589
+    // 执行弹窗
548 590
     execTimeFunc (time) {
549 591
 
550 592
       if (this.is_has_exce == false) {
551 593
         Toast.fail('你没有执行医嘱的权限')
552 594
         return false
553 595
       }
554
-    
596
+
555 597
       if (this.currentAdvices.length <= 0) {
556 598
         return
557 599
       }
@@ -707,7 +749,7 @@ export default {
707 749
               .advices
708 750
             for (let i = 0; i < adviceArr.length; i++) {
709 751
               for (let a = 0; a < ids.length; a++) {
710
- 
752
+
711 753
                 if (adviceArr[i].execution_state != 1 && adviceArr[i].id == ids[a]) {
712 754
                   adviceArr[i].execution_staff = advice.execution_staff
713 755
                   adviceArr[i].execution_time = advice.execution_time
@@ -768,7 +810,7 @@ export default {
768 810
                   }
769 811
                 }
770 812
               }
771
-             
813
+
772 814
               if (response.data.data.msg == 2) {
773 815
                 Toast.success('库存数量不足,请入库,执行失败!')
774 816
               }
@@ -780,7 +822,7 @@ export default {
780 822
               }
781 823
 
782 824
               if (response.data.data.msg == 7) {
783
-                
825
+
784 826
                 Toast.success('单位不统一,执行失败!')
785 827
               }
786 828
              
@@ -1050,6 +1092,7 @@ export default {
1050 1092
     closeDoctorAdviceshow () {
1051 1093
       this.doctorAdviceshow = false
1052 1094
     },
1095
+    // 执行弹窗
1053 1096
     execAdvice () {
1054 1097
       if (this.is_has_exce == false) {
1055 1098
         Toast.fail('你没有执行医嘱的权限')
@@ -1118,10 +1161,8 @@ export default {
1118 1161
             return false
1119 1162
           }
1120 1163
         }
1121
-
1122 1164
         // this.nowExecTime = new Date(group_top_advice.start_time * 1000)
1123 1165
         this.nowExecTime = new Date()
1124
-
1125 1166
       }
1126 1167
       this.$refs.exec_time.open()
1127 1168
     },
@@ -1234,7 +1275,7 @@ export default {
1234 1275
               if (this.current_select_object == 1) {
1235 1276
                 var ids = this.currentAdviceIdsStr.split(',')
1236 1277
                 var adviceArr = this.advice_groups[this.current_group_index].advices
1237
- 
1278
+
1238 1279
                 for (let i = 0; i < adviceArr.length; i++) {
1239 1280
                   for (let a = 0; a < ids.length; a++) {
1240 1281
                     if ((adviceArr[i].execution_state == 2 &&adviceArr[i].id == ids[a]) ||(adviceArr[i].execution_state == 2 &&adviceArr[i].parent_id == ids[a])) {
@@ -1267,7 +1308,7 @@ export default {
1267 1308
               }
1268 1309
 
1269 1310
               if (response.data.data.msg == 7) {
1270
-             
1311
+
1271 1312
                 Toast.success('单位不匹配,执行失败!')
1272 1313
               }
1273 1314
 
@@ -1276,7 +1317,7 @@ export default {
1276 1317
                 return
1277 1318
               }
1278 1319
             } else if (resp.data.data.msg == 'ok') {
1279
-              
1320
+
1280 1321
               var adviceArr = this.advice_groups[this.current_group_index].advices
1281 1322
               for (let i = 0; i < adviceArr.length; i++) {
1282 1323
                 if ((adviceArr[i].execution_state == 2 && adviceArr[i].groupno == exceParams.groupno)) {
@@ -1336,6 +1377,7 @@ export default {
1336 1377
       }
1337 1378
       return year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':00'
1338 1379
     },
1380
+    // 修改执行
1339 1381
     modifyExecAdvice: function () {
1340 1382
       if (this.is_has_modify_exce == false) {
1341 1383
         Toast.fail('你没有修改执行医嘱的权限')
@@ -1448,11 +1490,11 @@ export default {
1448 1490
            if (adviceArr[i].is_selected == 1 &&adviceArr[i].execution_staff == 0) {
1449 1491
             Toast.fail('请先执行再核对')
1450 1492
             return false
1451
-          }   
1493
+          }
1452 1494
          }
1453 1495
         }
1454 1496
 
1455
-      
1497
+
1456 1498
 
1457 1499
         var currentAdviceIdArr = []
1458 1500
         for (let i = 0; i < adviceArr.length; i++) {
@@ -1502,12 +1544,12 @@ export default {
1502 1544
            if (adviceArr[i].is_selected == 1 &&adviceArr[i].execution_staff == 0) {
1503 1545
             Toast.fail('请先执行再核对')
1504 1546
             return false
1505
-          }   
1547
+          }
1506 1548
          }
1507 1549
 
1508 1550
         }
1509 1551
 
1510
-       
1552
+
1511 1553
       }
1512 1554
 
1513 1555
       Dialog.confirm({
@@ -2077,7 +2119,7 @@ export default {
2077 2119
               }
2078 2120
             }
2079 2121
           }
2080
-         
2122
+
2081 2123
           var projectList = response.data.data.projectList
2082 2124
           if(projectList!=null && projectList.length>0){
2083 2125
             var adviceArr = this.advice_groups[this.current_group_index].projectList
@@ -2091,7 +2133,7 @@ export default {
2091 2133
               }
2092 2134
             }
2093 2135
           }
2094
-        
2136
+
2095 2137
         }
2096 2138
       })
2097 2139
     },
@@ -2238,7 +2280,7 @@ export default {
2238 2280
           Toast.fail(err)
2239 2281
         })
2240 2282
     },
2241
- 
2283
+
2242 2284
     modifySubdviceAction: function () {
2243 2285
       if (this.currentSubAdvices.length <= 0) {
2244 2286
         return
@@ -2475,7 +2517,7 @@ export default {
2475 2517
       data.advice_type = 2
2476 2518
       data.advice_date = this.record_date
2477 2519
       data.start_time = start_time_str
2478
-      data.record_date = parseInt(this.$route.query.date) 
2520
+      data.record_date = parseInt(this.$route.query.date)
2479 2521
       console.log("data---------",data.record_date)
2480 2522
       var adviceJSONs = []
2481 2523
       for (let index = 0; index < resp_advices.length; index++) {
@@ -2539,7 +2581,7 @@ export default {
2539 2581
                 this.lastOrNextAdviceShow = false
2540 2582
                 this.infor_visibility = true
2541 2583
              }
2542
-            
2584
+
2543 2585
           }
2544 2586
         })
2545 2587
         .catch(err => {
@@ -2678,7 +2720,7 @@ export default {
2678 2720
           }
2679 2721
         })
2680 2722
         .then(res => {
2681
- 
2723
+
2682 2724
           if (res.data.state == 0) {
2683 2725
             this.hasPermission = false
2684 2726
           } else if (res.data.state == 1) {
@@ -2707,7 +2749,7 @@ export default {
2707 2749
       })
2708 2750
     },
2709 2751
     handleCheckTime(time){
2710
-     
2752
+
2711 2753
       var params = null
2712 2754
         Toast.loading({forbidClick: true, duration: 0})
2713 2755
         if (this.advice_groups[this.current_group_index].advices[0].origin == 2) {
@@ -2752,7 +2794,7 @@ export default {
2752 2794
         }
2753 2795
         var checkTime = this.handleTime(time)
2754 2796
        params['mode'] = '7'
2755
-      
2797
+
2756 2798
        params['check_time'] = checkTime
2757 2799
 
2758 2800
        checkMobileDoctorAdvice(params).then(response => {
@@ -2822,7 +2864,7 @@ export default {
2822 2864
         }
2823 2865
       }).catch(err => {
2824 2866
         Toast.fail(err)
2825
-      }) 
2867
+      })
2826 2868
     },
2827 2869
     BatchHandleCheckTime(time){
2828 2870
       console.log("time=====",time)
@@ -2837,7 +2879,72 @@ export default {
2837 2879
 
2838 2880
        }
2839 2881
      })
2840
-    }
2882
+    },
2883
+     // 长期医嘱
2884
+    // down2 (event) {
2885
+    //   this.flags = true
2886
+    //   var touch
2887
+    //   if (event.touches) {
2888
+    //     touch = event.touches[0]
2889
+    //   } else {
2890
+    //     touch = event
2891
+    //   }
2892
+    //   this.position2.x = touch.clientX
2893
+    //   this.position2.y = touch.clientY
2894
+    //   this.dx2 = this.moveBtn2.offsetLeft
2895
+    //   this.dy2 = this.moveBtn2.offsetTop
2896
+    //   console.log('this.moveBtn2.offsetLeft',this.moveBtn2.offsetLeft);
2897
+    // },
2898
+    // move2 (event) {
2899
+    //   if (this.flags) {
2900
+    //     var touch
2901
+    //     if (event.touches) {
2902
+    //       touch = event.touches[0]
2903
+    //     } else {
2904
+    //       touch = event
2905
+    //     }
2906
+    //     this.nx2 = touch.clientX - this.position2.x
2907
+    //     this.ny2 = touch.clientY - this.position2.y
2908
+    //     this.xPum2 = this.dx2 + this.nx2
2909
+    //     this.yPum2 = this.dy2 + this.ny2
2910
+    //     var clientWidth = document.documentElement.clientWidth
2911
+    //     var clientHeight = document.documentElement.clientHeight
2912
+    //     if (
2913
+    //       this.xPum2 > 0 &&
2914
+    //       this.xPum2 < clientWidth - this.moveBtn2.offsetWidth
2915
+    //     ) {
2916
+    //       this.moveBtn2.style.left = this.xPum2 + 'px'
2917
+    //     }
2918
+    //     if (
2919
+    //       this.yPum2 > 0 &&
2920
+    //       this.yPum2 < clientHeight - this.moveBtn2.offsetHeight
2921
+    //     ) {
2922
+    //       this.moveBtn2.style.top = this.yPum2 + 'px'
2923
+    //     }
2924
+
2925
+    //     // 阻止页面的滑动默认事件
2926
+    //     document.addEventListener('touchmove', this.handler, {
2927
+    //       passive: false
2928
+    //     })
2929
+    //   }
2930
+    // },
2931
+    // // 鼠标释放时候的函数
2932
+    // end2 () {
2933
+    //   this.flags = false
2934
+    //   sessionStorage.setItem('checkBtnTop2', this.moveBtn2.style.top)
2935
+    //   sessionStorage.setItem('checkBtnLeft2', this.moveBtn2.style.left)
2936
+    //   document.addEventListener('touchmove', this.handler, {
2937
+    //     passive: false
2938
+    //   })
2939
+    // },
2940
+    // handler () {
2941
+    //   if (this.flags) {
2942
+    //     event.preventDefault()
2943
+    //   } else {
2944
+    //     return true
2945
+    //   }
2946
+    // },
2947
+
2841 2948
   },
2842 2949
   watch: {
2843 2950
     result: function (result) {
@@ -3066,6 +3173,15 @@ export default {
3066 3173
         padding: 0;
3067 3174
         min-height:auto;
3068 3175
     }
3069
-
3176
+    .checkBox4 {
3177
+      position: fixed;
3178
+      left: 0.6rem;
3179
+      bottom: 11rem;
3180
+      z-index:5000;
3181
+      img {
3182
+        width: 3.5rem;
3183
+        height: 3.5rem;
3184
+      }
3185
+    }
3070 3186
 }
3071 3187
 </style>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 706 - 1064
src/pages/main/template/DialysisPrintOrderEight.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 684 - 916
src/pages/main/template/DialysisPrintOrderFiftyEight.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 377 - 571
src/pages/main/template/DialysisPrintOrderFiftyFour.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 622 - 1009
src/pages/main/template/DialysisPrintOrderFiftyOne.vue


+ 127 - 163
src/pages/main/template/DialysisPrintOrderFiftySeven.vue Ver fichero

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div id="dialysis-print-box" style="position: relative">
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
3 4
     <div class="dialysis-print-order">
4 5
       <div class="order-yy-name">{{ orgname }}</div>
5 6
       <div class="order-title">血液透析(滤过)记录表单</div>
@@ -829,7 +830,7 @@ import { getDataConfig } from "@/utils/data";
829 830
 import { jsGetAge, uParseTime } from "@/utils/tools";
830 831
 import LabelBox from "../printItem/LabelBox";
831 832
 import print from "print-js";
832
-
833
+import {Toast,Dialog} from 'vant'
833 834
 export default {
834 835
   name: "dialysisPrintOrderOne",
835 836
   components: {
@@ -962,170 +963,115 @@ export default {
962 963
         );
963 964
       }
964 965
     },
965
-    checkData() {
966
-      if (this.predialysis.temperature == "") {
967
-        this.$message.error("透前体温未填");
968
-      } else if (this.predialysis.pulse_frequency == "") {
969
-        this.$message.error("透前脉搏未填");
970
-      } else if (this.predialysis.breathing_rate == "") {
971
-        this.$message.error("透前呼吸频率未填");
972
-      } else if (
973
-        this.predialysis.systolic_blood_pressure == 0 ||
974
-        this.predialysis.diastolic_blood_pressure == 0
975
-      ) {
976
-        this.$message.error("透前血压未填完整");
977
-      } else if (this.predialysis.symptom_before_dialysis == "") {
978
-        this.$message.error("上机前病情未填");
979
-      } else if (this.prescription.mode_id == "") {
980
-        this.$message.error("治疗方式未填");
981
-      } else if (
982
-        this.prescription.displace_liqui_part == 0 &&
983
-        this.prescription.mode_id == 2
984
-      ) {
985
-        this.$message.error("置换方式未填");
986
-      } else if (
987
-        this.prescription.displace_liqui_value == 0 &&
988
-        this.prescription.mode_id == 2
989
-      ) {
990
-        this.$message.error("置换量未填");
991
-      } else if (
992
-        this.prescription.dialysis_duration_hour == 0 &&
993
-        this.prescription.dialysis_duration_minute == 0
994
-      ) {
995
-        this.$message.error("治疗时间未填");
996
-      } else if (this.prescription.anticoagulant == 0) {
997
-        this.$message.error("治疗抗凝未填");
998
-      } else if (this.prescription.target_ultrafiltration == 0) {
999
-        this.$message.error("处方脱水量未填");
1000
-      } else if (this.prescription.dialysate_flow == 0) {
1001
-        this.$message.error("透析液流量未填");
1002
-      } else if (this.prescription.blood_flow_volume == 0) {
1003
-        this.$message.error("血流量未填");
1004
-      } else if (this.prescription.prescription_doctor == 0) {
1005
-        this.$message.error("医师签名未填");
1006
-      } else if (this.predialysis.machine_type == "") {
1007
-        this.$message.error("透析机未填");
1008
-      } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
1009
-        this.$message.error("透析(滤)器未填");
1010
-      } else if (this.prescription.calcium == 0) {
1011
-        this.$message.error("钙未填");
1012
-      } else if (this.prescription.sodium == 0) {
1013
-        this.$message.error("钠未填");
1014
-      } else if (this.prescription.bicarbonate == 0) {
1015
-        this.$message.error("碳酸氢根未填");
1016
-      } else if (this.predialysis.blood_access_part_opera_name == "") {
1017
-        this.$message.error("血管通路未填");
1018
-      } else if (
1019
-        this.dialysisOrder == null ||
1020
-        this.dialysisOrder.puncture_nurse == 0
1021
-      ) {
1022
-        this.$message.error("穿刺者未填");
1023
-      } else if (this.predialysis.weight_before == 0) {
1024
-        this.$message.error("透前体重未填");
1025
-      } else if (this.predialysis.dry_weight == 0) {
1026
-        this.$message.error("干体重未填");
1027
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1028
-        this.$message.error("实际脱水量未填");
1029
-      } else if (this.afterdialysis.weight_after == 0) {
1030
-        this.$message.error("透后体重未填");
1031
-      } else if (this.afterdialysis.cruor == "") {
1032
-        this.$message.error("透析器凝血未填");
1033
-      } else if (this.afterdialysis.internal_fistula == "") {
1034
-        this.$message.error("透后内瘘未填");
1035
-      } else if (this.afterdialysis.catheter == "") {
1036
-        this.$message.error("透后导管未填");
1037
-      } else if (this.summary.dialysis_summary == "") {
1038
-        this.$message.error("治疗小结未填");
1039
-      } else if (
1040
-        this.dialysisOrder == null ||
1041
-        this.dialysisOrder.start_nurse == 0
1042
-      ) {
1043
-        this.$message.error("护士签名未填");
1044
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
1045
-        this.$message.error("核对护士未填");
1046
-      } else if (this.dialysisOrder != null && this.check.creater == 0) {
1047
-        this.$message.error("核对护士未填");
1048
-      } else if (
1049
-        this.dialysisOrder != null &&
1050
-        this.dialysisOrder.start_nurse == this.check.modifier &&
1051
-        this.check.creater == 0
1052
-      ) {
1053
-        this.$message.error("核对护士未填");
1054
-      } else if (
1055
-        this.dialysisOrder != null &&
1056
-        this.dialysisOrder.start_nurse == this.check.creater &&
1057
-        this.check.modifier == 0
1058
-      ) {
1059
-        this.$message.error("核对护士未填");
1060
-      } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
1061
-        let num = 0;
1062
-        if (this.monitors.length > 0) {
1063
-          this.monitors.map((item) => {
1064
-            if (item.id > 0 && item.operate_time) {
1065
-              this.users.map((it) => {
1066
-                if (it.id == item.monitoring_nurse) {
1067
-                  if (it.user_type == 2) {
1068
-                    num++;
1069
-                    this.$message.closeAll();
1070
-                    this.$message.error("存在不是护士保存的监测");
1071
-                  }
1072
-                }
1073
-              });
1074
-            }
1075
-          });
1076
-        }
1077
-        if (this.tableAdvice.length > 0) {
1078
-          this.tableAdvice.map((item) => {
1079
-            if (item.id > 0 && (item.created_time || item.start_time)) {
1080
-              this.users.map((it) => {
1081
-                if (it.id == item.advice_doctor) {
1082
-                  if (it.user_type == 3) {
1083
-                    num++;
1084
-                    this.$message.closeAll();
1085
-                    this.$message.error("存在不是医生保存的医嘱");
1086
-                  } else if (
1087
-                    it.id == item.execution_staff &&
1088
-                    item.execution_staff > 0
1089
-                  ) {
1090
-                    if (it.user_type == 2) {
1091
-                      num++;
1092
-                      this.$message.closeAll();
1093
-                      this.$message.error("存在不是护士执行的医嘱");
1094
-                    }
1095
-                  } else if (it.id == item.checker && item.checker > 0) {
1096
-                    if (it.user_type == 2) {
1097
-                      num++;
1098
-                      this.$message.closeAll();
1099
-                      this.$message.error("存在不是护士核对的医嘱");
1100
-                    }
1101
-                  }
1102
-                } else if (
1103
-                  it.id == item.execution_staff &&
1104
-                  item.execution_staff > 0
1105
-                ) {
1106
-                  if (it.user_type == 2) {
1107
-                    num++;
1108
-                    this.$message.closeAll();
1109
-                    this.$message.error("存在不是护士执行的医嘱");
1110
-                  }
1111
-                } else if (it.id == item.checker && item.checker > 0) {
1112
-                  if (it.user_type == 2) {
1113
-                    num++;
1114
-                    this.$message.closeAll();
1115
-                    this.$message.error("存在不是护士核对的医嘱");
1116
-                  }
1117
-                }
1118
-              });
1119
-            }
1120
-          });
1121
-        }
1122
-
1123
-        if (num == 0) {
1124
-          this.$message.success("核对完成");
966
+    checkData(){
967
+      var checkData=[]
968
+      if(this.sick_condition==''){
969
+        const obj='病情评估'
970
+        checkData.push(obj)
971
+      }if(this.prescription.mode_id == ''){
972
+        const obj1='治疗方式'
973
+        checkData.push(obj1)
974
+      }if(this.afterdialysis.actual_treatment_hour == ''&&
975
+        this.afterdialysis.actual_treatment_minute==''
976
+      ){
977
+        const obj2='治疗时间'
978
+        checkData.push(obj2)
979
+      }if(this.prescription.anticoagulant==0){
980
+        const obj3='治疗抗凝'
981
+        checkData.push(obj3)
982
+      }if(this.prescription.target_ultrafiltration ==''){
983
+        const obj4='处方脱水量'
984
+        checkData.push(obj4)
985
+      }if(this.prescription.dialysate_flow ==''){
986
+        const obj5='透析液流量'
987
+        checkData.push(obj5)
988
+      }if(this.prescription.creater == ''){
989
+        const obj6='医师签名'
990
+        checkData.push(obj6)
991
+      }if(this.dialysisOrder == null || this.patientInfo.DialysisSchedule.device_number.number==''){
992
+        const obj7='透析机'
993
+        checkData.push(obj7)
994
+      }if(this.prescription.dialyzer_perfusion_apparatus ==''){
995
+        const obj8='透析机'
996
+        checkData.push(obj8)
997
+      }if(this.prescription.kalium==''){
998
+        const obj9='钾'
999
+        checkData.push(obj9)
1000
+      }if(this.prescription.calcium==''){
1001
+        const obj10='钙'
1002
+        checkData.push(obj10)
1003
+      }if(this.prescription.bicarbonate==''){
1004
+        const obj11='碳酸氢盐'
1005
+        checkData.push(obj11)
1006
+      }if(this.predialysis.blood_access_part_opera_name==''){
1007
+        const obj12='血管通路'
1008
+        checkData.push(obj12)
1009
+      }if(this.dialysisOrder != null && this.dialysisOrder.puncture_nurse==''){
1010
+        const obj13='穿刺者'
1011
+        checkData.push(obj13)
1012
+      }if(this.assessmentafter.weight_after==''){
1013
+        const obj14='上次透后体重'
1014
+        checkData.push(obj14)
1015
+      }if(this.predialysis.weight_before ==''){
1016
+        const obj15='透前体重'
1017
+        checkData.push(obj15)
1018
+      }if(this.predialysis.dry_weight==''){
1019
+        const obj16='干体重'
1020
+        checkData.push(obj16)
1021
+      }if(this.afterdialysis.actual_ultrafiltratio==''){
1022
+        const obj17='净脱水量'
1023
+        checkData.push(obj17)
1024
+      }if(this.afterdialysis.weight_after==''){
1025
+        const obj18='透后体重'
1026
+        checkData.push(obj18)
1027
+      }if(this.summary.dialysis_summary ==''){
1028
+        const obj19='治疗小结'
1029
+        checkData.push(obj19)
1030
+      }if(this.prescription.creater ==''){
1031
+        const obj20='医生签名'
1032
+        checkData.push(obj20)
1033
+      }if(this.dialysisOrder.start_nurse=='' && this.dialysisOrder ==''){
1034
+        const obj21='护士签名'
1035
+        checkData.push(obj21)
1036
+      }if (this.advices.length > 0) {
1037
+        this.advices.map((item) => {
1038
+          if (item.execution_staff == 0 && item.checker == 0) {
1039
+            const obj22 = '执行人员,核对签名'
1040
+            checkData.push(obj22)
1041
+          }
1042
+        })
1043
+      }if(this.monitors.length !=0){
1044
+        for(let i in this.monitors){
1045
+          if(this.monitors[i].transmembrane_pressure==''){
1046
+            const obj23 = '第'+((i*1)+1)+'TMP'
1047
+            checkData.push(obj23)
1048
+          }if(this.monitors[i].venous_pressure==''){
1049
+            const obj24 = '第'+((i*1)+1)+'静脉压'
1050
+            checkData.push(obj24)
1051
+          }if(this.monitors[i].blood_flow_volume==''){
1052
+            const obj25 = '第'+((i*1)+1)+'血流量'
1053
+            checkData.push(obj25)
1054
+          }if(this.monitors[i].ultrafiltration_volume==''){
1055
+            const obj26 = '第'+((i*1)+1)+'脱水量'
1056
+            checkData.push(obj26)
1057
+          }if(this.monitors[i].temperature==''){
1058
+            const obj27 = '第'+((i*1)+1)+'T'
1059
+            checkData.push(obj27)
1060
+          }if(this.monitors[i].pulse_frequency==''){
1061
+            const obj28 = '第'+((i*1)+1)+'HR'
1062
+            checkData.push(obj28)
1063
+          }if(this.monitors[i].breathing_rate==''){
1064
+            const obj29 = '第'+((i*1)+1)+'R'
1065
+            checkData.push(obj29)
1066
+          }if(this.monitors[i].systolic_blood_pressure=='' || 
1067
+            this.monitors[i].diastolic_blood_pressure ==''
1068
+          ){
1069
+            const obj30 = '第'+((i*1)+1)+'BP'
1070
+            checkData.push(obj30)
1071
+          }
1125 1072
         }
1126
-      } else {
1127
-        this.$message.success("核对完成");
1128 1073
       }
1074
+      this.getcheckData(checkData)
1129 1075
     },
1130 1076
     getNewAge(UUserCard) {
1131 1077
       if (UUserCard != null && UUserCard != "") {
@@ -1679,6 +1625,24 @@ export default {
1679 1625
         }
1680 1626
       );
1681 1627
     },
1628
+    getcheckData(val){
1629
+      if(val.length >0){
1630
+        let message = `记录单未填数据:\n${val.join("\n")}`;
1631
+        Dialog.confirm({
1632
+          allowHtml:true,
1633
+          message:message,
1634
+        }).then(() => {
1635
+
1636
+          })
1637
+          .catch(() => {
1638
+
1639
+          });
1640
+
1641
+        return message
1642
+      }else{
1643
+        this.$message.success('核对完成')
1644
+      }
1645
+    }
1682 1646
   },
1683 1647
   watch: {
1684 1648
     "patientInfo.gender": function () {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 419 - 651
src/pages/main/template/DialysisPrintOrderFiftyThree.vue


+ 174 - 163
src/pages/main/template/DialysisPrintOrderFortyEight.vue Ver fichero

@@ -1232,6 +1232,7 @@ import { getDataConfig } from "@/utils/data";
1232 1232
 import { jsGetAge, uParseTime } from "@/utils/tools";
1233 1233
 import LabelBox from "../printItem/LabelBox";
1234 1234
 import { fetchAllAdminUsers } from "@/api/doctor";
1235
+import { Toast, Dialog } from 'vant'
1235 1236
 // import BreadCrumb from 'bread-crumb'
1236 1237
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1237 1238
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
@@ -1356,198 +1357,191 @@ export default {
1356 1357
       precautions: [],
1357 1358
       nursing_record: "",
1358 1359
       special_record: "",
1360
+      anticoagulant:'',
1359 1361
     };
1360 1362
   },
1361 1363
   methods: {
1362 1364
     checkData() {
1365
+      var checkData = []
1363 1366
       if (this.receiverTreatmentAccess.condition == 0) {
1364
-        this.$message.error("门诊或住院未填");
1365
-      } else if (
1367
+        const obj = '门诊或住院'
1368
+        checkData.push(obj)
1369
+      } if (
1366 1370
         this.receiverTreatmentAccess.condition == 1 &&
1367 1371
         this.receiverTreatmentAccess.admission_number == ""
1368 1372
       ) {
1369
-        this.$message.error("住院号未填");
1370
-      } else if (
1373
+        const obj1 = '住院号'
1374
+        checkData.push(obj1)
1375
+      } if (
1371 1376
         this.receiverTreatmentAccess.condition == 2 &&
1372 1377
         this.patientInfo.admission_number == ""
1373 1378
       ) {
1374
-        this.$message.error("门诊号未填");
1375
-      } else if (this.prescription.mode_id == "") {
1376
-        this.$message.error("治疗方式未填");
1377
-      } else if (this.predialysis.dry_weight == 0) {
1378
-        this.$message.error("干体重未填");
1379
-      } else if (this.prescription.conductivity == 0) {
1380
-        this.$message.error("电导率未填");
1381
-      } else if (this.prescription.calcium == 0) {
1382
-        this.$message.error("钙未填");
1383
-      } else if (this.prescription.dialysate_temperature == 0) {
1384
-        this.$message.error("透析液温度未填");
1385
-      } else if (this.predialysis.weight_before == 0) {
1386
-        this.$message.error("透前体重未填");
1387
-      } else if (this.prescription.target_ultrafiltration == 0) {
1388
-        this.$message.error("设定脱水量未填");
1389
-      } else if (this.prescription.anticoagulant == 0) {
1390
-        this.$message.error("抗凝剂未填");
1391
-      } else if (this.afterdialysis.weight_after == 0) {
1392
-        this.$message.error("透后体重未填");
1393
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1394
-        this.$message.error("实际脱水量未填");
1395
-      } else if (
1379
+        const obj2 = '门诊号'
1380
+        checkData.push(obj2)
1381
+      } if (this.prescription.mode_id == "") {
1382
+        const obj3 = '治疗方式'
1383
+        checkData.push(obj3)
1384
+      } if (this.predialysis.dry_weight == 0) {
1385
+        const obj4 = '干体重'
1386
+        checkData.push(obj4)
1387
+      } if (this.prescription.conductivity == 0) {
1388
+        const obj5 = '电导率'
1389
+        checkData.push(obj5)
1390
+      } if (this.prescription.calcium == 0) {
1391
+        const obj6 = '钙'
1392
+        checkData.push(obj6)
1393
+      } if (this.prescription.dialysate_temperature == 0) {
1394
+        const obj7 = '透析液温度'
1395
+        checkData.push(obj7)
1396
+      } if (this.predialysis.weight_before == 0) {
1397
+        const obj8 = '透前体重'
1398
+        checkData.push(obj8)
1399
+      } if (this.prescription.target_ultrafiltration == 0) {
1400
+        const obj9 = '设定脱水量'
1401
+        checkData.push(obj9)
1402
+      } if (this.prescription.anticoagulant == 0) {
1403
+        const obj10 = '抗凝剂'
1404
+        checkData.push(obj10)
1405
+      } if (this.afterdialysis.weight_after == 0) {
1406
+        const obj11 = '透后体重'
1407
+        checkData.push(obj11)
1408
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1409
+        const obj12 = '实际脱水量'
1410
+        checkData.push(obj12)
1411
+      } if (
1396 1412
         this.prescription.dialysis_duration_hour == 0 &&
1397 1413
         this.prescription.dialysis_duration_minute == 0
1398 1414
       ) {
1399
-        this.$message.error("透析时间未填");
1400
-      } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
1401
-        this.$message.error("透析器型号未填");
1402
-      } else if (
1415
+        const obj13 = '透析时间'
1416
+        checkData.push(obj13)
1417
+      } if (this.prescription.dialyzer_perfusion_apparatus == "") {
1418
+        const obj14 = '透析器型号'
1419
+        checkData.push(obj14)
1420
+      } if (
1403 1421
         this.prescription.displace_liqui_part == 0 &&
1404 1422
         (this.prescription.mode_id == 2 ||
1405 1423
           this.prescription.mode_id == 5 ||
1406 1424
           this.prescription.mode_id == 12)
1407 1425
       ) {
1408
-        this.$message.error("置换方式未填");
1409
-      } else if (
1426
+        const obj15 = '置换方式'
1427
+        checkData.push(obj15)
1428
+      } if (
1410 1429
         this.prescription.displace_liqui_value == 0 &&
1411 1430
         (this.prescription.mode_id == 2 ||
1412 1431
           this.prescription.mode_id == 5 ||
1413 1432
           this.prescription.mode_id == 12)
1414 1433
       ) {
1415
-        this.$message.error("置换量未填");
1416
-      } else if (this.orderForm.start_nurse == "") {
1417
-        this.$message.error("责任护士未填");
1418
-      } else if (this.orderForm.start_nurse == "") {
1419
-        this.$message.error("上机护士未填");
1420
-      } else if (this.orderForm.start_nurse == "") {
1421
-        this.$message.error("抗凝剂执行护士未填");
1422
-      } else if (
1423
-        this.prescription.prescription_doctor == 0 &&
1424
-        this.prescription.creater == 0
1425
-      ) {
1426
-        this.$message.error("医生签名未填");
1427
-      } else if (this.receiverTreatmentAccess.way == 0) {
1428
-        this.$message.error("入科方式未填");
1429
-      } else if (this.receiverTreatmentAccess.consciousness == 0) {
1430
-        this.$message.error("意识未填");
1431
-      } else if (this.receiverTreatmentAccess.appetite == 0) {
1432
-        this.$message.error("食欲未填");
1433
-      } else if (this.predialysis.temperature == 0) {
1434
-        this.$message.error("透前体温未填");
1435
-      } else if (this.receiverTreatmentAccess.posture == 0) {
1436
-        this.$message.error("体位未填");
1437
-      } else if (this.predialysis.blood_access_part_opera_name == "") {
1438
-        this.$message.error("内瘘波动及震颤未填");
1439
-      } else if (this.predialysis.blood_access_part_id == 0) {
1440
-        this.$message.error("中心静脉导管部位未填");
1441
-      } else if (this.predialysis.venous_catheterization == 0) {
1442
-        this.$message.error("中心静脉导管未填");
1443
-      } else if (this.predialysis.catheter == "") {
1444
-        this.$message.error("中心静脉导管感染未填");
1445
-      } else if (this.predialysis.internal_fistula_skin == "") {
1446
-        this.$message.error("血管通路皮肤情况未填");
1447
-      } else if (this.predialysis.skin == "") {
1448
-        this.$message.error("皮肤未填");
1449
-      } else if (this.predialysis.is_hemorrhage == 0) {
1450
-        this.$message.error("是否出血未填");
1451
-      } else if (
1434
+        const obj15 = '置换量'
1435
+        checkData.push(obj15)
1436
+      } if (this.receiverTreatmentAccess.way == 0) {
1437
+        const obj16 = '入科方式'
1438
+        checkData.push(obj16)
1439
+      } if (this.receiverTreatmentAccess.consciousness == 0) {
1440
+        const obj17 = '意识'
1441
+        checkData.push(obj17)
1442
+      } if (this.receiverTreatmentAccess.appetite == 0) {
1443
+        const obj18 = '食欲'
1444
+        checkData.push(obj18)
1445
+      } if (this.predialysis.temperature == 0) {
1446
+        const obj19 = '透前体温'
1447
+        checkData.push(obj19)
1448
+      } if (this.receiverTreatmentAccess.posture == 0) {
1449
+        const obj20 = '体位'
1450
+        checkData.push(obj20)
1451
+      } if(this.predialysis.blood_access_part_opera_name==0){
1452
+        const obj21 = '血管通路'
1453
+        checkData.push(obj21)
1454
+      } if(this.predialysis.blood_access_part_id==0){
1455
+        const obj22 = '血管通路部位'
1456
+        checkData.push(obj22)
1457
+      } if (this.predialysis.venous_catheterization == 0) {
1458
+        const obj23 = '中心静脉导管'
1459
+        checkData.push(obj23)
1460
+      } if (this.predialysis.internal_fistula_skin == "") {
1461
+        const obj24 = '血管通路皮肤情况'
1462
+        checkData.push(obj24)
1463
+      } if (this.predialysis.skin == "") {
1464
+        const obj25 = '皮肤'
1465
+        checkData.push(obj25)
1466
+      }  if (
1452 1467
         this.predialysis.is_hemorrhage == 1 &&
1453 1468
         this.predialysis.hemorrhage == ""
1454 1469
       ) {
1455
-        this.$message.error("出血影响因素未填");
1456
-      } else if (this.predialysis.special_medicine_other == "") {
1457
-        this.$message.error("使用特殊药物未填");
1458
-      } else if (this.receiverTreatmentAccess.danger_level == 0) {
1459
-        this.$message.error("跌倒风险未填");
1460
-      } else if (this.receiverTreatmentAccess.precaution == "") {
1461
-        this.$message.error("跌倒风险预防措施未填");
1462
-      } else if (this.nursing_record == "") {
1463
-        this.$message.error("透析护理记录未填");
1464
-      } else if (this.afterdialysis.dialysis_process == 0) {
1465
-        this.$message.error("透析过程未填");
1466
-      } else if (this.afterdialysis.complication == "") {
1467
-        this.$message.error("透后并发症未填");
1468
-      } else if (this.afterdialysis.actual_displacement == 0) {
1469
-        this.$message.error("实际置换量未填");
1470
-      } else if (this.afterdialysis.internal_fistula == "") {
1471
-        this.$message.error("内瘘搏动及震颤音未填");
1472
-      } else if (this.afterdialysis.cruor == "") {
1473
-        this.$message.error("透析器及管路凝血情况未填");
1474
-      } else if (this.afterdialysis.is_eat == 0) {
1475
-        this.$message.error("透析中进食未填");
1476
-      } else if (this.afterdialysis.patient_gose == 0) {
1477
-        this.$message.error("患者去向未填");
1478
-      } else if (this.finshForm.finish_nurse == "") {
1479
-        this.$message.error("下机护士未填");
1480
-      } else if (this.special_record == "") {
1481
-        this.$message.error("特殊记录未填");
1482
-      } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
1483
-        let num = 0;
1484
-        if (this.monitors.length > 0) {
1485
-          this.monitors.map((item) => {
1486
-            if (item.id > 0 && item.operate_time) {
1487
-              this.users.map((it) => {
1488
-                if (it.id == item.monitoring_nurse) {
1489
-                  if (it.user_type == 2) {
1490
-                    num++;
1491
-                    this.$message.closeAll();
1492
-                    this.$message.error("存在不是护士保存的监测");
1493
-                  }
1494
-                }
1495
-              });
1496
-            }
1497
-          });
1498
-        }
1499
-        if (this.tableAdvice.length > 0) {
1500
-          this.tableAdvice.map((item) => {
1501
-            if (item.id > 0 && (item.created_time || item.start_time)) {
1502
-              this.users.map((it) => {
1503
-                if (it.id == item.advice_doctor) {
1504
-                  if (it.user_type == 3) {
1505
-                    num++;
1506
-                    this.$message.closeAll();
1507
-                    this.$message.error("存在不是医生保存的医嘱");
1508
-                  } else if (
1509
-                    it.id == item.execution_staff &&
1510
-                    item.execution_staff > 0
1511
-                  ) {
1512
-                    if (it.user_type == 2) {
1513
-                      num++;
1514
-                      this.$message.closeAll();
1515
-                      this.$message.error("存在不是护士执行的医嘱");
1516
-                    }
1517
-                  } else if (it.id == item.checker && item.checker > 0) {
1518
-                    if (it.user_type == 2) {
1519
-                      num++;
1520
-                      this.$message.closeAll();
1521
-                      this.$message.error("存在不是护士核对的医嘱");
1522
-                    }
1523
-                  }
1524
-                } else if (
1525
-                  it.id == item.execution_staff &&
1526
-                  item.execution_staff > 0
1527
-                ) {
1528
-                  if (it.user_type == 2) {
1529
-                    num++;
1530
-                    this.$message.closeAll();
1531
-                    this.$message.error("存在不是护士执行的医嘱");
1532
-                  }
1533
-                } else if (it.id == item.checker && item.checker > 0) {
1534
-                  if (it.user_type == 2) {
1535
-                    num++;
1536
-                    this.$message.closeAll();
1537
-                    this.$message.error("存在不是护士核对的医嘱");
1538
-                  }
1539
-                }
1540
-              });
1541
-            }
1542
-          });
1543
-        }
1544
-
1545
-        if (num == 0) {
1546
-          this.$message.success("核对完成");
1470
+        const obj26 = '出血影响因素'
1471
+        checkData.push(obj26)
1472
+      } if (this.predialysis.special_medicine_other == "") {
1473
+        const obj27 = '使用特殊药物'
1474
+        checkData.push(obj27)
1475
+      } if (this.receiverTreatmentAccess.danger_level == 0) {
1476
+        const obj28 = '跌倒风险'
1477
+        checkData.push(obj28)
1478
+      } if (this.receiverTreatmentAccess.precaution == "") {
1479
+        const obj29 = '跌倒风险预防措施'
1480
+        checkData.push(obj29)
1481
+      } if (this.afterdialysis.dialysis_process == 0) {
1482
+        const obj30 = '透析过程'
1483
+        checkData.push(obj30)
1484
+      } if(this.dialysis_summary==''){
1485
+        const obj31 = '透后小结'
1486
+        checkData.push(obj31)
1487
+      } if (this.special_record == "") {
1488
+        const obj32 = '特殊记录'
1489
+        checkData.push(obj32)
1490
+      } if (this.finshForm.finish_nurse == "") {
1491
+        const obj32 = '下机护士'
1492
+        checkData.push(obj32)
1493
+      } if (this.dialysisorder== null ||this.dialysisorder.start_nurse == "") {
1494
+        const obj33 = '责任护士'
1495
+        checkData.push(obj33)
1496
+      } if (
1497
+        this.prescription.prescription_doctor == 0 &&
1498
+        this.prescription.creater == 0
1499
+      ) {
1500
+        const obj33 = '医生签名'
1501
+        checkData.push(obj33)
1502
+      } if(this.tableAdvice.length!=0){
1503
+        this.tableAdvice.map((item) => {
1504
+          if (item.execution_staff == 0 &&item.advice_doctor==0) {
1505
+            const obj40 = '医生签名,医嘱执行护士签名'
1506
+            checkData.push(obj40)
1507
+          }
1508
+        })
1509
+      } if(this.monitors.length!=0){
1510
+        for(let i in this.monitors){
1511
+          if(this.monitors[i].temperature==0){
1512
+            const obj41 = '监测第' + ((i * 1) + 1) + '行体温'
1513
+            checkData.push(obj41)
1514
+          }if(this.monitors[i].blood_flow_volume ==''){
1515
+            const obj42 = '监测第' + ((i * 1) + 1) + '行血流量'
1516
+            checkData.push(obj42)
1517
+          }if (this.monitors[i].venous_pressure ==''){
1518
+            const obj43 = '监测第' + ((i * 1) + 1) + '行静脉压'
1519
+            checkData.push(obj43)
1520
+          }if(this.monitors[i].transmembrane_pressure ==''){
1521
+            const obj44 = '监测第' + ((i * 1) + 1) + '行跨膜压'
1522
+            checkData.push(obj44)
1523
+          }if(this.monitors[i].ultrafiltration_volume ==''){
1524
+            const obj45 = '监测第' + ((i * 1) + 1) + '行超滤量'
1525
+            checkData.push(obj45)
1526
+          }if((this.prescription.mode_id == 2 || 
1527
+              this.prescription.mode_id == 5 || 
1528
+              this.prescription.mode_id == 12) && 
1529
+            this.monitors[i].displacement_quantity == ''
1530
+          ){
1531
+            const obj46 = '监测第' + ((i * 1) + 1) + '行置换量'
1532
+            checkData.push(obj46)
1533
+          }if(this.monitors[i].systolic_blood_pressure=='' && 
1534
+              this.monitors[i].diastolic_blood_pressure==''
1535
+          ){
1536
+            const obj47 = '监测第' + ((i * 1) + 1) + '行血压'
1537
+            checkData.push(obj47)
1538
+          } if(this.monitors[i].pulse_frequency==''){
1539
+            const obj48 = '监测第' + ((i * 1) + 1) + '行脉搏'
1540
+            checkData.push(obj48)
1541
+          }
1547 1542
         }
1548
-      } else {
1549
-        this.$message.success("核对完成");
1550 1543
       }
1544
+      this.getcheckData(checkData)
1551 1545
     },
1552 1546
     getUser() {
1553 1547
       fetchAllAdminUsers().then((response) => {
@@ -2041,6 +2035,23 @@ export default {
2041 2035
         }
2042 2036
       );
2043 2037
     },
2038
+    getcheckData(val) {
2039
+      if (val.length > 0) {
2040
+        let message = `记录单未填数据:\n${val.join("\n")}`;
2041
+        Dialog.confirm({
2042
+          allowHtml: true,
2043
+          message: message,
2044
+        }).then(() => {
2045
+
2046
+        })
2047
+          .catch(() => {
2048
+
2049
+          });
2050
+        return message
2051
+      } else {
2052
+        this.$message.success('核对完成')
2053
+      }
2054
+    }
2044 2055
   },
2045 2056
   watch: {
2046 2057
     "patientInfo.gender": function () {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 696 - 977
src/pages/main/template/DialysisPrintOrderFortySeven.vue


+ 6 - 3
src/pages/main/template/DialysisPrintOrderSix.vue Ver fichero

@@ -519,8 +519,9 @@
519 519
                           <span v-if="prescription.anticoagulant == 15">mg</span>
520 520
                           <span v-if="prescription.anticoagulant == 4">mg</span>
521 521
                           <span v-if="prescription.anticoagulant == 3">iu</span>
522
-                          <span v-if="org_id != 9538 && prescription.anticoagulant == 2">mg</span>
522
+                          <span v-if="org_id != 9538 && org_id !=10567 && prescription.anticoagulant == 2">mg</span>
523 523
                           <span v-if="org_id == 9538 && prescription.anticoagulant == 2">u</span>
524
+                          <span v-if="org_id == 10567 && prescription.anticoagulant == 2">iu</span>
524 525
                           <span v-if="prescription.anticoagulant == 1">mg</span>
525 526
                           <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
526 527
                             <span v-if="org_id != 10644">mg</span>
@@ -571,8 +572,9 @@
571 572
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
572 573
                         <span v-if="prescription.anticoagulant == 4">mg/h</span>
573 574
                         <span v-if="prescription.anticoagulant == 3">iu/h</span>
574
-                        <span v-if="org_id != 9538 && prescription.anticoagulant == 2">mg/h</span>
575
+                        <span v-if="org_id != 9538 && org_id !=10567 && prescription.anticoagulant == 2">mg/h</span>
575 576
                         <span v-if="org_id == 9538 && prescription.anticoagulant == 2">u</span>
577
+                        <span v-if="org_id == 10567 && prescription.anticoagulant == 2">iu/h</span>
576 578
                         <span v-if="prescription.anticoagulant == 1">mg/h</span>
577 579
                         <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
578 580
                           <span v-if="org_id != 10644">mg/h</span>
@@ -636,8 +638,9 @@
636 638
                         <span v-if="prescription.anticoagulant == 3">iu</span>
637 639
                         <span v-if="prescription.anticoagulant == 15">mg</span>
638 640
 
639
-                        <span v-if="org_id != 9538 && prescription.anticoagulant == 2">mg</span>
641
+                        <span v-if="org_id != 9538 && org_id !=10567 && prescription.anticoagulant == 2">mg</span>
640 642
                         <span v-if="org_id == 9538 && prescription.anticoagulant == 2">u</span>
643
+                        <span v-if="org_id == 10567 && prescription.anticoagulant == 2">iu</span>
641 644
                         <span v-if="prescription.anticoagulant == 1">mg</span>
642 645
                         <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
643 646
                           <span v-if="org_id != 10644">mg</span>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 399 - 419
src/pages/main/template/DialysisPrintOrderThirtyFour.vue


+ 9 - 6
src/pages/main/template/DialysisPrintOrderThirtyOne.vue Ver fichero

@@ -717,7 +717,7 @@ import { getDialysisRecord, getPrintDialysisRecord } from '@/api/dialysis'
717 717
 import { getDataConfig } from '@/utils/data'
718 718
 import { jsGetAge, uParseTime } from '@/utils/tools'
719 719
 import LabelBox from '../printItem/LabelBox'
720
-import {Toast} from 'vant'
720
+import {Toast,Dialog} from 'vant'
721 721
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
722 722
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
723 723
 import print from 'print-js'
@@ -1626,12 +1626,15 @@ export default {
1626 1626
     getcheckData(val){
1627 1627
       if(val.length >0){
1628 1628
         let message = `记录单未填数据:\n${val.join("\n")}`;
1629
-        Toast({
1630
-          duration:0,
1629
+        Dialog.confirm({
1630
+          allowHtml:true,
1631 1631
           message:message,
1632
-          closeOnClick:true,
1633
-          closeOnClickOverlay:true,
1634
-        })
1632
+        }).then(() => {
1633
+
1634
+          })
1635
+          .catch(() => {
1636
+
1637
+          });
1635 1638
         return message
1636 1639
       }else{
1637 1640
         this.$toast('核对完成');

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1241 - 1065
src/pages/main/template/DialysisPrintOrderThirtyTwo.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1044 - 1014
src/pages/main/template/DialysisPrintOrderTwenty.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 659 - 410
src/pages/main/template/DialysisPrintOrderTwentySeven.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 253 - 702
src/pages/main/template/DialysisPrintOrderTwentySix.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1453 - 0
src/pages/main/template/DialysisPrintOrdereightyfour.vue