Browse Source

Merge remote-tracking branch 'origin/20230223_pad_vue_new_branch' into 20230223_pad_vue_new_branch

yq1 2 weeks ago
parent
commit
67db88450e

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "2999.999.13738"
2
+  "version": "2999.999.13744"
3
 }
3
 }

+ 1 - 1
src/pages/main/newActionBar/assessmentAfter.vue View File

751
       }
751
       }
752
 
752
 
753
       //干体重默认透前评估里面的干体重
753
       //干体重默认透前评估里面的干体重
754
-      if(this.$store.getters.user.template_info.org_id==10138 || this.$store.getters.user.template_info.org_id==10278 ||  this.$store.getters.user.template_info.org_id==0 || this.$store.getters.user.template_info.org_id==3877 || this.$store.getters.user.template_info.org_id==10551 || this.$store.getters.user.template_info.org_id==10558 || this.$store.getters.user.template_info.org_id==10515 || this.$store.getters.user.template_info.org_id==10597 || this.$store.getters.user.template_info.org_id==10599 || this.$store.getters.user.template_info.org_id==10598  || this.$store.getters.user.template_info.org_id==10510 || this.$store.getters.user.template_info.org_id==10629 || this.$store.getters.user.template_info.org_id==10702 ){
754
+      if(this.$store.getters.user.template_info.org_id==10138 || this.$store.getters.user.template_info.org_id==10278 ||  this.$store.getters.user.template_info.org_id==0 || this.$store.getters.user.template_info.org_id==3877 || this.$store.getters.user.template_info.org_id==10551 || this.$store.getters.user.template_info.org_id==10558 || this.$store.getters.user.template_info.org_id==10515 || this.$store.getters.user.template_info.org_id==10597 || this.$store.getters.user.template_info.org_id==10599 || this.$store.getters.user.template_info.org_id==10598  || this.$store.getters.user.template_info.org_id==10510 || this.$store.getters.user.template_info.org_id==10629 || this.$store.getters.user.template_info.org_id==10702 || this.$store.getters.user.template_info.org_id==10721 ){
755
           this.formValue.additional_weight = this.predialysis.additional_weight
755
           this.formValue.additional_weight = this.predialysis.additional_weight
756
           this.formValue.patient_gose = "1"
756
           this.formValue.patient_gose = "1"
757
       }
757
       }

+ 20 - 0
src/pages/main/newActionBar/computer.vue View File

576
     last_order: {
576
     last_order: {
577
       type: Object,
577
       type: Object,
578
     },
578
     },
579
+    predialysis: {
580
+      type: Object
581
+    },
579
   },
582
   },
580
   data() {
583
   data() {
581
     return {
584
     return {
692
     };
695
     };
693
   },
696
   },
694
   created() {
697
   created() {
698
+    console.log("透前=======================",this.predialysis)
699
+  
695
     setRem();
700
     setRem();
696
     this.getToken();
701
     this.getToken();
697
     this.getPatientSign();
702
     this.getPatientSign();
830
       this.nuclein_date_str = this.getTimeOne(this.record.nuclein_date);
835
       this.nuclein_date_str = this.getTimeOne(this.record.nuclein_date);
831
     }
836
     }
832
 
837
 
838
+    if(this.predialysis!=null){
839
+      if(this.predialysis.internal_fistula!=''){
840
+          this.change_nurse = 0
841
+          this.puncture_nurse = this.record == null || this.record.id == ""? this.$store.getters.user.admin.id : this.record.puncture_nurse;
842
+      }
843
+      if(this.predialysis.catheter!=""){
844
+         this.puncture_nurse = 0
845
+         this.change_nurse = this.record == null || this.record.id == ""? this.$store.getters.user.admin.id : this.record.change_nurse;
846
+      }
847
+    }
848
+
833
     for (let index = 0; index < this.temp_device_numbers.length; index++) {
849
     for (let index = 0; index < this.temp_device_numbers.length; index++) {
834
       const device_number = this.temp_device_numbers[index];
850
       const device_number = this.temp_device_numbers[index];
835
       this.temp_device_numbers[index]["zoneNumber"] =
851
       this.temp_device_numbers[index]["zoneNumber"] =
2078
    }
2094
    }
2079
   },
2095
   },
