Ver código fonte

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

28169 1 ano atrás
pai
commit
b4a815b6cf
100 arquivos alterados com 154 adições e 1813 exclusões
  1. 1 1
      src/App.vue
  2. 1 1
      src/api/advice.js
  3. 1 1
      src/api/dialysis.js
  4. 0 33
      src/pages/advice/AdvicePage.vue
  5. 16 120
      src/pages/advice/DialysiAdive.vue
  6. 1 7
      src/pages/advice/DialysisAdviceDialog.vue
  7. 3 9
      src/pages/advice/DialysisAdviceOne.vue
  8. 7 46
      src/pages/advice/DialysisAdviceTable.vue
  9. 3 19
      src/pages/advice/NormalAdviceTable.vue
  10. 4 5
      src/pages/allDoctorAdvice/index.vue
  11. 3 32
      src/pages/allDoctorAdvice/indexs.vue
  12. 2 2
      src/pages/allScheduling/index.vue
  13. 2 11
      src/pages/businessCenter/components/addCustomers.vue
  14. 1 1
      src/pages/businessCenter/components/bloodNoStandard.vue
  15. 0 1
      src/pages/businessCenter/components/bloodStandard.vue
  16. 2 2
      src/pages/businessCenter/components/outCustomers.vue
  17. 0 42
      src/pages/businessCenter/components/patient.vue
  18. 1 24
      src/pages/businessCenter/components/project.vue
  19. 0 8
      src/pages/businessCenter/components/returnGoods.vue
  20. 0 16
      src/pages/businessCenter/components/targetNoStandard.vue
  21. 1 9
      src/pages/businessCenter/components/targetStandard.vue
  22. 0 8
      src/pages/businessCenter/components/time1.vue
  23. 0 10
      src/pages/businessCenter/components/warehouseOut.vue
  24. 0 2
      src/pages/businessCenter/components/warehousing.vue
  25. 2 7
      src/pages/businessCenter/components/withdrawal.vue
  26. 0 6
      src/pages/businessCenter/index.vue
  27. 3 3
      src/pages/businessCenter/quality.vue
  28. 1 2
      src/pages/businessCenter/targetStandard.vue
  29. 3 3
      src/pages/configureCenter/components/Bed.vue
  30. 2 2
      src/pages/configureCenter/components/Grouping.vue
  31. 1 1
      src/pages/configureCenter/components/Partition.vue
  32. 2 2
      src/pages/configureCenter/editBed.vue
  33. 1 1
      src/pages/configureCenter/editGrouping.vue
  34. 1 2
      src/pages/configureCenter/editPartion.vue
  35. 2 2
      src/pages/configureCenter/index.vue
  36. 0 1
      src/pages/configureCenter/newBed.vue
  37. 1 17
      src/pages/console/managementConsole/index.vue
  38. 2 4
      src/pages/console/managementConsole/staff_role/addStaff/index.vue
  39. 2 15
      src/pages/console/managementConsole/staff_role/editRole/index.vue
  40. 0 22
      src/pages/console/managementConsole/staff_role/editStaff/index.vue
  41. 1 1
      src/pages/console/managementConsole/staff_role/employeeList/index.vue
  42. 1 1
      src/pages/console/managementConsole/staff_role/otherPurview/index.vue
  43. 1 1
      src/pages/console/managementConsole/staff_role/privilegeManagement/index.vue
  44. 1 25
      src/pages/console/managementConsole/staff_role/userManage/index.vue
  45. 3 6
      src/pages/doctorAdvice/add/addCourseManagement.vue
  46. 3 8
      src/pages/doctorAdvice/components/Contagion.vue
  47. 0 15
      src/pages/doctorAdvice/components/CourseManagement.vue
  48. 0 1
      src/pages/doctorAdvice/components/DialysisRecord.vue
  49. 3 9
      src/pages/doctorAdvice/components/DoctorManagement.vue
  50. 0 5
      src/pages/doctorAdvice/components/Education.vue
  51. 4 2
      src/pages/doctorAdvice/components/Inspection.vue
  52. 0 4
      src/pages/doctorAdvice/components/LongDialysis.vue
  53. 0 7
      src/pages/doctorAdvice/components/RescueRecord.vue
  54. 0 5
      src/pages/doctorAdvice/components/Scheduling.vue
  55. 0 23
      src/pages/doctorAdvice/components/deviceManagement.vue
  56. 0 23
      src/pages/doctorAdvice/components/medicationPlan.vue
  57. 0 24
      src/pages/doctorAdvice/components/recoverNotes.vue
  58. 1 24
      src/pages/doctorAdvice/components/signsRecord.vue
  59. 0 21
      src/pages/doctorAdvice/index.vue
  60. 0 3
      src/pages/dqc/assayDetail.vue
  61. 2 2
      src/pages/dqc/basicInfo.vue
  62. 0 20
      src/pages/dqc/components/AssayTemplate.vue
  63. 1 76
      src/pages/dqc/components/BarChart.vue
  64. 5 71
      src/pages/dqc/components/BarChart1.vue
  65. 1 26
      src/pages/dqc/components/BasicTemplate.vue
  66. 0 69
      src/pages/dqc/components/DepartmentProject.vue
  67. 2 16
      src/pages/dqc/components/DepartmentTime.vue
  68. 1 3
      src/pages/dqc/components/ScrollTop.vue
  69. 0 13
      src/pages/dqc/components/bloodPressure.vue
  70. 1 2
      src/pages/dqc/components/checkStatisticsAll.vue
  71. 0 4
      src/pages/dqc/components/checkStatisticsPersonal.vue
  72. 2 3
      src/pages/dqc/components/dialysisProcess.vue
  73. 0 10
      src/pages/dqc/components/dialysisStatisticsAll.vue
  74. 0 2
      src/pages/dqc/components/dialysisStatisticsPersonal.vue
  75. 0 1
      src/pages/dqc/components/doctor.vue
  76. 0 3
      src/pages/dqc/components/nurse.vue
  77. 1 16
      src/pages/dqc/components/office.vue
  78. 0 4
      src/pages/dqc/components/sufferer.vue
  79. 0 10
      src/pages/dqc/components/weight.vue
  80. 1 1
      src/pages/dqc/patientBloodPressure.vue
  81. 3 260
      src/pages/dqc/patientStatistics.vue
  82. 3 4
      src/pages/dqc/patientWeight.vue
  83. 1 1
      src/pages/home/Popup/index.vue
  84. 0 68
      src/pages/home/active.vue
  85. 4 248
      src/pages/home/index.vue
  86. 6 33
      src/pages/home/login.vue
  87. 1 9
      src/pages/home/register/register.vue
  88. 1 10
      src/pages/home/verifyToken.vue
  89. 1 14
      src/pages/homeIndex/index.vue
  90. 0 2
      src/pages/infor/components/all.vue
  91. 0 2
      src/pages/infor/components/check.vue
  92. 14 16
      src/pages/main/PrintIndex.vue
  93. 3 28
      src/pages/main/RecordPage.vue
  94. 7 14
      src/pages/main/add_urgent_schedule.vue
  95. 0 33
      src/pages/main/all/doctorAdvice.vue
  96. 0 2
      src/pages/main/all/dryWeight.vue
  97. 0 2
      src/pages/main/all/scheduling.vue
  98. 2 2
      src/pages/main/beforeDialysis/allSummaryDialog.vue
  99. 1 5
      src/pages/main/beforeDialysis/components/allSummary.vue
  100. 0 0
      src/pages/main/beforeDialysis/components/dialysisParameters.vue

+ 1 - 1
src/App.vue Ver arquivo

@@ -36,10 +36,10 @@ export default {
36 36
   created() {}
37 37
 };
38 38
 </script>
39
-
40 39
 <style lang="scss" scoped>
41 40
 #app {
42 41
   height: 100%;
43 42
   overflow-y: auto;
43
+  border: 1px solid gainsboro;
44 44
 }
45 45
 </style>

+ 1 - 1
src/api/advice.js Ver arquivo

@@ -93,7 +93,7 @@ export function DeleteDoctorAdviceNew (group_no, advice_id, mode, is_sub, patien
93 93
 }
94 94
 
95 95
 export function getSchedualDoctors (params) {
96
-  console.log('param22222', params)
96
+  // console.log('param22222', params)
97 97
   return request({
98 98
     url: '/m/api/schedule/advices',
99 99
     method: 'get',

+ 1 - 1
src/api/dialysis.js Ver arquivo

@@ -317,7 +317,7 @@ export function getPatientId (id, params) {
317 317
 }
318 318
 
319 319
 export function getLatestDialysisScheduals (params) {
320
-  console.log('param232322323', params)
320
+  // console.log('param232322323', params)
321 321
   return request({
322 322
     url: '/m/api/dialysis/schedule',
323 323
     method: 'get',

+ 0 - 33
src/pages/advice/AdvicePage.vue Ver arquivo

@@ -1,39 +1,6 @@
1 1
 .<template>
2 2
   <div>
3 3
     <van-row class="top_row" style="display:none">
4
-      <!-- <van-col :span="9">
5
-        <div style="visibility: hidden">
6
-          <span class="title"></span>
7
-        </div>
8
-      </van-col>
9
-      <van-col :span="14">
10
-        <div class="department">
11
-          <ul>
12
-            <li
13
-              v-for="(item,i) in ['透析临嘱','普通医嘱']"
14
-              :key="i"
15
-              :class="index == i? 'active':'' "
16
-              @click="ClickTab(i)"
17
-            >{{item}}</li>
18
-          </ul>
19
-        </div>
20
-      </van-col>
21
-
22
-      <van-col :span="4">
23
-        <router-link to="/add_urgent_schedule"></router-link>
24
-        <div class="search" style="visibility: hidden">
25
-          <van-field v-model="search_input" ref="search_field" placeholder="透析号/姓名" class="field">
26
-            <i class="iconfont" slot="left-icon">&#xe741;</i>
27
-            <van-button
28
-              slot="button"
29
-              size="small"
30
-              type="info"
31
-              style="border: none;"
32
-              @click="searchWithKeyword"
33
-            >搜索</van-button>
34
-          </van-field>
35
-        </div>
36
-      </van-col>-->
37 4
       <div class="newSearch1">
38 5
         <el-input
39 6
           prefix-icon="el-icon-search"

+ 16 - 120
src/pages/advice/DialysiAdive.vue Ver arquivo

@@ -100,7 +100,7 @@
100 100
            
101 101
             <th width="60px">医嘱内容</th>
102 102
           </tr>
103
-          <template v-for="(schedules, zone_name, index) in filtedScheduals">
103
+          <template v-for="(schedules, zone_name, index) in filtedScheduals" >
104 104
             <tr :key="index">
105 105
               <td>{{ zone_name }}</td>
106 106
               <td></td>
@@ -258,9 +258,7 @@
258 258
                   <td
259 259
                     :class="{ 'advice_content': advice.parent_id == 0, 'subadvice_content': advice.parent_id > 0, 'td-active':current_patient_id == group.patient_id && group_flag &&current_advice_id < 0 }"
260 260
                     v-if="advice_index == 0"
261
-                    :rowspan="group.advices.length"
262
-  
263
-                  >
261
+                    :rowspan="group.advices.length">
264 262
                    
265 263
                     <span
266 264
                       v-if="$store.getters.user.template_info.org_id != 10340">
@@ -403,11 +401,8 @@
403 401
             alt
404 402
           />
405 403
         </div>
406
-     
407 404
       </div>
408 405
   
409
-    
410
-  
411 406
       <mt-datetime-picker
412 407
         v-model="selected_date"
413 408
         type="date"
@@ -609,8 +604,7 @@
609 604
             maps.new_advice = advice_groups
610 605
           }
611 606
         }
612
-        console.log('2222类别22222222', scheduleMap)
613
-  
607
+        // console.log('2222类别22222222', scheduleMap)
614 608
         return scheduleMap
615 609
       }
616 610
     },
@@ -644,28 +638,6 @@
644 638
           this.currentAdvices = []
645 639
           this.currentSubAdvices = []
646 640
           this.current_advice_id = -1
647
-  
648
-          // if (this.current_group_index != -1 && this.current_group_index != group_index) {
649
-          //   // 选择其他组,将原来的组选择状态清除
650
-          //   this.currentAdvices = []
651
-          //   this.currentSubAdvices = []
652
-          //   for (let i = 0; i < advice.length; i++) {
653
-          //     for (let y = 0; y < advice[i].advices.length; y++) {
654
-          //       var advices = advice[i].advices[y]
655
-          //       advices.is_selected = 0
656
-          //     }
657
-          //   }
658
-          // }
659
-  
660
-          // for (let i = 0; i < advice.length; i++) {
661
-          //   // 选择子医嘱,将已经选择的医嘱选择状态清除
662
-          //   for (let y = 0; y < advice[i].advices.length; y++) {
663
-          //     var advices = advice[i].advices[y]
664
-          //     if (advices.parent_id > 0) {
665
-          //       advices.is_selected = 0
666
-          //     }
667
-          //   }
668
-          // }
669 641
           this.currentAdvices = []
670 642
   
671 643
           for (let i = 0; i < advice.length; i++) {
@@ -682,7 +654,7 @@
682 654
           // this.current_advice_index = advice_index
683 655
           this.current_advice = advice
684 656
           this.current_patient_id = patient_id
685
-          console.log('数据23323323223我的', this.currentAdvices)
657
+          // console.log('数据23323323223我的', this.currentAdvices)
686 658
         }
687 659
       },
688 660
       cancelAdviceSelect: function () {
@@ -703,32 +675,6 @@
703 675
           this.current_parent_id = advice.parent_id
704 676
           this.currentAdvices = []
705 677
           this.currentAdvices.push(advice)
706
-          // this.curerentAdvice = advice
707
-          // if (
708
-          //   (this.current_group_index != -1 &&
709
-          //     this.current_group_index != group_index) ||
710
-          //   advice.parent_id > 0
711
-          // ) {
712
-          //   // 选择其他组,将原来的组选择状态清除
713
-          //   this.currentAdvices = []
714
-          //   this.currentSubAdvices = []
715
-          //   for (let i = 0; i < group.length; i++) {
716
-          //     for (let y = 0; y < group[i].advices.length; y++) {
717
-          //       var advices = group[i].advices[y]
718
-          //       advices.is_selected = 0
719
-          //     }
720
-          //   }
721
-          // }
722
-  
723
-          // for (let i = 0; i < group.length; i++) {
724
-          //   // 选择子医嘱,将已经选择的医嘱选择状态清除
725
-          //   for (let y = 0; y < group[i].advices.length; y++) {
726
-          //     var advices = group[i].advices[y]
727
-          //     if (advices.parent_id > 0) {
728
-          //       advices.is_selected = 0
729
-          //     }
730
-          //   }
731
-          // }
732 678
   
733 679
           for (let i = 0; i < group.length; i++) {
734 680
             // 设置选择状态
@@ -740,35 +686,11 @@
740 686
               if (advices.parent_id == advice.id) {
741 687
                 this.currentAdvices.push(advices)
742 688
               }
743
-              // if (advices.id == this.curerentAdvice.id) {
744
-              //   if (this.curerentAdvice.is_selected == 1) {
745
-              //     this.curerentAdvice.is_selected = 0
746
-              //     for (let a = this.currentAdvices.length - 1; a >= 0; a--) {
747
-              //       if (this.currentAdvices[a].id == this.curerentAdvice.id) {
748
-              //         this.currentAdvices.splice(a, 1)
749
-              //       }
750
-              //     }
751
-              //   } else {
752
-              //     this.curerentAdvice.is_selected = 1
753
-              //     if (this.curerentAdvice.parent_id == 0) {
754
-              //       this.currentAdvices.push(this.curerentAdvice)
755
-              //     }
756
-              //   }
757
-              // }
758 689
             }
759 690
           }
760 691
   
761
-          // if (advice.parent_id == 0) {
762
-          //   this.currentSubAdvices = []
763
-          // } else {
764
-          //   this.currentSubAdvices.push(advice)
765
-          // }
766
-  
767
-          // this.current_select_object = 1 // 单条医嘱
768
-          // this.current_group_index = group_index
769
-          // this.current_advice_index = advice_index
770 692
           this.current_advice = advice
771
-          console.log(this.currentAdvices)
693
+          // console.log(this.currentAdvices)
772 694
         }
773 695
       },
