Преглед на файлове

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

yq1 преди 7 месеца
родител
ревизия
24ce3c8c8f

+ 3 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Целия файл

1660
                           置换液的速度<br />(ml/h)
1660
                           置换液的速度<br />(ml/h)
1661
                           </td>
1661
                           </td>
1662
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1662
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1663
-                          <td width="50" v-if=" org_id ==0 || org_id ==10164">超滤率<br />(ml/h)</td>
1664
-                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683  && org_id!=0">超滤量<br />(ml)</td>
1663
+                          <td width="50" v-if=" org_id ==0 || org_id ==10489">超滤率<br />(ml/h)</td>
1664
+                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />(ml)</td>
1665
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1665
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1666
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1666
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1667
                           <td
1667
                           <td
1886
                                        : ""
1886
                                        : ""
1887
                                    }}
1887
                                    }}
1888
                          </td>
1888
                          </td>
1889
-                          <td v-if="org_id!=10683&& org_id!=0">
1889
+                          <td v-if="org_id!=10683">
1890
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1890
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1891
                                 {{
1891
                                 {{
1892
                               monitor_record.ultrafiltration_volume
1892
                               monitor_record.ultrafiltration_volume

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

970
           }
970
           }
971
 
971
 
972
           this.advices = response.data.data.advices;
972
           this.advices = response.data.data.advices;
973
+
974
+          
973
           this.monitors = response.data.data.monitors;
975
           this.monitors = response.data.data.monitors;
974
           console.log("透析监测", this.monitors);
976
           console.log("透析监测", this.monitors);
975
           this.summary = response.data.data.summary;
977
           this.summary = response.data.data.summary;
1148
           console.log(this.advice_groups);
1150
           console.log(this.advice_groups);
1149
           
1151
           
1150
           var advices = response.data.data.advices;
1152
           var advices = response.data.data.advices;
1153
+         
1154
+          var newDocArr= []
1155
+          for(let i=0;i<advices.length;i++){
1156
+            console.log("hhahahahh",advices[i].advice_name.indexOf("0.9%氯化钠注射液"))
1157
+            console.log("jjjjjjjjj",advices[i].delivery_way.indexOf("管路预冲"))
1158
+           if(advices[i].advice_name.indexOf("0.9%氯化钠注射液") ==-1 && advices[i].delivery_way.indexOf("管路预冲")==-1){
1159
+              newDocArr.push(advices[i])
1160
+           }
1161
+          }
1162
+          console.log("newDocArr----------------------",newDocArr)
1163
+        
1151
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1164
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1152
-          var tableAdvice = advices.concat(doctorAdevieInfo);
1153
-          console.log('tableAdvice',tableAdvice);
1165
+        
1166
+         
1167
+       
1168
+          var tableAdvice = newDocArr.concat(doctorAdevieInfo);
1169
+        
1154
           console.log('response.data.data', response.data.data)
1170
           console.log('response.data.data', response.data.data)
1155
           if (tableAdvice.length === 0) {
1171
           if (tableAdvice.length === 0) {
1156
             console.log('1111111',tableAdvice.length);
1172
             console.log('1111111',tableAdvice.length);

+ 8 - 8
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Целия файл

2098
               if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2098
               if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2099
                 if (prescription.pre_time == 0) {
2099
                 if (prescription.pre_time == 0) {
2100
                   if (this.schedule.schedule_type == 1) {
2100
                   if (this.schedule.schedule_type == 1) {
2101
-                    if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
2101
+                    if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2102
                       preTime = this.record_date + ' ' + '6:30'
2102
                       preTime = this.record_date + ' ' + '6:30'
2103
                     } else if(this.org_id == 10206 ){
2103
                     } else if(this.org_id == 10206 ){
2104
                       preTime = this.record_date + ' ' + '6:00'
2104
                       preTime = this.record_date + ' ' + '6:00'
2293
                 var preTime = nowTime
2293
                 var preTime = nowTime
2294
                 if (this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
2294
                 if (this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
2295
                   if (this.schedule.schedule_type == 1) {
2295
                   if (this.schedule.schedule_type == 1) {
2296
-                    if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 0) {
2296
+                    if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2297
                       preTime = this.record_date + ' ' + '6:30'
2297
                       preTime = this.record_date + ' ' + '6:30'
2298
                     } else if(this.org_id == 10206  ) {
2298
                     } else if(this.org_id == 10206  ) {
2299
                       preTime = this.record_date+ ' ' + '6:00'
2299
                       preTime = this.record_date+ ' ' + '6:00'
2672
                     if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2672
                     if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2673
                       if (prescription.pre_time == 0) {
2673
                       if (prescription.pre_time == 0) {
2674
                         if (this.schedule.schedule_type == 1) {
2674
                         if (this.schedule.schedule_type == 1) {
2675
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
2675
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2676
                             preTime = this.record_date + ' ' + '6:30'
2676
                             preTime = this.record_date + ' ' + '6:30'
2677
                           } else if(this.org_id == 10206 ){
2677
                           } else if(this.org_id == 10206 ){
2678
                             preTime = this.record_date + ' ' + '6:00'
2678
                             preTime = this.record_date + ' ' + '6:00'
2860
                       // var preTime = ''
2860
                       // var preTime = ''
2861
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2861
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2862
                         if (this.schedule.schedule_type == 1) {
2862
                         if (this.schedule.schedule_type == 1) {
2863
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
2863
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2864
                             preTime = this.record_date + ' ' + '6:30'
2864
                             preTime = this.record_date + ' ' + '6:30'
2865
                           } else if(this.org_id == 10206){
2865
                           } else if(this.org_id == 10206){
2866
                             preTime = this.record_date + ' ' + '6:00'
2866
                             preTime = this.record_date + ' ' + '6:00'
4558
                     if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
4558
                     if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
4559
                       if (prescription.pre_time == 0) {
4559
                       if (prescription.pre_time == 0) {
4560
                         if (this.schedule.schedule_type == 1) {
4560
                         if (this.schedule.schedule_type == 1) {
4561
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
4561
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4562
                             preTime = this.record_date + ' ' + '6:30'
4562
                             preTime = this.record_date + ' ' + '6:30'
4563
                           } else if(this.org_id == 10206){
4563
                           } else if(this.org_id == 10206){
4564
 
4564
 
4749
                       var preTime = nowTime
4749
                       var preTime = nowTime
4750
                       if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
4750
                       if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
4751
                         if (this.schedule.schedule_type == 1) {
4751
                         if (this.schedule.schedule_type == 1) {
4752
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
4752
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4753
                             preTime = this.record_date + ' ' + '6:30'
4753
                             preTime = this.record_date + ' ' + '6:30'
4754
                           } else if(this.org_id == 10206){
4754
                           } else if(this.org_id == 10206){
4755
                             preTime = this.record_date+ ' ' + '6:00'
4755
                             preTime = this.record_date+ ' ' + '6:00'
5185
                       if (prescription.pre_time == 0) {
5185
                       if (prescription.pre_time == 0) {
5186
                         // preTime = nowTime
5186
                         // preTime = nowTime
5187
                         if (this.schedule.schedule_type == 1) {
5187
                         if (this.schedule.schedule_type == 1) {
5188
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
5188
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5189
                             preTime = this.record_date + ' ' + '6:30'
5189
                             preTime = this.record_date + ' ' + '6:30'
5190
                           } else if(this.org_id == 10206){
5190
                           } else if(this.org_id == 10206){
5191
                             preTime = this.record_date + ' ' + '6:00'
5191
                             preTime = this.record_date + ' ' + '6:00'
5373
                       // var preTime = ''
5373
                       // var preTime = ''
5374
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
5374
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
5375
                         if (this.schedule.schedule_type == 1) {
5375
                         if (this.schedule.schedule_type == 1) {
5376
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
5376
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5377
                             preTime = this.record_date + ' ' + '6:30'
5377
                             preTime = this.record_date + ' ' + '6:30'
5378
                           } else if(this.org_id == 10206){
5378
                           } else if(this.org_id == 10206){
5379
                             preTime = this.record_date + ' ' + '6:00'
5379
                             preTime = this.record_date + ' ' + '6:00'

+ 13 - 13
src/xt_permission.js Целия файл

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))