2080
   watch: {
2096
   watch: {
2097
+
2081
     "record.id": function (val) {
2098
     "record.id": function (val) {
2082
       if (val > 0) {
2099
       if (val > 0) {
2083
         if (this.record.creator == 0) {
2100
         if (this.record.creator == 0) {
2085
         } else {
2102
         } else {
2086
           this.creator = this.record.creator;
2103
           this.creator = this.record.creator;
2087
         }
2104
         }
2105
+
2106
+
2088
       }
2107
       }
2108
+    
2089
     },
2109
     },
2090
     schedual_type: {
2110
     schedual_type: {
2091
       handler(newVal, oldVal) {
2111
       handler(newVal, oldVal) {

+ 5 - 4
src/pages/main/newActionBar/doctorAdvice.vue View File

160
 
160
 
161
             <div class="preserveBox">
161
             <div class="preserveBox">
162
               <div style="display: flex;justify-content: space-between;width: 100%;">
162
               <div style="display: flex;justify-content: space-between;width: 100%;">
163
-                  <span v-if="his_is_open != 1" :class="{ forbid: is_has_create != true }" @click="showNew">新增</span>
163
+                  <span v-if="his_is_open != 1 || org_id == 10721" :class="{ forbid: is_has_create != true }" @click="showNew">新增</span>
164
+                 
164
                   <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>
165
                   <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>
165
                   <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>
166
                   <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>
166
                   <!-- <span v-if="isShowExce && (org_id ==10164 || org_id==10480)" :class="{ forbid: is_has_exce != true || allForbidShow != true }" @click="BatchExecAdvice">全部执行</span> -->
167
                   <!-- <span v-if="isShowExce && (org_id ==10164 || org_id==10480)" :class="{ forbid: is_has_exce != true || allForbidShow != true }" @click="BatchExecAdvice">全部执行</span> -->
170
                   <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>
171
                   <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>
171
                  
172
                  
172
                   <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>
173
                   <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>
173
-                  <span v-if="his_is_open != 1" :class="{ forbid: current_advice == null || current_advice.parent_id > 0 ||  currentAdvices.length != 1 || is_has_create != true || allForbidShow != true }" @click="openNewChild">添加子药</span>
174
-                  <span v-if="his_is_open != 1" :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>
175
-                  <span v-if="his_is_open != 1 && user_type !=3 " :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (is_has_del != true && is_has_del_other != true) || allForbidShow != true || modifyOrDelete != true , deleteColor : true }" @click="deleteAdviceAction">删除</span>
174
+                  <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>
175
+                  <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>
176
+                  <span v-if="(his_is_open != 1 || org_id == 10721) && user_type !=3 " :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (is_has_del != true && is_has_del_other != true) || allForbidShow != true || modifyOrDelete != true , deleteColor : true }" @click="deleteAdviceAction">删除</span>
176
                   <!-- <span v-if="his_is_open != 1 && user_type ==3" @click="checkAllAdvice">全部核对</span> -->
177
                   <!-- <span v-if="his_is_open != 1 && user_type ==3" @click="checkAllAdvice">全部核对</span> -->
177
               </div>
178
               </div>
178
             </div>
179
             </div>

+ 5 - 0
src/pages/main/newActionBar/monitoring.vue View File

2126
           this.form.displacement_quantity = (this.form.displacement_quantity/1000).toFixed(2)
2126
           this.form.displacement_quantity = (this.form.displacement_quantity/1000).toFixed(2)
2127
        }
2127
        }
2128
 
2128
 
2129
+       if(this.org_id == 10721){
2130
+         this.form.venous_pressure = ""
2131
+         this.form.transmembrane_pressure = ""
2132
+       }
2133
+
2129
 
2134
 
2130
       // this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant?resp.monitor.monitor_anticoagulant:''
2135
       // this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant?resp.monitor.monitor_anticoagulant:''
2131
       // this.form.monitor_anticoagulant_value = resp.monitor.monitor_anticoagulant_value?resp.monitor.monitor_anticoagulant_value:''
2136
       // this.form.monitor_anticoagulant_value = resp.monitor.monitor_anticoagulant_value?resp.monitor.monitor_anticoagulant_value:''

+ 173 - 34
src/pages/main/today/TodayTab.vue View File

130
                       :dialysis_order="dialysis_order"
130
                       :dialysis_order="dialysis_order"
131
                       :is_advice_open="is_advice_open"
131
                       :is_advice_open="is_advice_open"
132
                       :prescription_prop="prescription"
132
                       :prescription_prop="prescription"
133
-                      
133
+
134
                       ref="orders_dialog"></doctorAdvice>
134
                       ref="orders_dialog"></doctorAdvice>
135
         <!-- 双人核对 -->
135
         <!-- 双人核对 -->
136
         <doubleCheck v-if="barActive == 5" :patient_prop="patient" ref="doubleCheck"
136
         <doubleCheck v-if="barActive == 5" :patient_prop="patient" ref="doubleCheck"
155
                   :last_order="lastOrder"
155
                   :last_order="lastOrder"
156
                   :stockType="stockType"
156
                   :stockType="stockType"
157
                   @did_start="closeDialysisComputer"
157
                   @did_start="closeDialysisComputer"
158
+                   :predialysis="predialysis_evaluation"
158
                   @did_add_monitor="didAddMonitor"
159
                   @did_add_monitor="didAddMonitor"
159
 
160
 
160
                   ></computer>
161
                   ></computer>
236
           {{ total }}
237
           {{ total }}
237
         </span>
238
         </span>
238
     </div>
239
     </div>
239
-     
240
+
240
     <van-dialog v-model="dry_visibility"  width="90%"  show-cancel-button>
241
     <van-dialog v-model="dry_visibility"  width="90%"  show-cancel-button>
241
       <div style="margin:10px;height:100px; overflow-y: scroll;">
242
       <div style="margin:10px;height:100px; overflow-y: scroll;">
242
         <div style="">
243
         <div style="">
542
         { title: '接诊评估', name: 'accepts_assessment', value: 0, is_show: 1 },
543
         { title: '接诊评估', name: 'accepts_assessment', value: 0, is_show: 1 },
543
         { title: '透前评估', name: 'assessment_before', value: 0, is_show: 1 },
544
         { title: '透前评估', name: 'assessment_before', value: 0, is_show: 1 },
544
         { title: '临时医嘱', name: 'stat_order', value: 0, is_show: 0},
545
         { title: '临时医嘱', name: 'stat_order', value: 0, is_show: 0},
545
-       
546
+
546
         { title: '双人核对', name: 'double_check', value: 0, is_show: 2 },
547
         { title: '双人核对', name: 'double_check', value: 0, is_show: 2 },
547
         { title: '透析上机', name: 'dialysis_computer', value: 0, is_show: 2},
548
         { title: '透析上机', name: 'dialysis_computer', value: 0, is_show: 2},
548
         { title: '透析监测', name: 'dialysis_monitoring', value: 0, is_show: 2 },
549
         { title: '透析监测', name: 'dialysis_monitoring', value: 0, is_show: 2 },
550
         { title: '透后评估', name: 'assessment_after', value: 0, is_show: 1},
551
         { title: '透后评估', name: 'assessment_after', value: 0, is_show: 1},
551
         { title: '治疗小结', name: 'treatment_of', value: 0, is_show: 1},
552
         { title: '治疗小结', name: 'treatment_of', value: 0, is_show: 1},
552
         { title: '耗材出库', name: 'dialysis_consumables', value: 0, is_show: 0},
553
         { title: '耗材出库', name: 'dialysis_consumables', value: 0, is_show: 0},
553
-      
554
-       
554
+
555
+
555
       ]
556
       ]