774 696
       addEventListener () {
@@ -862,19 +784,19 @@
862 784
           if (resp.state == 1) {
863 785
             this.admin_user = resp.data.adminUser
864 786
             var schedules = resp.data.scheduals
865
-            console.log('数据列表2332323223wo', schedules)
787
+            // console.log('数据列表2332323223wo', schedules)
866 788
             for (let i = 0; i < schedules.length; i++) {
867 789
               schedules[i].sort = schedules[i].device_number.sort
868 790
             }
869 791
   
870 792
             var config = resp.data.config
871 793
   
872
-            console.log('config', config)
794
+            // console.log('config', config)
873 795
             let project_config = resp.data.project_config
874
-            console.log('project_config', resp.data.project_config)
796
+            // console.log('project_config', resp.data.project_config)
875 797
             if (project_config.is_open == 1) {
876 798
               this.project = resp.data.project
877
-              console.log('项目', this.project)
799
+              // console.log('项目', this.project)
878 800
   
879 801
               // this.project =this.project.concat(resp.data.team_project)
880 802
   
@@ -921,7 +843,7 @@
921 843
               for (let i = 0; i < schedules.length; i++) {
922 844
                 schedules[i].dialysis_no = schedules[i].patient.dialysis_no
923 845
               }
924
-              console.log('schedules', schedules)
846
+              // console.log('schedules', schedules)
925 847
   
926 848
               var arr = []
927 849
               for (let j = 0; j < schedules.length; j++) {
@@ -930,7 +852,6 @@
930 852
               arr.sort(function (a, b) {
931 853
                 return a - b
932 854
               })
933
-              console.log('arr', arr)
934 855
   
935 856
               var arrTwo = []
936 857
               for (let i = 0; i < arr.length; i++) {
@@ -948,7 +869,6 @@
948 869
               let a = arrTwo.filter(
949 870
                 (a) => !res.has(a.dialysis_no) && res.set(a.dialysis_no, 1)
950 871
               )
951
-  
952 872
               // 针对 监利大垸医院(按床位号排序)
953 873
               if (
954 874
                 this.$store.getters.user.template_info.org_id == 9671 ||
@@ -987,14 +907,11 @@
987 907
                   }
988 908
                 }
989 909
               }
990
-              console.log('zoneMap233232323223wo', zoneMap)
991
-              console.log('scheduleMap', scheduleMap)
992
-              console.log('this.sort_type_selected', this.sort_type_selected)
993 910
   
994 911
               if (this.sort_type_selected == 1) {
995 912
                 
996 913
                 var newOneList = schedules.sort(this.compareList('sort'))
997
-                console.log('newList', newOneList)
914
+                // console.log('newList', newOneList)
998 915
                 for (let index = 0; index < newOneList.length; index++) {
999 916
                   const schedule = newOneList[index]
1000 917
                   if (schedule.doctor_advice.length == 0) {
@@ -1013,7 +930,7 @@
1013 930
   
1014 931
               if (this.sort_type_selected == 2) {
1015 932
                 var newList = schedules.sort(this.compareList('assess_time'))
1016
-                console.log('newList', newList)
933
+                // console.log('newList', newList)
1017 934
                 for (let index = 0; index < newList.length; index++) {
1018 935
                   const schedule = newList[index]
1019 936
                   if (schedule.doctor_advice.length == 0) {
@@ -1031,14 +948,12 @@
1031 948
               }
1032 949
               //按透析号排序
1033 950
               if(this.sort_type_selected == 3){
1034
-                console.log("尽量-----------",schedules)
1035 951
                 if(this.$store.getters.user.template_info.org_id == 10447){
1036 952
                   for(let i=0;i<schedules.length;i++){
1037 953
                     schedules[i].is_dialysis_no = parseInt(schedules[i].dialysis_no)
1038 954
                   }
1039 955
                 }
1040 956
                 var newList = schedules.sort(this.compareList('is_dialysis_no'))
1041
-                console.log('newList', newList)
1042 957
                 for (let index = 0; index < newList.length; index++) {
1043 958
                   const schedule = newList[index]
1044 959
                   if (schedule.doctor_advice.length == 0) {
@@ -1055,8 +970,6 @@
1055 970
                 }
1056 971
               }
1057 972
   
1058
-              console.log('schedules999999999', schedules)
1059
-  
1060 973
               var zones = []
1061 974
               zones.push({ value: 0, text: '全部分区' })
1062 975
               for (var zoneName in zoneMap) {
@@ -1067,8 +980,7 @@
1067 980
                 return a.value > b.value
1068 981
               })
1069 982
               this.zones = zones
1070
-  
1071
-              console.log('scheduleMap2333222332', scheduleMap)
983
+
1072 984
               this.scheduleMap = scheduleMap
1073 985
             }
1074 986
   
@@ -1077,7 +989,7 @@
1077 989
               this.show = true
1078 990
               var schedules = resp.data.hisAdvices
1079 991
               for (let i = 0; i < schedules.length; i++) {
1080
-                console.log(schedules[i])
992
+                // console.log(schedules[i])
1081 993
                 schedules[i]['dialysis_no'] = schedules[i].patient.dialysis_no
1082 994
               }
1083 995
   
@@ -1090,9 +1002,6 @@
1090 1002
               arr.sort(function (a, b) {
1091 1003
                 return a - b
1092 1004
               })
1093
-  
1094
-              console.log('arr', arr)
1095
-  
1096 1005
               var arrTwo = []
1097 1006
               for (let i = 0; i < arr.length; i++) {
1098 1007
                 for (let j = 0; j < schedules.length; j++) {
@@ -1118,7 +1027,6 @@
1118 1027
                   schedules[i].assess_time = schedules[i].dialysisassesmentbefor ? schedules[i].dialysisassesmentbefor.created_time : '3753619200'
1119 1028
                 }
1120 1029
               }
1121
-              console.log('this.sort_type_selected', this.sort_type_selected)
1122 1030
               var zoneMap = {}
1123 1031
               var scheduleMap = {}
1124 1032
               if (this.sort_type_selected == 0) {
@@ -1140,7 +1048,6 @@
1140 1048
   
1141 1049
               if (this.sort_type_selected == 1) {
1142 1050
                 var newOneList = schedules.sort(this.compareList('sort'))
1143
-                console.log('newList', newOneList)
1144 1051
                 for (let index = 0; index < newOneList.length; index++) {
1145 1052
                   const schedule = newOneList[index]
1146 1053
                   if (schedule.doctor_advice.length == 0) {
@@ -1159,7 +1066,6 @@
1159 1066
   
1160 1067
               if (this.sort_type_selected == 2) {
1161 1068
                 var newList = schedules.sort(this.compareList('assess_time'))
1162
-                console.log('newList', newList)
1163 1069
                 for (let index = 0; index < newList.length; index++) {
1164 1070
                   const schedule = newList[index]
1165 1071
                   if (schedule.doctor_advice.length == 0) {
@@ -1175,9 +1081,7 @@
1175 1081
                   }
1176 1082
                 }
1177 1083
               }
1178
-  
1179
-              console.log('schedules000000', schedules)
1180
-  
1084
+
1181 1085
               var zones = []
1182 1086
               zones.push({ value: 0, text: '全部分区' })
1183 1087
               for (var zoneName in zoneMap) {
@@ -1190,7 +1094,6 @@
1190 1094
               this.zones = zones
1191 1095
   
1192 1096
               this.scheduleMap = scheduleMap
1193
-              console.log('打印', scheduleMap)
1194 1097
             }
1195 1098
             if (sessionStorage.getItem('adviceZone') != null) {
1196 1099
               this.zone_selected = Number(sessionStorage.getItem('adviceZone'))
@@ -1219,7 +1122,7 @@
1219 1122
   
1220 1123
       getBloodAccess (id) {
1221 1124
         var blood_access = getDataConfig('hemodialysis', 'vascular_access_desc')
1222
-        console.log('血管通路', blood_access)
1125
+        // console.log('血管通路', blood_access)
1223 1126
         var name = ''
1224 1127
         for (let i = 0; i < blood_access.length; i++) {
1225 1128
           if (id == blood_access[i].id) {
@@ -1274,14 +1177,12 @@
1274 1177
           ids: ids.join(','),
1275 1178
           exce_time: this.handleTime(this.nowExecTime)
1276 1179
         }
1277
-        console.log('params', params)
1278 1180
         excetionMobileAdvice(params).then(response => {
1279 1181
           if (response.data.state == 1) {
1280 1182
             if (response.data.data.msg == 1) {
1281 1183
               var ids = response.data.data.ids
1282 1184
               if (ids != null && ids.length > 0) {
1283 1185
                 var arr = ids.split(',')
1284
-                console.log('arr2332232323', arr)
1285 1186
                 for (let i = 0; i < this.currentAdvices.length; i++) {
1286 1187
                   for (let j = 0; j < arr.length; j++) {
1287 1188
                     if (this.currentAdvices[i].id == arr[j]) {
@@ -1307,7 +1208,6 @@
1307 1208
       },
1308 1209
       toCheck () {
1309 1210
         var ids = []
1310
-        console.log('this.currentAdvices999999', this.currentAdvices)
1311 1211
         if (this.currentAdvices != null && this.currentAdvices.length > 0) {
1312 1212
           for (let i = 0; i < this.currentAdvices.length; i++) {
1313 1213
             if (this.currentAdvices[i].check_state == 1) {
@@ -1324,14 +1224,12 @@
1324 1224
         var params = {
1325 1225
           ids: ids.join(',')
1326 1226
         }
1327
-        console.log('param23232332o', params)
1328 1227
         checkMobileAdvice(params).then(response => {
1329 1228
           if (response.data.state == 1) {
1330 1229
             Toast.success('核对成功!')
1331 1230
             var ids = response.data.data.ids
1332 1231
             if (ids != null && ids.length > 0) {
1333 1232
               var arr = ids.split(',')
1334
-              console.log('arr2332232323', arr)
1335 1233
               for (let i = 0; i < this.currentAdvices.length; i++) {
1336 1234
                 for (let j = 0; j < arr.length; j++) {
1337 1235
                   if (this.currentAdvices[i].id == arr[j]) {
@@ -1396,9 +1294,7 @@
1396 1294
 
1397 1295
      },
1398 1296
      toClick(){
1399
-
1400 1297
       //  this.$router.push('/new/dialyisAdviceDialog')
1401
-
1402 1298
       this.$router.push('/new/dialyisAdviceDialog/one')
1403 1299
      }
1404 1300
     }

+ 1 - 7
src/pages/advice/DialysisAdviceDialog.vue Ver arquivo

@@ -28,13 +28,10 @@
28 28
                     <van-icon name="arrow-down" />
29 29
                 </div>
30 30
             </div>
31
-        
32 31
         </div>
33
-
34 32
       
35 33
         <div class="consumablesList">
36 34
           
37
-             
38 35
           <el-table
39 36
             :data="tableDataList"
40 37
             border
@@ -82,10 +79,8 @@
82 79
               </span>
83 80
             </template>
84 81
           </el-table-column>
85
-        </el-table>
86
-        
82
+        </el-table>     
87 83
         </div>
88
-
89 84
         <!-- 弹出层 -->
90 85
         <div>
91 86
             <van-popup
@@ -625,7 +620,6 @@ export default {
625 620
   created () {
626 621
     this.getAllZone()
627 622
   }
628
-
629 623
 }
630 624
 </script>
631 625
 

+ 3 - 9
src/pages/advice/DialysisAdviceOne.vue Ver arquivo

@@ -27,14 +27,10 @@
27 27
                     {{ area }}
28 28
                     <van-icon name="arrow-down" />
29 29
                 </div>
30
-            </div>
31
-        
30
+            </div> 
32 31
         </div>
33
-
34 32
       
35
-        <div class="consumablesList">
36
-          
37
-             
33
+        <div class="consumablesList">                   
38 34
           <el-table
39 35
             :data="tableDataList"
40 36
             border
@@ -95,10 +91,8 @@
95 91
               </span>
96 92
             </template>
97 93
           </el-table-column>
98
-        </el-table>
99
-        
94
+        </el-table>       
100 95
         </div>
101
-
102 96
         <!-- 弹出层 -->
103 97
         <div>
104 98
             <van-popup

+ 7 - 46
src/pages/advice/DialysisAdviceTable.vue Ver arquivo

@@ -749,7 +749,6 @@ export default {
749 749
           maps.new_advice = advice_groups
750 750
         }
751 751
       }
752
-      console.log('2222类别22222222', scheduleMap)
753 752
 
754 753
       return scheduleMap
755 754
     }
@@ -802,7 +801,7 @@ export default {
802 801
         // this.current_advice_index = advice_index
803 802
         this.current_advice = advice
804 803
         this.current_patient_id = patient_id
805
-        console.log('数据23323323223我的', this.currentAdvices)
804
+        // console.log('数据23323323223我的', this.currentAdvices)
806 805
       }
807 806
     },
808 807
     cancelAdviceSelect: function () {
@@ -838,7 +837,6 @@ export default {
838 837
           }
839 838
         }
840 839
         this.current_advice = advice
841
-        console.log(this.currentAdvices)
842 840
       }
843 841
     },
844 842
     addEventListener () {
@@ -931,22 +929,16 @@ export default {
931 929
         if (resp.state == 1) {
932 930
           this.admin_user = resp.data.adminUser
933 931
           var schedules = resp.data.scheduals
934
-          console.log('数据列表2332323223wo', schedules)
932
+          // console.log('数据列表2332323223wo', schedules)
935 933
           for (let i = 0; i < schedules.length; i++) {
936 934
             schedules[i].sort = schedules[i].device_number.sort
937 935
           }
938 936
 
939 937
           var config = resp.data.config
940
-
941
-          console.log('config', config)
942 938
           let project_config = resp.data.project_config
943
-          console.log('project_config', resp.data.project_config)
944 939
           if (project_config.is_open == 1) {
945 940
             this.project = resp.data.project
946
-            console.log('项目', this.project)
947
-
948 941
             // this.project =this.project.concat(resp.data.team_project)
949
-
950 942
             resp.data.hisAdvices.map((item, index) => {
951 943
               item.new_advice = item.new_advice ? item.new_advice : []
952 944
 
@@ -977,14 +969,6 @@ export default {
977 969
                     groupno: 0,
978 970
                     count: it.count
979 971
                   }
980
-                  // let advice = []
981
-                  // advice.push(obj)
982
-                  // let advices = {
983
-                  //   advices: advice,
984
-                  //   group_no: 123
985
-                  // }
986
-
987
-                  // console.log(11111,item.new_advice)
988 972
                   item.doctor_advice.push(obj)
989 973
                 })
990 974
               }
@@ -997,7 +981,6 @@ export default {
997 981
             for (let i = 0; i < schedules.length; i++) {
998 982
               schedules[i].dialysis_no = schedules[i].patient.dialysis_no
999 983
             }
1000
-            console.log('schedules', schedules)
1001 984
 
1002 985
             var arr = []
1003 986
             for (let j = 0; j < schedules.length; j++) {
@@ -1006,7 +989,7 @@ export default {
1006 989
             arr.sort(function (a, b) {
1007 990
               return a - b
1008 991
             })
1009
-            console.log('arr', arr)
992
+            // console.log('arr', arr)
1010 993
 
1011 994
             var arrTwo = []
1012 995
             for (let i = 0; i < arr.length; i++) {
@@ -1063,14 +1046,10 @@ export default {
1063 1046
                 }
1064 1047
               }
1065 1048
             }
1066
-            console.log('zoneMap233232323223wo', zoneMap)
1067
-            console.log('scheduleMap', scheduleMap)
1068
-            console.log('this.sort_type_selected', this.sort_type_selected)
1069 1049
 
1070 1050
             if (this.sort_type_selected == 1) {
1071 1051
               
1072 1052
               var newOneList = schedules.sort(this.compareList('sort'))
1073
-              console.log('newList', newOneList)
1074 1053
               for (let index = 0; index < newOneList.length; index++) {
1075 1054
                 const schedule = newOneList[index]
1076 1055
                 if (schedule.doctor_advice.length == 0) {
@@ -1089,7 +1068,7 @@ export default {
1089 1068
 
1090 1069
             if (this.sort_type_selected == 2) {
1091 1070
               var newList = schedules.sort(this.compareList('assess_time'))
1092
-              console.log('newList', newList)
1071
+              // console.log('newList', newList)
1093 1072
               for (let index = 0; index < newList.length; index++) {
1094 1073
                 const schedule = newList[index]
1095 1074
                 if (schedule.doctor_advice.length == 0) {
@@ -1107,14 +1086,12 @@ export default {
1107 1086
             }
1108 1087
             //按透析号排序
1109 1088
             if(this.sort_type_selected == 3){
1110
-              console.log("尽量-----------",schedules)
1111 1089
               if(this.$store.getters.user.template_info.org_id == 10447){
1112 1090
                 for(let i=0;i<schedules.length;i++){
1113 1091
                   schedules[i].is_dialysis_no = parseInt(schedules[i].dialysis_no)
1114 1092
                 }
1115 1093
               }
1116 1094
               var newList = schedules.sort(this.compareList('is_dialysis_no'))
1117
-              console.log('newList', newList)
1118 1095
               for (let index = 0; index < newList.length; index++) {
1119 1096
                 const schedule = newList[index]
1120 1097
                 if (schedule.doctor_advice.length == 0) {
@@ -1131,8 +1108,6 @@ export default {
1131 1108
               }
1132 1109
             }
1133 1110
 
1134
-            console.log('schedules999999999', schedules)
1135
-
1136 1111
             var zones = []
1137 1112
             zones.push({ value: 0, text: '全部分区' })
1138 1113
             for (var zoneName in zoneMap) {
@@ -1144,22 +1119,18 @@ export default {
1144 1119
             })
1145 1120
             this.zones = zones
1146 1121
 
1147
-            console.log('scheduleMap2333222332', scheduleMap)
1148 1122
             this.scheduleMap = scheduleMap
1149 1123
           }
1150
-
1151 1124
           if (config.is_open == 1) {
1152 1125
             this.showOne = false
1153 1126
             this.show = true
1154 1127
             var schedules = resp.data.hisAdvices
1155 1128
             for (let i = 0; i < schedules.length; i++) {
1156
-              console.log(schedules[i])
1157 1129
               schedules[i]['dialysis_no'] = schedules[i].patient.dialysis_no
1158 1130
             }
1159 1131
 
1160 1132
             var arr = []
1161 1133
             // 按透析号排序
1162
-
1163 1134
             for (let j = 0; j < schedules.length; j++) {
1164 1135
               arr.push(schedules[j].dialysis_no)
1165 1136
             }
@@ -1167,8 +1138,6 @@ export default {
1167 1138
               return a - b
1168 1139
             })
1169 1140
 
1170
-            console.log('arr', arr)
1171
-
1172 1141
             var arrTwo = []
1173 1142
             for (let i = 0; i < arr.length; i++) {
1174 1143
               for (let j = 0; j < schedules.length; j++) {
@@ -1194,7 +1163,6 @@ export default {
1194 1163
                 schedules[i].assess_time = schedules[i].dialysisassesmentbefor ? schedules[i].dialysisassesmentbefor.created_time : '3753619200'
1195 1164
               }
1196 1165
             }
1197
-            console.log('this.sort_type_selected', this.sort_type_selected)
1198 1166
             var zoneMap = {}
1199 1167
             var scheduleMap = {}
1200 1168
             if (this.sort_type_selected == 0) {
@@ -1216,7 +1184,6 @@ export default {
1216 1184
 
1217 1185
             if (this.sort_type_selected == 1) {
1218 1186
               var newOneList = schedules.sort(this.compareList('sort'))
1219
-              console.log('newList', newOneList)
1220 1187
               for (let index = 0; index < newOneList.length; index++) {
1221 1188
                 const schedule = newOneList[index]
1222 1189
                 if (schedule.doctor_advice.length == 0) {
@@ -1235,7 +1202,6 @@ export default {
1235 1202
 
1236 1203
             if (this.sort_type_selected == 2) {
1237 1204
               var newList = schedules.sort(this.compareList('assess_time'))
1238
-              console.log('newList', newList)
1239 1205
               for (let index = 0; index < newList.length; index++) {
1240 1206
                 const schedule = newList[index]
1241 1207
                 if (schedule.doctor_advice.length == 0) {
@@ -1252,7 +1218,7 @@ export default {
1252 1218
               }
1253 1219
             }
1254 1220
 
1255
-            console.log('schedules000000', schedules)
1221
+            // console.log('schedules000000', schedules)
1256 1222
 
1257 1223
             var zones = []
1258 1224
             zones.push({ value: 0, text: '全部分区' })
@@ -1266,7 +1232,6 @@ export default {
1266 1232
             this.zones = zones
1267 1233
 
1268 1234
             this.scheduleMap = scheduleMap
1269
-            console.log('打印', scheduleMap)
1270 1235
           }
1271 1236
           if (sessionStorage.getItem('adviceZone') != null) {
1272 1237
             this.zone_selected = Number(sessionStorage.getItem('adviceZone'))
@@ -1295,7 +1260,7 @@ export default {
1295 1260
 
1296 1261
     getBloodAccess (id) {
1297 1262
       var blood_access = getDataConfig('hemodialysis', 'vascular_access_desc')
1298
-      console.log('血管通路', blood_access)
1263
+      // console.log('血管通路', blood_access)
1299 1264
       var name = ''
1300 1265
       for (let i = 0; i < blood_access.length; i++) {
1301 1266
         if (id == blood_access[i].id) {
@@ -1350,14 +1315,13 @@ export default {
1350 1315
         ids: ids.join(','),
1351 1316
         exce_time: this.handleTime(this.nowExecTime)
1352 1317
       }
1353
-      console.log('params', params)
1354 1318
       excetionMobileAdvice(params).then(response => {
1355 1319
         if (response.data.state == 1) {
1356 1320
           if (response.data.data.msg == 1) {
1357 1321
             var ids = response.data.data.ids
1358 1322
             if (ids != null && ids.length > 0) {
1359 1323
               var arr = ids.split(',')
1360
-              console.log('arr2332232323', arr)
1324
+              // console.log('arr2332232323', arr)
1361 1325
               for (let i = 0; i < this.currentAdvices.length; i++) {
1362 1326
                 for (let j = 0; j < arr.length; j++) {
1363 1327
                   if (this.currentAdvices[i].id == arr[j]) {
@@ -1383,7 +1347,6 @@ export default {
1383 1347
     },
1384 1348
     toCheck () {
1385 1349
       var ids = []
1386
-      console.log('this.currentAdvices999999', this.currentAdvices)
1387 1350
       if (this.currentAdvices != null && this.currentAdvices.length > 0) {
1388 1351
         for (let i = 0; i < this.currentAdvices.length; i++) {
1389 1352
           if (this.currentAdvices[i].check_state == 1) {
@@ -1400,14 +1363,12 @@ export default {
1400 1363
       var params = {
1401 1364
         ids: ids.join(',')
1402 1365
       }
1403
-      console.log('param23232332o', params)
1404 1366
       checkMobileAdvice(params).then(response => {
1405 1367
         if (response.data.state == 1) {
1406 1368
           Toast.success('核对成功!')
1407 1369
           var ids = response.data.data.ids
1408 1370
           if (ids != null && ids.length > 0) {
1409 1371
             var arr = ids.split(',')
1410
-            console.log('arr2332232323', arr)
1411 1372
             for (let i = 0; i < this.currentAdvices.length; i++) {
1412 1373
               for (let j = 0; j < arr.length; j++) {
1413 1374
                 if (this.currentAdvices[i].id == arr[j]) {

+ 3 - 19
src/pages/advice/NormalAdviceTable.vue Ver arquivo

@@ -62,23 +62,13 @@
62 62
                 v-for="scheduleType in schedule_types"
63 63
                 :key="scheduleType.value"
64 64
                 @click="handletimeType(scheduleType.value)"
65
-                :class="
66
-                  schedule_type_selected == scheduleType.value ? 'tick' : ''
67
-                "
65
+                :class=" schedule_type_selected == scheduleType.value ? 'tick' : ''"
68 66
               >
69 67
                 {{ scheduleType.text }}
70 68
               </li>
71 69
             </ul>
72 70
           </div>
73 71
         </el-popover>
74
-        <!--<el-popover placement="bottom" trigger="click" v-model="show_advice_type_selector">-->
75
-        <!--<li slot="reference">{{advice_types[advice_type_selected].text}}<span class="iconfont">&#xe74a;</span></li>-->
76
-        <!--<div class="popover-demo-content">-->
77
-        <!--<ul>-->
78
-        <!--<li v-for="type in advice_types" :key="type.value" @click="handleAdviceType(type.value)" :class="advice_type_selected == type.value ? 'tick' : ''" >{{type.text}}</li>-->
79
-        <!--</ul>-->
80
-        <!--</div>-->
81
-        <!--</el-popover>-->
82 72
 
83 73
         <li @click="openPicker()">
84 74
           {{ selected_date_str }}
@@ -203,7 +193,6 @@
203 193
         />
204 194
       </div>
205 195
     </div>
206
-    <!--<div class="NoData" v-show="zones.length <= 1"><img src="@/assets/login/data.jpg" alt=""></div>-->
207 196
 
208 197
     <mt-datetime-picker
209 198
       v-model="selected_date"
@@ -230,7 +219,6 @@ export default {
230 219
     return {
231 220
       selected_date: new Date(),
232 221
       admin_user: [],
233
-
234 222
       show_sch_type_selector: false,
235 223
       schedule_type_selected: 0,
236 224
       schedule_types: [
@@ -239,12 +227,10 @@ export default {
239 227
         { value: 2, text: '下午' },
240 228
         { value: 3, text: '晚上' }
241 229
       ],
242
-
243 230
       show_zone_selector: false,
244 231
       zone_selected: 0,
245 232
       show_patient_type_selector: false,
246 233
       zones: [{ value: 0, text: '全部分区', select: true }],
247
-
248 234
       show_advice_type_selector: false,
249 235
       advice_type_selected: 0,
250 236
       advice_types: [
@@ -252,14 +238,12 @@ export default {
252 238
         { value: 1, text: '长期医嘱' },
253 239
         { value: 3, text: '临时医嘱' }
254 240
       ],
255
-
256 241
       patient_types: [
257 242
         { value: 0, text: '全部病人' },
258 243
         { value: 1, text: '我的病人' },
259 244
         { value: 2, text: '未执行病人' }
260 245
       ],
261 246
       patient_selected: 0,
262
-
263 247
       scheduleMap: {}
264 248
     }
265 249
   },
@@ -310,9 +294,9 @@ export default {
310 294
         advice.dialysis_order.device_number &&
311 295
         advice.dialysis_order.device_number.number.length > 0
312 296
       ) {
313
-        console.log('111111')
297
+        // console.log('111111')
314 298
       } else {
315
-        console.log('222222')
299
+        // console.log('222222')
316 300
       }
317 301
     },
318 302
     clickfunction: function (val) {

+ 4 - 5
src/pages/allDoctorAdvice/index.vue Ver arquivo

@@ -222,7 +222,7 @@ export default {
222 222
       GetDoctorAdviceDetail(id).then(response => {
223 223
         if (response.data.state === 1) {
224 224
           var doctorAdvicedetail = response.data.data.doctorAdvicedetail
225
-          console.log('doctorAdvicedetail', doctorAdvicedetail)
225
+          // console.log('doctorAdvicedetail', doctorAdvicedetail)
226 226
           this.patient_name = doctorAdvicedetail[0].name
227 227
           let objarr = []
228 228
           for (let i = 0; i < doctorAdvicedetail.length; i++) {
@@ -231,7 +231,7 @@ export default {
231 231
             }
232 232
           }
233 233
           this.childList = objarr
234
-          console.log('紫瑶', this.childList)
234
+          // console.log('紫瑶', this.childList)
235 235
           let dataInfo = {}
236 236
           doctorAdvicedetail.forEach((item, index) => {
237 237
             let { start_time } = item
@@ -245,7 +245,7 @@ export default {
245 245
           })
246 246
           let list = Object.values(dataInfo) // list 转换成功的数据
247 247
           let arr = []
248
-          console.log('list是 ', list)
248
+          // console.log('list是 ', list)
249 249
           this.doctorAdvicedetail = list
250 250
         }
251 251
       })
@@ -261,7 +261,7 @@ export default {
261 261
       getAllDoctor().then(response => {
262 262
         if (response.data.state === 1) {
263 263
           var doctor = response.data.data.doctor
264
-          console.log('doctor', doctor)
264
+          // console.log('doctor', doctor)
265 265
           this.doctor = doctor
266 266
         }
267 267
       })
@@ -403,7 +403,6 @@ export default {
403 403
     setRem()
404 404
     setHeight()
405 405
     var id = this.$route.query.id
406
-    console.log('id是--------', id)
407 406
     this.GetDoctorAdviceDetail(id)
408 407
     var patientid = this.$route.query.patientid
409 408
     this.id = patientid

+ 3 - 32
src/pages/allDoctorAdvice/indexs.vue Ver arquivo

@@ -270,7 +270,7 @@ export default {
270 270
             }
271 271
           }
272 272
           this.childList = objarr
273
-          console.log('childList', this.childList)
273
+          // console.log('childList', this.childList)
274 274
           let dataInfo = {}
275 275
           doctorAdvicedetail.forEach((item, index) => {
276 276
             let { start_time } = item
@@ -285,36 +285,7 @@ export default {
285 285
           let list = Object.values(dataInfo) // list 转换成功的数据
286 286
           let arr = []
287 287
 
288
-          // list.map(item => {
289
-          //   let arr2 = [];
290
-          //   if (item.child.length > 1) {
291
-          //     item.child.map(it => {
292
-          //       if (arr.indexOf(it.advice_date) == -1) {
293
-          //         arr.push(it.advice_date);
294
-          //       } else {
295
-          //         delete it["advice_date"];
296
-          //       }
297
-          //     });
298
-          //     for (var i = item.child.length - 1; i != -1; i--) {
299
-          //       let obj = {};
300
-          //       obj.checker = item.child[i].checker;
301
-          //       obj.execution_staff = item.child[i].execution_staff;
302
-          //       obj.user_name = item.child[i].advice_doctor;
303
-          //       if (
304
-          //         JSON.stringify(arr2).includes(JSON.stringify(obj)) == false
305
-          //       ) {
306
-          //         arr2.push(obj);
307
-          //       } else {
308
-          //         console.log("删除");
309
-          //         delete item.child[i]["checker"];
310
-          //         delete item.child[i]["execution_staff"];
311
-          //         delete item.child[i]["advice_doctor"];
312
-          //       }
313
-          //     }
314
-          //   }
315
-          // });
316
-
317
-          console.log('list是 ', list)
288
+          // console.log('list是 ', list)
318 289
           this.doctorAdvicedetail = list
319 290
         }
320 291
       })
@@ -330,7 +301,7 @@ export default {
330 301
       getAllDoctor().then(response => {
331 302
         if (response.data.state === 1) {
332 303
           var doctor = response.data.data.doctor
333
-          console.log('doctor', doctor)
304
+          // console.log('doctor', doctor)
334 305
           this.doctor = doctor
335 306
         }
336 307
       })

+ 2 - 2
src/pages/allScheduling/index.vue Ver arquivo

@@ -111,10 +111,10 @@ export default {
111 111
             schedulingDetail.schedule_type = "下午";
112 112
           }
113 113
           this.schedulingDetail = schedulingDetail;
114
-          console.log("排班详情", schedulingDetail);
114
+          // console.log("排班详情", schedulingDetail);
115 115
           var patient = response.data.data.patient;
116 116
           this.name = patient.name;
117
-          console.log("patient", patient);
117
+          // console.log("patient", patient);
118 118
         }
119 119
       });
120 120
     },

+ 2 - 11
src/pages/businessCenter/components/addCustomers.vue Ver arquivo

@@ -351,12 +351,12 @@ export default {
351 351
             this.total_three = resp.data.total_three + '人'
352 352
 
353 353
             for (let i = 0; i < resp.data.chart_data.length; i++) {
354
-              console.log(resp.data.chart_data[i].date)
354
+              // console.log(resp.data.chart_data[i].date)
355 355
               this.options.xAxis.data.push(resp.data.chart_data[i].date)
356 356
               this.options.series[0].data.push(resp.data.chart_data[i].value)
357 357
             }
358 358
             this.getArrLength(this.options.xAxis.data)
359
-            console.log(this.options)
359
+            // console.log(this.options)
360 360
           } else {
361 361
             this.$toast({
362 362
               message: resp.msg
@@ -410,7 +410,6 @@ export default {
410 410
   .active {
411 411
     background: rgba(51, 138, 251, 1);
412 412
     color: #fff;
413
-    // border: 1px solid #338afb;
414 413
   }
415 414
 
416 415
   }
@@ -424,12 +423,6 @@ export default {
424 423
     font-size: 0.875rem;
425 424
     border-radius: 30px;
426 425
   }
427
-  /*.toolBox {*/
428
-
429
-  /*/ / display: flex;*/
430
-  /*/ / height: 2.5 rem;*/
431
-  /*/ / align-items: center;*/
432
-
433 426
   .toolOne {
434 427
     width: 6.25rem;
435 428
     height: 1.875rem;
@@ -441,10 +434,8 @@ export default {
441 434
     display: flex;
442 435
     align-items: center;
443 436
     justify-content: space-around;
444
-    /*/ / margin-left: 0.8125 rem;*/
445 437
   }
446 438
 
447
-  /*}*/
448 439
   .chart {
449 440
     font-size: 1rem;
450 441
     font-weight: bold;

+ 1 - 1
src/pages/businessCenter/components/bloodNoStandard.vue Ver arquivo

@@ -186,7 +186,7 @@ export default {
186 186
         if (response.data.state == 1) {
187 187
           this.loading = false
188 188
           var record = response.data.data.record
189
-          console.log('recored', record)
189
+          // console.log('recored', record)
190 190
           var recordtwo = response.data.data.recoredtwo
191 191
           this.noStandTotal = recordtwo.length
192 192
           var bloodPressure = response.data.data.bloodPressure

+ 0 - 1
src/pages/businessCenter/components/bloodStandard.vue Ver arquivo

@@ -185,7 +185,6 @@ export default {
185 185
         if (response.data.state == 1) {
186 186
           this.loading = false
187 187
           var record = response.data.data.record
188
-          console.log('record', record)
189 188
           var recordtwo = response.data.data.recordtwo
190 189
           var bloodPressure = response.data.data.bloodPressure
191 190
           var obj = {}

+ 2 - 2
src/pages/businessCenter/components/outCustomers.vue Ver arquivo

@@ -349,12 +349,12 @@ export default {
349 349
             this.total = resp.data.total + '人'
350 350
 
351 351
             for (let i = 0; i < resp.data.chart_data.length; i++) {
352
-              console.log(resp.data.chart_data[i].date)
352
+              // console.log(resp.data.chart_data[i].date)
353 353
               this.options.xAxis.data.push(resp.data.chart_data[i].date)
354 354
               this.options.series[0].data.push(resp.data.chart_data[i].value)
355 355
             }
356 356
             this.getArrLength(this.options.xAxis.data)
357
-            console.log(this.options)
357
+            // console.log(this.options)
358 358
           } else {
359 359
             this.$toast({
360 360
               message: resp.msg

+ 0 - 42
src/pages/businessCenter/components/patient.vue Ver arquivo

@@ -248,7 +248,6 @@ export default {
248 248
   },
249 249
   methods: {
250 250
     chooseState (val) {
251
-      // console.log('type', this.type)
252 251
       if (val === '指标达标统计') {
253 252
         this.bannerName = '查看患者指标达标详情'
254 253
         this.state = val
@@ -279,7 +278,6 @@ export default {
279 278
       }
280 279
     },
281 280
     chooseType (val) {
282
-      // console.log('bloodType', this.bloodType)
283 281
       if (val == '按季度统计对比') {
284 282
         this.type = val
285 283
         this.targeType = 1
@@ -331,9 +329,7 @@ export default {
331 329
       getMobileNormData().then(response => {
332 330
         if (response.data.state == 1) {
333 331
           var normdata = response.data.data.normdata
334
-          // console.log('normdata', normdata)
335 332
           var bloodPressure = response.data.data.bloodPressure
336
-          // console.log('bloodPressure', bloodPressure)
337 333
           this.getlist()
338 334
         }
339 335
       })
@@ -465,8 +461,6 @@ export default {
465 461
             nostand[i].Total = 1
466 462
           }
467 463
         }
468
-        // console.log('stand', stand)
469
-        // console.log('nostand', nostand)
470 464
         for (let i = 0; i < stand.length; i++) {
471 465
           this.modesData.xAxis.push(stand[i].Name)
472 466
           this.modesData.series.push(((stand[i].Count / stand[i].Total) * 100).toFixed(1))
@@ -484,7 +478,6 @@ export default {
484 478
       this.modesData.series = []
485 479
       this.modesData.seriestwo = []
486 480
       this.modesData.xAxis = []
487
-      // console.log('按月份指标统计')
488 481
       const januaryStart = moment().month(0).startOf('month').format('YYYY-MM-DD')
489 482
       const januaryEnd = moment().month(0).endOf('month').format('YYYY-MM-DD')
490 483
 
@@ -547,17 +540,12 @@ export default {
547 540
         decStart: decStart,
548 541
         decEnd: decEnd
549 542
       }
550
-      // console.log('params', params)
551 543
       getMonthTarget(params).then(response => {
552 544
         if (response.data.state == 1) {
553 545
           var stand = response.data.data.stand
554
-          // console.log('stand=====', stand)
555 546
           var nostand = response.data.data.nostand
556
-          // console.log('nostand', nostand)
557 547
           var contagionTargeStand = response.data.data.contagionTargeStand
558
-          // console.log('contagionTargeStand', contagionTargeStand)
559 548
           var contagionTargeNoStand = response.data.data.contagionTargeNoStand
560
-          // console.log('contagionTargeNoStand', contagionTargeNoStand)
561 549
 
562 550
           var newArr = [
563 551
             {Name: '1', Count: 0},
@@ -701,8 +689,6 @@ export default {
701 689
               nostand[i].Total = 1
702 690
             }
703 691
           }
704
-          // console.log('stand', stand)
705
-          // console.log('nostand', nostand)
706 692
           for (let i = 0; i < stand.length; i++) {
707 693
             this.modesData.xAxis.push(stand[i].Name)
708 694
             this.modesData.series.push(((stand[i].Count / stand[i].Total) * 100).toFixed(1))
@@ -896,12 +882,9 @@ export default {
896 882
     },
897 883
     // 指标按月份
898 884
     getMonthBloodList () {
899
-      // console.log('血压按月份')
900
-
901 885
       this.modesData.series = []
902 886
       this.modesData.seriestwo = []
903 887
       this.modesData.xAxis = []
904
-      // console.log('按月份指标统计')
905 888
       const januaryStart = moment().month(0).startOf('month').format('YYYY-MM-DD')
906 889
       const januaryEnd = moment().month(0).endOf('month').format('YYYY-MM-DD')
907 890
 
@@ -1015,29 +998,17 @@ export default {
1015 998
           var decArr = []
1016 999
 
1017 1000
           var januaryList = response.data.data.januaryList
1018
-          // console.log('一月', januaryList)
1019 1001
           var febList = response.data.data.febList
1020
-          // console.log('二月', febList)
1021 1002
           var marList = response.data.data.marList
1022
-          // console.log('三月', marList)
1023 1003
           var aprList = response.data.data.aprList
1024
-          // console.log('四月', aprList)
1025 1004
           var mayList = response.data.data.mayList
1026
-          // console.log('五月', mayList)
1027 1005
           var junList = response.data.data.junList
1028
-          // console.log('六月', junList)
1029 1006
           var julList = response.data.data.julList
1030
-          // console.log('七月', julList)
1031 1007
           var augList = response.data.data.augList
1032
-          // console.log('八月', augList)
1033 1008
           var sepList = response.data.data.sepList
1034
-          // console.log('九月', sepList)
1035 1009
           var octList = response.data.data.octList
1036
-          // console.log('10月', octList)
1037 1010
           var novList = response.data.data.novList
1038
-          // console.log('11月', novList)
1039 1011
           var decList = response.data.data.decList
1040
-          // console.log('12月', decList)
1041 1012
           var bloodPressure = response.data.data.bloodPressure
1042 1013
           var obj = {}
1043 1014
           var newArr = []
@@ -1050,7 +1021,6 @@ export default {
1050 1021
             obj = bloodPressure[0]
1051 1022
           }
1052 1023
           newArr.push(obj)
1053
-          // console.log('newArr', newArr)
1054 1024
           // 1月
1055 1025
           if (januaryList.length > 0) {
1056 1026
             for (let i = 0; i < januaryList.length; i++) {
@@ -1060,7 +1030,6 @@ export default {
1060 1030
                 }
1061 1031
               }
1062 1032
             }
1063
-            // console.log('一月合格人数', janArr)xs
1064 1033
           }
1065 1034
           // 2月
1066 1035
           if (febList.length > 0) {
@@ -1071,7 +1040,6 @@ export default {
1071 1040
                 }
1072 1041
               }
1073 1042
             }
1074
-            // console.log('二月合格人数', febArr)
1075 1043
           }
1076 1044
           // 3月
1077 1045
           if (marList.length > 0) {
@@ -1082,7 +1050,6 @@ export default {
1082 1050
                 }
1083 1051
               }
1084 1052
             }
1085
-            // console.log('三月合格人数', marArr)
1086 1053
           }
1087 1054
           // 4月
1088 1055
           if (aprList.length > 0) {
@@ -1093,7 +1060,6 @@ export default {
1093 1060
                 }
1094 1061
               }
1095 1062
             }
1096
-            // console.log('四月合格人数', aprArr)
1097 1063
           }
1098 1064
           // 5月
1099 1065
           if (mayList.length > 0) {
@@ -1104,7 +1070,6 @@ export default {
1104 1070
                 }
1105 1071
               }
1106 1072
             }
1107
-            // console.log('五月合格人数', mayArr)
1108 1073
           }
1109 1074
           // 6月
1110 1075
           if (junList.length > 0) {
@@ -1115,7 +1080,6 @@ export default {
1115 1080
                 }
1116 1081
               }
1117 1082
             }
1118
-            // console.log('六月合格人数', junArr)
1119 1083
           }
1120 1084
           // 7月
1121 1085
           if (julList.length > 0) {
@@ -1126,7 +1090,6 @@ export default {
1126 1090
                 }
1127 1091
               }
1128 1092
             }
1129
-            // console.log('七月合格人数', julArr)
1130 1093
           }
1131 1094
           // 8月
1132 1095
           if (augList.length > 0) {
@@ -1137,7 +1100,6 @@ export default {
1137 1100
                 }
1138 1101
               }
1139 1102
             }
1140
-            // console.log('八月合格人数', augArr)
1141 1103
           }
1142 1104
           // 9月
1143 1105
           if (sepList.length > 0) {
@@ -1148,7 +1110,6 @@ export default {
1148 1110
                 }
1149 1111
               }
1150 1112
             }
1151
-            // console.log('九月合格人数', sepArr)
1152 1113
           }
1153 1114
           // 10月
1154 1115
           if (octList.length > 0) {
@@ -1159,7 +1120,6 @@ export default {
1159 1120
                 }
1160 1121
               }
1161 1122
             }
1162
-            // console.log('10月合格人数', octArr)
1163 1123
           }
1164 1124
           // 11月
1165 1125
           if (novList.length > 0) {
@@ -1170,7 +1130,6 @@ export default {
1170 1130
                 }
1171 1131
               }
1172 1132
             }
1173
-            // console.log('11月合格人数', novArr)
1174 1133
           }
1175 1134
           // 12月
1176 1135
           if (decList.length > 0) {
@@ -1181,7 +1140,6 @@ export default {
1181 1140
                 }
1182 1141
               }
1183 1142
             }
1184
-            // console.log('12月合格人数', decArr)
1185 1143
           }
1186 1144
 
1187 1145
           // 一月

+ 1 - 24
src/pages/businessCenter/components/project.vue Ver arquivo

@@ -14,22 +14,6 @@
14 14
               </div>
15 15
             </div>
16 16
         </div>
17
-        <!-- <div class="quarterBox" v-if="type == '按季度统计对比'">
18
-            <p :class="Num == 1 ? 'active' : ''" @click="onClick(1)">第一季度</p>
19
-            <p :class="Num == 2 ? 'active' : ''" @click="onClick(2)">第二季度</p>
20
-            <p :class="Num == 3 ? 'active' : ''" @click="onClick(3)">第三季度</p>
21
-            <p :class="Num == 4 ? 'active' : ''" @click="onClick(4)">第四季度</p>
22
-        </div> -->
23
-        <!-- <div class="month" v-if="type == '按月份统计对比'">
24
-            <div class="monthBox" ref="nav">
25
-                <p
26
-                v-for="(item, index) in monthArr"
27
-                :key="index"
28
-                :class="month == index ? 'active' : ''"
29
-                @click="clickMonth(index)"
30
-                >{{ item }}</p>
31
-            </div>
32
-        </div> -->
33 17
 
34 18
         <div class="chart2">统计图</div>
35 19
         <bar-chart :options="options"></bar-chart>
@@ -330,8 +314,6 @@ export default {
330 314
       this.month = index
331 315
     },
332 316
     chooseProject (val) {
333
-      // console.log('val', val)
334
-
335 317
       this.project = val
336 318
       this.projectShow = false
337 319
 
@@ -364,7 +346,6 @@ export default {
364 346
         if (response.data.state == 1) {
365 347
           var newArr = []
366 348
           var normdata = response.data.data.normdata
367
-          // console.log('normdata', normdata)
368 349
           newArr = normdata
369 350
           var bloodPressure = response.data.data.bloodPressure
370 351
           for (let i = 0; i < bloodPressure.length; i++) {
@@ -384,13 +365,11 @@ export default {
384 365
           })
385 366
           var newarr = newArr.sort((a, b) => { return a.sort - b.sort })
386 367
           this.normData = newarr
387
-          // console.log('newarr', newarr
388 368
           var arr = []
389 369
           for (let i = 0; i < newarr.length; i++) {
390 370
             this.project = newarr[0].item_name
391 371
             arr.push(newarr[i].item_name)
392 372
           }
393
-          // console.log('arr', arr)
394 373
           this.columns2 = arr
395 374
           if (this.project == '收缩压' || this.project == '舒张压') {
396 375
             this.getMobileBloodList()
@@ -1562,7 +1541,6 @@ export default {
1562 1541
               newArr[11].Total = dectotal
1563 1542
               newArr[11].Count = decstandtotal
1564 1543
             }
1565
-            //  console.log("newarr",newArr)
1566 1544
             for (let j = 0; j < newArr.length; j++) {
1567 1545
               this.modesData.xAxis.push(newArr[j].name)
1568 1546
               this.modesData.series.push(((newArr[j].Count / newArr[j].Total) * 100).toFixed(1))
@@ -1590,6 +1568,7 @@ export default {
1590 1568
 }
1591 1569
 </script>
1592 1570
 
1571
+
1593 1572
 <style lang="scss" scoped>
1594 1573
 .page_project{
1595 1574
     .optionsBox {
@@ -1690,7 +1669,6 @@ export default {
1690 1669
     font-weight: bold;
1691 1670
     margin-left: 0.8125rem;
1692 1671
     color: #000;
1693
-    // margin-top: 1.375rem;
1694 1672
   }
1695 1673
   .rangeBox {
1696 1674
     margin-left: 0.8125rem;
@@ -1730,5 +1708,4 @@ export default {
1730 1708
   height: 0 !important;
1731 1709
   width: 0;
1732 1710
 }
1733
-
1734 1711
 </style>

+ 0 - 8
src/pages/businessCenter/components/returnGoods.vue Ver arquivo

@@ -32,7 +32,6 @@
32 32
           </template>
33 33
         </el-table-column>
34 34
         <!--style="color: #579ef8"-->
35
-
36 35
         <el-table-column label="数量" align="center" width="80">
37 36
           <template slot-scope="scope">
38 37
             <span
@@ -120,7 +119,6 @@
120 119
                 }
121 120
               }
122 121
 
123
-
124 122
             } else {
125 123
               this.$toast({
126 124
                 message: resp.msg
@@ -130,10 +128,7 @@
130 128
           .catch(error => {
131 129
 
132 130
           })
133
-
134
-
135 131
       },
136
-
137 132
       onClick(id) {
138 133
         if (id == 1) {
139 134
           this.Num = 1;
@@ -142,9 +137,7 @@
142 137
         } else if (id == 3) {
143 138
           this.Num = 3;
144 139
         }
145
-
146 140
         switch (this.Num) {
147
-
148 141
           case 1: //近1个月
149 142
             this.currentDate1 = new Date(new Date().setMonth(new Date().getMonth() + 1)),
150 143
               this.currentDate2 = new Date()
@@ -174,7 +167,6 @@
174 167
             this.GetStockInfo(this.query)
175 168
             break
176 169
         }
177
-
178 170
       },
179 171
       getstartTime(value) {
180 172
         this.Num = 0

+ 0 - 16
src/pages/businessCenter/components/targetNoStandard.vue Ver arquivo

@@ -128,23 +128,17 @@ export default {
128 128
       if (id == 1) {
129 129
         this.Num = 1
130 130
         this.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
131
-        // console.log('开始时间', this.start_time)
132 131
         this.end_time = moment(new Date()).format('YYYY-MM-DD')
133
-        // console.log('结束时间', this.end_time)
134 132
         this.getlist()
135 133
       } else if (id == 2) {
136 134
         this.Num = 2
137 135
         this.start_time = moment().subtract('month', 3).format('YYYY-MM-DD')
138
-        // console.log('开始时间', this.start_time)
139 136
         this.end_time = moment(new Date()).format('YYYY-MM-DD')
140
-        // console.log('结束时间', this.end_time)
141 137
         this.getlist()
142 138
       } else if (id == 3) {
143 139
         this.Num = 3
144 140
         this.start_time = moment().subtract('month', 6).format('YYYY-MM-DD')
145
-        // console.log('开始时间', this.start_time)
146 141
         this.end_time = moment(new Date()).format('YYYY-MM-DD')
147
-        // console.log('结束时间', this.end_time)
148 142
         this.getlist()
149 143
       }
150 144
     },
@@ -185,7 +179,6 @@ export default {
185 179
       getMobileNormData().then(response => {
186 180
         if (response.data.state == 1) {
187 181
           var normdata = response.data.data.normdata
188
-          //   console.log('normdate', normdata)
189 182
           this.normData = normdata
190 183
           var a = []
191 184
           for (let i = 0; i < normdata.length; i++) {
@@ -202,9 +195,7 @@ export default {
202 195
       this.tableData = []
203 196
       if (this.Num == 1) {
204 197
         this.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
205
-        // console.log('开始时间', this.start_time)
206 198
         this.end_time = moment(new Date()).format('YYYY-MM-DD')
207
-        // console.log('结束时间', this.end_time)
208 199
       }
209 200
       const params = {
210 201
         startime: this.start_time,
@@ -215,15 +206,11 @@ export default {
215 206
       getTargetNoStandDetail(params).then(response => {
216 207
         if (response.data.state == 1) {
217 208
           var inspectlist = response.data.data.inspectlist
218
-          //   console.log('inspectilist', inspectlist)
219 209
           var configurationlist = response.data.data.configurationlist
220
-          //   console.log('configurationlist', configurationlist)
221 210
           configurationlist.map(item => {
222 211
             inspectlist.push(item)
223 212
           })
224 213
           var list = response.data.data.list
225
-          //   console.log('list', list)
226
-          //   console.log('configurationlist', inspectlist)
227 214
 
228 215
           let dataInfo = {}
229 216
           inspectlist.forEach((item, index) => {
@@ -236,7 +223,6 @@ export default {
236 223
             }
237 224
           })
238 225
           let list = Object.values(dataInfo)
239
-          //   console.log('list', list)
240 226
           var dd = {}
241 227
           for (const index in inspectlist) {
242 228
             if (!(inspectlist[index].inspect_date in dd)) {
@@ -246,7 +232,6 @@ export default {
246 232
               dd[inspectlist[index].inspect_date][inspectlist[index].item_name] = inspectlist[index]
247 233
             }
248 234
           }
249
-          //   console.log('dd', dd)
250 235
 
251 236
           for (const key in dd) {
252 237
             for (const mkey in this.ObjectData) {
@@ -268,7 +253,6 @@ export default {
268 253
               }
269 254
             }
270 255
           })
271
-          // console.log('this===', this.tableData.length)
272 256
           this.$nextTick(() => {
273 257
             this.$refs.tab.doLayout()
274 258
           })

+ 1 - 9
src/pages/businessCenter/components/targetStandard.vue Ver arquivo

@@ -176,7 +176,6 @@ export default {
176 176
     getMobileNormData () {
177 177
       getMobileNormData().then(response => {
178 178
         var normdata = response.data.data.normdata
179
-        // console.log('normdate', normdata)
180 179
         this.normData = normdata
181 180
         var a = []
182 181
         for (let i = 0; i < normdata.length; i++) {
@@ -191,9 +190,7 @@ export default {
191 190
     getlist () {
192 191
       if (this.Num == 1) {
193 192
         this.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
194
-        // console.log('开始时间', this.start_time)
195 193
         this.end_time = moment(new Date()).format('YYYY-MM-DD')
196
-        // console.log('结束时间', this.end_time)
197 194
       }
198 195
       const params = {
199 196
         startime: this.start_time,
@@ -205,15 +202,11 @@ export default {
205 202
       getTargeStandDetail(params).then(response => {
206 203
         if (response.data.state == 1) {
207 204
           var standlist = response.data.data.standlist
208
-          // console.log('standlist', standlist)
209 205
           var confstandlist = response.data.data.confstandlist
210
-          // console.log('confstandlist', confstandlist)
211 206
           var inspectlist = response.data.data.inspectlist
212
-          // console.log('inspectlit', inspectlist)
213 207
           confstandlist.map(item => {
214 208
             standlist.push(item)
215 209
           })
216
-          // console.log('standlist', standlist)
217 210
 
218 211
           let dataInfo = {}
219 212
           standlist.forEach((item, index) => {
@@ -226,7 +219,7 @@ export default {
226 219
             }
227 220
           })
228 221
           let list = Object.values(dataInfo)
229
-          //   console.log('list', list)
222
+
230 223
           var dd = {}
231 224
           for (const index in standlist) {
232 225
             if (!(standlist[index].inspect_date in dd)) {
@@ -236,7 +229,6 @@ export default {
236 229
               dd[standlist[index].inspect_date][standlist[index].item_name] = standlist[index]
237 230
             }
238 231
           }
239
-          //   console.log('dd', dd)
240 232
 
241 233
           for (const key in dd) {
242 234
             for (const mkey in this.ObjectData) {

+ 0 - 8
src/pages/businessCenter/components/time1.vue Ver arquivo

@@ -149,17 +149,11 @@ export default {
149 149
       currentDate: new Date(),
150 150
       startTime: '请选择',
151 151
       endTime: '请选择',
152
-      // minDate: new Date(1970, 0, 1),
153
-      // maxDate: new Date(2025, 10, 1),
154 152
       options: {
155 153
         title: {
156 154
           text: 'ECharts 入门示例'
157 155
         },
158 156
         tooltip: {},
159
-        // legend: {
160
-        //   data: ["达标率%"],
161
-        //   left: 0
162
-        // },
163 157
         xAxis: {
164 158
           data: [],
165 159
           axisLabel: {
@@ -208,7 +202,6 @@ export default {
208 202
             // 配置样式
209 203
             itemStyle: {
210 204
               // 通常情况下:
211
-
212 205
               // 每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
213 206
               normal: {
214 207
                 color: function (params) {
@@ -224,7 +217,6 @@ export default {
224 217
                     ['#D7C3FD', '#B3A8F7'],
225 218
                     ['#D7C3FD', '#B3A8F7']
226 219
                   ]
227
-
228 220
                   var index = params.dataIndex
229 221
                   if (params.dataIndex >= colorList.length) {
230 222
                     index = params.dataIndex % colorList.length

+ 0 - 10
src/pages/businessCenter/components/warehouseOut.vue Ver arquivo

@@ -35,7 +35,6 @@
35 35
 
36 36
             </template>
37 37
           </el-table-column>
38
-          <!--style="color: #579ef8"-->
39 38
 
40 39
           <el-table-column label="数量" align="center" width="80">
41 40
             <template slot-scope="scope">
@@ -46,13 +45,8 @@
46 45
           </el-table-column>
47 46
           <el-table-column label="总价" align="center" width="80">
48 47
             <template slot-scope="scope">
49
-              <!--<span>{{scope.row}}</span>-->
50
-              <!--<span>{{scope.row.query_warehouseout_info.total_price}}</span>-->
51 48
               <span v-if="scope.row.is_total == 1">{{getTotal(scope.row)}}</span>
52 49
               <span v-if="scope.row.is_total == 2">{{scope.row.total}}</span>
53
-
54
-
55
-
56 50
             </template>
57 51
           </el-table-column>
58 52
         </el-table>
@@ -162,8 +156,6 @@
162 156
           .catch(error => {
163 157
 
164 158
           })
165
-
166
-
167 159
       },
168 160
 
169 161
       onClick(id) {
@@ -174,9 +166,7 @@
174 166
         } else if (id == 3) {
175 167
           this.Num = 3;
176 168
         }
177
-
178 169
         switch (this.Num) {
179
-
180 170
           case 1: //近1个月
181 171
             this.currentDate1 = new Date(new Date().setMonth(new Date().getMonth() + 1)),
182 172
               this.currentDate2 = new Date()

+ 0 - 2
src/pages/businessCenter/components/warehousing.vue Ver arquivo

@@ -291,8 +291,6 @@
291 291
 
292 292
   }
293 293
 
294
-
295
-
296 294
   .toolOne {
297 295
     width: 6.25rem;
298 296
     height: 1.875rem;

+ 2 - 7
src/pages/businessCenter/components/withdrawal.vue Ver arquivo

@@ -4,7 +4,6 @@
4 4
       <p :class="Num == 1 ? 'active' : ''" @click="onClick(1)">近一月</p>
5 5
       <p :class="Num == 2 ? 'active' : ''" @click="onClick(2)">近三月</p>
6 6
       <p :class="Num == 3 ? 'active' : ''" @click="onClick(3)">近半年</p>
7
-      <!-- <div class="toolBox"> -->
8 7
       <div class="toolOne" @click="startShow = true">
9 8
         <div style="display: flex;align-items: center;">
10 9
           {{ query.start_time }}
@@ -17,7 +16,6 @@
17 16
           <van-icon name="arrow-down"/>
18 17
         </div>
19 18
       </div>
20
-      <!-- </div> -->
21 19
     </div>
22 20
     <div>
23 21
       <el-table ref="tab" :data="tableData" style="width: 100%" :height="tableHeight" border :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}">
@@ -31,7 +29,6 @@
31 29
             <span>{{ scope.row.specification_name }}</span>
32 30
           </template>
33 31
         </el-table-column>
34
-        <!--style="color: #579ef8"-->
35 32
 
36 33
         <el-table-column label="数量" align="center" width="80">
37 34
           <template slot-scope="scope">
@@ -72,7 +69,6 @@
72 69
 <script>
73 70
   const moment = require('moment')
74 71
   import {GetStockInfo} from "@/api/statistics";
75
-
76 72
   export default {
77 73
     data() {
78 74
       return {
@@ -129,8 +125,6 @@
129 125
           .catch(error => {
130 126
 
131 127
           })
132
-
133
-
134 128
       },
135 129
 
136 130
       onClick(id) {
@@ -210,7 +204,8 @@
210 204
         this.GetStockInfo(this.query)
211 205
 
212 206
       },
213
-    }, created() {
207
+    },
208
+    created() {
214 209
       this.tableHeight = (document.documentElement.clientHeight - (Number(document.documentElement.style.fontSize.slice(0, -2)) * 2.75)) + 'px'
215 210
       this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
216 211
       // 本月的结束时间

+ 0 - 6
src/pages/businessCenter/index.vue Ver arquivo

@@ -4,11 +4,6 @@
4 4
             <i class="iconfont icon-zuojiantou jiantou" @click="goBack"></i>
5 5
             <span class="titleName">经营中心</span>
6 6
       </div>
7
-      <!-- <div>
8
-          <van-cell title="患者统计" is-link @click="toCustomClick" />
9
-          <van-cell title="质量统计" is-link @click="toClick" />
10
-          <van-cell title="库存统计" is-link @click="toStockClick"/>
11
-      </div> -->
12 7
       <div class="consoleBox">
13 8
       <div class="consoleOne" @click="toCustomClick">
14 9
         <img src="../../assets/images/A1.jpg" alt />
@@ -57,7 +52,6 @@ export default {
57 52
     },
58 53
     toCustomClick(){
59 54
       this.$router.push('/bus/quality?tabName=' + '患者统计')
60
-
61 55
     },
62 56
     toClick () {
63 57
       this.$router.push('/bus/quality?tabName=' + '质量统计')

+ 3 - 3
src/pages/businessCenter/quality.vue Ver arquivo

@@ -18,9 +18,9 @@
18 18
 </template>
19 19
 
20 20
 <script>
21
-import Project from './components/project.vue'
22
-import Time1 from './components/time1.vue'
23
-import Patient from './components/patient.vue'
21
+import Project from './components/project'
22
+import Time1 from './components/time1'
23
+import Patient from './components/patient'
24 24
 export default {
25 25
   components: {
26 26
     Project,

+ 1 - 2
src/pages/businessCenter/targetStandard.vue Ver arquivo

@@ -65,7 +65,6 @@ export default {
65 65
       this.$router.go(-1)
66 66
     },
67 67
     onConfirm (value) {
68
-      console.log('value', value)
69 68
       this.type = value
70 69
       this.show = false
71 70
     }
@@ -80,7 +79,7 @@ export default {
80 79
     }
81 80
     this.tabName = this.$route.query.tabName
82 81
     var test = localStorage.getItem('test', this.active)
83
-    console.log('dovActive', test)
82
+
84 83
   }
85 84
 }
86 85
 </script>

+ 3 - 3
src/pages/configureCenter/components/Bed.vue Ver arquivo

@@ -66,12 +66,12 @@ export default {
66 66
       GetAllNumber(this.page, this.limit).then(response => {
67 67
         if (response.data.state === 1) {
68 68
           var number = response.data.data.number;
69
-          console.log("number", number);
69
+          // console.log("number", number);
70 70
           let arr = this.BedNumber;
71 71
           arr.push(...number);
72 72
           this.BedNumber = arr;
73 73
           var total = response.data.data.total;
74
-          console.log("total", total);
74
+          // console.log("total", total);
75 75
           this.total = total;
76 76
           var zone = response.data.data.zone;
77 77
           this.Zone = zone;
@@ -143,7 +143,7 @@ export default {
143 143
     }
144 144
   },
145 145
   created() {
146
-    console.log("active", this.active);
146
+    // console.log("active", this.active);
147 147
     this.GetAllNumber();
148 148
   }
149 149
 };

+ 2 - 2
src/pages/configureCenter/components/Grouping.vue Ver arquivo

@@ -64,9 +64,9 @@ export default {
64 64
           let arr = this.group;
65 65
           arr.push(...group);
66 66
           this.group = arr;
67
-          console.log("group", group);
67
+          // console.log("group", group);
68 68
           var total = response.data.data.total;
69
-          console.log("total", total);
69
+          // console.log("total", total);
70 70
           this.total = total;
71 71
           this.loading = false;
72 72
         }

+ 1 - 1
src/pages/configureCenter/components/Partition.vue Ver arquivo

@@ -68,7 +68,7 @@ export default {
68 68
       GetAllZone(this.page, this.limit).then(response => {
69 69
         if (response.data.state === 1) {
70 70
           var zone = response.data.data.zone;
71
-          console.log("分区", zone);
71
+          // console.log("分区", zone);
72 72
           for (let i = 0; i < zone.length; i++) {
73 73
             if (zone[i].type === 1) {
74 74
               zone[i].type = "普通";

+ 2 - 2
src/pages/configureCenter/editBed.vue Ver arquivo

@@ -131,9 +131,9 @@ export default {
131 131
           var bedDetail = response.data.data.bedDetail;
132 132
           this.form.id = bedDetail.id;
133 133
           var zone = response.data.data.zone;
134
-          console.log(zone);
134
+          // console.log(zone);
135 135
           var group = response.data.data.group;
136
-          console.log("bedDetail", bedDetail);
136
+          // console.log("bedDetail", bedDetail);
137 137
           // this.zone = bedDetail.zone_id;
138 138
           this.name = bedDetail.number;
139 139
           for (let i = 0; i < zone.length; i++) {

+ 1 - 1
src/pages/configureCenter/editGrouping.vue Ver arquivo

@@ -35,7 +35,7 @@ export default {
35 35
       getGroupDetail(id).then(response => {
36 36
         if (response.data.state == 1) {
37 37
           var groupdetail = response.data.data.groupDetail;
38
-          console.log("groupdetail", groupdetail);
38
+          // console.log("groupdetail", groupdetail);
39 39
           this.name = groupdetail.name;
40 40
           this.id = groupdetail.id;
41 41
         }

+ 1 - 2
src/pages/configureCenter/editPartion.vue Ver arquivo

@@ -115,7 +115,7 @@ export default {
115 115
           if (partionDetail.type === 6) {
116 116
             this.type = "梅毒";
117 117
           }
118
-          console.log("partionDetail", partionDetail);
118
+          // console.log("partionDetail", partionDetail);
119 119
         }
120 120
       });
121 121
     },
@@ -185,7 +185,6 @@ export default {
185 185
   created() {
186 186
     this.active = parseInt(this.$route.query.active);
187 187
     var id = this.$route.query.id;
188
-    console.log("id", id);
189 188
     this.getPartionDetail(id);
190 189
     localStorage.setItem("test", this.active);
191 190
   }

+ 2 - 2
src/pages/configureCenter/index.vue Ver arquivo

@@ -68,10 +68,10 @@ export default {
68 68
 
69 69
     this.active = parseInt(localStorage.getItem("test"));
70 70
     localStorage.removeItem("test");
71
-    console.log(this.active);
71
+    // console.log(this.active);
72 72
     var center = parseInt(localStorage.getItem("center"));
73 73
     this.center = center;
74
-    console.log("------", center);
74
+    // console.log("------", center);
75 75
   },
76 76
   mounted() {
77 77
     setRem();

+ 0 - 1
src/pages/configureCenter/newBed.vue Ver arquivo

@@ -74,7 +74,6 @@ export default {
74 74
             this.columns.push(zone[j].name);
75 75
           }
76 76
           this.dataOne = zone;
77
-          console.log("zone", zone);
78 77
         }
79 78
       });
80 79
     },

+ 1 - 17
src/pages/console/managementConsole/index.vue Ver arquivo

@@ -25,16 +25,6 @@
25 25
           <van-icon name="arrow" />
26 26
         </div>
27 27
       </div>
28
-      <!--<div class="consoleOne">-->
29
-      <!--<img src="../../../assets/images/A3.jpg" alt="" />-->
30
-      <!--<div class="consoleRight">-->
31
-      <!--<div>-->
32
-      <!--<p class="rightName">应用管理</p>-->
33
-      <!--<p class="rightTip">管理员可以添加或者停用应用</p>-->
34
-      <!--</div>-->
35
-      <!--<van-icon name="arrow" />-->
36
-      <!--</div>-->
37
-      <!--</div>-->
38 28
       <div class="consoleOne" @click="toOrgSetting()">
39 29
         <img src="../../../assets/images/A4.jpg" alt="" />
40 30
         <div class="consoleRight">
@@ -56,13 +46,7 @@
56 46
         </div>
57 47
       </div>
58 48
     </div>
59
-    <!--<div class="transfer">-->
60
-    <!--<img src="../../../assets/images/A6.jpg" alt="" />-->
61
-    <!--<div class="transferRight">-->
62
-    <!--<p class="rightName">员工管理</p>-->
63
-    <!--<van-icon name="arrow" />-->
64
-    <!--</div>-->
65
-    <!--</div>-->
49
+
66 50
   </div>
67 51
 </template>
68 52
 <script>

+ 2 - 4
src/pages/console/managementConsole/staff_role/addStaff/index.vue Ver arquivo

@@ -188,16 +188,14 @@ export default {
188 188
         }
189 189
       }
190 190
 
191
-      console.log(this.departments)
192
-
193 191
       for (let i = 0; i < this.departments.length; i++){
194
-        console.log(this.departments[i])
192
+        // console.log(this.departments[i])
195 193
         if(this.department_name == this.departments[i].name){
196 194
           this.department_id = this.departments[i].id
197 195
         }
198 196
       }
199 197
 
200
-      console.log(this.department_id)
198
+      // console.log(this.department_id)
201 199
     },
202 200
     onUserTypeConfirm(value, index) {
203 201
       this.show1 = false;

+ 2 - 15
src/pages/console/managementConsole/staff_role/editRole/index.vue Ver arquivo

@@ -5,26 +5,13 @@
5 5
       <span class="titleName">模块权限配置</span>
6 6
     </div>
7 7
 
8
-    <!--<div class="roleDescription">-->
9
-      <!--&lt;!&ndash;<van-field v-if="!isShow" v-model="desc" rows="1" autosize label="角色描述" type="textarea" placeholder="请填写角色描述"/>&ndash;&gt;-->
10
-      <!--&lt;!&ndash;<van-field v-else v-model="desc" rows="1" autosize label="角色描述" type="textarea" placeholder="请填写角色描述"/>&ndash;&gt;-->
11
-    <!--</div>-->
12 8
     <div class="disposeBox">
13 9
       <p class="disposeTitle">模块权限配置</p>
14 10
 
15 11
       <div v-for="(item, index) in allPurview" :key="index">
16 12
         <div class="disposeOne" v-if="!item.no_sub" @click="toSubPurview(item)">
17 13
           <van-cell :title="item.name" is-link center />
18
-          <!-- <div class="disposeImg" style="visibility: hidden">
19
-            <img :src="item.icon_url" alt/>
20
-          </div>
21
-          <div class="disposeTxt">
22
-            <div>
23
-              <p class="disposeName">{{ item.name }}</p>
24
-              <p class="disposeTip">{{ item.desc }}</p>
25
-            </div>
26
-            <van-icon class="arrow" name="arrow"/>
27
-          </div> -->
14
+  
28 15
         </div>
29 16
         <van-cell center :title="item.name" v-if="item.no_sub">
30 17
           <template #right-icon>
@@ -199,7 +186,7 @@
199 186
         GetNewPurview(params).then(response => {
200 187
           if (response.data.state === 1) {
201 188
             this.loading = false
202
-            console.log( this.$route.query.url == '/config/manage')
189
+            // console.log( this.$route.query.url == '/config/manage')
203 190
 
204 191
             for (let i = 0; i < response.data.data.purviews.length; i++) {
205 192
               var purview = response.data.data.purviews[i].sub_purview

+ 0 - 22
src/pages/console/managementConsole/staff_role/editStaff/index.vue Ver arquivo

@@ -64,8 +64,6 @@
64 64
     <div class="staffBox">
65 65
       <van-field v-model="title" label="职位" placeholder="请填写"/>
66 66
     </div>
67
-    <!--<div v-if="isShow()" class="stop" @click="onClick(2)">禁用该员工账号</div>-->
68
-    <!--<div v-if="isShow()" class="stop" @click="onClick(2)">禁用该员工账号</div>-->
69 67
 
70 68
     <div v-if="adminInfo.status == 1  &&  isShow()" class="stop" @click="onClick(2)">禁用该员工账号</div>
71 69
     <div v-if="adminInfo.status != 1  &&  isShow()" class="stop1" @click="onClick(1)">恢复该员工账号</div>
@@ -194,9 +192,6 @@
194 192
           }
195 193
         }
196 194
 
197
-        // if(this.adminInfo.admin_user_id)
198
-
199
-
200 195
       },
201 196
       onUserTypeConfirm(value, index) {
202 197
         this.type_name = value
@@ -206,12 +201,8 @@
206 201
           if (this.user_types[i].name == value) {
207 202
             this.user_type = this.user_types[i].index
208 203
             this.type_name = this.user_types[i].name
209
-
210 204
           }
211
-
212 205
         }
213
-
214
-
215 206
       },
216 207
       onUserTitleConfirm(value, index) {
217 208
         this.titles_name = value
@@ -224,15 +215,11 @@
224 215
 
225 216
           }
226 217
         }
227
-
228
-
229 218
       },
230 219
       onCancel() {
231 220
         this.show1 = false
232 221
         this.show2 = false
233 222
         this.show3 = false
234
-
235
-
236 223
       },
237 224
       save() {
238 225
 
@@ -318,7 +305,6 @@
318 305
               }
319 306
             }
320 307
 
321
-
322 308
             for (let i = 0; i < this.user_department_name.length; i++) {
323 309
               if (this.user_department_name[i] == this.adminInfo.department) {
324 310
                 this.department_name = this.user_department_name[i]
@@ -331,7 +317,6 @@
331 317
               }
332 318
             }
333 319
 
334
-
335 320
             //如果当前用户是超级管理员,而且是在编辑自己的信息的时候,将子管理员角色去除
336 321
             for (let i = 0; i < this.roles.length; i++) {
337 322
               if (this.adminInfo.admin.id == this.$store.getters.user.admin.id && this.$store.getters.user.admin.is_super_admin && this.roles[i].is_system == 1 && this.roles[i].name == "子管理员") {
@@ -340,7 +325,6 @@
340 325
               }
341 326
             }
342 327
 
343
-
344 328
           } else {
345 329
             this.$toast({
346 330
               message: response.data.msg
@@ -402,7 +386,6 @@
402 386
 
403 387
             this.GetAdminUserInfo(this.$route.query.id)
404 388
 
405
-
406 389
           } else {
407 390
             this.$toast({
408 391
               message: response.data.msg
@@ -418,24 +401,19 @@
418 401
           }).then(() => {
419 402
             this.StopAdminUser(id)
420 403
 
421
-
422 404
           });
423 405
         } else if (id == 1) {
424 406
           Dialog.confirm({
425 407
             message: "是否确定要恢复该员工账号?"
426 408
           }).then(() => {
427 409
             this.StopAdminUser(id)
428
-
429
-
430 410
           });
431 411
         }
432 412
       }
433 413
     }, created() {
434 414
       this.GetDepartment();
435 415
       this.GetAdminUserInitData()
436
-
437 416
       setRem()
438
-
439 417
     }
440 418
   };
441 419
 </script>

+ 1 - 1
src/pages/console/managementConsole/staff_role/employeeList/index.vue Ver arquivo

@@ -79,7 +79,7 @@
79 79
             this.admin_user = response.data.data.admins;
80 80
             this.isSubSuperAdmin = response.data.data.isSubSuperAdmin;
81 81
 
82
-            console.log(this.admin_user);
82
+            // console.log(this.admin_user);
83 83
             for (let i = 0; i < this.admin_user.length; i++) {
84 84
               if (this.admin_user[i].role_ids.length > 0) {
85 85
                 let isExist = -1;

+ 1 - 1
src/pages/console/managementConsole/staff_role/otherPurview/index.vue Ver arquivo

@@ -231,7 +231,7 @@
231 231
             this.desc = response.data.data.role.intro;
232 232
             this.ids = this.rolePurview.PurviewIds.split(",");
233 233
 
234
-            console.log(this.subPurview)
234
+            // console.log(this.subPurview)
235 235
             for (let a = 0; a < this.ids.length; a++) {
236 236
               for (let i = 0; i < this.subPurview.length; i++) {
237 237
                 if (parseInt(this.ids[a]) == this.subPurview[i].id) {

+ 1 - 1
src/pages/console/managementConsole/staff_role/privilegeManagement/index.vue Ver arquivo

@@ -73,7 +73,7 @@
73 73
         this.loading = true
74 74
         GetAllRole().then(response => {
75 75
           if (response.data.state === 1) {
76
-            console.log(response.data.data.roles.length)
76
+            // console.log(response.data.data.roles.length)
77 77
             for (let i = 0; i < response.data.data.roles.length; i++) {
78 78
               if (!response.data.data.roles[i].is_super_admin) {
79 79
                 this.roles.push(response.data.data.roles[i])

+ 1 - 25
src/pages/console/managementConsole/staff_role/userManage/index.vue Ver arquivo

@@ -88,7 +88,7 @@ export default {
88 88
           this.isSubSuperAdmin = response.data.data.isSubSuperAdmin;
89 89
 
90 90
           for (let i = 0; i < this.admin_user.length; i++) {
91
-            console.log(this.admin_user[i].role_ids.length)
91
+            // console.log(this.admin_user[i].role_ids.length)
92 92
             if (this.admin_user[i].role_ids.length >= 0) {
93 93
               let isExist = -1;
94 94
               let ids = this.admin_user[i].role_ids.split(",");
@@ -111,31 +111,7 @@ export default {
111 111
       });
112 112
     },
113 113
     goEditStaff: function(is_sub_admin, user_id) {
114
-      // if (this.isShow(is_sub_admin,user_id)){
115 114
         this.$router.push({ path: "/staff/editstaff?id=" + user_id });
116
-      // }
117
-      // else{
118
-      //   if (!this.isSubSuperAdmin){
119
-
120
-
121
-      //   }else {
122
-      //     if (is_sub_admin) {
123
-      //       if (user_id == this.$store.getters.user.admin.id) {
124
-
125
-      //       }else{
126
-      //         Toast("无法修改其他子管理员或者管理员信息");
127
-      //       }
128
-      //     } else {
129
-      //       if (user_id != this.$store.getters.user.org.creator) {
130
-
131
-      //       } else {
132
-      //         Toast("无法修改其他子管理员或者管理员信息");
133
-      //       }
134
-      //     }
135
-      //   }
136
-
137
-
138
-      // }
139 115
     },
140 116
     goAddStaff: function() {
141 117
       this.$router.push({ path: "/staff/addstaff" });

+ 3 - 6
src/pages/doctorAdvice/add/addCourseManagement.vue Ver arquivo

@@ -1,4 +1,4 @@
1
-<template>
1
+<!-- <template>
2 2
     <div class="page_newCourse">
3 3
         <van-sticky>
4 4
             <div class="newCourseTitle">
@@ -105,14 +105,12 @@ export default {
105 105
     },
106 106
 
107 107
     onConfirm (value) {
108
-      console.log('value', value)
109 108
       var content = ''
110 109
       for (let i = 0; i < this.template.length; i++) {
111 110
         if (value == this.template[i].title) {
112 111
           content = this.template[i].content
113 112
         }
114 113
       }
115
-      console.log('content', content)
116 114
       this.content = content.replace(/<[^>]+>/g, '')
117 115
       this.course_content = value
118 116
       this.typeShow = false
@@ -137,11 +135,10 @@ export default {
137 135
         content: this.content,
138 136
         patientid: this.patientid
139 137
       }
140
-      console.log('params', params)
141 138
       saveCourseManagement(params).then(response => {
142 139
         if (response.data.state == 1) {
143 140
           var record = response.data.data.record
144
-          console.log('record', record)
141
+          // console.log('record', record)
145 142
           this.$toast('保存成功')
146 143
           this.$router.push('/patientdetail?patientid=' + this.patientid + '&seacherActive=' + this.seacherActive + '&active=' + 5)
147 144
         }
@@ -234,4 +231,4 @@ export default {
234 231
     height:100%;
235 232
   }
236 233
 }
237
-</style>
234
+</style> -->

+ 3 - 8
src/pages/doctorAdvice/components/Contagion.vue Ver arquivo

@@ -58,11 +58,6 @@
58 58
         <img src="../../../assets/images/none.png" alt />
59 59
       </div>
60 60
     </div>
61
-    <!-- <div class="add">
62
-      <div style="display: flex;align-items: center;">
63
-        <van-icon class="addIcon" name="add" />新增
64
-      </div>
65
-    </div>-->
66 61
 
67 62
     <!-- 弹出层 -->
68 63
     <div>
@@ -263,7 +258,7 @@ export default {
263 258
       getAllInspection().then(response => {
264 259
         if (response.data.state === 1) {
265 260
           var inspection = response.data.data.inspection
266
-          console.log('inspection9999', inspection)
261
+          // console.log('inspection9999', inspection)
267 262
           this.checkdata = inspection
268 263
           for (let i = 0; i < inspection.length; i++) {
269 264
             this.columns.push(inspection[i].project_name)
@@ -289,7 +284,7 @@ export default {
289 284
             }
290 285
           }
291 286
           var total = response.data.data.total
292
-           console.log("inspection2222", inspection);
287
+          //  console.log("inspection2222", inspection);
293 288
           let dataInfo = {}
294 289
           inspection.forEach((item, index) => {
295 290
             let { inspect_date } = item
@@ -317,7 +312,7 @@ export default {
317 312
             item.child = arr
318 313
           })
319 314
           this.Inspection = list.reverse()
320
-          console.log('this', this.Inspection)
315
+          // console.log('this', this.Inspection)
321 316
         }
322 317
       })
323 318
       this.finished = true

+ 0 - 15
src/pages/doctorAdvice/components/CourseManagement.vue Ver arquivo

@@ -58,11 +58,6 @@
58 58
         <img src="../../../assets/images/none.png" alt />
59 59
       </div>
60 60
     </div>
61
-<!--    <div class="add">-->
62
-<!--      <div style="display: flex;align-items: center;margin: 0 auto;width: 15%;" @click="addCourse">-->
63
-<!--        <van-icon class="addIcon" name="add" />新增-->
64
-<!--      </div>-->
65
-<!--    </div>-->
66 61
 
67 62
     <!-- 弹出层 -->
68 63
     <div>
@@ -241,16 +236,6 @@ export default {
241 236
       })
242 237
     },
243 238
     onLoad () {
244
-      // setTimeout(() => {
245
-      //   this.page++
246
-      //   // console.log(this.page)
247
-      //   if (this.page <= Math.ceil(this.total / 10)) {
248
-      //     this.getCourseManagement(this.patientid)
249
-      //   } else {
250
-      //     this.loading = false
251
-      //     this.finished = true
252
-      //   }
253
-      // }, 1000)
254 239
         this.loading = false
255 240
         this.finished = true
256 241
     },

+ 0 - 1
src/pages/doctorAdvice/components/DialysisRecord.vue Ver arquivo

@@ -473,7 +473,6 @@ export default {
473 473
       this.page++
474 474
       if (this.page <= Math.ceil(this.total / 10)) {
475 475
         this.getDialysisRecord(this.patient_id)
476
-        console.log('patientid', this.patient_id)
477 476
       } else {
478 477
         this.loading = false
479 478
         this.finished = true

+ 3 - 9
src/pages/doctorAdvice/components/DoctorManagement.vue Ver arquivo

@@ -171,7 +171,6 @@
171 171
                 </div>
172 172
             </div>
173 173
          </div>
174
-
175 174
             <div class="all" @click="toDoctorAdviceDetail(item.start_time)">全部</div>
176 175
           </div>
177 176
         </van-list>
@@ -181,11 +180,6 @@
181 180
         <img src="../../../assets/images/none.png" alt />
182 181
       </div>
183 182
     </div>
184
-    <!-- <div class="add">
185
-      <div style="display: flex;align-items: center;">
186
-        <van-icon class="addIcon" name="add" />新增
187
-      </div>
188
-    </div>-->
189 183
 
190 184
     <!-- 弹出层 -->
191 185
     <div id='screen'>
@@ -441,7 +435,7 @@ export default {
441 435
           this.childList = objarr
442 436
           let arr = this.doctorAdvice
443 437
           arr.push(...list.reverse())
444
-          console.log('arr', arr)
438
+          // console.log('arr', arr)
445 439
           this.doctorAdvice = arr
446 440
 
447 441
           this.loading = false
@@ -452,7 +446,7 @@ export default {
452 446
       getPatientDetail(patientid).then(response => {
453 447
         if (response.data.state === 1) {
454 448
           var patientDetail = response.data.data.patientDetail
455
-          console.log('patientDetail', patientDetail)
449
+          // console.log('patientDetail', patientDetail)
456 450
           if (patientDetail.blood_patients == 0) {
457 451
             this.doctorAdvice = []
458 452
             this.showOne = false
@@ -477,7 +471,7 @@ export default {
477 471
       getAllDoctor().then(response => {
478 472
         if (response.data.state === 1) {
479 473
           var doctor = response.data.data.doctor
480
-          console.log('doctor是', doctor)
474
+          // console.log('doctor是', doctor)
481 475
           this.doctor = doctor
482 476
         }
483 477
       })

+ 0 - 5
src/pages/doctorAdvice/components/Education.vue Ver arquivo

@@ -51,11 +51,6 @@
51 51
         <img src="../../../assets/images/none.png" alt />
52 52
       </div>
53 53
     </div>
54
-    <!-- <div class="add">
55
-      <div style="display: flex;align-items: center;">
56
-        <van-icon class="addIcon" name="add" />新增
57
-      </div>
58
-    </div>-->
59 54
 
60 55
     <!-- 弹出层 -->
61 56
     <div>

+ 4 - 2
src/pages/doctorAdvice/components/Inspection.vue Ver arquivo

@@ -27,6 +27,7 @@
27 27
           v-model="loading"
28 28
           :finished="finished"
29 29
           finished-text="没有更多了"
30
+          style="width: 100%;height: 100%;overflow-y: auto;"
30 31
         >
31 32
           <div class="adviceMain">
32 33
             <div class="adviceOne" v-for="(item, index) in Inspection" :key="index" >
@@ -263,7 +264,7 @@ export default {
263 264
       getAllInspection().then(response => {
264 265
         if (response.data.state === 1) {
265 266
           var inspection = response.data.data.inspection
266
-          console.log('inspection', inspection)
267
+          // console.log('inspection', inspection)
267 268
           this.checkdata = inspection
268 269
           for (let i = 0; i < inspection.length; i++) {
269 270
             this.columns.push(inspection[i].project_name)
@@ -311,7 +312,8 @@ export default {
311 312
             item.child = arr
312 313
           })
313 314
           this.Inspection = list.reverse()
314
-          console.log('this', this.Inspection)
315
+          // console.log('this', this.Inspection)
316
+          this.loading = false
315 317
         }
316 318
       })
317 319
       this.finished = true

+ 0 - 4
src/pages/doctorAdvice/components/LongDialysis.vue Ver arquivo

@@ -433,12 +433,8 @@ export default {
433 433
       })
434 434
     },
435 435
     onLoad () {
436
-      console.log('page23323223wo', this.page)
437 436
       setTimeout(() => {
438 437
         this.page++
439
-        console.log('page23323223wo', this.page)
440
-        console.log('Math.ceil(this.total / 10)', Math.ceil(this.total / 10))
441
-        console.log('total2323223', this.total)
442 438
         if (this.page <= Math.ceil(this.total / 10)) {
443 439
           this.GetLongDialysisRecord(
444 440
             this.patient_id,

+ 0 - 7
src/pages/doctorAdvice/components/RescueRecord.vue Ver arquivo

@@ -55,11 +55,6 @@
55 55
         <img src="../../../assets/images/none.png" alt />
56 56
       </div>
57 57
     </div>
58
-    <!-- <div class="add">
59
-      <div style="display: flex;align-items: center;">
60
-        <van-icon class="addIcon" name="add" />新增
61
-      </div>
62
-    </div>-->
63 58
 
64 59
     <!-- 弹出层 -->
65 60
     <div>
@@ -206,7 +201,6 @@ export default {
206 201
             this.showOne = true
207 202
             this.showTwo = false
208 203
           }
209
-          // console.log("病人详情", patientDetail);
210 204
           this.patientName = patientDetail.name
211 205
         }
212 206
       })
@@ -304,7 +298,6 @@ export default {
304 298
   },
305 299
   created () {
306 300
     var patientid = this.$route.query.patientid
307
-    // console.log("病人id能否获取", patientid);
308 301
     this.patient_id = patientid
309 302
     this.getPatientDetail(patientid)
310 303
     this.getRescueRecord(patientid)

+ 0 - 5
src/pages/doctorAdvice/components/Scheduling.vue Ver arquivo

@@ -56,11 +56,6 @@
56 56
         <img src="../../../assets/images/none.png" alt />
57 57
       </div>
58 58
     </div>
59
-    <!-- <div class="add">
60
-      <div style="display: flex;align-items: center;">
61
-        <van-icon class="addIcon" name="add" />新增
62
-      </div>
63
-    </div> -->
64 59
 
65 60
     <!-- 弹出层 -->
66 61
     <div>

+ 0 - 23
src/pages/doctorAdvice/components/deviceManagement.vue Ver arquivo

@@ -18,30 +18,7 @@
18 18
       <div class="noimgBox">
19 19
         <img src="../../../assets/images/none.png" alt />
20 20
       </div>
21
-      <!-- <div class="adviceBox">
22
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
23
-          <div class="adviceOne" v-for="item in 3" :key="index">
24
-            <div class="adviceTitle">
25
-              <p>2019.09.01</p>
26
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
27
-            </div>
28
-            <div class="orderContent">
29
-              <p>血压</p>
30
-              <p>血糖</p>
31
-              <p>体重</p>
32
-              <p>体温</p>
33
-              <p>心率</p>
34
-            </div>
35
-            <div class="all">全部</div>
36
-          </div>
37
-        </van-list>
38
-      </div>-->
39 21
     </div>
40
-    <!-- <div class="add">
41
-      <div style="display: flex;align-items: center;">
42
-        <van-icon class="addIcon" name="add" />新增
43
-      </div>
44
-    </div>-->
45 22
 
46 23
     <!-- 弹出层 -->
47 24
     <div>

+ 0 - 23
src/pages/doctorAdvice/components/medicationPlan.vue Ver arquivo

@@ -18,30 +18,7 @@
18 18
       <div class="noimgBox">
19 19
         <img src="../../../assets/images/none.png" alt />
20 20
       </div>
21
-      <!-- <div class="adviceBox">
22
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
23
-          <div class="adviceOne" v-for="item in 3" :key="index">
24
-            <div class="adviceTitle">
25
-              <p>2019.09.01</p>
26
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
27
-            </div>
28
-            <div class="orderContent">
29
-              <p>血压</p>
30
-              <p>血糖</p>
31
-              <p>体重</p>
32
-              <p>体温</p>
33
-              <p>心率</p>
34
-            </div>
35
-            <div class="all">全部</div>
36
-          </div>
37
-        </van-list>
38
-      </div>-->
39 21
     </div>
40
-    <!-- <div class="add">
41
-      <div style="display: flex;align-items: center;">
42
-        <van-icon class="addIcon" name="add" />新增
43
-      </div>
44
-    </div>-->
45 22
 
46 23
     <!-- 弹出层 -->
47 24
     <div>

+ 0 - 24
src/pages/doctorAdvice/components/recoverNotes.vue Ver arquivo

@@ -18,30 +18,7 @@
18 18
       <div class="noimgBox">
19 19
         <img src="../../../assets/images/none.png" alt />
20 20
       </div>
21
-      <!-- <div class="adviceBox">
22
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
23
-          <div class="adviceOne" v-for="item in 3" :key="index">
24
-            <div class="adviceTitle">
25
-              <p>2019.09.01</p>
26
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
27
-            </div>
28
-            <div class="orderContent">
29
-              <p>血压</p>
30
-              <p>血糖</p>
31
-              <p>体重</p>
32
-              <p>体温</p>
33
-              <p>心率</p>
34
-            </div>
35
-            <div class="all">全部</div>
36
-          </div>
37
-        </van-list>
38
-      </div>-->
39 21
     </div>
40
-    <!-- <div class="add">
41
-      <div style="display: flex;align-items: center;">
42
-        <van-icon class="addIcon" name="add" />新增
43
-      </div>
44
-    </div>-->
45 22
 
46 23
     <!-- 弹出层 -->
47 24
     <div>
@@ -111,7 +88,6 @@ export default {
111 88
       this.typeShow = false;
112 89
     },
113 90
     getstartTime(value) {
114
-      // console.log(value);
115 91
       let year = value.getFullYear();
116 92
       let month = value.getMonth() + 1;
117 93
       let day = value.getDate();

+ 1 - 24
src/pages/doctorAdvice/components/signsRecord.vue Ver arquivo

@@ -24,31 +24,8 @@
24 24
       <div class="noimgBox">
25 25
         <img src="../../../assets/images/none.png" alt />
26 26
       </div>
27
-      <!-- <div class="adviceBox">
28
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
29
-          <div class="adviceOne" v-for="item in 3" :key="index">
30
-            <div class="adviceTitle">
31
-              <p>2019.09.01</p>
32
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
33
-            </div>
34
-            <div class="orderContent">
35
-              <p>血压</p>
36
-              <p>血糖</p>
37
-              <p>体重</p>
38
-              <p>体温</p>
39
-              <p>心率</p>
40
-            </div>
41
-            <div class="all">全部</div>
42
-          </div>
43
-        </van-list>
44
-      </div>-->
45 27
     </div>
46
-    <!-- <div class="add">
47
-      <div style="display: flex;align-items: center;">
48
-        <van-icon class="addIcon" name="add" />新增
49
-      </div>
50
-    </div>-->
51
-
28
+    
52 29
     <!-- 弹出层 -->
53 30
     <div>
54 31
       <van-popup v-model="typeShow" get-container="#app" position="bottom" :style="{ height: '40%' }">

+ 0 - 21
src/pages/doctorAdvice/index.vue Ver arquivo

@@ -59,22 +59,6 @@
59 59
       <van-tab title="设备管理">
60 60
         <device-management :active="active"></device-management>
61 61
       </van-tab>
62
-
63
-      <!-- <van-tab v-for="(item, index) in title" :title="item" :key="index">
64
-        <doctor-management :dryId="patient_id"></doctor-management>
65
-        <long-dialysis :active="active"></long-dialysis>
66
-        <dialysis-record></dialysis-record>
67
-        <dry-weight :active="active" :dryId="patient_id"></dry-weight>
68
-        <inspection></inspection>
69
-        <course-management :active="active"></course-management>
70
-        <rescue-record :active="active"></rescue-record>
71
-        <scheduling :active="active" :schedulingId="patient_id"></scheduling>
72
-        <education :active="active"></education>
73
-        <signs-record :active="active"></signs-record>
74
-        <recover-notes :active="active"></recover-notes>
75
-        <medication-plan :active="active"></medication-plan>
76
-        <device-management :active="active"></device-management>
77
-      </van-tab>-->
78 62
     </van-tabs>
79 63
     <van-popup v-model="show" position="top" :style="{ height: '100%' }">
80 64
       <div
@@ -387,7 +371,6 @@ export default {
387 371
           this.nowdate = nowdate
388 372
           this.id = patientDetail.blood_id
389 373
           this.name = patientDetail.name
390
-          console.log('patientDetail详情', patientDetail)
391 374
           this.patientName = patientDetail.name
392 375
         }
393 376
       })
@@ -426,7 +409,6 @@ export default {
426 409
       getBloodPatient().then(response => {
427 410
         if (response.data.state === 1) {
428 411
           var patient = response.data.data.patient
429
-          // console.log("血透patient", patient);
430 412
           this.patient = patient
431 413
           let cityNameList = []
432 414
           for (let p in patient) {
@@ -459,7 +441,6 @@ export default {
459 441
       getSlowPatient().then(response => {
460 442
         if (response.data.state === 1) {
461 443
           var patient = response.data.data.patient
462
-          // console.log("慢病patient", patient);
463 444
           this.patient = patient
464 445
           let cityNameList = []
465 446
           for (let p in patient) {
@@ -491,7 +472,6 @@ export default {
491 472
       getMemberPatient().then(response => {
492 473
         if (response.data.state === 1) {
493 474
           var patient = response.data.data.patient
494
-          // console.log("会员patient", patient);
495 475
           this.patient = patient
496 476
           let cityNameList = []
497 477
           for (let p in patient) {
@@ -568,7 +548,6 @@ export default {
568 548
       this.$router.push('/editPatient?patientid=' + this.patient_id)
569 549
     },
570 550
     toReturn () {
571
-      console.log('this.restatus', this.restatus)
572 551
       if (this.restatus == 1) {
573 552
         this.$router.push(
574 553
           '/details?patient_id=' +

+ 0 - 3
src/pages/dqc/assayDetail.vue Ver arquivo

@@ -196,8 +196,6 @@ export default {
196 196
   },
197 197
   methods: {
198 198
     choosePatient (val) {
199
-      console.log(val)
200
-
201 199
       this.query.patient_id = val.id
202 200
       this.query.page = 1
203 201
       this.patient_name = val.name
@@ -257,7 +255,6 @@ export default {
257 255
             })
258 256
             this.patients = newObj
259 257
           })
260
-          console.log(this.FirstPin)
261 258
         } else {
262 259
 
263 260
         }

+ 2 - 2
src/pages/dqc/basicInfo.vue Ver arquivo

@@ -468,14 +468,14 @@
468 468
         getMobileTotalLapseCount(params).then(response => {
469 469
           if (response.data.state === 1) {
470 470
             this.patienttotal = response.data.data.count
471
-            console.log("count22222222",this.patienttotal)
471
+            // console.log("count22222222",this.patienttotal)
472 472
             var patients = response.data.data.patient
473 473
             this.rollouttotal = patients.length
474 474
             var patienttwo = response.data.data.patienttwo
475 475
             this.outtotal = patienttwo.length
476 476
             // var rollout =  response.data.data.rollout
477 477
             // this.outtotal = rollout.length
478
-            console.log("转出人数22222",rollout)
478
+            // console.log("转出人数22222",rollout)
479 479
           }
480 480
         })
481 481
       },

+ 0 - 20
src/pages/dqc/components/AssayTemplate.vue Ver arquivo

@@ -253,34 +253,15 @@
253 253
                 normal: {
254 254
                   color:(params) => {
255 255
                     //我这边就两个柱子,大体就两个柱子颜色渐变,所以数组只有两个值,多个颜色就多个值
256
-                    // if(this.colorArr != []){
257
-                    //   var colorList = this.colorArr
258
-                    // }else{
259
-                    //    var colorList = [
260
-                    //     ["#FFD7C0", "#FF9994"],
261
-                    //     ["#A9E0F3", "#9FBDFC"],
262
-                    //     ["#A9E0F3", "#9FBDFC"],
263
-
264
-                    //     ["#FFD7C0", "#FF9994"]
265
-                    //   ];
266
-                    // }
267 256
                     var colorList = [
268 257
                       ['#409EFF','#409EFF'],
269 258
                       ['#f56c6c','#f56c6c']
270 259
                       ];
271
-                    console.log(this)
272 260
                     if(params.seriesName == this.otherData[params.dataIndex]){
273 261
                       var index = 0 
274 262
                     }else {
275 263
                       var index = 1
276 264
                     }
277
-                   
278
-
279
-                    // var index = params.dataIndex;
280
-                    // if (params.dataIndex >= colorList.length) {
281
-                    //   index = params.dataIndex % colorList.length;
282
-                    // }
283
-
284 265
                     return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
285 266
                       {offset: 0, color: colorList[index][0]},
286 267
                       // { offset: 0.5, color: colorList[index][1] },
@@ -335,7 +316,6 @@
335 316
         GetPatientInspectionIndexChart(params)
336 317
           .then(rs => {
337 318
             var resp = rs.data
338
-            console.log(resp)
339 319
             if (resp.state == 1) {
340 320
 
341 321
               let tempData = []

+ 1 - 76
src/pages/dqc/components/BarChart.vue Ver arquivo

@@ -50,42 +50,10 @@ export default {
50 50
   },
51 51
   mounted() {
52 52
     this.initChart();
53
-    // if (this.autoResize) {
54
-    //   this.__resizeHanlder = debounce(() => {
55
-    //     if (this.chart) {
56
-    //       this.chart.resize()
57
-    //     }
58
-    //   }, 100)
59
-    //   window.addEventListener('resize', this.__resizeHanlder)
60
-    // }
61
-
62
-    // // 监听侧边栏的变化
63
-    // const sidebarElm = document.getElementsByClassName('sidebar-container')[0]
64
-    // sidebarElm.addEventListener('transitionend', this.__resizeHanlder)
65 53
   },
66 54
   beforeDestroy() {
67
-    // if (!this.chart) {
68
-    //   return;
69
-    // }
70
-    // if (this.autoResize) {
71
-    //   window.removeEventListener("resize", this.__resizeHanlder);
72
-    // }
73
-    // const sidebarElm = document.getElementsByClassName("sidebar-container")[0];
74
-    // sidebarElm.removeEventListener("transitionend", this.__resizeHanlder);
75
-    // this.chart.dispose();
76
-    // this.chart = null;
77 55
   },
78 56
   watch: {
79
-    // "options":function(){
80
-    //   this.chartOptions = this.options;
81
-    //   this.initChart()
82
-    //   this.__resizeHanlder = debounce(() => {
83
-    //     if (this.chart) {
84
-    //       this.chart.resize()
85
-    //     }
86
-    //   }, 100)
87
-    //   window.addEventListener('resize', this.__resizeHanlder)
88
-    // },
89 57
     options:{
90 58
       handler(newValue,oldValue){
91 59
         this.getInitChart();
@@ -104,24 +72,15 @@ export default {
104 72
   },
105 73
   created() {
106 74
     this.chartOptions = this.options;
107
-    console.log("this.chartOptions", this.chartOptions, this.options);
75
+    // console.log("this.chartOptions", this.chartOptions, this.options);
108 76
   },
109 77
   methods: {
110 78
     getInitChart() {
111 79
       this.chartOptions = this.options;
112 80
       this.initChart();
113
-      // this.__resizeHanlder = debounce(() => {
114
-      //   if (this.chart) {
115
-      //     this.chart.resize();
116
-      //   }
117
-      // }, 100);
118
-      // window.addEventListener("resize", this.__resizeHanlder);
119 81
     },
120 82
     setOptions({ expectedData, actualData } = {}) {
121 83
       this.chart.setOption({
122
-        // title: {
123
-        //   text: this.title
124
-        // },
125 84
         xAxis: {
126 85
           data: this.chartOptions.xAxis.data,
127 86
           // boundaryGap: false
@@ -134,33 +93,6 @@ export default {
134 93
             }
135 94
           },
136 95
           axisLabel: this.chartOptions.xAxis.axisLabel
137
-          // axisLabel: {
138
-          //   interval: 0,
139
-          //   formatter: function(value) {
140
-          //     var ret = ""; //拼接加\n返回的类目项
141
-          //     var maxLength = 8; //每项显示文字个数
142
-          //     var valLength = value.length; //X轴类目项的文字个数
143
-          //     var rowN = Math.ceil(valLength / maxLength); //类目项需要换行的行数
144
-          //     if (rowN > 1) {
145
-          //       //如果类目项的文字大于3,
146
-          //       for (var i = 0; i < rowN; i++) {
147
-          //         var temp = ""; //每次截取的字符串
148
-          //         var start = i * maxLength; //开始截取的位置
149
-          //         var end = start + maxLength; //结束截取的位置
150
-          //         //这里也可以加一个是否是最后一行的判断,但是不加也没有影响,那就不加吧
151
-          //         temp = value.substring(start, end) + "\n";
152
-          //         ret += temp; //凭借最终的字符串
153
-          //       }
154
-          //       return ret;
155
-          //     } else {
156
-          //       return value;
157
-          //     }
158
-          //   },
159
-          //   textStyle: {
160
-          //     color:"#2F3133"
161
-          //   }
162
-          // }
163
-          
164 96
         },
165 97
         grid: {
166 98
           left: 0,
@@ -169,13 +101,6 @@ export default {
169 101
           top: 30,
170 102
           containLabel: true
171 103
         },
172
-        // tooltip: {
173
-        //   trigger: "axis",
174
-        //   axisPointer: {
175
-        //     type: "cross"
176
-        //   },
177
-        //   padding: [5, 10]
178
-        // },
179 104
         yAxis: {
180 105
           axisTick: {
181 106
             show: true

+ 5 - 71
src/pages/dqc/components/BarChart1.vue Ver arquivo

@@ -50,42 +50,13 @@ export default {
50 50
   },
51 51
   mounted() {
52 52
     this.initChart();
53
-    // if (this.autoResize) {
54
-    //   this.__resizeHanlder = debounce(() => {
55
-    //     if (this.chart) {
56
-    //       this.chart.resize()
57
-    //     }
58
-    //   }, 100)
59
-    //   window.addEventListener('resize', this.__resizeHanlder)
60
-    // }
61
-
62
-    // // 监听侧边栏的变化
63
-    // const sidebarElm = document.getElementsByClassName('sidebar-container')[0]
64
-    // sidebarElm.addEventListener('transitionend', this.__resizeHanlder)
53
+ 
65 54
   },
66 55
   beforeDestroy() {
67
-    // if (!this.chart) {
68
-    //   return;
69
-    // }
70
-    // if (this.autoResize) {
71
-    //   window.removeEventListener("resize", this.__resizeHanlder);
72
-    // }
73
-    // const sidebarElm = document.getElementsByClassName("sidebar-container")[0];
74
-    // sidebarElm.removeEventListener("transitionend", this.__resizeHanlder);
75
-    // this.chart.dispose();
76
-    // this.chart = null;
56
+ 
77 57
   },
78 58
   watch: {
79
-    // "options":function(){
80
-    //   this.chartOptions = this.options;
81
-    //   this.initChart()
82
-    //   this.__resizeHanlder = debounce(() => {
83
-    //     if (this.chart) {
84
-    //       this.chart.resize()
85
-    //     }
86
-    //   }, 100)
87
-    //   window.addEventListener('resize', this.__resizeHanlder)
88
-    // },
59
+
89 60
     options:{
90 61
       handler(newValue,oldValue){
91 62
         this.getInitChart();
@@ -110,12 +81,7 @@ export default {
110 81
     getInitChart() {
111 82
       this.chartOptions = this.options;
112 83
       this.initChart();
113
-      // this.__resizeHanlder = debounce(() => {
114
-      //   if (this.chart) {
115
-      //     this.chart.resize();
116
-      //   }
117
-      // }, 100);
118
-      // window.addEventListener("resize", this.__resizeHanlder);
84
+
119 85
     },
120 86
     setOptions({ expectedData, actualData } = {}) {
121 87
       this.chart.setOption({
@@ -134,32 +100,6 @@ export default {
134 100
             }
135 101
           },
136 102
           axisLabel: this.chartOptions.xAxis.axisLabel
137
-          // axisLabel: {
138
-          //   interval: 0,
139
-          //   formatter: function(value) {
140
-          //     var ret = ""; //拼接加\n返回的类目项
141
-          //     var maxLength = 8; //每项显示文字个数
142
-          //     var valLength = value.length; //X轴类目项的文字个数
143
-          //     var rowN = Math.ceil(valLength / maxLength); //类目项需要换行的行数
144
-          //     if (rowN > 1) {
145
-          //       //如果类目项的文字大于3,
146
-          //       for (var i = 0; i < rowN; i++) {
147
-          //         var temp = ""; //每次截取的字符串
148
-          //         var start = i * maxLength; //开始截取的位置
149
-          //         var end = start + maxLength; //结束截取的位置
150
-          //         //这里也可以加一个是否是最后一行的判断,但是不加也没有影响,那就不加吧
151
-          //         temp = value.substring(start, end) + "\n";
152
-          //         ret += temp; //凭借最终的字符串
153
-          //       }
154
-          //       return ret;
155
-          //     } else {
156
-          //       return value;
157
-          //     }
158
-          //   },
159
-          //   textStyle: {
160
-          //     color:"#2F3133"
161
-          //   }
162
-          // }
163 103
           
164 104
         },
165 105
         grid: {
@@ -169,13 +109,7 @@ export default {
169 109
           top: 30,
170 110
           containLabel: true
171 111
         },
172
-        // tooltip: {
173
-        //   trigger: "axis",
174
-        //   axisPointer: {
175
-        //     type: "cross"
176
-        //   },
177
-        //   padding: [5, 10]
178
-        // },
112
+
179 113
         yAxis: {
180 114
           axisTick: {
181 115
             show: true

+ 1 - 26
src/pages/dqc/components/BasicTemplate.vue Ver arquivo

@@ -785,11 +785,10 @@
785 785
           start_time:this.startDate,
786 786
           end_time:this.endDate
787 787
         }
788
-        console.log("params",params)
789 788
         getMobileRolloutCount(params).then(response=>{
790 789
           if(response.data.state == 1){
791 790
             var rollout =  response.data.data.rollout
792
-            console.log("rollout",rollout)
791
+            // console.log("rollout",rollout)
793 792
             var arr = []
794 793
             var arrOne = []
795 794
             for(let i=0;i<rollout.length;i++){
@@ -800,8 +799,6 @@
800 799
                 arrOne.push(rollout[i])
801 800
               }
802 801
             }
803
-            console.log("arr",arr)
804
-            console.log("arrone",arrOne)
805 802
             if(this.typetwo == "留治"){
806 803
               this.modesDataTwo.xAxis = []
807 804
               this.modesDataTwo.series = []
@@ -837,15 +834,7 @@
837 834
     watch: {
838 835
       // 正确给 cData 赋值的 方法
839 836
       dialysisModeType: function (newVal, oldVal) {
840
-        // console.log('modesData', this.dialysisModeType)
841 837
 
842
-        // for (let i = 0; i < this.dialysisModeType.length; i++) {
843
-        //   this.modesData.xAxis.push(this.dialysisModeType[i].mode_id)
844
-        //   this.modesData.series.push(((this.dialysisModeType[i].count / this.dialysisTotal * 100)).toFixed(1))
845
-        // }
846
-        // this.options.series[0].data = this.modesData.series
847
-        // this.options.xAxis.data = this.modesData.xAxis
848
-        // this.getArrLength(this.options.xAxis.data)
849 838
       },
850 839
 
851 840
       rollouttotal: function (newVal, oldVal) {
@@ -853,20 +842,6 @@
853 842
           {name: '留治', count: 0},
854 843
           {name: '转归', count: 0}
855 844
         ]
856
-
857
-        // for (let i = 0; i < arr.length; i++) {
858
-        //   arr[0].count = this.rollouttotal
859
-        //   arr[1].count = this.outtotal
860
-        // }
861
-        // // console.log('arr', arr)
862
-        // for (let j = 0; j < arr.length; j++) {
863
-        //   this.modesDataTwo.xAxis.push(arr[j].name)
864
-        //   this.modesDataTwo.series.push((parseInt(arr[j].count) / this.patienttotal * 100).toFixed(1))
865
-        // }
866
-        // // console.log('数据', this.modesDataTwo)
867
-        // this.barOptions.series[0].data = this.modesDataTwo.series
868
-        // this.barOptions.xAxis.data = this.modesDataTwo.xAxis
869
-        // this.getArrLength1(this.barOptions.xAxis.data)
870 845
       },
871 846
     }
872 847
   }

+ 0 - 69
src/pages/dqc/components/DepartmentProject.vue Ver arquivo

@@ -1,12 +1,6 @@
1 1
 <template>
2 2
   <div class="page_departmentTime">
3 3
     <div class="optionsBox">
4
-      <!-- <div class="optionsOne" @click="stateShow = true">
5
-        <div style="display: flex;align-items: center;">
6
-          {{ state }}
7
-          <van-icon name="arrow-down" />
8
-        </div>
9
-      </div> -->
10 4
       <div class="optionsOne" @click="typeShow = true">
11 5
         <div style="display: flex;align-items: center;">
12 6
           {{ type }}
@@ -30,10 +24,6 @@
30 24
       <span>指标正常范围值</span>
31 25
     </div>
32 26
     <div class="rangeMain">
33
-      <!-- <p v-for="(item,index) in normData" :key="index">
34
-        <span v-if="item.range_type == 1">{{item.item_name}}({{item.min_range}}-{{item.large_range}})</span>
35
-        <span v-if="item.range_type == 2">{{item.item_name}}({{item.range_value}})</span>
36
-     </p> -->
37 27
       <p v-for="(item,index) in this.normData" :key="index">
38 28
           <span v-if="item.is_status == 1">{{item.item_name}}</span>
39 29
           <span v-if="item.is_status == 0 && item.inspection_major == 0  && item.inspection_minor == -1">收缩压</span>
@@ -109,10 +99,6 @@ export default {
109 99
           text: 'ECharts 入门示例'
110 100
         },
111 101
         tooltip: {},
112
-        // legend: {
113
-        //   data: ['达标率%'],
114
-        //   left: 0
115
-        // },
116 102
         xAxis: {
117 103
           data: [],
118 104
           axisLabel: {
@@ -257,53 +243,8 @@ export default {
257 243
           this.getlist()
258 244
         }
259 245
       }
260
-      // this.type = val
261
-      // this.typeShow = false
262
-      // if (val == '按季度统计对比') {
263
-      //   this.getlist()
264
-      //   this.options.dataZoom = []
265
-      // }
266
-      // if (val == '按月份统计对比') {
267
-      //   this.getMonthList()
268
-      //   this.options.dataZoom = [
269
-      //     {
270
-      //       // Y轴固定,让内容滚动
271
-      //       type: 'slider',
272
-      //       show: false,
273
-      //       xAxisIndex: [0],
274
-      //       start: 1,
275
-      //       end: 50, // 设置X轴刻度之间的间隔(根据数据量来调整)
276
-      //       zoomLock: true // 锁定区域禁止缩放(鼠标滚动会缩放,所以禁止)
277
-      //     },
278
-      //     {
279
-      //       type: 'inside',
280
-      //       xAxisIndex: [0],
281
-      //       start: 1,
282
-      //       end: 40,
283
-      //       zoomLock: true // 锁定区域禁止缩放
284
-      //     }
285
-      //   ]
286
-      // }
287 246
     },
288 247
     chooseProject (val) {
289
-      // this.project = val
290
-      // this.projectShow = false
291
-      // // console.log('数组源', this.normData)
292
-      // var rangetype = 0
293
-      // for (let i = 0; i < this.normData.length; i++) {
294
-      //   if (val == this.normData[i].item_name) {
295
-      //     rangetype = this.normData[i].range_type
296
-      //   }
297
-      // }
298
-      // this.range_type = rangetype
299
-
300
-      // if (this.type == '按月份统计对比') {
301
-      //   this.getMonthList()
302
-      // }
303
-      // if (this.type == '按季度统计对比') {
304
-      //   this.getlist()
305
-      // }
306
-
307 248
       this.project = val
308 249
       this.projectShow = false
309 250
 
@@ -450,7 +391,6 @@ export default {
450 391
           var list = response.data.data.list
451 392
           // console.log('list', list)
452 393
           var standList = response.data.data.standList
453
-          //  console.log('standList', standList)
454 394
 
455 395
           var newArr = [
456 396
             {Total: '第一季度', Count: 1, NoCount: 0},
@@ -458,7 +398,6 @@ export default {
458 398
             {Total: '第三季度', Count: 1, NoCount: 0},
459 399
             {Total: '第四季度', Count: 1, NoCount: 0}
460 400
           ]
461
-
462 401
           // 获取2个数组不同的部分
463 402
           var arrTwo = this.arrayDate(list, newArr)
464 403
           arrTwo.map(item => {
@@ -530,8 +469,6 @@ export default {
530 469
       })
531 470
     },
532 471
     arrayDate (array1, array2) {
533
-      //  console.log("array1",array1)
534
-      //  console.log("array2",array2)
535 472
       var array1 = array1
536 473
       var array2 = array2
537 474
       var result = []
@@ -555,8 +492,6 @@ export default {
555 492
       return result
556 493
     },
557 494
     arrayDateTwo (array1, array2) {
558
-      //   console.log("array1",array1)
559
-      //   console.log("array2",array2)
560 495
       var array1 = array1
561 496
       var array2 = array2
562 497
       var result = []
@@ -580,8 +515,6 @@ export default {
580 515
       return result
581 516
     },
582 517
     arrayDateThree (array1, array2) {
583
-      // console.log("array1",array1)
584
-      // console.log("array2",array2)
585 518
       var array1 = array1
586 519
       var array2 = array2
587 520
       var result = []
@@ -605,8 +538,6 @@ export default {
605 538
       return result
606 539
     },
607 540
     arrayDateFour (array1, array2) {
608
-      //   console.log("array1",array1)
609
-      //   console.log("array2",array2)
610 541
       var array1 = array1
611 542
       var array2 = array2
612 543
       var result = []

+ 2 - 16
src/pages/dqc/components/DepartmentTime.vue Ver arquivo

@@ -1,12 +1,6 @@
1 1
 <template>
2 2
   <div class="page_departmentTime">
3 3
     <div class="optionsBox">
4
-      <!-- <div class="optionsOne" @click="stateShow = true">
5
-        <div style="display: flex;align-items: center;">
6
-          {{ state }}
7
-          <van-icon name="arrow-down" />
8
-        </div>
9
-      </div> -->
10 4
       <div class="optionsOne" @click="typeShow = true">
11 5
         <div style="display: flex;align-items: center;">
12 6
           {{ type }}
@@ -58,10 +52,6 @@
58 52
       <span>指标正常范围值</span>
59 53
     </div>
60 54
     <div class="rangeMain">
61
-      <!-- <p v-for = "(item,index) in normData" :key="index">
62
-        <span v-if="item.range_type == 1">{{item.item_name}}({{item.min_range}}-{{item.large_range}})</span>
63
-        <span v-if="item.range_type == 2">{{item.item_name}}({{item.range_value}})</span>
64
-       </p> -->
65 55
         <p v-for="(item,index) in this.normData" :key="index">
66 56
           <span v-if="item.is_status == 1">{{item.item_name}}</span>
67 57
           <span v-if="item.is_status == 0 && item.inspection_major == 0  && item.inspection_minor == -1">收缩压</span>
@@ -168,10 +158,6 @@ export default {
168 158
           text: 'ECharts 入门示例'
169 159
         },
170 160
         tooltip: {},
171
-        // legend: {
172
-        //   data: ["达标率%"],
173
-        //   left: 0
174
-        // },
175 161
         xAxis: {
176 162
           data: [],
177 163
           axisLabel: {
@@ -617,14 +603,14 @@ export default {
617 603
 
618 604
           var sysstandTotal = 0
619 605
           var systolic = response.data.data.systolic
620
-          console.log('systolic', systolic)
606
+          // console.log('systolic', systolic)
621 607
           var sysArr = []
622 608
           for (let i = 0; i < systolic.length; i++) {
623 609
             if (systolic[i].systolic_blood_pressure >= this.sysmin && systolic[i].systolic_blood_pressure <= this.syslarge) {
624 610
               sysArr.push(systolic[i])
625 611
             }
626 612
           }
627
-          console.log('sysArr', sysArr)
613
+          // console.log('sysArr', sysArr)
628 614
           sysstandTotal = sysArr.length
629 615
           var diastotal = response.data.data.diastotal
630 616
 

+ 1 - 3
src/pages/dqc/components/ScrollTop.vue Ver arquivo

@@ -2,8 +2,6 @@
2 2
   <van-icon name="upgrade" class="toTop" v-show="toTopShow" @click="backTop" />
3 3
 </template>
4 4
 
5
-
6
-
7 5
 <script>
8 6
 export default {
9 7
   data() {
@@ -22,7 +20,7 @@ export default {
22 20
       }
23 21
     },
24 22
     backTop() {
25
-      console.log(document.getElementById("app").children[0].scrollTop);
23
+      // console.log(document.getElementById("app").children[0].scrollTop);
26 24
       let timer = null,
27 25
         _that = this;
28 26
       //动画,使用requestAnimationFrame代替setInterval

+ 0 - 13
src/pages/dqc/components/bloodPressure.vue Ver arquivo

@@ -271,7 +271,6 @@ export default {
271 271
             //配置样式
272 272
             itemStyle: {
273 273
               //通常情况下:
274
-
275 274
               //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
276 275
               normal: {
277 276
                 color: function(params) {
@@ -281,12 +280,10 @@ export default {
281 280
 
282 281
                     ["#FFD7C0", "#FF9994"]
283 282
                   ];
284
-
285 283
                   var index = params.dataIndex;
286 284
                   if (params.dataIndex >= colorList.length) {
287 285
                     index = params.dataIndex % colorList.length;
288 286
                   }
289
-
290 287
                   return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
291 288
                     { offset: 0, color: colorList[index][0] },
292 289
                     // { offset: 0.5, color: colorList[index][1] },
@@ -295,7 +292,6 @@ export default {
295 292
                 },
296 293
                 barBorderRadius: [5, 5, 0, 0] //柱状角成椭圆形
297 294
               },
298
-
299 295
               //鼠标悬停时:
300 296
               emphasis: {
301 297
                 shadowBlur: 10,
@@ -324,12 +320,10 @@ export default {
324 320
     this.query.statistics_type = 1
325 321
     this.GetDialysisBloodPressureChartData(this.query)
326 322
     this.GetDialysisBloodPressureTableData(this.query)
327
-
328 323
   },
329 324
   methods: {
330 325
     jumpDetail(patient_id){
331 326
       this.$router.push("/dqc/bloodpressure/detail?id="+patient_id)
332
-
333 327
     },
334 328
     getTime (time) {
335 329
       return uParseTime(time, '{y}-{m}-{d}')
@@ -347,7 +341,6 @@ export default {
347 341
               this.options.xAxis.data.push(resp.data.data[i].name)
348 342
               this.options.series[0].data.push(resp.data.data[i].total)
349 343
               this.percent.push(resp.data.data[i].ratio)
350
-
351 344
             }
352 345
           } else {
353 346
             this.$toast({
@@ -356,7 +349,6 @@ export default {
356 349
           }
357 350
         })
358 351
         .catch(error => {
359
-
360 352
         })
361 353
     },
362 354
     GetDialysisBloodPressureTableData(params) {
@@ -418,7 +410,6 @@ export default {
418 410
       this.project = val;
419 411
       this.projectShow = false;
420 412
       this.GetDialysisBloodPressureChartData(this.query)
421
-
422 413
     },
423 414
 
424 415
     getstartTime(value) {
@@ -433,7 +424,6 @@ export default {
433 424
         day = `0${day}`;
434 425
       }
435 426
       this.startTime = `${year}-${month}-${day}`;
436
-
437 427
       this.query.start_time = `${year}-${month}-${day}`;
438 428
       this.GetDialysisBloodPressureChartData(this.query)
439 429
       this.GetDialysisBloodPressureTableData(this.query)
@@ -441,7 +431,6 @@ export default {
441 431
     },
442 432
     getstartTime2(value) {
443 433
       this.query.page = 1;
444
-
445 434
       let year = value.getFullYear();
446 435
       let month = value.getMonth() + 1;
447 436
       let day = value.getDate();
@@ -492,8 +481,6 @@ export default {
492 481
 };
493 482
 </script>
494 483
 
495
-
496
-
497 484
 <style lang="scss" scoped>
498 485
 .page_bloodPressure {
499 486
   .searchBox{

+ 1 - 2
src/pages/dqc/components/checkStatisticsAll.vue Ver arquivo

@@ -443,7 +443,7 @@ export default {
443 443
     getAllMobileMajorInspection () {
444 444
       getAllMobileMajorInspection().then(response => {
445 445
         var inspection = response.data.data.inspection
446
-        console.log('inspection', inspection)
446
+        // console.log('inspection', inspection)
447 447
         var a = []
448 448
         for (let i = 0; i < inspection.length; i++) {
449 449
           a.push(inspection[i])
@@ -465,7 +465,6 @@ export default {
465 465
       getMobilePatientTwo(this.startTime, this.endTime, this.limit, this.page).then(response => {
466 466
         if (response.data.state === 1) {
467 467
           var patientInfo = response.data.data.patientInfo
468
-          console.log('patientInfo', patientInfo)
469 468
           var total = response.data.data.total
470 469
           // console.log('total', total)
471 470
           var list = response.data.data.list

+ 0 - 4
src/pages/dqc/components/checkStatisticsPersonal.vue Ver arquivo

@@ -106,10 +106,6 @@ export default {
106 106
           text: 'ECharts 入门示例'
107 107
         },
108 108
         tooltip: {},
109
-        // legend: {
110
-        //   data: ['次数'],
111
-        //   left: 0
112
-        // },
113 109
         xAxis: {
114 110
           data: [],
115 111
           axisLabel: {

+ 2 - 3
src/pages/dqc/components/dialysisProcess.vue Ver arquivo

@@ -38,7 +38,6 @@
38 38
       </div>
39 39
     </div>
40 40
     
41
-
42 41
     <div class="chart1">统计图&nbsp;&nbsp;<span style="font-weight:normal">(患者姓名:{{patient_name}})</span></div>
43 42
     <div class="rangeBox" style="margin-top:.625rem">
44 43
       <p class="range"></p>
@@ -619,7 +618,7 @@ export default {
619 618
         })
620 619
     },
621 620
     GetDialysisProcessIndexChartData (params) {
622
-      console.log(params)
621
+      // console.log(params)
623 622
 
624 623
       this.options.xAxis.data = []
625 624
       this.options.series[0].data = []
@@ -632,7 +631,7 @@ export default {
632 631
         .then(rs => {
633 632
           var resp = rs.data
634 633
           if (resp.state == 1) {
635
-            console.log(this.query.statistics_type)
634
+            // console.log(this.query.statistics_type)
636 635
 
637 636
             if (this.query.statistics_type != 9 && this.query.statistics_type != 10) {
638 637
               for (let i = 0; i < resp.data.data.length; i++) {

+ 0 - 10
src/pages/dqc/components/dialysisStatisticsAll.vue Ver arquivo

@@ -1,12 +1,6 @@
1 1
 <template>
2 2
   <div class="page_statisticsAll">
3 3
     <div class="options">
4
-      <!-- <div class="optionsOne" @click="stateShow = true">
5
-        <div style="display: flex;align-items: center;">
6
-          {{ state }}
7
-          <van-icon name="arrow-down" />
8
-        </div>
9
-      </div> -->
10 4
       <div class="toolOne" @click="startShow = true">
11 5
         <div style="display: flex;align-items: center;">
12 6
           {{ startTime }}
@@ -86,10 +80,6 @@ export default {
86 80
           text: 'ECharts 入门示例'
87 81
         },
88 82
         tooltip: {},
89
-        // legend: {
90
-        //   data: ['次数'],
91
-        //   left: 0
92
-        // },
93 83
         xAxis: {
94 84
           data: [],
95 85
           axisLabel: {

+ 0 - 2
src/pages/dqc/components/dialysisStatisticsPersonal.vue Ver arquivo

@@ -46,13 +46,11 @@
46 46
         <el-table-column prop="dialysis_no" label="透析号" width="80"></el-table-column>
47 47
         <el-table-column prop="mode_id" label="透析模式" min-width="300">
48 48
           <template slot-scope="scope">
49
-                <!-- <span>{{ scope.row.mode_id.join("、") }}</span> -->
50 49
                 <span>{{getModeCount(scope.row.patient_id)}}</span>
51 50
               </template>
52 51
         </el-table-column>
53 52
         <el-table-column fixed="right" label="透析总次数" width="100">
54 53
           <template slot-scope="scope">
55
-            <!-- {{ scope.row.total_dialysis + scope.row.user_sys_before_count }} -->
56 54
             {{getDialysisCount(scope.row.patient_id)}}
57 55
           </template>
58 56
         </el-table-column>

+ 0 - 1
src/pages/dqc/components/doctor.vue Ver arquivo

@@ -29,7 +29,6 @@
29 29
         </div>
30 30
       </div>
31 31
     </div>
32
-    <!-- </van-sticky> -->
33 32
 
34 33
     <div class="chart1">统计图</div>
35 34
     <div>

+ 0 - 3
src/pages/dqc/components/nurse.vue Ver arquivo

@@ -420,7 +420,6 @@
420 420
                 this.getArrLength(this.options.xAxis.data)
421 421
 
422 422
               }
423
-              console.log( this.percent)
424 423
             } else {
425 424
               this.$toast({
426 425
                 message: resp.msg
@@ -477,7 +476,6 @@
477 476
                 this.$refs.tab.doLayout()
478 477
               })
479 478
               var dialysisCount = resp.data.dialysisCount
480
-                console.log("dialysisCount",dialysisCount)
481 479
               for(let i=0;i<dialysisCount.length;i++){
482 480
                 if(dialysisCount[i].mode_id == 1){
483 481
                   dialysisCount[i].mode_id = "HD"
@@ -544,7 +542,6 @@
544 542
                  }
545 543
                }
546 544
              })
547
-             console.log("listq23333",list)
548 545
              this.modeList.push(...list)
549 546
             } else {
550 547
               this.$toast({

+ 1 - 16
src/pages/dqc/components/office.vue Ver arquivo

@@ -56,7 +56,6 @@
56 56
 
57 57
         <el-table-column :label="item_name" align="center">
58 58
           <template slot-scope="scope">
59
-            <!--<div v-if="query.range_type == 1&&parseInt(scope.row.inspect_value) > parseInt(scope.row.inspect_value)">{{scope.row.inspect_value}}↑</div>-->
60 59
             <span v-html="getValue(scope.row)"></span>
61 60
           </template>
62 61
         </el-table-column>
@@ -74,9 +73,7 @@
74 73
         </el-table-column>
75 74
 
76 75
       </el-table>
77
-
78 76
     </div>
79
-
80 77
     <div>
81 78
       <van-popup v-model="projectShow" position="bottom" :style="{ height: '40%' }">
82 79
         <van-picker
@@ -85,10 +82,8 @@
85 82
           @confirm="chooseProject"
86 83
           @cancel="projectShow = false"
87 84
         />
88
-
89 85
       </van-popup>
90 86
 
91
-
92 87
       <van-popup v-model="itemShow" position="bottom" :style="{ height: '40%' }">
93 88
         <van-picker
94 89
           show-toolbar
@@ -98,16 +93,6 @@
98 93
         />
99 94
       </van-popup>
100 95
 
101
-      <!--<van-popup v-model="patientShow" position="bottom" :style="{ height: '40%' }">-->
102
-      <!--<van-picker-->
103
-      <!--show-toolbar-->
104
-      <!--:columns="patient_type_columns"-->
105
-      <!--@confirm="chooseProject"-->
106
-      <!--@cancel="patientShow = false"-->
107
-      <!--/>-->
108
-      <!--</van-popup>-->
109
-
110
-
111 96
       <van-popup v-model="startShow" position="bottom" :style="{ height: '40%' }">
112 97
         <van-datetime-picker
113 98
           v-model="currentDate1"
@@ -118,6 +103,7 @@
118 103
           @cancel="startShow = false"
119 104
         />
120 105
       </van-popup>
106
+
121 107
       <van-popup v-model="endShow" position="bottom" :style="{ height: '40%' }">
122 108
         <van-datetime-picker
123 109
           v-model="currentDate2"
@@ -129,7 +115,6 @@
129 115
         />
130 116
       </van-popup>
131 117
 
132
-
133 118
       <van-popup v-model="sectionShow" position="bottom" :style="{ height: '40%' }">
134 119
         <van-picker
135 120
           show-toolbar

+ 0 - 4
src/pages/dqc/components/sufferer.vue Ver arquivo

@@ -106,8 +106,6 @@
106 106
           @cancel="endShow = false"
107 107
         />
108 108
       </van-popup>
109
-
110
-
111 109
       <van-popup v-model="sectionShow" position="bottom" :style="{ height: '40%' }">
112 110
         <van-picker
113 111
           show-toolbar
@@ -272,7 +270,6 @@
272 270
                 //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
273 271
                 normal: {
274 272
                   color: function (params) {
275
-                    console.log(params.color)
276 273
                     //我这边就两个柱子,大体就两个柱子颜色渐变,所以数组只有两个值,多个颜色就多个值
277 274
                     var colorList = [
278 275
                       ["#A9E0F3", "#9FBDFC"],
@@ -397,7 +394,6 @@
397 394
                 //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
398 395
                 normal: {
399 396
                   color: function (params) {
400
-                    console.log(params)
401 397
                     //我这边就两个柱子,大体就两个柱子颜色渐变,所以数组只有两个值,多个颜色就多个值
402 398
                     var colorList = [
403 399
                       ["#A9E0F3", "#9FBDFC"],

+ 0 - 10
src/pages/dqc/components/weight.vue Ver arquivo

@@ -17,12 +17,10 @@
17 17
       </el-autocomplete>
18 18
     </div>
19 19
 
20
-
21 20
     <div class="optionsBox">
22 21
       <div class="toolOne" @click="startShow = true">
23 22
         <div style="display: flex;align-items: center;">
24 23
           {{  query.start_time }}
25
-
26 24
           <van-icon name="arrow-down" />
27 25
         </div>
28 26
       </div>
@@ -68,7 +66,6 @@
68 66
         <el-table-column label="干体重" align="center">
69 67
           <template slot-scope="scope">
70 68
             {{scope.row.dry_weight?scope.row.dry_weight:''}}
71
-
72 69
             <!--{{// scope.row.patient.lapseto == 1 ? '留治':'转出'}}-->
73 70
           </template>
74 71
         </el-table-column>
@@ -76,7 +73,6 @@
76 73
         <el-table-column label="前次透后体重" align="center">
77 74
           <template slot-scope="scope">
78 75
             {{scope.row.last_after_weight?scope.row.last_after_weight:''}}
79
-
80 76
             <!--<div v-if="scope.row.before.systolic_blood_pressure">{{scope.row.before.systolic_blood_pressure}} / {{scope.row.before.diastolic_blood_pressure}}</div>-->
81 77
           </template>
82 78
         </el-table-column>
@@ -84,7 +80,6 @@
84 80
         <el-table-column label="透前体重" align="center">
85 81
           <template slot-scope="scope">
86 82
             {{scope.row.weight_before?scope.row.weight_before:''}}
87
-
88 83
             <!--<div v-if="scope.row.min_monitor.systolic_blood_pressure">{{ scope.row.min_monitor.systolic_blood_pressure}} /{{ scope.row.min_monitor.diastolic_blood_pressure}}</div>-->
89 84
           </template>
90 85
         </el-table-column>
@@ -93,8 +88,6 @@
93 88
           <template slot-scope="scope">
94 89
             <!--<div v-if="scope.row.max_monitor.systolic_blood_pressure">{{ scope.row.max_monitor.systolic_blood_pressure}} /{{ scope.row.max_monitor.diastolic_blood_pressure}}</div>-->
95 90
             {{scope.row.after.weight_after?scope.row.after.weight_after:''}}
96
-
97
-
98 91
           </template>
99 92
         </el-table-column>
100 93
 
@@ -280,7 +273,6 @@
280 273
               //配置样式
281 274
               itemStyle: {
282 275
                 //通常情况下:
283
-
284 276
                 //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
285 277
                 normal: {
286 278
                   color: function(params) {
@@ -521,8 +513,6 @@
521 513
     width: 37.5rem;
522 514
     background: #fff;
523 515
   .optionsOne {
524
-  //   max-width: 8.75rem;
525
-  //   min-width: 6.25rem;
526 516
     padding: 0 0.75rem;
527 517
     height: 1.875rem;
528 518
     background: rgba(246, 246, 246, 1);

+ 1 - 1
src/pages/dqc/patientBloodPressure.vue Ver arquivo

@@ -567,7 +567,7 @@
567 567
       },
568 568
 
569 569
       GetDialysisPatientBloodPressureChartData(params) {
570
-        console.log(params)
570
+        // console.log(params)
571 571
 
572 572
         this.options.xAxis.data = []
573 573
         this.options.series[0].data = []

+ 3 - 260
src/pages/dqc/patientStatistics.vue Ver arquivo

@@ -22,14 +22,7 @@
22 22
         </template>
23 23
       </el-autocomplete>
24 24
     </div>
25
-    <!-- <div style="width:100%;overflow-x:auto"> -->
26 25
       <div class="options">
27
-        <!-- <div class="optionsOne" @click="typeShow = true">
28
-          <div style="display: flex;align-items: center;">
29
-            {{ type }}
30
-            <van-icon name="arrow-down" />
31
-          </div>
32
-        </div> -->
33 26
         <div class="toolOne" @click="startShow = true">
34 27
           <div style="display: flex;align-items: center;">
35 28
             {{ startTime }}
@@ -43,7 +36,6 @@
43 36
           </div>
44 37
         </div>
45 38
       </div>
46
-    <!-- </div> -->
47 39
 
48 40
     <div class="chart1">统计图</div>
49 41
     <div>
@@ -478,34 +470,12 @@ export default {
478 470
               })
479 471
             })
480 472
             // console.log('表哥', this.tableData)
481
-
482
-            // let projectArr = []
483
-            // this.newArr.map(item => {
484
-            //   projectArr.push(item.item_name)
485
-            // })
486
-
487
-            // this.tableData.map(item => {
488
-            //   let newarr = Object.values(item.data)
489
-            //   newarr.sort((a, b) => {
490
-            //     return projectArr.indexOf(a.item_name) - projectArr.indexOf(b.item_name)
491
-            //   })
492
-            //   item.data = newarr
493
-            // })
494 473
             let newData = this.tableData
495
-            // for (let i = 0; i < this.patientsArr.length; i++) {
496
-            //   for (let j = 0; j < newData.length; j++) {
497
-            //     if (this.patientsArr[i].name == newData[j].name) {
498
-            //       newData[j].dialysis_no = this.patientsArr[i].dialysis_no
499
-            //       newData[j].patient_id = this.patientsArr[i].id
500
-            //     }
501
-            //   }
502
-            // }
503 474
 
504 475
             this.tableData = []
505 476
             newData.map(item => {
506 477
               this.tableData.push(item)
507 478
             })
508
-
509 479
             if (response.data.data.patients.length <= 0) {
510 480
               this.isStop = true
511 481
             } else {
@@ -751,21 +721,6 @@ export default {
751 721
 
752 722
           this.tablePatients = patients
753 723
 
754
-          //  let dataInfothree = {}
755
-          //   patients.forEach((item, index) => {
756
-          //     let { inspect_date } = item
757
-          //     if (!dataInfothree[inspect_date]) {
758
-          //       dataInfothree[inspect_date] = {
759
-          //         inspect_date,
760
-          //         name: item.name,
761
-          //         child: [],
762
-          //         patient_id: item.patient_id,
763
-          //       }
764
-          //     }
765
-          //   })
766
-          // let patientlist = Object.values(dataInfothree)
767
-          // console.log("patientlist",patientlist)
768
-
769 724
         var total = response.data.data.total
770 725
         this.total = total
771 726
         var control = response.data.data.control
@@ -776,17 +731,6 @@ export default {
776 731
         control.push(item)
777 732
       })
778 733
 
779
-
780
-      //  var newPatinteArr = []
781
-      //  patientlist.map(item=>{
782
-      //    for(let i=0;i<control.length;i++){
783
-      //       if(item.inspect_date == control[i].inspect_date && item.patient_id == control[i].patient_id){
784
-      //            item.child.push(control[i])
785
-      //       }
786
-      //    }
787
-      //  })
788
-      //  console.log("patientlist",patientlist)
789
-
790 734
         var newArr = []
791 735
         // 分页
792 736
         for (let i = 0; i < control.length; i++) {
@@ -796,12 +740,6 @@ export default {
796 740
             }
797 741
           }
798 742
         }
799
-        console.log(newArr)
800
-
801
-        console.log("newArr")
802
-
803
-
804
-
805 743
           let dataInfo = {}
806 744
           newArr.forEach((item, index) => {
807 745
             let { patient_id } = item
@@ -834,9 +772,8 @@ export default {
834 772
             })
835 773
           })
836 774
 
837
-          console.log("list")
838
-          console.log(list)
839
-          console.log(newarrtwo)
775
+          // console.log(list)
776
+          // console.log(newarrtwo)
840 777
 
841 778
 
842 779
           // 配置的才显示
@@ -848,7 +785,7 @@ export default {
848 785
               }
849 786
             }
850 787
           }
851
-        console.log('arrthree', arrthree)
788
+        // console.log('arrthree', arrthree)
852 789
         var arrfour = this.arrayDate(arrthree, newarrtwo)
853 790
         arrfour.map(item => {
854 791
           item.item_name = ''
@@ -914,194 +851,6 @@ export default {
914 851
           }
915 852
         }
916 853
       }
917
-          // var total = response.data.data.total
918
-          // var standtotal = response.data.data.standtotal
919
-          // var standtotalone = response.data.data.standtotalOne
920
-          // var cartogramlist = response.data.data.cartogramlist
921
-          // console.log('cartogramlist', cartogramlist)
922
-          // var infectiouscontrol = response.data.data.infectiouscontrol
923
-          // console.log('infectiouscontrol', infectiouscontrol)
924
-          // infectiouscontrol.map(item => {
925
-          //   cartogramlist.push(item)
926
-          // })
927
-          // var totaltwo = response.data.data.total
928
-          // var cart = []
929
-          // // 过滤已经配置的选项
930
-          // for (let i = 0; i < cartogramlist.length; i++) {
931
-          //   for (let j = 0; j < this.normData.length; j++) {
932
-          //     if (cartogramlist[i].item_id == this.normData[j].inspection_minor) {
933
-          //       cart.push(cartogramlist[i])
934
-          //     }
935
-          //   }
936
-          // }
937
-          // console.log('cart', cart)
938
-          // // for (let i = 0; i < cartogramlist.length; i++) {
939
-          // //   if (cartogramlist[i].inspect_value != '') {
940
-          // //     cart.push(cartogramlist[i])
941
-          // //   }
942
-          // // }
943
-          // // console.log("cart",cart)
944
-          // let dataInfo = {}
945
-          // cart.forEach((item, index) => {
946
-          //   let { patient_id } = item
947
-          //   if (!dataInfo[patient_id]) {
948
-          //     dataInfo[patient_id] = {
949
-          //       patient_id,
950
-          //       name: item.name,
951
-          //       child: [],
952
-          //       inspect_date: item.inspect_date,
953
-          //       total: 0,
954
-          //       count: 0,
955
-          //       infectotal: 0
956
-          //     }
957
-          //   }
958
-          // })
959
-          // let list = Object.values(dataInfo)
960
-          // console.log('list', list)
961
-
962
-          // var arr = []
963
-          // list.map(item => {
964
-          //   for (let i = 0; i < cart.length; i++) {
965
-          //     if (item.inspect_date == cart[i].inspect_date && item.patient_id == cart[i].patient_id) {
966
-          //       item.child.push(cart[i])
967
-          //     }
968
-          //   }
969
-          // })
970
-
971
-          // list.map(item => {
972
-          //   item.child.map(it => {
973
-          //     if (it.range_type == 1 && parseInt(it.range_min) <= parseInt(it.inspect_value) && parseInt(it.inspect_value) <= parseInt(it.range_max)) {
974
-          //       item.total++
975
-          //     }
976
-          //     if (it.range_type == 2 && it.inspect_value == it.range_value) {
977
-          //       item.infectotal++
978
-          //     }
979
-          //   })
980
-          // })
981
-          // var standardTotal = 0
982
-
983
-          // list.map(item => {
984
-          //   if ((item.total + item.infectotal) == item.child.length) {
985
-          //     item.count++
986
-          //   }
987
-          // })
988
-          // list.map(item => {
989
-          //   standardTotal += item.count
990
-          // })
991
-          // var totalCount = list.length
992
-          // console.log('totalCount', totalCount)
993
-          // for (let i = 0; i < this.dataCount.length; i++) {
994
-          //   this.dataCount[0].count = standtotal + standtotalone
995
-          //   this.dataCount[1].count = total - standtotalone - standtotal
996
-          //   this.obj.push(this.dataCount[i].count)
997
-          // }
998
-          // for (let i = 0; i < this.dataName.length; i++) {
999
-          //   this.modesData.xAxis.push(this.dataName[i].name)
1000
-          // }
1001
-          // for (let i = 0; i < this.dataCount.length; i++) {
1002
-          //   this.modesData.series.push(((this.dataCount[i].count / total) * 100).toFixed(1))
1003
-          // }
1004
-          // this.options.series[0].data = this.modesData.series
1005
-          // this.options.xAxis.data = this.modesData.xAxis
1006
-          // // var cart = []
1007
-          // for (let i = 0; i < cartogramlist.length; i++) {
1008
-          //   if (cartogramlist[i].inspect_value != '') {
1009
-          //     cart.push(cartogramlist[i])
1010
-          //   }
1011
-          // }
1012
-          // let dataInfo = {}
1013
-          // cart.forEach((item, index) => {
1014
-          //   let { patient_id } = item
1015
-          //   if (!dataInfo[patient_id]) {
1016
-          //     dataInfo[patient_id] = {
1017
-          //       patient_id,
1018
-          //       name: item.name,
1019
-          //       child: [],
1020
-          //       inspect_date: item.inspect_date,
1021
-          //       total: 0
1022
-          //     }
1023
-          //   }
1024
-          // })
1025
-          // let list = Object.values(dataInfo)
1026
-
1027
-          // var arr = []
1028
-          // list.map(item => {
1029
-          //   for (let i = 0; i < cart.length; i++) {
1030
-          //     if (item.inspect_date == cart[i].inspect_date && item.patient_id == cart[i].patient_id) {
1031
-          //       item.child.push(cart[i])
1032
-          //       item.total++
1033
-          //     }
1034
-          //   }
1035
-          // })
1036
-
1037
-          // list.map(item => {
1038
-          //   item.child.map(it => {
1039
-          //     arr.push(it)
1040
-          //   })
1041
-          // })
1042
-
1043
-          // var arrtwo = []
1044
-          // for (let i = 0; i < arr.length; i++) {
1045
-          //   if (parseInt(arr[i].range_min) <= parseInt(arr[i].inspect_value) && parseInt(arr[i].inspect_value) <= parseInt(arr[i].range_max)) {
1046
-          //     arrtwo.push(arr[i])
1047
-          //   }
1048
-          // }
1049
-
1050
-          // let objinfo = {}
1051
-          // arrtwo.forEach((item, index) => {
1052
-          //   let { patient_id } = item
1053
-          //   if (!objinfo[patient_id]) {
1054
-          //     objinfo[patient_id] = {
1055
-          //       patient_id,
1056
-          //       name: item.name,
1057
-          //       child: [],
1058
-          //       inspect_date: item.inspect_date,
1059
-          //       count: 0
1060
-          //     }
1061
-          //   }
1062
-          // })
1063
-          // let newlist = Object.values(objinfo)
1064
-          // newlist.map(item => {
1065
-          //   for (let i = 0; i < arrtwo.length; i++) {
1066
-          //     if (arrtwo[i].patient_id == item.patient_id && arrtwo[i].inspect_date == item.inspect_date) {
1067
-          //       item.child.push(arrtwo[i])
1068
-          //     }
1069
-          //   }
1070
-          // })
1071
-
1072
-          // newlist.map(item => {
1073
-          //   item.child.map(it => {
1074
-          //     if (parseInt(it.range_min) <= parseInt(it.inspect_value) && parseInt(it.inspect_value) <= parseInt(it.range_max)) {
1075
-          //       item.count++
1076
-          //     }
1077
-          //   })
1078
-          // })
1079
-
1080
-          // var newtotal = 0
1081
-
1082
-          // list.map(item => {
1083
-          //   for (let i = 0; i < newlist.length; i++) {
1084
-          //     if (item.patient_id == newlist[i].patient_id && item.total == newlist[i].count) {
1085
-          //       newtotal++
1086
-          //     }
1087
-          //   }
1088
-          // })
1089
-
1090
-          // var totalCount = totaltwo - newtotal
1091
-          // for (let i = 0; i < this.dataName.length; i++) {
1092
-          //   this.modesData.xAxis.push(this.dataName[i].name)
1093
-          // }
1094
-
1095
-          // for (let i = 0; i < this.dataCount.length; i++) {
1096
-          //   this.dataCount[0].count = newtotal
1097
-          //   this.dataCount[1].count = totalCount
1098
-          // }
1099
-
1100
-          // for (let i = 0; i < this.dataCount.length; i++) {
1101
-          //   this.modesData.series.push(((this.dataCount[i].count / totaltwo) * 100).toFixed(1))
1102
-          // }
1103
-          // this.options.series[0].data = this.modesData.series
1104
-          // this.options.xAxis.data = this.modesData.xAxis
1105 854
         }
1106 855
       })
1107 856
     },
@@ -1146,7 +895,6 @@ export default {
1146 895
       toSearchPatientsControl(params).then(response => {
1147 896
         if (response.data.state == 1) {
1148 897
           var control = response.data.data.control
1149
-          console.log('control', control)
1150 898
 
1151 899
           let dataInfo = {}
1152 900
           control.forEach((item, index) => {
@@ -1163,7 +911,6 @@ export default {
1163 911
             }
1164 912
           })
1165 913
           let list = Object.values(dataInfo)
1166
-          console.log('list', list)
1167 914
           list.map(item => {
1168 915
             for (let i = 0; i < control.length; i++) {
1169 916
               if (item.inspect_date == control[i].inspect_date && item.patient_id == control[i].patient_id) {
@@ -1219,7 +966,6 @@ export default {
1219 966
             }
1220 967
             this.tableData.push({ name: key, data: dd[key]})
1221 968
           }
1222
-          console.log('this.tabledate', this.tableData)
1223 969
           let dataInfotwo = {}
1224 970
           control.forEach((item, index) => {
1225 971
             let { inspect_date } = item
@@ -1232,7 +978,6 @@ export default {
1232 978
             }
1233 979
           })
1234 980
           let listtwo = Object.values(dataInfotwo)
1235
-          // console.log("listtwo",listtwo)
1236 981
           listtwo.map(item => {
1237 982
             this.tableData.map(it => {
1238 983
               if (item.inspect_date == parseInt(it.name)) {
@@ -1259,7 +1004,6 @@ export default {
1259 1004
     toReturn () {
1260 1005
       this.$router.push('/dqc/index')
1261 1006
     }
1262
-
1263 1007
   },
1264 1008
   created () {
1265 1009
     // 列表
@@ -1269,7 +1013,6 @@ export default {
1269 1013
     this.tableHeight = (document.documentElement.clientHeight - (Number(document.documentElement.style.fontSize.slice(0, -2)) * 3.125)) + 'px'
1270 1014
     // 获取指标数据
1271 1015
     this.getMobileNormData()
1272
-
1273 1016
     // 获取统计图数据
1274 1017
     this.getMobileCartogramlist()
1275 1018
   }

+ 3 - 4
src/pages/dqc/patientWeight.vue Ver arquivo

@@ -347,13 +347,12 @@
347 347
             var resp = rs.data
348 348
             if (resp.state == 1) {
349 349
               for (let i = 0;  i < resp.data.data.length;i++){
350
-                console.log(resp.data.data[i])
351
-                console.log(resp.data.data[i].value)
352
-
350
+                // console.log(resp.data.data[i])
351
+                // console.log(resp.data.data[i].value)
353 352
                 this.options.xAxis.data.push(resp.data.data[i].date)
354 353
                 this.options.series[0].data.push(parseFloat(resp.data.data[i].value).toFixed(1))
355 354
               }
356
-              console.log( this.options.series[0])
355
+              // console.log( this.options.series[0])
357 356
               this.getArrLength(this.options.xAxis.data)
358 357
 
359 358
             } else {

+ 1 - 1
src/pages/home/Popup/index.vue Ver arquivo

@@ -38,7 +38,7 @@ export default {
38 38
 
39 39
   watch: {
40 40
     showscret(newval, oldval) {
41
-      console.log(newval);
41
+      // console.log(newval);
42 42
       this.show = newval; //newval为监听到发生改变数据
43 43
     },
44 44
   },

+ 0 - 68
src/pages/home/active.vue Ver arquivo

@@ -1,73 +1,5 @@
1 1
 <template>
2 2
     <div class="page_kuyishop">
3
-        <!-- <div class="activeBox">
4
-            <div class="activeTitleBox">
5
-                <div class="activeTitle">
6
-                    <img src="../../assets/images/activeIcon_03.png" alt="">
7
-                    <p>活 动 详 情</p>
8
-                </div>
9
-            </div>
10
-            <div class="activeOne">
11
-                <div class="activeTipBox">
12
-                    <div class="activeTip"></div>
13
-                    <p>活动介绍</p>
14
-                </div>
15
-                <div class="activeTxt">
16
-                    注册酷医云系统并体验系统即可获得<span>价值69元的精美礼品一份(多功能补水仪/多功能加湿器/保温杯套装)</span>
17
-                </div>  
18
-            </div>
19
-            <div class="activeOne">
20
-                <div class="activeTipBox">
21
-                    <div class="activeTip"></div>
22
-                    <p>参与对象</p>
23
-                </div>
24
-                <div class="activeTxt">
25
-                    <span>民营透析机构医护人员</span>
26
-                </div>  
27
-            </div>
28
-            <div class="activeOne">
29
-                <div class="activeTipBox">
30
-                    <div class="activeTip"></div>
31
-                    <p>活动主题</p>
32
-                </div>
33
-                <div class="activeTxt">
34
-                    自春节以来,新冠肺炎疫情肆虐。疫期,民营透析机构在医护紧缺的情况下,仍辛苦坚守阵地,为透析患者提供服务,逆行并开辟透析患者生命之路;而酷医云现已覆盖全国近500家透析机构,我们深知民营透析机构的压力和辛苦。基于此情况,酷医云决定向广大民营透析机构/单位进行疫期致敬大回馈活动,为每一家民营透析机构赠送一份价值69元的精美礼品
35
-                </div>  
36
-            </div>
37
-            <div class="activeOne">
38
-                <div class="activeTipBox">
39
-                    <div class="activeTip"></div>
40
-                    <p>领取精美礼品满足条件</p>
41
-                </div>
42
-                <div class="activeTxt">
43
-                    <p>1.未使用酷医云系统的新用户机构,注册酷医云账号并完善账号信息</p>
44
-                    <p>2.注册医护必须为民营透析机构的医护</p>
45
-                    <p>3.每家机构有且仅有一位医护代表参与领取,先注册先得</p>
46
-                    <p class="litle">*以上解释权归酷医云所有,谢谢配合</p>
47
-                    <p class="big">价值69元精美礼品(三选一)</p>
48
-                    <img src="../../assets/images/goods_03.png" alt="">
49
-                    <img src="../../assets/images/goods_07.png" alt="">
50
-                    <img src="../../assets/images/goods_09.png" alt="">
51
-                    
52
-                </div>  
53
-            </div>
54
-            <div class="activeOne">
55
-                <div class="activeTipBox">
56
-                    <div class="activeTip"></div>
57
-                    <p>【酷医云老用户推荐引导新用户注册者也可领取精美礼品】</p>
58
-                </div>
59
-                <div class="activeTxt">
60
-                    <p>符合以下条件即可领取:</p>
61
-                    <p>1. 老用户推荐其他民营透析机构医护体验酷医云</p>
62
-                    <p>2. 推荐的医护为对方透析中心首个注册体验酷医云的用户</p>
63
-                    <p>3. 推荐者把推荐注册的聊天页面进行截图,并发给酷医云对接人或客服人员,客服微信号:kuyicloud</p>
64
-                    <p>4. 推荐的新用户和推荐者均可各自获得精美礼品一份,且双方必须在活动页面点击我要报名并填写收货信息,礼品即可发货</p>
65
-                </div>  
66
-            </div>
67
-            <div class="join" @click="toActiveForm">我 要 报 名</div>
68
-            <div class="joinImg" @click="toActiveForm"><img src="../../assets/images/apply.png" alt=""></div>
69
-        </div> -->
70
-        
71 3
         <iframe :src='url'></iframe>
72 4
 
73 5
     </div>

+ 4 - 248
src/pages/home/index.vue Ver arquivo

@@ -1,75 +1,5 @@
1 1
 <template>
2
-  <!-- <div class="page_home">
3
-    <div class="top">
4
-      <div class="header">
5
-        <img src="../../assets/images/hospital.png" alt />
6
-        <van-dropdown-menu>
7
-          <van-dropdown-item v-model="value" :options="hospitals" />
8
-        </van-dropdown-menu>
9
-      </div>
10
-      <div class="search" @click="ToSearch()">
11
-        <el-input
12
-          placeholder=" 姓名 / 首拼 / 透析号"
13
-          prefix-icon="el-icon-search"
14
-          v-model="searchVal"
15
-        ></el-input>
16
-      </div>
17
-      <div class="banner">
18
-        <img src="../../assets/images/homebanner.jpg" alt />
19
-      </div>
20
-      <div class="myDesk">
21
-        <h2>我的工作台</h2>
22
-        <div class="list">
23
-          <ul class="all">
24
-            <li class="one">
25
-              <img src="../../assets/images/m09.png" alt />
26
-              <p @click="patientManagement()">病人管理</p>
27
-            </li>
28
-            <li class="one">
29
-              <img src="../../assets/images/m02.png" alt />
30
-              <p>透析记录</p>
31
-            </li>
32
-            <li class="one">
33
-              <img src="../../assets/images/m04.png" alt />
34
-              <p>质控分析</p>
35
-            </li>
36
-            <li class="one">
37
-              <img src="../../assets/images/m05.png" alt />
38
-              <p>院感管理</p>
39
-            </li>
40
-            <li class="one">
41
-              <img src="../../assets/images/m06.png" alt />
42
-              <p>微商城</p>
43
-            </li>
44
-            <li class="one">
45
-              <img src="../../assets/images/m07.png" alt />
46
-              <p>微官网</p>
47
-            </li>
48
-            <li class="one">
49
-              <img src="../../assets/images/m08.png" alt />
50
-              <p>医院二维码</p>
51
-            </li>
52
-            <li class="one">
53
-              <img src="../../assets/images/m03.png" alt />
54
-              <p>基础配置</p>
55
-            </li>
56
-          </ul>
57
-        </div>
58
-      </div>
59
-    </div>
60
-
61
-    <div class="tab">
62
-      <div class="btn">
63
-        <i class="iconfont icon-zhuye"></i>
64
-        <span>首页</span>
65
-      </div>
66
-      <div class="btn">
67
-        <i class="iconfont icon-wode"></i>
68
-        <span>我的</span>
69
-      </div>
70
-    </div>
71 2
 
72
-  </div>-->
73 3
   <div class="page_home">
74 4
     <div>
75 5
       <router-view />
@@ -82,24 +12,6 @@
82 12
             <div>首页</div>
83 13
           </van-tabbar-item>
84 14
         </router-link>
85
-        <!-- <router-link to="/active">
86
-          <van-tabbar-item>
87
-            <i class="iconfont icon-yisheng iconOne"></i>
88
-            <div>致敬医护</div>
89
-          </van-tabbar-item>
90
-        </router-link> -->
91
-        <!--<router-link to="/service">-->
92
-          <!--<van-tabbar-item>-->
93
-            <!--<i class="iconfont icon-fuwu2 iconOne"></i>-->
94
-            <!--<div>服务</div>-->
95
-          <!--</van-tabbar-item>-->
96
-        <!--</router-link>-->
97
-       <!-- <router-link to="/active" replace>
98
-         <van-tabbar-item>
99
-           <i class="iconfont icon-shangcheng iconOne"></i>
100
-           <div>商城</div>
101
-         </van-tabbar-item>
102
-       </router-link> -->
103 15
         <router-link to="/newMy" replace>
104 16
           <van-tabbar-item>
105 17
             <i class="iconfont icon-wode iconOne"></i>
@@ -135,24 +47,17 @@ export default {
135 47
     }
136 48
   },
137 49
   methods: {
138
-    // patientManagement() {
139
-    //   var id = this.$route.query.id;
140
-    //   this.$router.push("/patientmanagement?id=" + id);
141
-    // },
142
-    // ToSearch() {
143
-    //   this.$router.push("/search");
144
-    // }
145 50
     getToken(orgId,adminUserId){
146 51
       axios.get('/api/index/gettoken/'+ orgId + '/'+ adminUserId
147 52
         ).then((res) => {
148
-        console.log('res',res.data)
53
+        // console.log('res',res.data)
149 54
         
150 55
         if(res.data.code == 0){
151 56
           let token = res.data.data.token
152 57
           localStorage.setItem("token",token)
153 58
           let http = 'wss://socket.sgjyun.com?token=' 
154 59
           // let http = 'ws://socket.szjkhd.com?token=' //测试
155
-          console.log(this.$store.state.user.websocket)
60
+          // console.log(this.$store.state.user.websocket)
156 61
           this.$store.state.user.websocket = new ReconnectingWebSocket(
157 62
             http + token
158 63
           );
@@ -161,7 +66,7 @@ export default {
161 66
             if (navigator.onLine == false) {
162 67
               this.showWsErr = true;
163 68
               this.wsErrMsg = "网络已断开,请检查网络后重新打开页面";
164
-              console.log('navigator',navigator)
69
+              // console.log('navigator',navigator)
165 70
               let http = 'wss://socket.sgjyun.com?token=' 
166 71
               // let http = 'ws://socket.szjkhd.com?token=' //测试
167 72
               let token = localStorage.getItem("token")
@@ -202,9 +107,7 @@ export default {
202 107
     } else if (currenttabbar === "newMy") {
203 108
       this.active = 1;
204 109
     }
205
-    // else if (currenttabbar === "active") {
206
-    //   this.active = 1;
207
-    // }
110
+
208 111
   }
209 112
 };
210 113
 </script>
@@ -248,152 +151,5 @@ export default {
248 151
       color: #1989fa;
249 152
     }
250 153
   }
251
-
252
-  // .header {
253
-  //   padding: 0 15px;
254
-  //   box-sizing: border-box;
255
-  //   height: 3.125rem;
256
-  //   width: 100%;
257
-  //   line-height: 3.125rem;
258
-  //   img {
259
-  //     float: left;
260
-  //     width: 1.375rem;
261
-  //     height: 1.375rem;
262
-  //     margin-top: 0.625rem;
263
-  //   }
264
-  //   .van-dropdown-menu {
265
-  //     width: 8.5rem;
266
-  //     height: 3.125rem;
267
-  //   }
268
-  //   .van-dropdown-menu__item {
269
-  //     flex: none;
270
-  //   }
271
-  //   .van-ellipsis {
272
-  //     width: 6.25rem;
273
-  //     height: 3.125rem;
274
-  //     line-height: 3.125rem;
275
-  //     font-size: 0.875rem;
276
-  //     white-space: nowrap;
277
-  //     text-overflow: ellipsis;
278
-  //     overflow: hidden;
279
-  //   }
280
-  // }
281
-  // .search {
282
-  //   width: 21.5625rem;
283
-  //   height: 2.125rem;
284
-  //   padding: 0 15px;
285
-  //   box-sizing: border-box;
286
-  //   .el-input__inner {
287
-  //     width: 21.5625rem;
288
-  //     height: 2.125rem;
289
-  //     border: none;
290
-  //     background: rgba(244, 244, 244, 1);
291
-  //     border-radius: 17px;
292
-  //     color: #999999;
293
-  //   }
294
-  //   .el-input__prefix {
295
-  //     margin-top: -0.125rem;
296
-  //     color: #999999;
297
-  //   }
298
-  // }
299
-  // .banner {
300
-  //   overflow: hidden;
301
-  //   margin-top: 1.25rem;
302
-  //   // width: 21.4375rem;
303
-  //   // height: 8.3125rem;
304
-  //   // border-radius: 10px;
305
-  //   width: 23.4375rem;
306
-  //   height: 8.3125rem;
307
-  //   // background: rgba(188, 188, 188, 0.1);
308
-  //   // opacity: 0.2;
309
-  //   img {
310
-  //     margin: 0 15px;
311
-  //     width: 21.4375rem;
312
-  //     height: 8.3125rem;
313
-  //     box-sizing: border-box;
314
-  //   }
315
-  // }
316
-  // .myDesk {
317
-  //   padding: 0 15px;
318
-  //   box-sizing: border-box;
319
-  //   padding-top: 1.5625rem;
320
-  //   width: 23.4375rem;
321
-  //   height: 17.0625rem;
322
-  //   // background: rgba(188, 188, 188, 0.1);
323
-  //   h2 {
324
-  //     height: 1.1875rem;
325
-  //     font-size: 1.25rem;
326
-  //     font-weight: 600;
327
-  //     color: rgba(0, 0, 0, 1);
328
-  //     line-height: 0.9375rem;
329
-  //   }
330
-  //   .list {
331
-  //     margin-top: 0.9375rem;
332
-  //     width: 21.4375rem;
333
-  //     height: 14rem;
334
-  //     background: rgba(255, 255, 255, 1);
335
-  //     border-radius: 10px;
336
-  //     box-shadow: 0px 3px 12px 0px rgba(188, 188, 188, 0.2);
337
-  //     display: flex;
338
-  //     align-items: center;
339
-  //     .all {
340
-  //       display: flex;
341
-  //       justify-content: space-around;
342
-  //       flex-wrap: wrap;
343
-  //     }
344
-  //     .one {
345
-  //       width: 25%;
346
-  //       display: flex;
347
-  //       flex-direction: column;
348
-  //       align-items: center;
349
-  //       justify-content: space-around;
350
-  //       height: 6.25rem;
351
-  //       img {
352
-  //         width: 2.8125rem;
353
-  //         height: 2.8125rem;
354
-  //       }
355
-  //       p {
356
-  //         margin-top: -0.625rem;
357
-  //         height: 0.8125rem;
358
-  //         font-size: 0.8125rem;
359
-  //         color: rgba(60, 60, 60, 1);
360
-  //         line-height: 0.9375rem;
361
-  //       }
362
-  //     }
363
-  //   }
364
-  // }
365
-  // .tab {
366
-  //   display: flex;
367
-  //   width: 23.4375rem;
368
-  //   height: 3.0625rem;
369
-  //   background: rgba(255, 255, 255, 1);
370
-  //   justify-content: space-around;
371
-  //   box-shadow: 3px 0px 12px 3px rgba(188, 188, 188, 0.2);
372
-
373
-  //   > div:last-child {
374
-  //     span {
375
-  //       color: #bfbfbf;
376
-  //     }
377
-  //   }
378
-  //   .btn {
379
-  //     display: flex;
380
-  //     flex-direction: column;
381
-  //     align-items: center;
382
-  //     align-self: center;
383
-  //     i {
384
-  //       font-size: 1.5rem;
385
-  //       color: rgba(79, 115, 254, 1);
386
-  //     }
387
-  //     .icon-wode {
388
-  //       color: #bfbfbf;
389
-  //     }
390
-
391
-  //     span {
392
-  //       font-size: 0.75rem;
393
-  //       color: rgba(79, 115, 254, 1);
394
-  //       margin-top: 0.25rem;
395
-  //     }
396
-  //   }
397
-  // }
398 154
 }
399 155
 </style>

+ 6 - 33
src/pages/home/login.vue Ver arquivo

@@ -144,29 +144,6 @@ export default {
144 144
       this.LoginForm.tel = val.replace(/[^0-9]+/g, "");
145 145
     },
146 146
     watchNum() {
147
-      // if (
148
-      //   this.LoginForm.tel === "" ||
149
-      //   this.LoginForm.psd === "" ||
150
-      //   this.checked == false
151
-      // ) {
152
-      //   this.loginshow = false;
153
-      //   this.loginshowtwo = true;
154
-      // } else {
155
-      //   this.loginshow = true;
156
-      //   this.loginshowtwo = false;
157
-      // }
158
-      // if (this.LoginForm.psd.length < 6) {
159
-      //   this.loginshow = false;
160
-      //   this.loginshowtwo = true;
161
-      // }
162
-      // if (this.LoginForm.psd.length > 6) {
163
-      //   this.loginshow = true;
164
-      //   this.loginshowtwo = false;
165
-      // }
166
-      // if (this.LoginForm.tel.length < 11) {
167
-      //   this.loginshow = false;
168
-      //   this.loginshowtwo = true;
169
-      // }
170 147
       if(this.LoginForm.psd.length >= 6 && this.LoginForm.tel.length == 11 && this.checked == true){
171 148
         this.loginshow = true;
172 149
         this.loginshowtwo = false;
@@ -181,11 +158,11 @@ export default {
181 158
       // const self = this;
182 159
       //判断复选框是否被勾选 勾选则调用配置cookie方法
183 160
       if (this.remember == true) {
184
-        console.log("checked == true");
161
+        // console.log("checked == true");
185 162
         //传入账号名,密码,和保存天数3个参数
186 163
         this.setCookie(this.LoginForm.tel, this.LoginForm.psd, 7);
187 164
       } else {
188
-        console.log("清空Cookie");
165
+        // console.log("清空Cookie");
189 166
         //清空Cookie
190 167
         this.clearCookie();
191 168
       }
@@ -196,7 +173,6 @@ export default {
196 173
           if (this.checked != true) {
197 174
             this.show = false
198 175
             Toast("请同意隐私服务协议");
199
-
200 176
             return;
201 177
           }
202 178
 
@@ -219,7 +195,6 @@ export default {
219 195
             sessionStorage.setItem("admin_user_id",org.creator);
220 196
             localStorage.setItem("token",token);
221 197
 
222
-
223 198
             this.$store.dispatch("InitUserInfo", {
224 199
               admin: admin,
225 200
               user: user,
@@ -298,8 +273,7 @@ export default {
298 273
         "userName" + "=" + c_name + ";path=/;expires=" + exdate.toGMTString();
299 274
       window.document.cookie =
300 275
         "userPwd" + "=" + c_pwd + ";path=/;expires=" + exdate.toGMTString();
301
-
302
-        console.log(window.document.cookie,'点击登录后设置cookie')
276
+        // console.log(window.document.cookie,'点击登录后设置cookie')
303 277
     },
304 278
 
305 279
     // 获取cookie
@@ -307,12 +281,11 @@ export default {
307 281
       this.$nextTick(() => {
308 282
         if (this.LoginForm.psd != "") {
309 283
           this.remember = true;
310
-
311 284
         }
312 285
       });
313 286
       if (document.cookie.length > 0) {
314 287
 
315
-        console.log(document.cookie,'document.cookie')
288
+        // console.log(document.cookie,'document.cookie')
316 289
         var arr = document.cookie.split("; "); //这里显示的格式需要切割一下自己可输出看下
317 290
         for (var i = 0; i < arr.length; i++) {
318 291
           var arr2 = arr[i].split("="); //再次切割
@@ -335,8 +308,8 @@ export default {
335 308
       this.setCookie("", "", -1); //修改2值都为空,天数为负1天就好了
336 309
     },
337 310
     a(event){
338
-      console.log(123)
339
-      console.log(event)
311
+      // console.log(123)
312
+      // console.log(event)
340 313
     }
341 314
   },
342 315
   watch:{

+ 1 - 9
src/pages/home/register/register.vue Ver arquivo

@@ -48,14 +48,6 @@
48 48
           </div>
49 49
         </el-form-item>
50 50
       </el-form>
51
-      <!-- <el-input placeholder="请输入手机号码" prefix-icon="el-icon-mobile" v-model="phone"></el-input>
52
-
53
-      <div class="code">
54
-        <i class="iconfont icon-dunpai dunpai"></i>
55
-        <el-input v-model="code" placeholder="请输入验证码"></el-input>
56
-        <div class="getCode">获取验证码</div>
57
-      </div>
58
-      <el-input placeholder="请输入密码" prefix-icon="el-icon-lock" v-model="psd" show-password></el-input>-->
59 51
     </div>
60 52
     <div
61 53
       class="login"
@@ -274,7 +266,7 @@ export default {
274 266
     },
275 267
     // 不能输入中文和字母
276 268
     change(val) {
277
-      console.log("val", val);
269
+
278 270
       this.registerForm.phone = val.replace(/[^0-9]+/g, "");
279 271
     },
280 272
     agree() {

+ 1 - 10
src/pages/home/verifyToken.vue Ver arquivo

@@ -26,7 +26,6 @@ export default {
26 26
           var dict_config_list = data.dict_config_list;
27 27
           var token = data.token;
28 28
 
29
-
30 29
           var template_info = data.template_info;
31 30
           var filed_list = data.filed_list;
32 31
           sessionStorage.setItem("org_id",org.id);
@@ -43,13 +42,6 @@ export default {
43 42
           });
44 43
           this.$store.dispatch("SetConfigList", config_list);
45 44
           this.$store.dispatch("SetDictConfigList", dict_config_list);
46
-          // if(org.id == 9504 || org.id == 3907 || org.id == 3877 || org.id == 10121 || org.id == 9914 || org.id == 9566 || org.id == 10138 || org.id == 10088 || org.id == 9538 || org.id ==9747){
47
-          //   this.$router.push({path: '/homeIndex'})
48
-            // location.replace("http://mobile.kuyicloud.com/index22.html#/homeIndex")
49
-          // }else{
50
-          //   location.replace("http://mobile.kuyicloud.com/#/homeIndex")
51
-          // }
52
-
53 45
          this.$router.replace("/homeIndex");
54 46
         } else {
55 47
           //未登录
@@ -64,8 +56,7 @@ export default {
64 56
     });
65 57
   },methods:{
66 58
     callJsFunction(cookieStr) {
67
-      console.log(cookieStr)
68
-
59
+      // console.log(cookieStr)
69 60
     }
70 61
   },
71 62
 };

+ 1 - 14
src/pages/homeIndex/index.vue Ver arquivo

@@ -293,13 +293,6 @@ export default {
293 293
       })
294 294
     },
295 295
     jump (url) {
296
-      // run().then(response => {
297
-      //   if (response.data.state === 1) {
298
-      //
299
-      //   } else {
300
-      //
301
-      //   }
302
-      // });
303 296
       if (url.length != 0) {
304 297
         window.location.href = url
305 298
       }
@@ -312,10 +305,8 @@ export default {
312 305
       }
313 306
       if (app.open_status == 0) {
314 307
         Toast('近期发布')
315
-
316 308
         return
317 309
       }
318
-      console.log(app.app_type)
319 310
       switch (app.app_type) {
320 311
         case 6:
321 312
           this.toPatients()
@@ -341,7 +332,6 @@ export default {
341 332
 
342 333
         case 14:
343 334
           break
344
-
345 335
         case 16:
346 336
           this.$router.push({path: '/busIndex'})
347 337
           break
@@ -371,7 +361,7 @@ export default {
371 361
     },
372 362
     GetHomeData () {
373 363
       GetHomeData().then(response => {
374
-        console.log('登录后获取数据', response)
364
+
375 365
         if (response.data.state === 1) {
376 366
           this.isCreateOrg = response.data.data.isCreateOrg
377 367
           this.isSubSuperAdmin = response.data.data.isSubSuperAdmin
@@ -379,7 +369,6 @@ export default {
379 369
           this.text = '欢迎使用酷医云,' + response.data.data.username.user_name
380 370
           this.text2 = '您的专属客户经理:' + response.data.data.information.name
381 371
           this.phone = response.data.data.information.phone
382
-          console.log(111, this.$store)
383 372
           if (this.isCreateOrg) {
384 373
             this.orgs = response.data.data.orgs
385 374
             this.apps = response.data.data.apps
@@ -397,9 +386,7 @@ export default {
397 386
             this.value1 = this.$store.getters.user.org.id
398 387
             this.show = false
399 388
           } else {
400
-            console.log(1)
401 389
             this.show = true
402
-            console.log(2)
403 390
             this.apps = response.data.data.apps
404 391
             this.banners = response.data.data.banners
405 392
           }

+ 0 - 2
src/pages/infor/components/all.vue Ver arquivo

@@ -64,14 +64,12 @@ export default {
64 64
     },
65 65
     methods:{
66 66
        getlist(){
67
-          console.log("处方 s d d s d s d s d d d w s")
68 67
           var params = {
69 68
             limit:this.limit,
70 69
             page:this.page,
71 70
           }
72 71
          getMobieInformationOne(params).then(response=>{
73 72
            if(response.data.state == 1){
74
-             console.log("list------------",response.data.data.information)
75 73
              this.list = response.data.data.information
76 74
              this.total = response.data.data.total
77 75
              this.doclist = response.data.data.doclist

+ 0 - 2
src/pages/infor/components/check.vue Ver arquivo

@@ -64,14 +64,12 @@ export default {
64 64
     },
65 65
     methods:{
66 66
        getlist(){
67
-          console.log("处方 s d d s d s d s d d d w s")
68 67
           var params = {
69 68
             limit:this.limit,
70 69
             page:this.page,
71 70
           }
72 71
          getMobieInformation(params).then(response=>{
73 72
            if(response.data.state == 1){
74
-             console.log("list------------",response.data.data.information)
75 73
              this.list = response.data.data.information
76 74
              this.total = response.data.data.total
77 75
              this.doclist = response.data.data.doclist

+ 14 - 16
src/pages/main/PrintIndex.vue Ver arquivo

@@ -359,6 +359,12 @@
359 359
         v-bind:childResponse="childResponse"
360 360
         v-if="org_template_info.template_id == 68"
361 361
       ></DialysisPrintOrderSixtyeight>
362
+      <DialysisPrintOrderSeventy
363
+        ref="childOne"
364
+        style="margin-top: 60px"
365
+        v-bind:childResponse="childResponse"
366
+        v-if="org_template_info.template_id == 70"
367
+      ></DialysisPrintOrderSeventy>
362 368
     </div>
363 369
     <!--<side-bar :active_index="0" v-if="isShow == true"></side-bar>-->
364 370
   </div>
@@ -416,10 +422,11 @@ import DialysisPrintOrderSixty from "./template/DialysisPrintOrderSixty"
416 422
 import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
417 423
 import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
418 424
 import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
419
-import DialysisPrintOrdersixtyFive from './template/DialysisPrintOrdersixtyFive.vue'
420
-import DialysisPrintOrderSixtysix from "./template/DialysisPrintOrderSixtysix.vue"
421
-import DialysisPrintOrderSixtyseven from "./template/DialysisPrintOrdersixtyseven.vue"
422
-import DialysisPrintOrderSixtyeight from "./template/DialysisPrintOrdersixtyeight.vue"
425
+import DialysisPrintOrdersixtyFive from './template/DialysisPrintOrdersixtyFive'
426
+import DialysisPrintOrderSixtysix from "./template/DialysisPrintOrderSixtysix"
427
+import DialysisPrintOrderSixtyseven from "./template/DialysisPrintOrdersixtyseven"
428
+import DialysisPrintOrderSixtyeight from "./template/DialysisPrintOrdersixtyeight"
429
+import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
423 430
 export default {
424 431
   name: "PrintIndex",
425 432
   components: {
@@ -474,6 +481,7 @@ export default {
474 481
     DialysisPrintOrderFortySix,
475 482
     DialysisPrintOrderFortySeven,
476 483
     DialysisPrintOrderFortyEight,
484
+    DialysisPrintOrderSeventy
477 485
   },
478 486
   data() {
479 487
     return {
@@ -568,7 +576,6 @@ export default {
568 576
       fetchAllAdminUsers().then((response) => {
569 577
         if (response.data.state == 1) {
570 578
           this.adminUser = response.data.data.users;
571
-          console.log(this.adminUser);
572 579
           this.loading = false;
573 580
         } else {
574 581
           this.loading = false;
@@ -583,12 +590,7 @@ export default {
583 590
       }
584 591
       return "";
585 592
     },
586
-    // printThisPage() {
587
-    //   var xtdate = this.$route.query.xtdate;
588
-    //   this.$router.push(
589
-    //     "/Prints?xtdate=" + xtdate + "&xtno=" + this.$route.query.xtno
590
-    //   );
591
-    // },
593
+
592 594
     backAction() {
593 595
       this.$router.back(-1);
594 596
     },
@@ -613,7 +615,6 @@ export default {
613 615
       return name;
614 616
     },
615 617
     setAdminUserES(id) {
616
-      console.log(id);
617 618
       if (id == 0) {
618 619
         return "";
619 620
       }
@@ -643,8 +644,6 @@ export default {
643 644
           this.$message.error("请求数据失败");
644 645
           return false;
645 646
         }
646
-
647
-        console.log(this.advices);
648 647
       });
649 648
     },
650 649
 
@@ -671,7 +670,6 @@ export default {
671 670
       }
672 671
     },
673 672
     getAdminUser(id) {
674
-      console.log(id);
675 673
       if (id == 0) {
676 674
         return "";
677 675
       }
@@ -685,7 +683,7 @@ export default {
685 683
       }
686 684
     },
687 685
     printlog(val) {
688
-      console.log(typeof val + "Second");
686
+      // console.log(typeof val + "Second");
689 687
     },
690 688
     refresh() {
691 689
       this.loading = true;

+ 3 - 28
src/pages/main/RecordPage.vue Ver arquivo

@@ -111,13 +111,11 @@
111 111
            {{ total }}
112 112
         </span>
113 113
       </div>
114
-
115 114
       <div class="popup">
116 115
         <van-popup
117 116
           v-model:show="showRight"
118 117
           position="right"
119 118
           :style="{ width: '60%', height: '100%',right: '-30%' }">
120
-
121 119
           <div  v-if="drugStockConfig.is_open == 0 || drugStockConfig.is_open == 2">
122 120
             <div style="margin: 10px;border-bottom: 1px solid black;">
123 121
               <span class="text">姓名</span>
@@ -129,9 +127,8 @@
129 127
                 <span class="text">{{item.count }}</span>
130 128
               </div>
131 129
             </div>
132
-
133 130
           </div>
134
-          <div  v-if="drugStockConfig.is_open == 1 ">
131
+          <div v-if="drugStockConfig.is_open == 1 ">
135 132
             <div style="margin: 10px;border-bottom: 1px solid black;">
136 133
               <span class="text">姓名</span>
137 134
               <span class="text">条数</span>
@@ -142,7 +139,6 @@
142 139
                 <span class="text">{{item.count }}</span>
143 140
               </div>
144 141
             </div>
145
-
146 142
           </div>
147 143
         </van-popup>
148 144
       </div>
@@ -160,7 +156,7 @@ import { getDialysisOrWaitSelectedConfig } from '@/utils/data_config'
160 156
 import monitoring from '../monitoring/index'
161 157
 import control from '../control/index.vue'
162 158
 import DialysisAdviceTable from '../advice/DialysisAdviceTable'
163
-import DialysisAdvice from '../advice/DialysiAdive.vue'
159
+import DialysisAdvice from '../advice/DialysiAdive'
164 160
 import beforeDialysis from './beforeDialysis/index'
165 161
 import calling from './calling/index'
166 162
 import schedule from './schedule/index'
@@ -405,18 +401,6 @@ export default {
405 401
       }
406 402
     },
407 403
     onClick (tabIndex) {
408
-      // if(this.$store.getters.user.tab_index == 0){
409
-      //   this.$refs.waitingArea.removeEventListener()
410
-      // }
411
-      // if(tabIndex == 0){
412
-      //   this.$refs.waitingArea.addEventListener()
413
-      // }
414
-      // if(this.$store.getters.user.tab_index == 1){
415
-      //   this.$refs.dialysisArea.removeEventListener()
416
-      // }
417
-      // if(tabIndex == 1){
418
-      //   this.$refs.dialysisArea.addEventListener()
419
-      // }
420 404
 
421 405
       this.$store.getters.user.tab_index = tabIndex
422 406
       this.index = tabIndex
@@ -435,14 +419,12 @@ export default {
435 419
       // this.$refs.search_field.blur();
436 420
       this.search_keyword = this.search_input
437 421
       if (this.index == 0) {
438
-
439 422
         this.$refs.waitingArea.searchVal(this.search_keyword)
440 423
       } else if (this.index == 1) {
441
-
442 424
         this.$refs.dialysisArea.searchVal(this.search_keyword)
443 425
       } else if (this.index == 2) {
444 426
         this.$refs.monitoring.searchWithKeyword(1, this.search_keyword)
445
-      } else if (this.index == 4) {
427
+      } else if (this.index == 5) {
446 428
         this.$refs.dialysisParameters.getKeyword(this.search_keyword)
447 429
       }
448 430
     },
@@ -464,7 +446,6 @@ export default {
464 446
       this.$router.push('/homeIndex')
465 447
     },
466 448
     refresh () {
467
-      console.log('刷新233232322323233223')
468 449
       this.load = true
469 450
       let time = new Date()
470 451
       this.$refs.dialysisArea.requestLatestDialysisScheduals(time)
@@ -491,7 +472,6 @@ export default {
491 472
       }
492 473
 
493 474
       if(this.projectConfig!=undefined&&this.projectConfig.is_open == 1){
494
-        console.log("进来我哦我我",this.projectConfig.is_open)
495 475
         if(this.projectList!=null && this.projectList.length>0){
496 476
           for(let i=0;i<this.projectList.length;i++){
497 477
             this.tableData.push(this.projectList[i])
@@ -540,7 +520,6 @@ export default {
540 520
 
541 521
     },
542 522
     toExecutionPatent(row){
543
-    console.log("rowwowoowow",row)
544 523
      var patient_name = ""
545 524
      patient_name = this.getPaitenName(row.patient_id)
546 525
      this.$router.push('/details?patient_id='+row.patient_id+"&date="+row.advice_date+"&patient_name="+patient_name)
@@ -555,13 +534,9 @@ export default {
555 534
       }
556 535
       return name
557 536
     }
558
-
559 537
   },
560 538
   created () {
561
-
562
-
563 539
     // var index = getDialysisOrWaitSelectedConfig()
564
-    // console.log(index)
565 540
     // if (index != null) {
566 541
     this.index = this.$store.getters.user.tab_index
567 542
     // }

+ 7 - 14
src/pages/main/add_urgent_schedule.vue Ver arquivo

@@ -104,10 +104,6 @@
104 104
         </van-row>
105 105
         <van-row class="row">
106 106
           <van-col :span="24">
107
-            <!-- <span class="title">&nbsp;</span>
108
-            <div class="field_panel">
109
-              <van-button type="info" size="normal" @click="submitAction">立即排班</van-button>
110
-            </div>-->
111 107
             <div class="nowScheduling" @click="submitAction">立即排班</div>
112 108
           </van-col>
113 109
         </van-row>
@@ -247,16 +243,16 @@ export default {
247 243
     let params = {
248 244
       type: this.schedule_type
249 245
     }
250
-    console.log(params)
246
+
251 247
     getUrgentScheduleInitData(params)
252 248
       .then(rs => {
253 249
         this.loading = false
254
-        // console.log(rs.data.data)
250
+
255 251
         if (rs.data.state == 1) {
256 252
           this.origin_schedules = rs.data.data.schedules
257
-          // console.log("数据源", this.origin_schedules);
253
+
258 254
           this.patients = rs.data.data.patients
259
-          console.log(this.patients)
255
+ 
260 256
           this.modes = rs.data.data.modes
261 257
           this.origin_device_numbers = rs.data.data.device_numbers
262 258
 
@@ -295,7 +291,6 @@ export default {
295 291
             // { values: this.getDeviceNumberNames(this.current_devices) },
296 292
             { values: this.current_devices }
297 293
           ]
298
-          console.log(this.zone_device_options)
299 294
         } else {
300 295
           Toast.fail(rs.data.msg)
301 296
         }
@@ -307,6 +302,7 @@ export default {
307 302
   },
308 303
   methods: {
309 304
     handleSelect (val) {
305
+
310 306
       this.patient_name = val.name
311 307
       this.patient_id = val.id
312 308
     },
@@ -316,6 +312,7 @@ export default {
316 312
         key = keyword
317 313
       }
318 314
       let searchArray = []
315
+      let newArr=[]
319 316
       PostSearch(key).then(response => {
320 317
         if (response.data.state == 1) {
321 318
           searchArray = response.data.data.patient
@@ -345,9 +342,6 @@ export default {
345 342
       // this.$nextTick(() => {
346 343
       //   // this.$refs.schedule.setColumnIndex(2)
347 344
       //   // .setIndexes(this.schedule_type)
348
-      //   console.log(this.$refs.schedule)
349
-      //   console.log(this.$refs.schedule.getColumnIndex)
350
-      //   console.log(this.$refs.schedule.getColumnValue)
351 345
       //
352 346
       // })
353 347
     },
@@ -378,7 +372,7 @@ export default {
378 372
       getUrgentScheduleInitData(params)
379 373
         .then(rs => {
380 374
           this.loading = false
381
-          // console.log(rs.data.data)
375
+
382 376
           if (rs.data.state == 1) {
383 377
             this.zone_device_options = []
384 378
             this.origin_schedules = rs.data.data.schedules
@@ -414,7 +408,6 @@ export default {
414 408
               // { values: this.getDeviceNumberNames(this.current_devices) },
415 409
               { values: this.current_devices }
416 410
             ]
417
-            console.log(this.zone_device_options)
418 411
           } else {
419 412
             Toast.fail(rs.data.msg)
420 413
           }

+ 0 - 33
src/pages/main/all/doctorAdvice.vue Ver arquivo

@@ -266,7 +266,6 @@ export default {
266 266
       GetDoctorAdviceDetail(date, id).then(response => {
267 267
         if (response.data.state === 1) {
268 268
           var doctorAdvicedetail = response.data.data.doctorAdvicedetail
269
-          console.log('doctorAdvicedetail', doctorAdvicedetail)
270 269
           this.patient_name = doctorAdvicedetail[0].name
271 270
           let objarr = []
272 271
           for (let i = 0; i < doctorAdvicedetail.length; i++) {
@@ -275,7 +274,6 @@ export default {
275 274
             }
276 275
           }
277 276
           this.childList = objarr
278
-          console.log('childList', this.childList)
279 277
           let dataInfo = {}
280 278
           doctorAdvicedetail.forEach((item, index) => {
281 279
             let { start_time } = item
@@ -290,36 +288,6 @@ export default {
290 288
           let list = Object.values(dataInfo) // list 转换成功的数据
291 289
           let arr = []
292 290
 
293
-          // list.map(item => {
294
-          //   let arr2 = [];
295
-          //   if (item.child.length > 1) {
296
-          //     item.child.map(it => {
297
-          //       if (arr.indexOf(it.advice_date) == -1) {
298
-          //         arr.push(it.advice_date);
299
-          //       } else {
300
-          //         delete it["advice_date"];
301
-          //       }
302
-          //     });
303
-          //     for (var i = item.child.length - 1; i != -1; i--) {
304
-          //       let obj = {};
305
-          //       obj.checker = item.child[i].checker;
306
-          //       obj.execution_staff = item.child[i].execution_staff;
307
-          //       obj.user_name = item.child[i].advice_doctor;
308
-          //       if (
309
-          //         JSON.stringify(arr2).includes(JSON.stringify(obj)) == false
310
-          //       ) {
311
-          //         arr2.push(obj);
312
-          //       } else {
313
-          //         console.log("删除");
314
-          //         delete item.child[i]["checker"];
315
-          //         delete item.child[i]["execution_staff"];
316
-          //         delete item.child[i]["advice_doctor"];
317
-          //       }
318
-          //     }
319
-          //   }
320
-          // });
321
-
322
-          console.log('list是 ', list)
323 291
           this.doctorAdvicedetail = list
324 292
         }
325 293
       })
@@ -335,7 +303,6 @@ export default {
335 303
       getAllDoctor().then(response => {
336 304
         if (response.data.state === 1) {
337 305
           var doctor = response.data.data.doctor
338
-          console.log('doctor', doctor)
339 306
           this.doctor = doctor
340 307
         }
341 308
       })

+ 0 - 2
src/pages/main/all/dryWeight.vue Ver arquivo

@@ -40,7 +40,6 @@ export default {
40 40
       getDryWeightDetail(id).then(response => {
41 41
         if (response.data.state === 1) {
42 42
           var drydetail = response.data.data.drydetail
43
-          console.log("2222",drydetail)
44 43
           this.drydetail = drydetail
45 44
         }
46 45
       })
@@ -62,7 +61,6 @@ export default {
62 61
     setHeight()
63 62
     var id = this.$route.query.id
64 63
     var patientid = this.$route.query.patientid
65
-    console.log('为啥', patientid)
66 64
     this.patientid = patientid
67 65
     this.getDryWeightDetail(id)
68 66
     this.date = this.$route.query.date

+ 0 - 2
src/pages/main/all/scheduling.vue Ver arquivo

@@ -110,10 +110,8 @@ export default {
110 110
             schedulingDetail.schedule_type = '下午'
111 111
           }
112 112
           this.schedulingDetail = schedulingDetail
113
-          console.log('排班详情', schedulingDetail)
114 113
           var patient = response.data.data.patient
115 114
           this.name = patient.name
116
-          console.log('patient', patient)
117 115
         }
118 116
       })
119 117
     },

+ 2 - 2
src/pages/main/beforeDialysis/allSummaryDialog.vue Ver arquivo

@@ -146,7 +146,7 @@ export default {
146 146
       }
147 147
 
148 148
       this.startTime = `${year}-${month}-${day}`
149
-      console.log('this.startTime', this.startTime)
149
+      // console.log('this.startTime', this.startTime)
150 150
       this.start_time = `${year}-${month}-${day}`
151 151
       this.startShow = false
152 152
       this.getlist()
@@ -163,7 +163,7 @@ export default {
163 163
       }
164 164
 
165 165
       this.endTime = `${year}-${month}-${day}`
166
-      console.log('endTime', this.endTime)
166
+      // console.log('endTime', this.endTime)
167 167
       this.end_time = `${year}-${month}-${day}`
168 168
       this.endShow = false
169 169
       this.getlist()

+ 1 - 5
src/pages/main/beforeDialysis/components/allSummary.vue Ver arquivo

@@ -383,14 +383,10 @@ export default {
383 383
             arr.push(...this.datalist)
384 384
             arr.push(...this.list)
385 385
             var good = this.unique(arr)
386
-            //  console.log("第二页",good)
387 386
             this.list = good
388
-
389 387
             this.isStop = true
390 388
           }
391
-          // this.$nextTick(() => {
392
-          //    this.$refs.tab.doLayout()
393
-          //   })
389
+
394 390
         }
395 391
       })
396 392
     },

+ 0 - 0
src/pages/main/beforeDialysis/components/dialysisParameters.vue Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff