Browse Source

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

陈少旭 2 months ago
parent
commit
2ff4b2c9d6

+ 73 - 1
src/api/patient.js View File

@@ -1403,4 +1403,76 @@ export function getPatientRescueRecordList(id,patient_id,params){
1403 1403
     method:"get",
1404 1404
     params:params
1405 1405
   })
1406
-}
1406
+}
1407
+
1408
+export function getMonitorSearchList(params){
1409
+
1410
+  return request({
1411
+    url:"/api/patient/getmonitorsearchlist",
1412
+    method:"get",
1413
+    params:params,
1414
+  })
1415
+}
1416
+
1417
+export function getSummarySearchList(params){
1418
+
1419
+  return request({
1420
+    url:"/api/patient/getsummarysearchlist",
1421
+    method:"get",
1422
+    params:params
1423
+  })
1424
+}
1425
+
1426
+export function getPatientDryWeightList(params){
1427
+
1428
+  return request({
1429
+    url:"/api/patient/getpatientdryweightlist",
1430
+    method:"Get",
1431
+    params:params
1432
+  })
1433
+}
1434
+
1435
+export function getDilaysisSystemList(params){
1436
+   
1437
+  return request({
1438
+    url:"/api/patient/getdialysissystemlist",
1439
+    method:"Get",
1440
+    params:params,
1441
+  })
1442
+}
1443
+
1444
+export function getPatientAdviceList(params){
1445
+
1446
+  return request({
1447
+    url:"/api/patient/getpatientadvicelist",
1448
+    method:"Get",
1449
+    params:params,
1450
+  })
1451
+}
1452
+
1453
+export function getPatientInspectionList(params){
1454
+
1455
+  return request({
1456
+    url:"/api/patient/getpatientinspectionlist",
1457
+    method:"get",
1458
+    params:params
1459
+  })
1460
+}
1461
+
1462
+export function getInspectionByProjectId(params){
1463
+ 
1464
+  return request({
1465
+    url:"/api/patient/getinspectionbyprojectid",
1466
+    method:"get",
1467
+    params:params
1468
+  })
1469
+}
1470
+
1471
+// export function getNewInspetingList(params){
1472
+
1473
+//   return request({
1474
+//     url:"/api/patient/getnewinspetionlist",
1475
+//     method:"get",
1476
+//     params:params
1477
+//   })
1478
+// }

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue View File

@@ -185,7 +185,7 @@
185 185
                           {{
186 186
                             record.assessment_before_dislysis.pulse_frequency
187 187
                               ? record.assessment_before_dislysis.pulse_frequency
188
-                              : ""
188
+                              : "拒测"
189 189
                           }}
190 190
                         </div>
191 191
                         次/分
@@ -1036,7 +1036,7 @@
1036 1036
                           {{
1037 1037
                             record.assessment_after_dislysis.pulse_frequency
1038 1038
                               ? record.assessment_after_dislysis.pulse_frequency
1039
-                              : ""
1039
+                              : "拒测"
1040 1040
                           }}
1041 1041
                         </div>
1042 1042
                         次/分

+ 101 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue View File

@@ -879,7 +879,106 @@
879 879
                               />
880 880
                             </td>
881 881
                           </tr>
882
-                          <template v-if="record.advices.length<3">
882
+                          <tr v-for="(advice, advice_index) in record.advices"
883
+                            :key="advice_index"
884
+                          >
885
+                            <td height="35px">
886
+                              <span v-if="advice[0].start_time">
887
+                                {{ getTime(advice[0].start_time, "{h}:{i}") }}
888
+                              </span>
889
+                            </td>
890
+
891
+                            <td
892
+                              height="35px"
893
+                              colspan="2"
894
+                              class="advice-name"
895
+                              style="padding-left: 7px"
896
+
897
+                            >
898
+                             
899
+                              <span>{{ advice[0].advice_name }}</span>
900
+
901
+                              <span v-if="advice[0].advice_desc">
902
+                                ({{ advice[0].advice_desc
903
+                                }}{{ advice[0].drug_spec_unit }} )
904
+                              </span>
905
+
906
+                              <span v-if="advice[0].prescribing_number"
907
+                                >&nbsp;{{ advice[0].prescribing_number
908
+                                }}{{ advice[0].prescribing_number_unit }}</span
909
+                              >
910
+                              <span v-if="advice[0].single_dose != 0">
911
+                                {{ advice[0].single_dose
912
+                                }}{{ advice[0].single_dose_unit }}</span
913
+                              >
914
+
915
+                              <span v-if="advice[0].parent_id == 0">{{
916
+                                advice[0].delivery_way
917
+                              }}</span>
918
+                              <span v-if="advice[0].parent_id == 0">{{
919
+                                advice[0].execution_frequency
920
+                              }}</span>
921
+                              <span
922
+                                v-if="
923
+                                  advice[0].parent_id == 0 &&
924
+                                  advice[0].remark.length > 0
925
+                                "
926
+                                >({{ advice[0].remark }})</span>
927
+                              <!-- <span v-if="advice.child.length >1"> + </span> -->
928
+                            
929
+                            </td>
930
+
931
+                            <td height="35px">
932
+                              <span
933
+                                v-if="
934
+                                  setAdminUserES(advice[0], 'advice_doctor') ==
935
+                                  ''
936
+                                "
937
+                                >{{
938
+                                  getAdminUser(advice[0], "advice_doctor")
939
+                                }}</span
940
+                              >
941
+                              <img
942
+                                class="es-img"
943
+                                :src="
944
+                                  setAdminUserES(advice[0], 'advice_doctor')
945
+                                "
946
+                                alt=""
947
+                                srcset=""
948
+                                v-else
949
+                                style="height: 30px"
950
+                              />
951
+                            </td>
952
+                            <td height="35px">
953
+                              <span v-if="advice[0].execution_time">{{
954
+                                getTime(advice[0].execution_time, " {h}:{i}")
955
+                              }}</span>
956
+                            </td>
957
+                            <td height="35px">
958
+                              <span
959
+                                v-if="
960
+                                  setAdminUserES(
961
+                                    advice[0],
962
+                                    'execution_staff'
963
+                                  ) == ''
964
+                                "
965
+                                >{{
966
+                                  getAdminUser(advice[0], "execution_staff")
967
+                                }}</span
968
+                              >
969
+                              <img
970
+                                class="es-img"
971
+                                :src="
972
+                                  setAdminUserES(advice[0], 'execution_staff')
973
+                                "
974
+                                alt=""
975
+                                srcset=""
976
+                                v-else
977
+                                style="height: 30px"
978
+                              />
979
+                            </td>
980
+                          </tr>
981
+                          <!-- <template v-if="record.advices.length<3">
883 982
                             <tr v-for="item in 3">