556
       if (!isNaN(this.prescribeOne.id) && this.prescribeOne.id > 0 && this.prescribeOne.creater > 0) {
557
       if (!isNaN(this.prescribeOne.id) && this.prescribeOne.id > 0 && this.prescribeOne.creater > 0) {
557
         steps[1].value = 1
558
         steps[1].value = 1
745
       this.dx = this.moveBtn.offsetLeft
746
       this.dx = this.moveBtn.offsetLeft
746
       this.dy = this.moveBtn.offsetTop
747
       this.dy = this.moveBtn.offsetTop
747
       console.log('this.moveBtn.offsetLeft',this.moveBtn.offsetLeft);
748
       console.log('this.moveBtn.offsetLeft',this.moveBtn.offsetLeft);
748
-      
749
+
749
     },
750
     },
750
     move (event) {
751
     move (event) {
751
       if (this.flags) {
752
       if (this.flags) {
1145
       if (popupIndex >= 0) {
1146
       if (popupIndex >= 0) {
1146
         if (popupIndex == 4) {
1147
         if (popupIndex == 4) {
1147
           if (this.his_is_open == 1) {
1148
           if (this.his_is_open == 1) {
1148
-            if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
1149
+            if(this.$store.getters.user.template_info.org_id!=10721){
1150
+              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
1149
               this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
1151
               this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
1150
-            } else {
1152
+              } else {
1153
+                this.menuList[popupIndex].showPopup = true
1154
+              }
1155
+            }else {
1151
               this.menuList[popupIndex].showPopup = true
1156
               this.menuList[popupIndex].showPopup = true
1152
             }
1157
             }
1158
+           
1153
           } else {
1159
           } else {
1154
             this.menuList[popupIndex].showPopup = true
1160
             this.menuList[popupIndex].showPopup = true
1155
           }
1161
           }
1260
 
1266
 
1261
           var all_projcet = []
1267
           var all_projcet = []
1262
 
1268
 
1263
-         
1269
+
1264
 
1270
 
1265
           if (this.$store.getters.user.template_info.org_id == 10318) {
1271
           if (this.$store.getters.user.template_info.org_id == 10318) {
1266
             var project = resp.data.project // 项目
1272
             var project = resp.data.project // 项目
1355
                   console.log("arr----------------",arr)
1361
                   console.log("arr----------------",arr)
1356
                   this.project.push(...arr)
1362
                   this.project.push(...arr)
1357
                 }
1363
                 }
1358
-              
1364
+
1359
               }
1365
               }
1360
-            
1366
+
1361
             }
1367
             }
1362
 
1368
 
1363
           }
1369
           }
1415
               his_doctor_advices[i]['origin'] = 2
1421
               his_doctor_advices[i]['origin'] = 2
1416
               his_doctor_advices[i]['way'] = 1
1422
               his_doctor_advices[i]['way'] = 1
1417
               if (doctor_advices != null) {
1423
               if (doctor_advices != null) {
1418
-                 
1424
+
1419
                 //针对 濉溪杏康血液透析中心
1425
                 //针对 濉溪杏康血液透析中心
1420
                 if(this.$store.getters.user.template_info.org_id == 10721){
1426
                 if(this.$store.getters.user.template_info.org_id == 10721){
1421
                   if(his_doctor_advices[i].execution_frequency.indexOf("上机前") == -1 && his_doctor_advices[i].delivery_way.indexOf("口服")==-1){
1427
                   if(his_doctor_advices[i].execution_frequency.indexOf("上机前") == -1 && his_doctor_advices[i].delivery_way.indexOf("口服")==-1){
1425
                   doctor_advices.push(his_doctor_advices[i])
1431
                   doctor_advices.push(his_doctor_advices[i])
1426
                 }
1432
                 }
1427
 
1433
 
1428
-               
1434
+
1429
               } else {
1435
               } else {
1430
                   doctor_advices = []
1436
                   doctor_advices = []
1431
                   //针对 濉溪杏康血液透析中心
1437
                   //针对 濉溪杏康血液透析中心
1565
             this.blood_access_part_opera_name = this.getBloodAccessOpera(this.prescription.blood_access)
1571
             this.blood_access_part_opera_name = this.getBloodAccessOpera(this.prescription.blood_access)
1566
           }
1572
           }
1567
           }
1573
           }
1568
-         
1574
+
1569
 
1575
 
