XMLWAN 4 år sedan
förälder
incheckning
b18df3a2f3

+ 0 - 7
src/pages/advice/DialysisAdviceTable.vue Visa fil

@@ -385,8 +385,6 @@ export default {
385 385
         }
386 386
       }
387 387
 
388
-      console.log(scheduleMap);
389
-
390 388
       return scheduleMap;
391 389
     }
392 390
   },
@@ -395,7 +393,6 @@ export default {
395 393
   },
396 394
   methods: {
397 395
     // getNumber: function (advice,schedule) {
398
-    //   console.log(advice)
399 396
     //   if (advice.parent_id == 0 ) {
400 397
     //     if(advice.dialysis_order && advice.dialysis_order.device_number && advice.dialysis_order.device_number.number.length > 0){
401 398
     //       return advice.dialysis_order.device_number.number
@@ -406,7 +403,6 @@ export default {
406 403
     //
407 404
     // },
408 405
     clickfunction: function(val) {
409
-      // console.log(val);
410 406
       this.$router.push({
411 407
         path: "/details",
412 408
         query: {
@@ -436,8 +432,6 @@ export default {
436 432
       }
437 433
     },
438 434
     getName(val) {
439
-      console.log(this.admin_user);
440
-
441 435
       for (let i = 0; i < this.admin_user.length; i++) {
442 436
         if (this.admin_user[i].id == val) {
443 437
           return this.admin_user[i].name;
@@ -458,7 +452,6 @@ export default {
458 452
       this.show_zone_selector = false;
459 453
     },
460 454
     parseTime: function(time, layout) {
461
-      // console.log(time);
462 455
       if (time == 0) {
463 456
         return "";
464 457
       }

+ 0 - 1
src/pages/allCourseManagement/index.vue Visa fil

@@ -55,7 +55,6 @@ export default {
55 55
           this.couseDetail.content = couseDetail.content;
56 56
           this.couseDetail.title = couseDetail.title;
57 57
           this.couseDetail.user_name = couseDetail.user_name;
58
-          // console.log("详情", couseDetail);
59 58
         }
60 59
       });
61 60
     },

+ 0 - 4
src/pages/allDoctorAdvice/index.vue Visa fil

@@ -93,7 +93,6 @@ export default {
93 93
       GetDoctorAdviceDetail(id).then(response => {
94 94
         if (response.data.state === 1) {
95 95
           var doctorAdvicedetail = response.data.data.doctorAdvicedetail;
96
-          console.log("医生详情", doctorAdvicedetail);
97 96
           var arr = [];
98 97
           var objarr = [];
99 98
           for (let i = 0; i < doctorAdvicedetail.length; i++) {
@@ -106,12 +105,9 @@ export default {
106 105
               objarr.push(doctorAdvicedetail[i]);
107 106
             }
108 107
           }
109
-          console.log("parentData", this.parentData);
110
-          console.log("arr", arr);
111 108
           this.doctorAdvicedetail = arr;
112 109
           this.childArr = arr;
113 110
           var doctor = response.data.data.doctor;
114
-          console.log("doctor", doctor);
115 111
         }
116 112
       });
117 113
     },

+ 0 - 2
src/pages/allEducation/index.vue Visa fil

@@ -60,10 +60,8 @@ export default {
60 60
     setRem();
61 61
     setHeight();
62 62
     var id = this.$route.query.id;
63
-    console.log("id", id);
64 63
     var patientid = this.$route.query.patientid;
65 64
     this.patientid = patientid;
66
-    console.log("patientid", patientid);
67 65
     this.getEducationDetail(id);
68 66
   }
69 67
 };

+ 63 - 64
src/pages/allLongDialysis/index.vue Visa fil

@@ -97,16 +97,16 @@
97 97
   </div>
98 98
 </template>
99 99
 <script>
100
-import { getLongDialysisDetail } from "@/api/patient/patient";
101
-import { uParseTime } from "@/utils/tools";
102
-import { setRem, setHeight } from "@/libs/functionRem";
103
-import "../../styles/resetStyle.scss";
100
+import { getLongDialysisDetail } from '@/api/patient/patient'
101
+import { uParseTime } from '@/utils/tools'
102
+import { setRem, setHeight } from '@/libs/functionRem'
103
+import '../../styles/resetStyle.scss'
104 104
 export default {
105
-  data() {
105
+  data () {
106 106
     return {
107 107
       patientid: 0,
108 108
       active: 0,
109
-      patient_name: "",
109
+      patient_name: '',
110 110
       patient: {},
111 111
       longDialysisDetail: {},
112 112
       anticoagulantsSet: {
@@ -120,130 +120,129 @@ export default {
120 120
       displace_liqui_part_option: [],
121 121
       blood_access_option: [],
122 122
       dialysisrecord: []
123
-    };
123
+    }
124 124
   },
125 125
   methods: {
126
-    getLongDialysisDetail(id) {
126
+    getLongDialysisDetail (id) {
127 127
       getLongDialysisDetail(id).then(response => {
128 128
         if (response.data.state === 1) {
129
-          var longDialysisDetail = response.data.data.longDialysisDetail;
129
+          var longDialysisDetail = response.data.data.longDialysisDetail
130 130
           if (longDialysisDetail.mode_id == 1) {
131
-            longDialysisDetail.mode_id = "HD";
131
+            longDialysisDetail.mode_id = 'HD'
132 132
           }
133 133
           if (longDialysisDetail.mode_id == 2) {
134
-            longDialysisDetail.mode_id = "HDF";
134
+            longDialysisDetail.mode_id = 'HDF'
135 135
           }
136 136
           if (longDialysisDetail.mode_id == 3) {
137
-            longDialysisDetail.mode_id = "HD+HP";
137
+            longDialysisDetail.mode_id = 'HD+HP'
138 138
           }
139 139
           if (longDialysisDetail.mode_id == 4) {
140
-            longDialysisDetail.mode_id = "HP";
140
+            longDialysisDetail.mode_id = 'HP'
141 141
           }
142 142
           if (longDialysisDetail.mode_id == 5) {
143
-            longDialysisDetail.mode_id = "HF";
143
+            longDialysisDetail.mode_id = 'HF'
144 144
           }
145 145
           if (longDialysisDetail.mode_id == 6) {
146
-            longDialysisDetail.mode_id = "SCUF";
146
+            longDialysisDetail.mode_id = 'SCUF'
147 147
           }
148 148
           if (longDialysisDetail.mode_id == 7) {
149
-            longDialysisDetail.mode_id = "IUF";
149
+            longDialysisDetail.mode_id = 'IUF'
150 150
           }
151 151
           if (longDialysisDetail.mode_id == 8) {
152
-            longDialysisDetail.mode_id = "HFHD";
152
+            longDialysisDetail.mode_id = 'HFHD'
153 153
           }
154 154
           if (longDialysisDetail.mode_id == 9) {
155
-            longDialysisDetail.mode_id = "HFHD+HP";
155
+            longDialysisDetail.mode_id = 'HFHD+HP'
156 156
           }
157 157
           if (longDialysisDetail.mode_id == 10) {
158
-            longDialysisDetail.mode_id = "PHF";
158
+            longDialysisDetail.mode_id = 'PHF'
159 159
           }
160 160
           if (longDialysisDetail.mode_id == 11) {
161
-            longDialysisDetail.mode_id = "HFR";
161
+            longDialysisDetail.mode_id = 'HFR'
162 162
           }
163 163
           if (longDialysisDetail.mode_id == 12) {
164
-            longDialysisDetail.mode_id = "HDF+HP";
164
+            longDialysisDetail.mode_id = 'HDF+HP'
165 165
           }
166 166
           if (longDialysisDetail.mode_id == 13) {
167
-            longDialysisDetail.mode_id = "CRRT";
167
+            longDialysisDetail.mode_id = 'CRRT'
168 168
           }
169 169
           if (longDialysisDetail.mode_id == 14) {
170
-            longDialysisDetail.mode_id = "腹水回输";
170
+            longDialysisDetail.mode_id = '腹水回输'
171 171
           }
172 172
           if (longDialysisDetail.mode_id == 15) {
173
-            longDialysisDetail.mode_id = "HD前置换";
173
+            longDialysisDetail.mode_id = 'HD前置换'
174 174
           }
175 175
           if (longDialysisDetail.mode_id == 16) {
176
-            longDialysisDetail.mode_id = "HD后置换";
176
+            longDialysisDetail.mode_id = 'HD后置换'
177 177
           }
178 178
           if (longDialysisDetail.mode_id == 17) {
179
-            longDialysisDetail.mode_id = "HDF前置换";
179
+            longDialysisDetail.mode_id = 'HDF前置换'
180 180
           }
181 181
           if (longDialysisDetail.mode_id == 18) {
182
-            longDialysisDetail.mode_id = "HDF后置换";
182
+            longDialysisDetail.mode_id = 'HDF后置换'
183 183
           }
184 184
           if (longDialysisDetail.displace_liqui_part == 0) {
185
-            longDialysisDetail.displace_liqui_part = "";
185
+            longDialysisDetail.displace_liqui_part = ''
186 186
           }
187 187
           if (longDialysisDetail.displace_liqui_part == 1) {
188
-            longDialysisDetail.displace_liqui_part = "前稀释";
188
+            longDialysisDetail.displace_liqui_part = '前稀释'
189 189
           }
190 190
           if (longDialysisDetail.displace_liqui_part == 2) {
191
-            longDialysisDetail.displace_liqui_part = "后稀释";
191
+            longDialysisDetail.displace_liqui_part = '后稀释'
192 192
           }
193
-          this.longDialysisDetail = longDialysisDetail;
194
-          console.log("长期透析处方", longDialysisDetail);
195
-          var patient = response.data.data.patient;
196
-          console.log("paitent", patient);
197
-          this.patient_name = patient.name;
198
-          console.log("姓名", this.patient_name);
193
+          this.longDialysisDetail = longDialysisDetail
194
+
195
+          var patient = response.data.data.patient
196
+
197
+          this.patient_name = patient.name
199 198
         }
200
-      });
199
+      })
201 200
     },
202
-    toReturn() {
201
+    toReturn () {
203 202
       this.$router.push(
204
-        "/patientdetail?patientid=" + this.patientid + "&active=" + this.active
205
-      );
203
+        '/patientdetail?patientid=' + this.patientid + '&active=' + this.active
204
+      )
206 205
     },
207
-    getTime(time) {
206
+    getTime (time) {
208 207
       // return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
209
-      return uParseTime(time, "{y}-{m}-{d}");
208
+      return uParseTime(time, '{y}-{m}-{d}')
210 209
     },
211
-    getBloodAccessOption(id) {
210
+    getBloodAccessOption (id) {
212 211
       for (let i = 0; i < this.blood_access_option.length; i++) {
213 212
         if ((this.blood_access_option[i].id = id)) {
214
-          return this.blood_access_option[i].name;
213
+          return this.blood_access_option[i].name
215 214
         }
216 215
       }
217 216
     },
218
-    getSpecialMedicine(id) {
217
+    getSpecialMedicine (id) {
219 218
       for (let i = 0; i < this.special_medicine_option.length; i++) {
220 219
         if ((this.special_medicine_option[i].id = id)) {
221
-          return this.special_medicine_option[i].name;
220
+          return this.special_medicine_option[i].name
222 221
         }
223 222
       }
224 223
     }
225 224
   },
226
-  created() {
227
-    this.active = parseInt(this.$route.query.active);
228
-    setRem();
229
-    setHeight();
230
-    var id = this.$route.query.id;
225
+  created () {
226
+    this.active = parseInt(this.$route.query.active)
227
+    setRem()
228
+    setHeight()
229
+    var id = this.$route.query.id
231 230
 
232
-    var patientid = this.$route.query.patientid;
233
-    this.patientid = patientid;
231
+    var patientid = this.$route.query.patientid
232
+    this.patientid = patientid
234 233
 
235
-    this.getLongDialysisDetail(id);
236
-    this.anticoagulantsSet = this.$store.getters.anticoagulants_set;
237
-    this.replacementWays = this.$store.getters.replacement_ways;
238
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
239
-    this.blood_filters = this.$store.getters.blood_filters;
240
-    this.dialysate_formulation = this.$store.getters.dialysate_formulation;
241
-    this.body_fluid_option = this.$store.getters.body_fluid;
242
-    this.special_medicine_option = this.$store.getters.special_medicine;
243
-    this.displace_liqui_part_option = this.$store.getters.displace_liqui;
244
-    this.blood_access_option = this.$store.getters.blood_access;
234
+    this.getLongDialysisDetail(id)
235
+    this.anticoagulantsSet = this.$store.getters.anticoagulants_set
236
+    this.replacementWays = this.$store.getters.replacement_ways
237
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
238
+    this.blood_filters = this.$store.getters.blood_filters
239
+    this.dialysate_formulation = this.$store.getters.dialysate_formulation
240
+    this.body_fluid_option = this.$store.getters.body_fluid
241
+    this.special_medicine_option = this.$store.getters.special_medicine
242
+    this.displace_liqui_part_option = this.$store.getters.displace_liqui
243
+    this.blood_access_option = this.$store.getters.blood_access
245 244
   }
246
-};
245
+}
247 246
 </script>
248 247
 <style lang="scss" scoped>
249 248
 .page_allLongDialysis {

+ 0 - 3
src/pages/doctorAdvice/components/DialysisRecord.vue Visa fil

@@ -365,14 +365,11 @@ export default {
365 365
       ).then(response => {
366 366
         if (response.data.state === 1) {
367 367
           var dialysisrecord = response.data.data.dialysisrecord;
368
-          console.log("dialysisrecord", dialysisrecord);
369 368
           let arr = this.dialysisRecord;
370 369
           arr.push(...dialysisrecord);
371 370
           this.dialysisRecord = arr;
372 371
           var total = response.data.data.total;
373
-          console.log("总计", total);
374 372
           var doctor = response.data.data.doctor;
375
-          console.log("医生", doctor);
376 373
           this.doctor = doctor;
377 374
           this.loading = false;
378 375
         }

+ 1 - 2
src/pages/doctorAdvice/components/DoctorManagement.vue Visa fil

@@ -407,7 +407,6 @@ export default {
407 407
       }
408 408
     },
409 409
     Delete(id, index) {
410
-      console.log("index", index);
411 410
       this.id = id;
412 411
       this.index = index;
413 412
       this.newShow = true;
@@ -425,7 +424,7 @@ export default {
425 424
         DeleteManagement(id).then(response => {
426 425
           if (response.data.state === 1) {
427 426
             var msg = response.data.data.msg;
428
-            console.log("msg", msg);
427
+
429 428
             this.doctorAdvice.splice(index, 1);
430 429
             this.newShow = false;
431 430
           }

+ 13 - 5
src/pages/doctorAdvice/components/DryWeight.vue Visa fil

@@ -17,8 +17,17 @@
17 17
       </div>
18 18
 
19 19
       <div class="adviceBox" v-show="showOne">
20
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
21
-          <div class="adviceOne" v-for="(item, index) in dryweight" :key="index">
20
+        <van-list
21
+          v-model="loading"
22
+          :finished="finished"
23
+          finished-text="没有更多了"
24
+          @load="onLoad"
25
+        >
26
+          <div
27
+            class="adviceOne"
28
+            v-for="(item, index) in dryweight"
29
+            :key="index"
30
+          >
22 31
             <div class="adviceTitle">
23 32
               <p>{{ getTime(item.ctime) }}</p>
24 33
               <van-icon
@@ -160,7 +169,6 @@ export default {
160 169
           this.dryweight = arr;
161 170
           var total = response.data.data.total;
162 171
           this.total = total;
163
-          console.log("total", total);
164 172
           this.loading = false;
165 173
         }
166 174
       });
@@ -176,9 +184,9 @@ export default {
176 184
         if (response.data.state === 1) {
177 185
           var dryweight = response.data.data.dryweight;
178 186
           this.dryweight = dryweight;
179
-          console.log("dryweight", dryweight);
187
+
180 188
           var total = response.data.data.total;
181
-          console.log("total", total);
189
+
182 190
           this.total = total;
183 191
           this.loading = false;
184 192
         }

+ 16 - 5
src/pages/doctorAdvice/components/Education.vue Visa fil

@@ -16,8 +16,17 @@
16 16
         </div>
17 17
       </div>
18 18
       <div class="adviceBox" v-show="showOne">
19
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
20
-          <div class="adviceOne" v-for="(item, index) in Education" :key="index">
19
+        <van-list
20
+          v-model="loading"
21
+          :finished="finished"
22
+          finished-text="没有更多了"
23
+          @load="onLoad"
24
+        >
25
+          <div
26
+            class="adviceOne"
27
+            v-for="(item, index) in Education"
28
+            :key="index"
29
+          >
21 30
             <div class="adviceTitle">
22 31
               <p>{{ getTime(item.assessment_date) }}</p>
23 32
               <van-icon
@@ -48,7 +57,11 @@
48 57
 
49 58
     <!-- 弹出层 -->
50 59
     <div>
51
-      <van-popup v-model="startShow" position="bottom" :style="{ height: '40%' }">
60
+      <van-popup
61
+        v-model="startShow"
62
+        position="bottom"
63
+        :style="{ height: '40%' }"
64
+      >
52 65
         <van-datetime-picker
53 66
           v-model="currentDate"
54 67
           type="date"
@@ -181,12 +194,10 @@ export default {
181 194
       ).then(response => {
182 195
         if (response.data.state === 1) {
183 196
           var education = response.data.data.education;
184
-          console.log("透后宣教", education);
185 197
           let arr = this.Education;
186 198
           arr.push(...education);
187 199
           this.Education = arr;
188 200
           var total = response.data.data.total;
189
-          console.log("total", total);
190 201
           this.total = total;
191 202
           this.loading = false;
192 203
         }

+ 33 - 7
src/pages/doctorAdvice/components/Inspection.vue Visa fil

@@ -23,11 +23,20 @@
23 23
       </div>
24 24
 
25 25
       <div class="adviceBox" v-show="showOne">
26
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
26
+        <van-list
27
+          v-model="loading"
28
+          :finished="finished"
29
+          finished-text="没有更多了"
30
+          @load="onLoad"
31
+        >
27 32
           <div class="adviceOne" v-for="item in 3" :key="index">
28 33
             <div class="adviceTitle">
29 34
               <p>2019.09.01</p>
30
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
35
+              <van-icon
36
+                class="ellipsis"
37
+                name="ellipsis"
38
+                @click="newShow = true"
39
+              />
31 40
             </div>
32 41
             <div class="orderContent">
33 42
               <p>血常规</p>
@@ -52,10 +61,23 @@
52 61
 
53 62
     <!-- 弹出层 -->
54 63
     <div>
55
-      <van-popup v-model="typeShow" position="bottom" :style="{ height: '40%' }">
56
-        <van-picker show-toolbar :columns="columns" @cancel="onCancel" @confirm="onConfirm" />
64
+      <van-popup
65
+        v-model="typeShow"
66
+        position="bottom"
67
+        :style="{ height: '40%' }"
68
+      >
69
+        <van-picker
70
+          show-toolbar
71
+          :columns="columns"
72
+          @cancel="onCancel"
73
+          @confirm="onConfirm"
74
+        />
57 75
       </van-popup>
58
-      <van-popup v-model="startShow" position="bottom" :style="{ height: '40%' }">
76
+      <van-popup
77
+        v-model="startShow"
78
+        position="bottom"
79
+        :style="{ height: '40%' }"
80
+      >
59 81
         <van-datetime-picker
60 82
           v-model="currentDate"
61 83
           type="date"
@@ -75,7 +97,12 @@
75 97
           @cancel="endShow = false"
76 98
         />
77 99
       </van-popup>
78
-      <van-action-sheet v-model="newShow" :actions="actions" cancel-text="取消" @cancel="onCancel" />
100
+      <van-action-sheet
101
+        v-model="newShow"
102
+        :actions="actions"
103
+        cancel-text="取消"
104
+        @cancel="onCancel"
105
+      />
79 106
     </div>
80 107
   </div>
81 108
 </template>
@@ -162,7 +189,6 @@ export default {
162 189
             this.showOne = true;
163 190
             this.showTwo = false;
164 191
           }
165
-          console.log("病人详情", patientDetail);
166 192
           this.patientName = patientDetail.name;
167 193
         }
168 194
       });

+ 0 - 1
src/pages/doctorAdvice/components/LongDialysis.vue Visa fil

@@ -461,7 +461,6 @@ export default {
461 461
         DeleteLongDialysis(id).then(response => {
462 462
           if (response.data.state === 1) {
463 463
             var msg = response.data.data.msg;
464
-            console.log("msg", msg);
465 464
             this.dialysisrecord.splice(index, 1);
466 465
             this.newShow = false;
467 466
           }

+ 22 - 5
src/pages/doctorAdvice/components/RescueRecord.vue Visa fil

@@ -16,8 +16,17 @@
16 16
         </div>
17 17
       </div>
18 18
       <div class="adviceBox" v-show="showOne">
19
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
20
-          <div class="adviceOne" v-for="(item, index) in this.rescueRecords" :key="index">
19
+        <van-list
20
+          v-model="loading"
21
+          :finished="finished"
22
+          finished-text="没有更多了"
23
+          @load="onLoad"
24
+        >
25
+          <div
26
+            class="adviceOne"
27
+            v-for="(item, index) in this.rescueRecords"
28
+            :key="index"
29
+          >
21 30
             <div class="adviceTitle">
22 31
               <p>{{ getTime(item.record_time) }}</p>
23 32
               <van-icon
@@ -52,7 +61,11 @@
52 61
 
53 62
     <!-- 弹出层 -->
54 63
     <div>
55
-      <van-popup v-model="startShow" position="bottom" :style="{ height: '40%' }">
64
+      <van-popup
65
+        v-model="startShow"
66
+        position="bottom"
67
+        :style="{ height: '40%' }"
68
+      >
56 69
         <van-datetime-picker
57 70
           v-model="currentDate"
58 71
           type="date"
@@ -72,7 +85,12 @@
72 85
           @cancel="endShow = false"
73 86
         />
74 87
       </van-popup>
75
-      <van-action-sheet v-model="newShow" :actions="actions" cancel-text="取消" @select="Delete" />
88
+      <van-action-sheet
89
+        v-model="newShow"
90
+        :actions="actions"
91
+        cancel-text="取消"
92
+        @select="Delete"
93
+      />
76 94
     </div>
77 95
   </div>
78 96
 </template>
@@ -127,7 +145,6 @@ export default {
127 145
       this.typeShow = false;
128 146
     },
129 147
     getstartTime(value) {
130
-      console.log(value);
131 148
       let year = value.getFullYear();
132 149
       let month = value.getMonth() + 1;
133 150
       let day = value.getDate();

+ 14 - 18
src/pages/doctorAdvice/components/Scheduling.vue Visa fil

@@ -150,7 +150,7 @@ export default {
150 150
       list: [],
151 151
       id: 0,
152 152
       index: 0,
153
-      immediateCheck:false,
153
+      immediateCheck: false,
154 154
       flag: true
155 155
     }
156 156
   },
@@ -321,9 +321,8 @@ export default {
321 321
           var total = response.data.data.total
322 322
           // console.log('total', total)
323 323
           this.total = total
324
-          this.loading = false;
325
-          console.log("1823792742736487362847623876执行这里")
326
-          
324
+          this.loading = false
325
+          console.log('1823792742736487362847623876执行这里')
327 326
         }
328 327
       })
329 328
     },
@@ -385,13 +384,11 @@ export default {
385 384
               scheduling[i].mode_id = '腹水回输'
386 385
             }
387 386
           }
388
-          // console.log('班次', scheduling)
387
+
389 388
           this.scheduLing = scheduling
390 389
           var total = response.data.data.total
391
-          // console.log('total', total)
392 390
           this.total = total
393
-          console.log("骄傲搜看得见爱仕达卡拉胶山东矿机奥施康定几哈刷卡机还贷款")
394
-          this.loading = false;
391
+          this.loading = false
395 392
         }
396 393
       })
397 394
     },
@@ -404,7 +401,7 @@ export default {
404 401
         this.page++
405 402
         // console.log(this.page)
406 403
         if (this.page <= Math.ceil(this.total / 10)) {
407
-        this.getScheduling(
404
+          this.getScheduling(
408 405
             this.patient_id,
409 406
             this.startTime,
410 407
             this.endTimes,
@@ -412,10 +409,9 @@ export default {
412 409
             this.page,
413 410
             this.types
414 411
           )
415
-          
416 412
         } else {
417
-          this.loading = false;
418
-          this.finished = true;
413
+          this.loading = false
414
+          this.finished = true
419 415
         }
420 416
       }, 3000)
421 417
     },
@@ -447,14 +443,14 @@ export default {
447 443
           }
448 444
         })
449 445
       })
450
-    },
446
+    }
451 447
   },
452 448
   created () {
453
-      var patientid = this.$route.query.patientid
454
-      this.getPatientDetail(patientid)
455
-      this.getScheduling(patientid)
456
-      this.patient_id = patientid
457
-  },
449
+    var patientid = this.$route.query.patientid
450
+    this.getPatientDetail(patientid)
451
+    this.getScheduling(patientid)
452
+    this.patient_id = patientid
453
+  }
458 454
 }
459 455
 </script>
460 456
 

+ 0 - 1
src/pages/doctorAdvice/components/recoverNotes.vue Visa fil

@@ -144,7 +144,6 @@ export default {
144 144
       this.startShow = false;
145 145
     },
146 146
     getstartTime2(value) {
147
-      console.log(value);
148 147
       let year = value.getFullYear();
149 148
       let month = value.getMonth() + 1;
150 149
       let day = value.getDate();

+ 0 - 2
src/pages/doctorAdvice/components/signsRecord.vue Visa fil

@@ -135,7 +135,6 @@ export default {
135 135
       this.typeShow = false;
136 136
     },
137 137
     getstartTime(value) {
138
-      console.log(value);
139 138
       let year = value.getFullYear();
140 139
       let month = value.getMonth() + 1;
141 140
       let day = value.getDate();
@@ -150,7 +149,6 @@ export default {
150 149
       this.startShow = false;
151 150
     },
152 151
     getstartTime2(value) {
153
-      console.log(value);
154 152
       let year = value.getFullYear();
155 153
       let month = value.getMonth() + 1;
156 154
       let day = value.getDate();

+ 0 - 2
src/pages/doctorAdvice/index.vue Visa fil

@@ -461,14 +461,12 @@ export default {
461 461
       this.active = parseInt(this.$route.query.active);
462 462
     }
463 463
     var patientid = this.$route.query.patientid;
464
-    console.log("patientid", patientid);
465 464
     this.patient_id = patientid;
466 465
     this.getPatientDetail(patientid);
467 466
     this.getBloodDialysisPatientTwo();
468 467
   },
469 468
   watch: {
470 469
     $route(newVal) {
471
-      console.log("index", newVal);
472 470
       this.patient_id = newVal.query.patientid;
473 471
     }
474 472
   }

+ 0 - 1
src/pages/doctorAdvice/newAddDoctoc.vue Visa fil

@@ -92,7 +92,6 @@ export default {
92 92
       this.show = false;
93 93
     },
94 94
     getstartTime(value) {
95
-      console.log(value);
96 95
       let year = value.getFullYear();
97 96
       let month = value.getMonth() + 1;
98 97
       let day = value.getDate();

+ 20 - 21
src/pages/home/login.vue Visa fil

@@ -53,7 +53,7 @@ import { hex_md5 } from "@/utils/md5";
53 53
 import { Toast } from "vant";
54 54
 import { checkMobile } from "@/utils/tools";
55 55
 import { setRem } from "@/libs/functionRem";
56
-import { Dialog } from 'vant';
56
+import { Dialog } from "vant";
57 57
 export default {
58 58
   name: "Home",
59 59
   data() {
@@ -72,7 +72,7 @@ export default {
72 72
         tel: "",
73 73
         psd: ""
74 74
       },
75
-      errorNum:0,
75
+      errorNum: 0,
76 76
       loginshow: false,
77 77
       loginshowtwo: true,
78 78
       rules: {
@@ -91,7 +91,7 @@ export default {
91 91
 
92 92
   created() {
93 93
     setRem();
94
-    window.callJsFunction = this.callJsFunction
94
+    window.callJsFunction = this.callJsFunction;
95 95
   },
96 96
 
97 97
   methods: {
@@ -151,32 +151,31 @@ export default {
151 151
           });
152 152
           this.$store.dispatch("SetConfigList", config_list);
153 153
           this.$router.replace({ path: "/homeIndex" });
154
-
155 154
         } else {
156
-          if(this.errorNum >= 2){
157
-            this.showForgetPwdDialog()
158
-          }else{
159
-            this.errorNum = this.errorNum + 1
155
+          if (this.errorNum >= 2) {
156
+            this.showForgetPwdDialog();
157
+          } else {
158
+            this.errorNum = this.errorNum + 1;
160 159
             this.$toast({
161 160
               message: resp.msg
162 161
             });
163 162
           }
164
-
165 163
         }
166 164
       });
167
-    },showForgetPwdDialog(){
165
+    },
166
+    showForgetPwdDialog() {
168 167
       Dialog.confirm({
169
-        title: '账号或密码不正确',
170
-        confirmButtonText:"找回密码",
171
-        cancelButtonText:"确认",
172
-      }).then(() => {
173
-        // on confirm
174
-        this.$router.push({path:"/forgetPassword"})
175
-      }).catch(() => {
176
-        // on cancel
177
-      });
178
-
179
-
168
+        title: "账号或密码不正确",
169
+        confirmButtonText: "找回密码",
170
+        cancelButtonText: "确认"
171
+      })
172
+        .then(() => {
173
+          // on confirm
174
+          this.$router.push({ path: "/forgetPassword" });
175
+        })
176
+        .catch(() => {
177
+          // on cancel
178
+        });
180 179
     },
181 180
     agree() {
182 181
       this.$router.push({ path: "/privacy" });

+ 14 - 2
src/pages/my/index.vue Visa fil

@@ -110,14 +110,26 @@
110 110
       <div class="myBoxOne">
111 111
         <div class="myInfoLeft">
112 112
           <img src="../../assets/images/myIcon8.png" alt />
113
-          <p>退出登录</p>
113
+          <div @click="LoginOut"><p>退出登录</p></div>
114 114
         </div>
115 115
         <van-icon class="arrow" name="arrow" />
116 116
       </div>
117 117
     </div>
118 118
   </div>
119 119
 </template>
120
-
120
+<script>
121
+export default {
122
+  data() {
123
+    return {};
124
+  },
125
+  methods: {
126
+    LoginOut() {
127
+      this.$router.push("/login");
128
+    }
129
+  },
130
+  created() {}
131
+};
132
+</script>
121 133
 <style lang="scss" scoped>
122 134
 .page_my {
123 135
   height: 100%;

+ 22 - 9
src/pages/patientManagement/components/Blood.vue Visa fil

@@ -15,7 +15,12 @@
15 15
       </div>
16 16
     </div>
17 17
     <div class="patientBox">
18
-      <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
18
+      <van-list
19
+        v-model="loading"
20
+        :finished="finished"
21
+        finished-text="没有更多了"
22
+        @load="onLoad"
23
+      >
19 24
         <div
20 25
           class="patientOne"
21 26
           v-for="(item, index) in patients"
@@ -29,10 +34,23 @@
29 34
     </div>
30 35
     <!-- 弹出层 -->
31 36
     <div>
32
-      <van-popup v-model="typeShow" position="bottom" :style="{ height: '40%' }">
33
-        <van-picker show-toolbar :columns="columns" @cancel="onCancel" @confirm="onConfirm" />
37
+      <van-popup
38
+        v-model="typeShow"
39
+        position="bottom"
40
+        :style="{ height: '40%' }"
41
+      >
42
+        <van-picker
43
+          show-toolbar
44
+          :columns="columns"
45
+          @cancel="onCancel"
46
+          @confirm="onConfirm"
47
+        />
34 48
       </van-popup>
35
-      <van-popup v-model="typeShowOne" position="bottom" :style="{ height: '40%' }">
49
+      <van-popup
50
+        v-model="typeShowOne"
51
+        position="bottom"
52
+        :style="{ height: '40%' }"
53
+      >
36 54
         <van-picker
37 55
           show-toolbar
38 56
           :columns="columnsOne"
@@ -131,12 +149,10 @@ export default {
131 149
         }
132 150
         // 加载状态结束
133 151
         this.loading = false;
134
-        console.log("长度", this.patients.length);
135 152
         if (this.patients.length >= 10) {
136 153
           this.page++;
137 154
           this.getAllBloodDialysisPatient(this.page, this.limit);
138 155
         }
139
-        console.log("页数", this.page);
140 156
         // 数据全部加载完成
141 157
         if (this.list.length >= this.total) {
142 158
           this.finished = true;
@@ -150,14 +166,12 @@ export default {
150 166
       SearchAllBlood(val).then(response => {
151 167
         if (response.data.state === 1) {
152 168
           var bloodpatient = response.data.data.bloodPatient;
153
-          console.log("血透病人", bloodpatient);
154 169
           this.patients = bloodpatient;
155 170
         }
156 171
       });
157 172
     }
158 173
   },
159 174
   created() {
160
-    console.log(this.searchValue);
161 175
     if (this.searchValue) {
162 176
       this.SearchAllBlood(this.searchValue);
163 177
     } else {
@@ -166,7 +180,6 @@ export default {
166 180
   },
167 181
   watch: {
168 182
     searchValue(newVal) {
169
-      // console.log("监听", newVal);
170 183
       this.SearchAllBlood(newVal);
171 184
     }
172 185
   }

+ 2 - 7
src/pages/patientManagement/components/Member.vue Visa fil

@@ -41,12 +41,10 @@ export default {
41 41
       getAllMemberPatient(this.page, this.limit).then(response => {
42 42
         if (response.data.state === 1) {
43 43
           var patients = response.data.data.memberpatient
44
-          // console.log('会员管理', patients)
45 44
           let arr = this.patients
46 45
           arr.push(...patients)
47 46
           this.patients = arr
48 47
           var total = response.data.data.total
49
-          // console.log('total', total)
50 48
           this.total = total
51 49
         }
52 50
       })
@@ -75,22 +73,19 @@ export default {
75 73
       getMemberSearchPatient(value).then(response => {
76 74
         if (response.data.state === 1) {
77 75
           var memberpatient = response.data.data.memberPatient
78
-          console.log('会员病人', memberpatient)
79 76
         }
80 77
       })
81 78
     }
82 79
   },
83 80
   created () {
84
-    console.log(this.searchValue)
85
-    if(this.searchValue){
81
+    if (this.searchValue) {
86 82
       this.getMemberSearchPatient(this.searchValue)
87
-    }else{
83
+    } else {
88 84
       this.getAllMemberPatient()
89 85
     }
90 86
   },
91 87
   watch: {
92 88
     searchValue (newVal) {
93
-      console.log(newVal)
94 89
       this.getMemberSearchPatient(newVal)
95 90
     }
96 91
   }

+ 1 - 5
src/pages/patientManagement/components/Slow.vue Visa fil

@@ -46,9 +46,7 @@ export default {
46 46
           let arr = this.patients
47 47
           arr.push(...patients)
48 48
           this.patients = arr
49
-          // console.log('慢病', patients)
50 49
           var total = response.data.data.total
51
-          // console.log('total', total)
52 50
           this.total = total
53 51
         }
54 52
       })
@@ -77,7 +75,6 @@ export default {
77 75
       getSlowSearchPatient(val).then(response => {
78 76
         if (response.data.state === 1) {
79 77
           var slowpatient = response.data.data.slowPatient
80
-          console.log('慢病病人', slowpatient)
81 78
           this.patients = slowpatient
82 79
         }
83 80
       })
@@ -86,13 +83,12 @@ export default {
86 83
   created () {
87 84
     if (this.searchValue) {
88 85
       this.getSlowSearchPatient(this.searchValue)
89
-    }else{
86
+    } else {
90 87
       this.getAllSlowPatient()
91 88
     }
92 89
   },
93 90
   watch: {
94 91
     searchValue (newVal) {
95
-      console.log(newVal)
96 92
       this.getSlowSearchPatient(newVal)
97 93
     }
98 94
   }

+ 22 - 7
src/pages/patientManagement/patientManagement.vue Visa fil

@@ -10,14 +10,23 @@
10 10
       </div>
11 11
 
12 12
       <div class="searchBox">
13
-        <van-search v-model="value" placeholder="搜索患者透析号/姓名/首拼" @search="SearchAllPatient" />
13
+        <van-search
14
+          v-model="value"
15
+          placeholder="搜索患者透析号/姓名"
16
+          @search="SearchAllPatient"
17
+        />
14 18
       </div>
15 19
     </van-sticky>
16 20
     <div class="chooseBox">
17 21
       <van-tabs v-model="active">
18 22
         <van-tab title="全部患者">
19 23
           <div class="patientBox">
20
-            <van-list v-model="loading" finished-text="没有更多了" @load="onLoad" :finished="finished">
24
+            <van-list
25
+              v-model="loading"
26
+              finished-text="没有更多了"
27
+              @load="onLoad"
28
+              :finished="finished"
29
+            >
21 30
               <div
22 31
                 class="patientOne"
23 32
                 v-for="(item, index) in patients"
@@ -43,8 +52,17 @@
43 52
     </div>
44 53
     <!-- 弹出层 -->
45 54
     <div>
46
-      <van-popup v-model="typeShow" position="bottom" :style="{ height: '40%' }">
47
-        <van-picker show-toolbar :columns="columns" @cancel="onCancel" @confirm="onConfirm" />
55
+      <van-popup
56
+        v-model="typeShow"
57
+        position="bottom"
58
+        :style="{ height: '40%' }"
59
+      >
60
+        <van-picker
61
+          show-toolbar
62
+          :columns="columns"
63
+          @cancel="onCancel"
64
+          @confirm="onConfirm"
65
+        />
48 66
       </van-popup>
49 67
     </div>
50 68
   </div>
@@ -125,13 +143,11 @@ export default {
125 143
       getBloodDialysisPatient(this.page, this.limit).then(response => {
126 144
         if (response.data.state == 1) {
127 145
           var patient = response.data.data.patient;
128
-          // console.log("病人信息", patient);
129 146
           let arr = this.patients;
130 147
           arr.push(...patient);
131 148
           this.patients = arr;
132 149
           var total = response.data.data.total;
133 150
           this.total = total;
134
-          // console.log("总计", total);
135 151
         }
136 152
       });
137 153
     },
@@ -149,7 +165,6 @@ export default {
149 165
       SearchAllPatient(val).then(response => {
150 166
         if (response.data.state === 1) {
151 167
           var patient = response.data.data.patient;
152
-          console.log("patient", patient);
153 168
           this.patients = patient;
154 169
         }
155 170
       });

+ 0 - 11
src/pages/patients/addPatient.vue Visa fil

@@ -529,7 +529,6 @@ export default {
529 529
       this.show13 = false;
530 530
     },
531 531
     onChange1(picker, value, index) {
532
-      console.log(value);
533 532
       this.source = value;
534 533
       this.show1 = false;
535 534
     },
@@ -566,7 +565,6 @@ export default {
566 565
       }
567 566
 
568 567
       this.patientForm.memberFistDate = `${year}-${month}-${day}`;
569
-      console.log(this.currentDate);
570 568
       this.show2 = false;
571 569
     },
572 570
     changeMode(val) {
@@ -575,7 +573,6 @@ export default {
575 573
         getBloodPatientInfo(this.patientForm.phone).then(response => {
576 574
           if (response.data.state === 1) {
577 575
             var msg = response.data.data.msg;
578
-            console.log("患者不存在");
579 576
           } else {
580 577
             this.$toast("血透患者已存在");
581 578
             return false;
@@ -587,7 +584,6 @@ export default {
587 584
         getSlowPatientInfo(this.patientForm.phone).then(response => {
588 585
           if (response.data.state === 1) {
589 586
             var msg = response.data.data.msg;
590
-            console.log("患者不存在");
591 587
           } else {
592 588
             this.$toast("慢病患者已存在");
593 589
             return false;
@@ -599,7 +595,6 @@ export default {
599 595
         getMemberPatientInfo(this.patientForm.phone).then(response => {
600 596
           if (response.data.state === 1) {
601 597
             var msg = response.data.data.msg;
602
-            console.log("会员不存在");
603 598
           } else {
604 599
             this.$toast("会员已存在");
605 600
             return false;
@@ -677,8 +672,6 @@ export default {
677 672
         if (response.data.state == 1) {
678 673
           var no = response.data.data.no + "";
679 674
           this.patientForm.dialysis = no;
680
-          console.log("no", no);
681
-          // console.log("no是设么", response.data.data.no);
682 675
           // this.patientForm.dialysis = no;
683 676
         }
684 677
       });
@@ -694,7 +687,6 @@ export default {
694 687
           }
695 688
 
696 689
           this.patientType = arr;
697
-          console.log("病种", illnesslist);
698 690
         }
699 691
       });
700 692
     },
@@ -773,8 +765,6 @@ export default {
773 765
         this.patientForm.is_infectious = 2;
774 766
       }
775 767
 
776
-      console.log("治疗方式", this.patientForm.treatmentMethod);
777
-
778 768
       if (this.patientForm.treatmentMethod === undefined) {
779 769
         this.patientForm.treatmentMethod = 0;
780 770
       }
@@ -978,7 +968,6 @@ export default {
978 968
         birth.substr(4, 2) +
979 969
         "-" +
980 970
         birth.substr(6, 2);
981
-      console.log("出生日期", this.patientForm.birthday);
982 971
     },
983 972
     toReturn() {
984 973
       this.$router.push("/patients");

+ 1 - 19
src/pages/patients/editPatient.vue Visa fil

@@ -421,7 +421,6 @@ export default {
421 421
       }
422 422
 
423 423
       this.patientForm.fistDate = `${year}-${month}-${day}`;
424
-      console.log(this.currentDate);
425 424
       this.show2 = false;
426 425
     },
427 426
     onConfirmOne(value) {
@@ -436,7 +435,6 @@ export default {
436 435
       }
437 436
 
438 437
       this.patientForm.memberFistDate = `${year}-${month}-${day}`;
439
-      console.log(this.currentDate);
440 438
       this.show12 = false;
441 439
     },
442 440
     toReturn() {
@@ -447,7 +445,6 @@ export default {
447 445
         getBloodPatientInfo(this.patientForm.phone).then(response => {
448 446
           if (response.data.state === 1) {
449 447
             var msg = response.data.data.msg;
450
-            console.log("患者不存在");
451 448
           } else {
452 449
             this.$toast("血透患者已存在");
453 450
             return false;
@@ -459,7 +456,6 @@ export default {
459 456
         getSlowPatientInfo(this.patientForm.phone).then(response => {
460 457
           if (response.data.state === 1) {
461 458
             var msg = response.data.data.msg;
462
-            console.log("患者不存在");
463 459
           } else {
464 460
             this.$toast("慢病患者已存在");
465 461
             return false;
@@ -471,7 +467,6 @@ export default {
471 467
         getMemberPatientInfo(this.patientForm.phone).then(response => {
472 468
           if (response.data.state === 1) {
473 469
             var msg = response.data.data.msg;
474
-            console.log("会员不存在");
475 470
           } else {
476 471
             this.$toast("会员已存在");
477 472
             return false;
@@ -547,11 +542,7 @@ export default {
547 542
         // eslint-disable-next-line eqeqeq
548 543
         if (response.data.state == 1) {
549 544
           var no = response.data.data.no + "";
550
-          console.log("no是什么", no);
551 545
           this.patientForm.dialysis = no;
552
-          console.log("no", no);
553
-          // console.log("no是设么", response.data.data.no);
554
-          // this.patientForm.dialysis = no;
555 546
         }
556 547
       });
557 548
     },
@@ -567,22 +558,18 @@ export default {
567 558
       GetPatientDetail(patientid).then(response => {
568 559
         if (response.data.state === 1) {
569 560
           var patientdetail = response.data.data.patientDetail;
570
-          console.log("医嘱详情", patientdetail);
571 561
           var diseases = response.data.data.diseases;
572 562
           var slowDisease = response.data.data.slowDiseases;
573
-          console.log("慢病传染病", slowDisease);
574 563
           for (let i = 0; i < diseases.length; i++) {
575 564
             this.resultTwo.push(String(diseases[i]));
576 565
           }
577 566
           for (let i = 0; i < slowDisease.length; i++) {
578 567
             this.resultThree.push(String(slowDisease[i].disease_id));
579 568
           }
580
-          console.log("传染病", diseases);
581 569
           var cronicdisease = response.data.data.cronicDiseases;
582 570
           for (let i = 0; i < cronicdisease.length; i++) {
583 571
             this.resultFour.push(String(cronicdisease[i].disease_id));
584 572
           }
585
-          console.log("慢性慢性病", cronicdisease);
586 573
           if (patientdetail.gender === 1) {
587 574
             patientdetail.gender = "男";
588 575
           }
@@ -601,7 +588,6 @@ export default {
601 588
           if (patientdetail.lapseto === 2) {
602 589
             patientdetail.lapseto = "转出";
603 590
           }
604
-          console.log("病人详情", patientdetail);
605 591
           this.patientForm.name = patientdetail.name;
606 592
           this.patientForm.sex = patientdetail.gender;
607 593
           this.patientForm.idCard = patientdetail.id_card_no;
@@ -709,7 +695,6 @@ export default {
709 695
       GetIllnessList().then(response => {
710 696
         if (response.data.state === 1) {
711 697
           var illnesslist = response.data.data.illnesslist;
712
-          console.log("illnesslist", illnesslist);
713 698
           this.illnesslist = illnesslist;
714 699
           var arr = [];
715 700
           for (let i = 0; i < illnesslist.length; i++) {
@@ -813,8 +798,6 @@ export default {
813 798
         this.patientForm.is_infectious = 2;
814 799
       }
815 800
 
816
-      console.log("治疗方式", this.patientForm.treatmentMethod);
817
-
818 801
       if (this.patientForm.treatmentMethod === undefined) {
819 802
         this.patientForm.treatmentMethod = 0;
820 803
       }
@@ -968,7 +951,7 @@ export default {
968 951
       updatedPatient(params).then(response => {
969 952
         if (response.data.state === 1) {
970 953
           var patients = response.data.data.patients;
971
-          console.log("patients", patients);
954
+          this.$router.push("/patientdetail?patientid=" + patients.id);
972 955
         }
973 956
       });
974 957
     }
@@ -978,7 +961,6 @@ export default {
978 961
     setHeight();
979 962
     var patientid = this.$route.query.patientid;
980 963
     this.patient_id = patientid;
981
-    console.log("phones是什么", patientid);
982 964
     this.GetPatientDetail(patientid);
983 965
     this.GetIllnessList();
984 966
   }