884 983
                               <td height="35px"></td>
885 984
                               <td colspan="2"></td>
@@ -887,7 +986,7 @@
887 986
                               <td></td>
888 987
                               <td></td>
889 988
                             </tr>
890
-                          </template>
989
+                          </template> -->
891 990
 
892 991
                         </template>
893 992
                       </tbody>

+ 44 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue View File

@@ -2033,7 +2033,8 @@
2033 2033
                 年龄:
2034 2034
                 <div class="under_line" style="width: 30px; text-align: center">
2035 2035
                   <!-- {{ record.patient.age }} -->
2036
-                  {{ getAge(record.patient) }}
2036
+                  <!-- {{ getAge(record.patient) }} -->
2037
+                  {{ calculateAge(record.patient.id_card_no,record.schedule_date) }}
2037 2038
                 </div>
2038 2039
2039 2040
               </div>
@@ -3454,6 +3455,48 @@ export default {
3454 3455
       });
3455 3456
   },
3456 3457
   methods: {
3458
+  
3459
+    getTimeOne(val) {
3460
+      return uParseTime(val, "{y}");
3461
+    },
3462
+    getTimeTwo(val) {
3463
+      return uParseTime(val, "{m}");
3464
+    },
3465
+    getTimeThree(val) {
3466
+      return uParseTime(val, "{h}");
3467
+    },
3468
+    calculateAge(idNumber,created_time) {
3469
+    var year = this.getTimeOne(created_time)
3470
+
3471
+    var month = this.getTimeTwo(created_time)
3472
+
3473
+    var day = this.getTimeThree(created_time)
3474
+    console.log("start_time=====",year)
3475
+    // 假设身份证号码是18位,且生日在第7位到第14位
3476
+    const birthYear = parseInt(idNumber.substring(6, 10), 10);
3477
+    const birthMonth = parseInt(idNumber.substring(10, 12), 10);
3478
+    const birthDay = parseInt(idNumber.substring(12, 14), 10);
3479
+
3480
+    const today = new Date();
3481
+    // console.log("today============",today)
3482
+    var ageYear = year - birthYear;
3483
+    let ageMonth = month - birthMonth; // 月份是从0开始的
3484
+    let ageDay = day - birthDay;
3485
+
3486
+    // 调整月份和日期,以便于正确计算
3487
+      if (ageDay < 0) {
3488
+          ageMonth -= 1;
3489
+          // 获取上个月的天数
3490
+          const pastMonthDay = new Date(year,month, 0).getDate();
3491
+          ageDay += pastMonthDay;
3492
+      }
3493
+      if (ageMonth < 0) {
3494
+          ageYear -= 1;
3495
+          ageMonth += 12;
3496
+      }
3497
+
3498
+     return ageYear
3499
+    },
3457 3500
     getDisplaceLiquiPart: function (val) {
3458 3501
       let displace_liqui_part_name = "/";
3459 3502
       const displace_liqui_part = this.displaceLiquiPartOptions;

+ 21 - 18
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -358,24 +358,7 @@
358 358
                         </el-form-item>
359 359
                     </el-col>
360 360
 
361
-                    <el-col :span="8" v-if="isShows('追加肝素量')" >
362
-                       <el-form-item v-if="dialysisPrescription.anticoagulant == 2"
363
-                       :label="'追加肝素量(mg) : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
364
-                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
365
-                                          v-model="dialysisPrescription.add_amount"></el-input>
366
-                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
367
-                                          v-model="dialysisPrescription.add_amount"></el-input>
368
-                            </el-form-item>
369
-
370
-                            <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 1"
371
-                            :label="'追加肝素量(' + anticoagulant.shouji_unit + ') : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
372
-                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
373
-                                          v-model="dialysisPrescription.add_amount"></el-input>
374
-                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
375
-                                          v-model="dialysisPrescription.add_amount"></el-input>
376
-                            </el-form-item>
377
-                    </el-col>
378
-
361
+                 
379 362
                   <el-col :span="8" v-if="isShows('减肝素量')">
380 363
                        <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'减肝素量(mg) : '" prop="calculateAnticoagulantZL" :rules="isCheckmust('减肝素量')">
381 364
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
@@ -500,6 +483,26 @@
500 483
                     </el-col>
501 484
 
502 485
 
486
+                    <el-col :span="8" v-if="isShows('追加肝素量')" >
487
+                       <el-form-item v-if="dialysisPrescription.anticoagulant == 2"
488
+                       :label="'追加肝素量(mg) : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
489
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
490
+                                          v-model="dialysisPrescription.add_amount"></el-input>
491
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
492
+                                          v-model="dialysisPrescription.add_amount"></el-input>
493
+                            </el-form-item>
494
+
495
+                            <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 1"
496
+                            :label="'追加肝素量(' + anticoagulant.shouji_unit + ') : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
497
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
498
+                                          v-model="dialysisPrescription.add_amount"></el-input>
499
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
500
+                                          v-model="dialysisPrescription.add_amount"></el-input>
501
+                            </el-form-item>
502
+                    </el-col>
503
+
504
+
505
+
503 506
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
504 507
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10510 && this.$store.getters.xt_user.template_info.org_id != 10480">
505 508
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 ">

+ 44 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

@@ -48,6 +48,7 @@
48 48
             年龄:
49 49
             <div class="under_line" style="width: 30px; text-align: center">
50 50
               {{ getAge(patientInfo) }}
51
+              <!-- {{ calculateAge(patientInfo.id_card_no,xtdate) }} -->
51 52
             </div>
52 53
53 54
           </div>
@@ -1711,6 +1712,7 @@
1711 1712
             <div class="inline_block" style="margin-left: 10px">
1712 1713
               年龄:
1713 1714
               <div class="under_line" style="width: 30px; text-align: center">
1715
+                <!-- {{ calculateAge(patientInfo.id_card_no,xtdate) }} -->
1714 1716
                 {{ getAge(patientInfo) }}
1715 1717
               </div>
1716 1718
@@ -3927,6 +3929,48 @@ export default {
3927 3929
         return age
3928 3930
       }
3929 3931
     },
3932
+    
3933
+    getTimeOne(val) {
3934
+      return uParseTime(val, "{y}");
3935
+    },
3936
+    getTimeTwo(val) {
3937
+      return uParseTime(val, "{m}");
3938
+    },
3939
+    getTimeThree(val) {
3940
+      return uParseTime(val, "{h}");
3941
+    },
3942
+    calculateAge(idNumber,created_time) {
3943
+    var year = this.getTimeOne(created_time)
3944
+
3945
+    var month = this.getTimeTwo(created_time)
3946
+
3947
+    var day = this.getTimeThree(created_time)
3948
+    console.log("start_time=====",year)
3949
+    // 假设身份证号码是18位,且生日在第7位到第14位
3950
+    const birthYear = parseInt(idNumber.substring(6, 10), 10);
3951
+    const birthMonth = parseInt(idNumber.substring(10, 12), 10);
3952
+    const birthDay = parseInt(idNumber.substring(12, 14), 10);
3953
+
3954
+    const today = new Date();
3955
+    // console.log("today============",today)
3956
+    var ageYear = year - birthYear;
3957
+    let ageMonth = month - birthMonth; // 月份是从0开始的
3958
+    let ageDay = day - birthDay;
3959
+
3960
+    // 调整月份和日期,以便于正确计算
3961
+      if (ageDay < 0) {
3962
+          ageMonth -= 1;
3963
+          // 获取上个月的天数
3964
+          const pastMonthDay = new Date(year,month, 0).getDate();
3965
+          ageDay += pastMonthDay;
3966
+      }
3967
+      if (ageMonth < 0) {
3968
+          ageYear -= 1;
3969
+          ageMonth += 12;
3970
+      }
3971
+
3972
+     return ageYear
3973
+    },
3930 3974
     newAdviceGroupObject: function () {
3931 3975
       return Object.assign(
3932 3976
         {},

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

@@ -172,7 +172,7 @@
172 172
                         {{
173 173
                           predialysis.pulse_frequency
174 174
                             ? predialysis.pulse_frequency
175
-                            : ""
175
+                            : "拒测"
176 176
                         }}
177 177
                       </div>
178 178
                       次/分
@@ -876,7 +876,7 @@
876 876
                         {{
877 877
                           afterdialysis.pulse_frequency
878 878
                             ? afterdialysis.pulse_frequency
879
-                            : ""
879
+                            : "拒测"
880 880
                         }}
881 881
                       </div>
882 882
                       次/分

+ 24 - 21
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue View File

@@ -753,8 +753,7 @@
753 753
                         <td style="font-size: 16px" width="10%">执行人员</td>
754 754
                       </tr>
755 755
 
756
-                      <tr
757
-                        v-for="(advice, advice_index) in doctor_advices"
756
+                      <tr v-for="(advice, advice_index) in doctor_advices"
758 757
                         :key="advice_index"
759 758
                       >
760 759
                         <td height="32px">
@@ -1368,7 +1367,7 @@
1368 1367
                       治疗医生:
1369 1368
                       <div class="under_line"
1370 1369
                         style="width: 80px; text-align: center"
1371
-                      > 
1370
+                      >
1372 1371
                       <!-- {{ getAdminUser(prescription.creater) }} -->
1373 1372
                         <span style="height: 30px; display: inline-block"
1374 1373
                           v-if=" setAdminUserES(prescription.creater) == ''"
@@ -1998,7 +1997,7 @@ export default {
1998 1997
         return "";
1999 1998
       }
2000 1999
       for (let i = 0; i < this.adminUser.length; i++) {
2001
-        if (this.adminUser[i].id == id) {        
2000
+        if (this.adminUser[i].id == id) {
2002 2001
           return this.adminUser[i].name;
2003 2002
         }
2004 2003
       }
@@ -2352,10 +2351,12 @@ export default {
2352 2351
         this.loading = false;
2353 2352
         this.doctor_advices =
2354 2353
           response.data.data.advices == null ? [] : response.data.data.advices;
2354
+          const advices = response.data.data.doctorAdevieInfo
2355 2355
         for (let index = 0; index < this.doctor_advices.length; index++) {
2356 2356
           this.doctor_advices[index]["isShow"] = 2;
2357 2357
         }
2358
-        console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
2358
+        this.doctor_advices = this.doctor_advices.concat(advices)
2359
+        console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices,advices)
2359 2360
 
2360 2361
         if(this.org_id == 10489 ){
2361 2362
           let projectsOne = [];
@@ -2560,27 +2561,29 @@ export default {
2560 2561
           }
2561 2562
           this.doctor_advices = []
2562 2563
           this.doctor_advices = docArr
2564
+          console.log('222222222222',docArr);
2565
+          
2563 2566
         }
2564 2567
 
2565
-        if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2566
-            var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2567
-            this.print_length = 6;
2568
-
2569
-            for (let index = 0; index < nl; index++) {
2570
-              if (
2571
-                this.projectsOne[index] == undefined ||
2572
-                this.projectsOne[index].length <= 0
2573
-              ) {
2574
-                this.projectsOne.push([]);
2575
-              } else {
2576
-                continue;
2577
-              }
2578
-            }
2579
-          }
2568
+        // if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2569
+        //     var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2570
+        //     this.print_length = 6;
2571
+
2572
+        //     for (let index = 0; index < nl; index++) {
2573
+        //       if (
2574
+        //         this.projectsOne[index] == undefined ||
2575
+        //         this.projectsOne[index].length <= 0
2576
+        //       ) {
2577
+        //         this.projectsOne.push([]);
2578
+        //       } else {
2579
+        //         continue;
2580
+        //       }
2581
+        //     }
2582
+        //   }
2580 2583
 
2581 2584
 
2582 2585
         this.totollength = this.doctor_advices.length + this.monitors.length;
2583
-        console.log("this.totollength",this.totollength)
2586
+        console.log("this.totollength",this.totollength,this.doctor_advices)
2584 2587
 
2585 2588
 
2586 2589
         if (this.totollength > 18) {

+ 4 - 3
src/xt_pages/outpatientCharges/invoiceTemplate/printthirteen.vue View File

@@ -7,8 +7,8 @@
7 7
       <div style="display: flex; margin: 15px 0 5px 0;">
8 8
         <div style="flex: 1.1;">业务流水号:{{ list.order_number }}</div>
9 9
         <div style="flex: 0.9;">医疗机构类型:</div>
10
-        <div style="flex: 1;">医院国家编码:H32092103007</div>
11
-
10
+        <div style="flex: 1;" v-if="org_id == 10188">医院国家编码:H32092103007</div>
11
+        <div style="flex: 1;" v-if="org_id ==10217">医院国家编码:H32090403023</div>
12 12
       </div>
13 13
       <div style="display: flex;">
14 14
         <!-- <div style="flex:1;">医生:{{ doctor_info.user_name }}</div>
@@ -126,7 +126,8 @@
126 126
         <!-- <div style="flex: 1;">No.{{list.order.fa_piao_number}}</div> -->
127 127
       </div>
128 128
       <div style="display: flex;">
129
-        <div style="flex: 1.5;">收款单位(章):{{ org_name }}</div>
129
+        <div style="flex: 1.5;" v-if="org_id==10188">收款单位(章):{{ org_name }}</div>
130
+        <div style="flex: 1.5;" v-if="org_id==10217">收款单位(章):大丰燕舞血液透析中心</div>
130 131
         <div style="flex: 0.7;">收费员:{{ paramsObj.chargeName }}</div>
131 132
         <div style="flex: 1;">
132 133
           <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>

+ 5 - 2
src/xt_pages/outpatientCharges/statementTemplate/printSixtheen.vue View File

@@ -10,6 +10,9 @@
10 10
             <div style="flex: 1;">健康ID:{{ info.patient.dialysis_no }}</div>
11 11
             <div style="flex: 1;">门诊单据号:{{info.id}}</div>
12 12
         </div>
13
+        <div style="border-bottom:1px solid black;padding: 5px;">
14
+          身份证号:{{ info.patient.id_card_no }}
15
+        </div>
13 16
         <div style="border-bottom:1px solid black;display: flex;padding: 5px;">
14 17
             <div style="flex: 1;">医保编码:</div>
15 18
             <div style="flex: 1;">刷卡前余额:</div>
@@ -43,11 +46,11 @@
43 46
         </div>
44 47
         <div style="">
45 48
           <div style="display: flex;padding: 5px;line-height: 30px;">
49
+            <div style="flex: 1;">基金支付总额:{{ info.new_order.fund_pay_sumamt }}</div>
46 50
             <div style="flex: 1;">基本统筹:{{info.hifp_pay}}</div>
47
-            <div style="flex: 1;">公务员补助:</div>
48 51
             <div style="flex: 1;">大病基金支付:{{info.hifmi_pay}}</div>
52
+            <div style="flex: 1;">医疗救助基金支付:{{info.maf_pay}}</div>
49 53
             <div style="flex: 1;">个人账户支付:{{info.acct_pay}}</div>
50
-            <div style="flex: 1;">医保个人现金:{{info.fund_pay_sumamt}}</div>
51 54
           </div>
52 55
           <div style="display: flex;padding: 5px;line-height: 30px;">
53 56
             <div style="flex: 2;">费用总额(大写):{{getmoney(info.medfee_sumamt)}}</div>

+ 8 - 4
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -104,8 +104,6 @@
104 104
         </el-table-column>
105 105
 
106 106
 
107
-
108
-
109 107
           <el-table-column align="center" prop="item_name" label="结算类型">
110 108
               <template slot-scope="scope">
111 109
                 <div v-if="scope.row.is_medicine_insurance == 0">自费</div>
@@ -392,7 +390,7 @@
392 390
       </el-table-column>
393 391
 
394 392
 
395
-      <el-table-column align="center" prop="item_name" label="储值卡说明">
393
+      <el-table-column align="center" prop="card_desc" label="储值卡说明">
396 394
         <template slot-scope="scope">{{scope.row.card_desc}}</template>
397 395
         <!--        <template slot-scope="scope" style="width: 100px">-->
398 396
         <!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
@@ -691,7 +689,13 @@ import { uParseTime } from '@/utils/tools'
691 689
             return
692 690
           }
693 691
           const values = data.map(item => Number(item[column.property]))
694
-          if (column.property === 'total' || column.property === 'medfee_sumamt'  || column.property === 'fund_pay_sumamt'  || column.property === 'acct_pay'  || column.property === 'maf_pay'  || column.property === 'psn_cash_pay'  || column.property === 'hifp_pay'  || column.property === 'hifob_pay' ||  column.property === 'hifes_pay' || column.property === 'hifmi_pay' || column.property === 'oth_pay' || column.property === 'cvlserv_pay' || column.property === 'wechat_pay' || column.property === 'ali_pay' || column.property === 'band_card_pay' || column.property === 'jifen_pay' || column.property === 'cash_pay') {
692
+          if (column.property === 'total' || column.property === 'medfee_sumamt'  || column.property === 'fund_pay_sumamt'  || 
693
+              column.property === 'acct_pay'  || column.property === 'maf_pay'  || column.property === 'psn_cash_pay'  || 
694
+              column.property === 'hifp_pay'  || column.property === 'hifob_pay' ||  column.property === 'hifes_pay' || 
695
+              column.property === 'hifmi_pay' || column.property === 'oth_pay' || column.property === 'cvlserv_pay' || 
696
+              column.property === 'wechat_pay' || column.property === 'ali_pay' || column.property === 'band_card_pay' || 
697
+              column.property === 'jifen_pay' || column.property === 'cash_pay' || column.property ==='card_desc'
698
+          ) {
695 699
             sums[index] = values.reduce((prev, curr) => {
696 700
               const value = Number(curr)
697 701
               if (!isNaN(value)) {

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

@@ -916,7 +916,7 @@ export default {
916 916
             }
917 917
           }
918 918
 
919
-          if(this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id == 10610 ||  this.$store.getters.xt_user.org_id == 10537  ||  this.$store.getters.xt_user.org_id == 10480 ) {
919
+          if(this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id == 10610 ||  this.$store.getters.xt_user.org_id == 10537  ||  this.$store.getters.xt_user.org_id == 10480 ) {
920 920
             for (let i = 0; i < array.length; i++) {
921 921
               if (array[i].drug_code.length == 0) {
922 922
                 this.$message.error(array[i].drug_name + " 药品溯源码不能为空");

+ 3 - 6
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

@@ -294,7 +294,7 @@ export default {
294 294
                   list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
295 295
                }else if(this.org_id == 0 || this.org_id == 10644){
296 296
                  list[i].stock_in_price = "/"
297
-                list[i].stockMoney = (this.getAllStockInPrice(list[i].StWarehousingInfoTwo) + this.getAllStockInFlowPrice(list[i].WareStartInStockFlow) - this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)).toFixed(2)
297
+                list[i].stockMoney = this.getAllStockInPrice(list[i].StWarehousingInfoTwo) + this.getAllStockInFlowPrice(list[i].WareStartInStockFlow) - this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)
298 298
                 
299 299
                }else{
300 300
                 list[i].stock_in_price = "/"
@@ -310,7 +310,7 @@ export default {
310 310
                 list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
311 311
               }else if(this.org_id == 0 || this.org_id == 10644){
312 312
                 list[i].addStockMoney = "/"
313
-                list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit).toFixed(2)
313
+                list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit)
314 314
               } else{
315 315
                list[i].addStockMoney = "/"
316 316
                list[i].saleStockMoney = "/"
@@ -338,9 +338,6 @@ export default {
338 338
               if(this.org_id == 10265){
339 339
                 list[i].overStock = list[i].GoodEndFlowInfo.over_count
340 340
               }else{
341
-                // console.log("期初",list[i].stockIn)
342
-                // console.log("增加",list[i].stockAdd)
343
-                // console.log("出库",list[i].outStock)
344 341
                 if((list[i].stockIn + list[i].stockAdd - list[i].outStock)>0 ){
345 342
                   list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
346 343
                 }else{
@@ -760,7 +757,7 @@ export default {
760 757
     all_count_price = count_price + count_one_price
761 758
 
762 759
     if(all_count_price > 0 ){
763
-      return all_count_price
760
+      return all_count_price.toFixed(2)
764 761
     }else{
765 762
       return 0
766 763
     }

+ 14 - 8
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue View File

@@ -189,7 +189,7 @@ export default {
189 189
                       list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
190 190
                     }else if(this.org_id == 0 || this.org_id == 10644){
191 191
                       list[i].stock_in_price = "/"
192
-                      list[i].stockMoney = (this.getAllStockInPrice(list[i].StWarehousingInfoTwo) + this.getAllStockInFlowPrice(list[i].WareStartInStockFlow) - this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)).toFixed(2)
192
+                      list[i].stockMoney = (this.getAllStockInPrice(list[i].StWarehousingInfoTwo) + this.getAllStockInFlowPrice(list[i].WareStartInStockFlow) - this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
193 193
                     } else{
194 194
                       list[i].stock_in_price = "/"
195 195
                       list[i].stockMoney = "/"
@@ -203,7 +203,7 @@ export default {
203 203
                         list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
204 204
                     }else if(this.org_id == 0 || this.org_id == 10644){
205 205
                       list[i].addStockMoney = "/"
206
-                      list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit).toFixed(2)
206
+                      list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit)
207 207
                      
208 208
                     }else{
209 209
                         list[i].addStockMoney = "/"
@@ -218,8 +218,11 @@ export default {
218 218
                       list[i].stockOutprice = list[i].packing_price
219 219
                       list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
220 220
                     }else if(this.org_id == 0 || this.org_id == 10644){
221
-                      list[i].addStockMoney = "/"
222
-                      list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit).toFixed(2)
221
+                      list[i].stockOutprice = "/"
222
+                      list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
223
+                      if(list[i].saleOutMoney == "NaN"){
224
+                        list[i].saleOutMoney = ""
225
+                      }
223 226
                       
224 227
                     }else{
225 228
                       list[i].stockOutprice = "/"
@@ -236,10 +239,13 @@ export default {
236 239
                       list[i].overPrice = list[i].packing_price
237 240
                       list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
238 241
                      }else if(this.org_id == 0 || this.org_id == 10644){
239
-                      list[i].stockOutprice = "/"
240
-                      list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
241
-                      if(list[i].saleOutMoney == "NaN"){
242
-                        list[i].saleOutMoney = ""
242
+                      list[i].overPrice = "/"
243
+                      console.log("stockMoney-00000000000000",list[i].stockMoney)
244
+                      console.log("saleStockMoney-00000000000000",list[i].saleStockMoney)
245
+                      console.log("saleOutMoney-00000000000000",list[i].saleOutMoney)
246
+                      list[i].overMoney = (parseFloat(list[i].stockMoney)  + parseFloat(list[i].saleStockMoney) - parseFloat(list[i].saleOutMoney)).toFixed(2)
247
+                      if(list[i].overMoney == "NaN"){
248
+                        list[i].overMoney = ""
243 249
                       }
244 250
                      }else{
245 251
                         list[i].overPrice = "/"

+ 33 - 0
src/xt_pages/user/components/PatientDetail.vue View File

@@ -1030,6 +1030,22 @@
1030 1030
        </el-col>
1031 1031
       </el-row>
1032 1032
 
1033
+      <el-row>
1034
+        <el-col>
1035
+            <el-form-item label="病历图册:" prop="gallery">
1036
+             <div style="display: flex;">
1037
+              <div v-for="item in fileList" style="margin-left: 10px;">
1038
+                <el-image 
1039
+                  style="width: 100px; height: 100px"
1040
+                  :src="item" 
1041
+                  :preview-src-list="fileList">
1042
+               </el-image>
1043
+              </div>
1044
+             </div>
1045
+            </el-form-item>
1046
+        </el-col>
1047
+      </el-row>
1048
+
1033 1049
     </el-form>
1034 1050
     <!-- 打印预览 style="display: none"-->
1035 1051
     <div style="display: none">
@@ -1669,6 +1685,7 @@ const defaultForm = {
1669 1685
   print_date:"",
1670 1686
   famality_record:"",
1671 1687
   patient_type:"",
1688
+  org_logo:"",
1672 1689
 };
1673 1690
 
1674 1691
 export default {
@@ -1776,6 +1793,8 @@ export default {
1776 1793
       liuAddresslist:[],
1777 1794
       patientVascularAccessOne:{},
1778 1795
       patientType: [{ value: 1, label: "血透患者" }, { value: 2, label: "慢病患者" }, { value: 3, label: "会员患者" },{ value: 4, label: "腹透患者" },{ value: 5, label: "CKD患者" },{ value: 6, label: "其他患者" }],
1796
+      fileList:[],
1797
+      guploading:false,
1779 1798
     };
1780 1799
   },
1781 1800
   computed: {
@@ -1916,6 +1935,7 @@ export default {
1916 1935
         }
1917 1936
       });
1918 1937
     },
1938
+   
1919 1939
     fetchPatient(id) {
1920 1940
       fetchPatient(id)
1921 1941
         .then((response) => {
@@ -2062,6 +2082,19 @@ export default {
2062 2082
             this.form.tell_phone = patietInfo.tell_phone;
2063 2083
             this.form.dialysis_age = patietInfo.dialysis_age;
2064 2084
             this.form.record_number = patietInfo.record_number
2085
+            this.fileList = []
2086
+            var arrNew = []
2087
+            if(patietInfo.org_logo!=""){
2088
+              arrNew = patietInfo.org_logo.split(",")
2089
+            }
2090
+            if(arrNew!=null){
2091
+              for(let i=0;i<arrNew.length;i++){
2092
+                if(arrNew[i]!=""){
2093
+                  this.fileList.push(arrNew[i])
2094
+                }
2095
+              }
2096
+            }
2097
+            console.log("----------------------------",this.fileList)
2065 2098
             if (patietInfo.expense_kind == 0) {
2066 2099
               this.form.expense_kind = "";
2067 2100
             } else {

+ 146 - 6
src/xt_pages/user/components/PatientForm.vue View File

@@ -1075,6 +1075,26 @@
1075 1075
           </el-form-item>
1076 1076
        </el-col>
1077 1077
       </el-row>
1078
+
1079
+      <el-row>
1080
+        <el-col>
1081
+            <el-form-item label="病历图册:" prop="gallery">
1082
+                <el-upload
1083
+                    v-loading="guploading"
1084
+                    :data="uploadData"
1085
+                    action="https://upload.qiniup.com"
1086
+                    list-type="picture-card"
1087
+                    :file-list="fileList"
1088
+                    :on-remove="handleRemove"
1089
+                    :on-error="handleGalleryError"
1090
+                    :on-success="handleGallerySuccess"
1091
+                    :before-upload="beforeGalleryUpload">
1092
+                    <i class="el-icon-plus"></i>
1093
+                </el-upload>
1094
+                
1095
+            </el-form-item>
1096
+        </el-col>
1097
+      </el-row>
1078 1098
       
1079 1099
        <el-row>
1080 1100
           <el-col :span="24" align="right" class="newCol">
@@ -1140,7 +1160,6 @@ import {
1140 1160
 import { fetchAllAdminUsers } from "@/api/doctor";
1141 1161
 // import { fetchAllDoctorAndNurse } from "@/api/doctor";
1142 1162
 import { getDataConfig } from "@/utils/data";
1143
-
1144 1163
 const defaultForm = {
1145 1164
   avatar: "https://images.shengws.com/201809182128111.png",
1146 1165
   name: "",
@@ -1205,6 +1224,7 @@ const defaultForm = {
1205 1224
   allergic_history:"",
1206 1225
   print_date:"",
1207 1226
   famality_record:"",
1227
+  org_logo:"",
1208 1228
   formItem: [
1209 1229
     {
1210 1230
       id: 0,
@@ -1355,6 +1375,7 @@ const defaultForm = {
1355 1375
   dbp: "",
1356 1376
   showOne:true,
1357 1377
   treatment_plan:"",
1378
+  
1358 1379
 };
1359 1380
 
1360 1381
 export default {
@@ -1540,7 +1561,13 @@ export default {
1540 1561
       },
1541 1562
       adminUserOptions:[],
1542 1563
       org_id:0,
1543
-      liuAddresslist:[]
1564
+      liuAddresslist:[],
1565
+      formloading:false,
1566
+      uploading:false,
1567
+      guploading:false,
1568
+      formsubmit:false,
1569
+      loadingText:'',
1570
+      fileList:[],
1544 1571
     };
1545 1572
   },
1546 1573
   components: {
@@ -1636,6 +1663,106 @@ export default {
1636 1663
     // }
1637 1664
   },
1638 1665
   methods: {
1666
+    handleAvatarSuccessOne(res, file) {
1667
+            this.form.org_logo = this.qiniuDomain + res.url;
1668
+            this.uploading = false;
1669
+        },
1670
+        beforeAvatarUploadOne(file) {
1671
+            var fileType = file.type
1672
+            const isJPG = fileType.indexOf('image') > -1
1673
+            const isLt2M = file.size / 1024 / 1024 < 5
1674
+
1675
+            if (!isJPG) {
1676
+                this.$message.error('只能上传图片')
1677
+                return false
1678
+            }
1679
+            if (!isLt2M) {
1680
+                this.$message.error('上传头像图片大小不能超过 5MB!')
1681
+                return false
1682
+            }
1683
+
1684
+            var date = new Date()
1685
+            var ext = getFileExtension(file.name)
1686
+            var key = "" + date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours()  + date.getMinutes()  + date.getSeconds()  +'_o_' + file.uid + '.' + ext;
1687
+            this.uploading = true;
1688
+            this.loadingText = '机构头像上传中'
1689
+
1690
+            const _self = this
1691
+            return new Promise((resolve, reject) => {
1692
+                getToken().then(response => {
1693
+                    const token = response.data.data.uptoken
1694
+                    _self._data.uploadData.token = token
1695
+                    _self._data.uploadData.key = key
1696
+                    resolve(true)
1697
+                }).catch(err => {
1698
+                    reject(false)
1699
+                    this.uploading = false;
1700
+                })
1701
+            })
1702
+        },
1703
+        handleGalleryError(err, file, fileList) {
1704
+            this.$message.error(err);
1705
+            this.guploading = false;
1706
+            return false
1707
+        },
1708
+        handleGallerySuccess(res, file) {
1709
+            var data = {type:1, url: this.qiniuDomain + res.url};
1710
+            this.fileList.push(data)
1711
+            console.log("fileLit==============",this.fileList)
1712
+            if(this.fileList!=null){
1713
+              for(let i=0;i<this.fileList.length;i++){
1714
+                 this.form.org_logo += this.fileList[i].url+","
1715
+              }
1716
+            }
1717
+          //  console.log("hahahahhwoowowo",this.form.org_logo)
1718
+          //  this.form.org_logo += data.url+","
1719
+
1720
+            this.guploading = false;
1721
+        },
1722
+    beforeGalleryUpload(file) {
1723
+        var fileType = file.type
1724
+        const isJPG = fileType.indexOf('image') > -1
1725
+        const isLt100M = file.size / 1024 / 1024 < 100
1726
+
1727
+        if (!isJPG) {
1728
+            this.$message.error('只能上传图片')
1729
+            return false
1730
+        }
1731
+        if (!isLt100M) {
1732
+            this.$message.error('上传图片大小不能超过 100MB!')
1733
+            return false
1734
+        }
1735
+
1736
+        var date = new Date()
1737
+        var ext = getFileExtension(file.name)
1738
+        var key = ""+date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours()  + date.getMinutes()  + date.getSeconds()  +'_g_' + file.uid + '.' + ext;
1739
+        this.guploading = true;
1740
+        this.loadingText = '机构图册上传中'
1741
+
1742
+        const _self = this
1743
+        return new Promise((resolve, reject) => {
1744
+            getToken().then(response => {
1745
+                const token = response.data.data.uptoken
1746
+                _self._data.uploadData.token = token
1747
+                _self._data.uploadData.key = key
1748
+                resolve(true)
1749
+            }).catch(err => {
1750
+                reject(false)
1751
+                this.guploading = false;
1752
+            })
1753
+        })
1754
+    },
1755
+
1756
+    handleRemove(file, fileList) {
1757
+      console.log("fileList--------------",fileList)
1758
+      var log_str = ""
1759
+      for(let i=0;i<fileList.length;i++){
1760
+          log_str +=fileList[i].url+","
1761
+      }
1762
+      this.form.org_logo = ""
1763
+      this.form.org_logo = log_str
1764
+    
1765
+    },
1639 1766
     fetchAllAdminUsers() {
1640 1767
       fetchAllAdminUsers().then((response) => {
1641 1768
         if (response.data.state === 1) {
@@ -1735,10 +1862,9 @@ export default {
1735 1862
             if(this.form.patient_type >0){
1736 1863
                this.form.patient_type = parseInt(this.form.patient_type)
1737 1864
             }
1738
-
1739
-            editPatient(this.patientID, this.form)
1740
-
1741
-              .then(response => {
1865
+            console.log("form===============",this.form)
1866
+            
1867
+            editPatient(this.patientID, this.form).then(response => {
1742 1868
                 if (response.data.state == 0) {
1743 1869
                   this.$message.error(response.data.msg);
1744 1870
                   this.formSubmit = true;
@@ -1938,6 +2064,20 @@ export default {
1938 2064
           if (response.data.state == 1) {
1939 2065
             this.$emit("tran-patient-info", response.data.data.patient);
1940 2066
             var patietInfo = response.data.data.patient;
2067
+            this.fileList = []
2068
+            var arrNew = []
2069
+            if(patietInfo.org_logo!=""){
2070
+              arrNew = patietInfo.org_logo.split(",")
2071
+            }
2072
+            if(arrNew!=null){
2073
+              for(let i=0;i<arrNew.length;i++){
2074
+                if(arrNew[i]!=""){
2075
+                  var image = { name:i+1, url:arrNew[i]};
2076
+                  this.fileList.push(image)
2077
+                }
2078
+              }
2079
+            }
2080
+            console.log("---------------------",this.fileList)
1941 2081
             console.log("9999999",response.data.data.patient)
1942 2082
             this.form.avatar = patietInfo.avatar;
1943 2083
             this.form.name = patietInfo.name;

+ 1 - 1
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -169,7 +169,7 @@ export default {
169 169
             // },
170 170
             {
171 171
               name: '3-4',
172
-              label: '病史'
172
+              label: '病史'
173 173
             },
174 174
             {
175 175
               name: '3-2',

File diff suppressed because it is too large
+ 635 - 619
src/xt_pages/user/components/PatientSidebar_ord.vue


File diff suppressed because it is too large
+ 2704 - 387
src/xt_pages/user/courseOfDisease_new.vue


+ 6 - 1
src/xt_pages/user/sickHistory_new.vue View File

@@ -471,6 +471,10 @@ export default {
471 471
     },
472 472
     template_dele(){
473 473
       console.log("hahhahahah",this.template_id)
474
+      if(this.template_id == 0){
475
+          this.$message.error("默认模版不能删除!")
476
+          return false
477
+      }
474 478
      deleteSickHistoryTempalte(this.template_id).then(response=>{
475 479
         if(response.data.state == 1){
476 480
           var msg =  response.data.data.msg
@@ -988,7 +992,8 @@ export default {
988 992
 
989 993
     },
990 994
     getCurrentChangeOne(val){
991
-      console.log("val-------------------",val.id)
995
+     
996
+     
992 997
       this.$refs.editorOne.contents = val.content
993 998
       this.template_content = ""
994 999
       this.template_content = val.content

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 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 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))