1570
           if (this.his_is_open != 1) {
1576
           if (this.his_is_open != 1) {
1571
             if (this.doctor_advices.length > 0) {
1577
             if (this.doctor_advices.length > 0) {
1664
           this.is_project_open = resp.data.is_project_open_config.is_open
1670
           this.is_project_open = resp.data.is_project_open_config.is_open
1665
 
1671
 
1666
           console.log("项目姐夫------------------------",this.project)
1672
           console.log("项目姐夫------------------------",this.project)
1667
-          
1673
+
1668
           if (this.project != null && this.is_project_open == 1) {
1674
           if (this.project != null && this.is_project_open == 1) {
1669
             this.project.map(item => {
1675
             this.project.map(item => {
1670
               let obj = {
1676
               let obj = {
2635
               setTimeout(() => {
2641
               setTimeout(() => {
2636
                 if (index == 4) {
2642
                 if (index == 4) {
2637
                   if (this.his_is_open == 1) {
2643
                   if (this.his_is_open == 1) {
2638
-                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2644
+                    if(this.$store.getters.user.template_info.org_id!=10721){
2645
+                      if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2639
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2646
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2640
                     } else {
2647
                     } else {
2641
                       this.$nextTick(() => {
2648
                       this.$nextTick(() => {
2642
                         this.barActive = index
2649
                         this.barActive = index
2643
                       })
2650
                       })
2644
                     }
2651
                     }
2652
+                    }else{
2653
+                      this.$nextTick(() => {
2654
+                        this.barActive = index
2655
+                      })
2656
+                    }
2657
+                  
2645
                   } else {
2658
                   } else {
2646
                     this.$nextTick(() => {
2659
                     this.$nextTick(() => {
2647
                       this.barActive = index
2660
                       this.barActive = index
2658
             this.requestDialysisRecord()
2671
             this.requestDialysisRecord()
2659
             if (index == 4) {
2672
             if (index == 4) {
2660
               if (this.his_is_open == 1) {
2673
               if (this.his_is_open == 1) {
2661
-                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2674
+                if(this.$store.getters.user.template_info.org_id!=10721){
2675
+                  if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2662
                   this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2676
                   this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2663
                 } else {
2677
                 } else {
2664
                   this.$nextTick(() => {
2678
                   this.$nextTick(() => {
2665
                     this.barActive = index
2679
                     this.barActive = index
2666
                   })
2680
                   })
2667
                 }
2681
                 }
2682
+                }else{
2683
+                  this.$nextTick(() => {
2684
+                    this.barActive = index
2685
+                  })
2686
+                }
2687
+               
2668
               } else {
2688
               } else {
2669
                 this.$nextTick(() => {
2689
                 this.$nextTick(() => {
2670
                   this.barActive = index
2690
                   this.barActive = index
2679
         } else {
2699
         } else {
2680
           if (index == 4) {
2700
           if (index == 4) {
2681
             if (this.his_is_open == 1) {
2701
             if (this.his_is_open == 1) {
2682
-              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2702
+              if(this.$store.getters.user.template_info.org_id!=10721){
2703
+                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2683
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2704
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2684
               } else {
2705
               } else {
2685
                 this.$nextTick(() => {
2706
                 this.$nextTick(() => {
2686
                   this.barActive = index
2707
                   this.barActive = index
2687
                 })
2708
                 })
2688
               }
2709
               }
2710
+              }else{
2711
+                this.$nextTick(() => {
2712
+                  this.barActive = index
2713
+                })
2714
+              }
2715
+             
2689
             } else {
2716
             } else {
2690
               this.$nextTick(() => {
2717
               this.$nextTick(() => {
2691
                 this.barActive = index
2718
                 this.barActive = index
2708
                 // this.requestDialysisRecord()
2735
                 // this.requestDialysisRecord()
2709
                 if (index == 4) {
2736
                 if (index == 4) {
2710
                   if (this.his_is_open == 1) {
2737
                   if (this.his_is_open == 1) {
2711
-                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2738
+                    if(this.$store.getters.user.template_info.org_id!=10721){
2739
+                      if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2712
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2740
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2713
                     } else {
2741
                     } else {
2714
                       this.$nextTick(() => {
2742
                       this.$nextTick(() => {
2715
                         this.barActive = index
2743
                         this.barActive = index
2716
                       })
2744
                       })
2717
                     }
2745
                     }
2746
+                    }else{
2747
+                      this.$nextTick(() => {
2748
+                        this.barActive = index
2749
+                      })
2750
+                    }
2751
+                   
2718
                   } else {
2752
                   } else {
2719
                     this.$nextTick(() => {
2753
                     this.$nextTick(() => {
2720
                       this.barActive = index
2754
                       this.barActive = index
2732
               this.requestDialysisRecord()
2766
               this.requestDialysisRecord()
2733
               if (index == 4) {
2767
               if (index == 4) {
2734
                 if (this.his_is_open == 1) {
2768
                 if (this.his_is_open == 1) {
2735
-                  if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2769
+                  if(this.$store.getters.user.template_info.org_id!=10721){
2770
+                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2736
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2771
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2737
                   } else {
2772
                   } else {
2738
                     this.$nextTick(() => {
2773
                     this.$nextTick(() => {
2739
                       this.barActive = index
2774
                       this.barActive = index
2740
                     })
2775
                     })
2741
                   }
2776
                   }
2777
+                  }else{
2778
+                    this.$nextTick(() => {
2779
+                      this.barActive = index
2780
+                    })
2781
+                  }
2782
+                
2742
                 } else {
2783
                 } else {
2743
                   this.$nextTick(() => {
2784
                   this.$nextTick(() => {
2744
                     this.barActive = index
2785
                     this.barActive = index
2753
         } else {
2794
         } else {
2754
           if (index == 4) {
2795
           if (index == 4) {
2755
             if (this.his_is_open == 1) {
2796
             if (this.his_is_open == 1) {
2756
-              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2797
+              if(this.$store.getters.user.template_info.org_id!=10721){
2798
+                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2757
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2799
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2758
               } else {
2800
               } else {
2759
                 this.$nextTick(() => {
2801
                 this.$nextTick(() => {
2760
                   this.barActive = index
2802
                   this.barActive = index
2761
                 })
2803
                 })
2762
               }
2804
               }
2805
+              }else{
2806
+                this.$nextTick(() => {
2807
+                  this.barActive = index
2808
+                })
2809
+              }
2810
+           
2763
             } else {
2811
             } else {
2764
               this.$nextTick(() => {
2812
               this.$nextTick(() => {
2765
                 this.barActive = index
2813
                 this.barActive = index
2782
               // this.requestDialysisRecord()
2830
               // this.requestDialysisRecord()
2783
                 if (index == 4) {
2831
                 if (index == 4) {
2784
                   if (this.his_is_open == 1) {
2832
                   if (this.his_is_open == 1) {
2785
-                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2833
+                    if(this.$store.getters.user.template_info.org_id!=10721){
2834
+                      if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2786
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2835
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2787
                     } else {
2836
                     } else {
2788
                       this.$nextTick(() => {
2837
                       this.$nextTick(() => {
2789
                         this.barActive = index
2838
                         this.barActive = index
2790
                       })
2839
                       })
2791
                     }
2840
                     }
2841
+                    }else{
2842
+                      this.$nextTick(() => {
2843
+                        this.barActive = index
2844
+                      })
2845
+                    }
2846
+                   
2792
                   } else {
2847
                   } else {
2793
                     this.$nextTick(() => {
2848
                     this.$nextTick(() => {
2794
                       this.barActive = index
2849
                       this.barActive = index
2806
               this.requestDialysisRecord()
2861
               this.requestDialysisRecord()
2807
               if (index == 4) {
2862
               if (index == 4) {
2808
                 if (this.his_is_open == 1) {
2863
                 if (this.his_is_open == 1) {
2809
-                  if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2864
+                  if(this.$store.getters.user.template_info.org_id!=10721){
2865
+                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2810
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2866
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2811
                   } else {
2867
                   } else {
2812
                     this.$nextTick(() => {
2868
                     this.$nextTick(() => {
2813
                       this.barActive = index
2869
                       this.barActive = index
2814
                     })
2870
                     })
2815
                   }
2871
                   }
2872
+                  }else{
2873
+                    this.$nextTick(() => {
2874
+                      this.barActive = index
2875
+                    })
2876
+                  }
2877
+                 
2816
                 } else {
2878
                 } else {
2817
                   this.$nextTick(() => {
2879
                   this.$nextTick(() => {
2818
                     this.barActive = index
2880
                     this.barActive = index
2827
         } else {
2889
         } else {
2828
           if (index == 4) {
2890
           if (index == 4) {
2829
             if (this.his_is_open == 1) {
2891
             if (this.his_is_open == 1) {
2830
-              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2892
+              if(this.$store.getters.user.template_info.org_id!=10721){
2893
+                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2831
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2894
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2832
               } else {
2895
               } else {
2833
                 this.$nextTick(() => {
2896
                 this.$nextTick(() => {
2834
                   this.barActive = index
2897
                   this.barActive = index
2835
                 })
2898
                 })
2836
               }
2899
               }
2900
+              }else{
2901
+                this.$nextTick(() => {
2902
+                  this.barActive = index
2903
+                })
2904
+              }
2905
+            
2837
             } else {
2906
             } else {
2838
               this.$nextTick(() => {
2907
               this.$nextTick(() => {
2839
                 this.barActive = index
2908
                 this.barActive = index
2856
                 // this.requestDialysisRecord()
2925
                 // this.requestDialysisRecord()
2857
                 if (index == 4) {
2926
                 if (index == 4) {
2858
                   if (this.his_is_open == 1) {
2927
                   if (this.his_is_open == 1) {
2859
-                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2928
+                    if(this.$store.getters.user.template_info.org_id!=10721){
2929
+                      if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2860
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2930
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2861
                     } else {
2931
                     } else {
2862
                       this.$nextTick(() => {
2932
                       this.$nextTick(() => {
2863
                         this.barActive = index
2933
                         this.barActive = index
2864
                       })
2934
                       })
2865
                     }
2935
                     }
2936
+                    }else{
2937
+                      this.$nextTick(() => {
2938
+                        this.barActive = index
2939
+                      })
2940
+                    }
2941
+                   
2866
                   } else {
2942
                   } else {
2867
                     this.$nextTick(() => {
2943
                     this.$nextTick(() => {
2868
                       this.barActive = index
2944
                       this.barActive = index
2880
               this.requestDialysisRecord()
2956
               this.requestDialysisRecord()
2881
               if (index == 4) {
2957
               if (index == 4) {
2882
                 if (this.his_is_open == 1) {
2958
                 if (this.his_is_open == 1) {
2883
-                  if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2959
+                  if(this.$store.getters.user.template_info.org_id!=10721){
2960
+                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2884
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2961
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2885
                   } else {
2962
                   } else {
2886
                     this.$nextTick(() => {
2963
                     this.$nextTick(() => {
2887
                       this.barActive = index
2964
                       this.barActive = index
2888
                     })
2965
                     })
2889
                   }
2966
                   }
2967
+                  }else{
2968
+                    this.$nextTick(() => {
2969
+                      this.barActive = index
2970
+                    })
2971
+                  }
2972
+                 
2890
                 } else {
2973
                 } else {
2891
                   this.$nextTick(() => {
2974
                   this.$nextTick(() => {
2892
                     this.barActive = index
2975
                     this.barActive = index
2901
         } else {
2984
         } else {
2902
           if (index == 4) {
2985
           if (index == 4) {
2903
             if (this.his_is_open == 1) {
2986
             if (this.his_is_open == 1) {
2904
-              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2987
+              if(this.$store.getters.user.template_info.org_id!=10721){
2988
+                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2905
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2989
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2906
               } else {
2990
               } else {
2907
                 this.$nextTick(() => {
2991
                 this.$nextTick(() => {
2908
                   this.barActive = index
2992
                   this.barActive = index
2909
                 })
2993
                 })
2910
               }
2994
               }
2995
+              }else{
2996
+                this.$nextTick(() => {
2997
+                  this.barActive = index
2998
+                })
2999
+              }
3000
+            
2911
             } else {
3001
             } else {
2912
               this.$nextTick(() => {
3002
               this.$nextTick(() => {
2913
                 this.barActive = index
3003
                 this.barActive = index
2930
                 // this.requestDialysisRecord()
3020
                 // this.requestDialysisRecord()
2931
                 if (index == 4) {
3021
                 if (index == 4) {
2932
                   if (this.his_is_open == 1) {
3022
                   if (this.his_is_open == 1) {
2933
-                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3023
+                    if(this.$store.getters.user.template_info.org_id!=10721){
3024
+                      if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2934
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3025
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2935
                     } else {
3026
                     } else {
2936
                       this.$nextTick(() => {
3027
                       this.$nextTick(() => {
2937
                         this.barActive = index
3028
                         this.barActive = index
2938
                       })
3029
                       })
2939
                     }
3030
                     }
3031
+                    }else{
3032
+                      this.$nextTick(() => {
3033
+                        this.barActive = index
3034
+                      })
3035
+                    }
3036
+                   
2940
                   } else {
3037
                   } else {
2941
                     this.$nextTick(() => {
3038
                     this.$nextTick(() => {
2942
                       this.barActive = index
3039
                       this.barActive = index
2954
               this.requestDialysisRecord()
3051
               this.requestDialysisRecord()
2955
               if (index == 4) {
3052
               if (index == 4) {
2956
                 if (this.his_is_open == 1) {
3053
                 if (this.his_is_open == 1) {
2957
-                  if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3054
+                  if(this.$store.getters.user.template_info.org_id!=10721){
3055
+                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2958
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3056
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2959
                   } else {
3057
                   } else {
2960
                     this.$nextTick(() => {
3058
                     this.$nextTick(() => {
2961
                       this.barActive = index
3059
                       this.barActive = index
2962
                     })
3060
                     })
2963
                   }
3061
                   }
3062
+                  }else{
3063
+                    this.$nextTick(() => {
3064
+                      this.barActive = index
3065
+                    })
3066
+                  }
3067
+                 
2964
                 } else {
3068
                 } else {
2965
                   this.$nextTick(() => {
3069
                   this.$nextTick(() => {
2966
                     this.barActive = index
3070
                     this.barActive = index
2975
         } else {
3079
         } else {
2976
           if (index == 4) {
3080
           if (index == 4) {
2977
             if (this.his_is_open == 1) {
3081
             if (this.his_is_open == 1) {
2978
-              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3082
+              if(this.$store.getters.user.template_info.org_id!=10721){
3083
+                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
2979
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3084
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
2980
               } else {
3085
               } else {
2981
                 this.$nextTick(() => {
3086
                 this.$nextTick(() => {
2982
                   this.barActive = index
3087
                   this.barActive = index
2983
                 })
3088
                 })
2984
               }
3089
               }
3090
+              }else{
3091
+                this.$nextTick(() => {
3092
+                  this.barActive = index
3093
+                })
3094
+              }
3095
+             
2985
             } else {
3096
             } else {
2986
               this.$nextTick(() => {
3097
               this.$nextTick(() => {
2987
                 this.barActive = index
3098
                 this.barActive = index
3004
                 // this.requestDialysisRecord()
3115
                 // this.requestDialysisRecord()
3005
                 if (index == 4) {
3116
                 if (index == 4) {
3006
                   if (this.his_is_open == 1) {
3117
                   if (this.his_is_open == 1) {
3007
-                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3118
+                    if(this.$store.getters.user.template_info.org_id!=10721){
3119
+                      if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3008
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3120
                       this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3009
                     } else {
3121
                     } else {
3010
                       this.$nextTick(() => {
3122
                       this.$nextTick(() => {
3011
                         this.barActive = index
3123
                         this.barActive = index
3012
                       })
3124
                       })
3013
                     }
3125
                     }
3126
+                    }else{
3127
+                      this.$nextTick(() => {
3128
+                        this.barActive = index
3129
+                      })
3130
+                    }
3131
+                   
3014
                   } else {
3132
                   } else {
3015
                     this.$nextTick(() => {
3133
                     this.$nextTick(() => {
3016
                       this.barActive = index
3134
                       this.barActive = index
3028
               this.requestDialysisRecord()
3146
               this.requestDialysisRecord()
3029
               if (index == 4) {
3147
               if (index == 4) {
3030
                 if (this.his_is_open == 1) {
3148
                 if (this.his_is_open == 1) {
3031
-                  if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3149
+                  if(this.$store.getters.user.template_info.org_id!=10721){
3150
+                    if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3032
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3151
                     this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3033
                   } else {
3152
                   } else {
3034
                     this.$nextTick(() => {
3153
                     this.$nextTick(() => {
3035
                       this.barActive = index
3154
                       this.barActive = index
3036
                     })
3155
                     })
3037
                   }
3156
                   }
3157
+                  }else{
3158
+                    this.$nextTick(() => {
3159
+                      this.barActive = index
3160
+                    })
3161
+                  }
3162
+                 
3038
                 } else {
3163
                 } else {
3039
                   this.$nextTick(() => {
3164
                   this.$nextTick(() => {
3040
                     this.barActive = index
3165
                     this.barActive = index
3049
         } else {
3174
         } else {
3050
           if (index == 4) {
3175
           if (index == 4) {
3051
             if (this.his_is_open == 1) {
3176
             if (this.his_is_open == 1) {
3052
-              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3177
+              if(this.$store.getters.user.template_info.org_id!=10721){
3178
+                if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3053
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3179
                 this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3054
               } else {
3180
               } else {
3055
                 this.$nextTick(() => {
3181
                 this.$nextTick(() => {
3056
                   this.barActive = index
3182
                   this.barActive = index
3057
                 })
3183
                 })
3058
               }
3184
               }
3185
+              }else{
3186
+                this.$nextTick(() => {
3187
+                  this.barActive = index
3188
+                })
3189
+              }
3190
+             
3059
             } else {
3191
             } else {
3060
               this.$nextTick(() => {
3192
               this.$nextTick(() => {
3061
                 this.barActive = index
3193
                 this.barActive = index
3071
         // this.requestDialysisRecord()
3203
         // this.requestDialysisRecord()
3072
         if (index == 4) {
3204
         if (index == 4) {
3073
           if (this.his_is_open == 1) {
3205
           if (this.his_is_open == 1) {
3074
-            if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3206
+            if(this.$store.getters.user.template_info.org_id!=10721){
3207
+              if (this.$store.getters.user.user.user_type == 1 || this.$store.getters.user.user.user_type == 2) {
3075
               this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3208
               this.$router.push('/dialysis/hisOrder?id=' + this.$route.query.patient_id + '&record_date=' + parseTime(this.$route.query.date, '{y}-{m}-{d}'))
3076
             } else {
3209
             } else {
3077
               this.$nextTick(() => {
3210
               this.$nextTick(() => {
3078
                 this.barActive = index
3211
                 this.barActive = index
3079
               })
3212
               })
3080
             }
3213
             }
3214
+            }else{
3215
+              this.$nextTick(() => {
3216
+                this.barActive = index
3217
+              })
3218
+            }
3219
+          
3081
           } else {
3220
           } else {
3082
             this.$nextTick(() => {
3221
             this.$nextTick(() => {
3083
               this.barActive = index
3222
               this.barActive = index