Browse Source

样式更改

xiaoming_global 5 years ago
parent
commit
43a6f3e218
41 changed files with 4729 additions and 3488 deletions
  1. BIN
      src/assets/my/avatar.png
  2. BIN
      src/assets/my/exit.png
  3. BIN
      src/assets/my/modification.png
  4. BIN
      src/assets/my/myBanner.png
  5. BIN
      src/assets/my/name.png
  6. 1 0
      src/pages/advice/AdvicePage.vue
  7. 16 9
      src/pages/advice/DialysisAdviceTable.vue
  8. 4 1
      src/pages/home/login.vue
  9. 9 8
      src/pages/layout/SideBar.vue
  10. 4 3
      src/pages/main/DetailsPage.vue
  11. 2 2
      src/pages/main/DialysisArea.vue
  12. 6 6
      src/pages/main/PatientBox.vue
  13. 45 30
      src/pages/main/RecordPage.vue
  14. 2 2
      src/pages/main/WaitingArea.vue
  15. 246 234
      src/pages/main/dialog/AcceptsDialog.vue
  16. 1163 938
      src/pages/main/dialog/AssessmentDialog.vue
  17. 367 348
      src/pages/main/dialog/DoubleDialog.vue
  18. 810 570
      src/pages/main/dialog/MonitDialog.vue
  19. 5 5
      src/pages/main/dialog/OrdersDialog.vue
  20. 30 7
      src/pages/main/dialog/PrescriptionDialog.vue
  21. 1166 993
      src/pages/main/dialog/ThorougDialog.vue
  22. 136 105
      src/pages/main/dialog/TreatmentDialog.vue
  23. 9 11
      src/pages/main/dialog/TwoMenu.vue
  24. 3 3
      src/pages/main/dialog/new_order/AddNewOrders.vue
  25. 17 18
      src/pages/main/dialog/new_order/select_advice_template_dialog.vue
  26. 8 17
      src/pages/main/dialog/subMenu/checkBoxSubMenu.vue
  27. 74 47
      src/pages/main/dialysis/AdviceTable.vue
  28. 23 8
      src/pages/main/dialysis/CheckTab.vue
  29. 8 2
      src/pages/main/dialysis/DialysisTab.vue
  30. 9 6
      src/pages/main/dialysis/InspectionItemTable.vue
  31. 61 4
      src/pages/main/dialysis/LongTable.vue
  32. 63 6
      src/pages/main/dialysis/RecordTable.vue
  33. 1 1
      src/pages/main/records/CaseHistory.vue
  34. 5 0
      src/pages/main/today/TodayTab.vue
  35. 6 5
      src/pages/main/today/detailsInfo.vue
  36. 102 11
      src/pages/monitoring/index.vue
  37. 3 0
      src/pages/personal/ChangePassword.vue
  38. 127 0
      src/pages/personal/ForgetPassword.vue
  39. 111 14
      src/pages/personal/index.vue
  40. 50 41
      src/router/index.js
  41. 37 33
      src/styles/style.scss

BIN
src/assets/my/avatar.png View File


BIN
src/assets/my/exit.png View File


BIN
src/assets/my/modification.png View File


BIN
src/assets/my/myBanner.png View File


BIN
src/assets/my/name.png View File


+ 1 - 0
src/pages/advice/AdvicePage.vue View File

@@ -92,6 +92,7 @@ export default {
92 92
   // border-bottom: 1px #e5e5e5 solid;
93 93
   display: flex;
94 94
   align-items: center;
95
+  background: #258ffc;
95 96
 }
96 97
 .title {
97 98
   font-size: 0.34rem;

+ 16 - 9
src/pages/advice/DialysisAdviceTable.vue View File

@@ -533,8 +533,11 @@ export default {
533 533
   // @media only screen and (max-width: 415px) {
534 534
   //   top: 38px !important;
535 535
   // }
536
-  @media only screen and (min-width: 376px) and (max-width: 812px) {
537
-    top: 38px !important;
536
+  // @media only screen and (min-width: 376px) and (max-width: 812px) {
537
+  //   top: 38px !important;
538
+  // }
539
+  @media only screen and (min-width: 768px) {
540
+    top: 80px !important;
538 541
   }
539 542
   ul {
540 543
     @include display-flex;
@@ -551,10 +554,11 @@ export default {
551 554
       @include align-items-center;
552 555
       @include text-align;
553 556
       @include justify-content-between;
554
-      padding: 0.3rem 0;
557
+      padding: 0 0 0.3rem;
555 558
       font-size: 0.45rem;
556 559
       .iconfont {
557 560
         margin: 0 0.1rem;
561
+        color: #fff;
558 562
       }
559 563
       .line {
560 564
         background: #a8b3ba;
@@ -568,14 +572,17 @@ export default {
568 572
 }
569 573
 .DialysisAdvice {
570 574
   padding-top: 85px;
571
-  background: #fff;
575
+  // background: #fff;
572 576
   min-height: calc(100vh - 2px);
573 577
   // @media only screen and (max-width: 812px) {
574 578
   //   padding-top: 70px !important;
575 579
   // }
576
-  @media only screen and (min-width: 813px) and (max-width: 1024px) {
577
-    padding-top: 118px !important;
580
+  @media only screen and (min-width: 768px) {
581
+    padding-top: 130px !important;
578 582
   }
583
+  // @media only screen and (min-width: 813px) and (max-width: 1024px) {
584
+  //   padding-top: 118px !important;
585
+  // }
579 586
 }
580 587
 
581 588
 .advice_content {
@@ -592,9 +599,9 @@ export default {
592 599
 }
593 600
 </style>
594 601
 <style lang="scss">
595
-.el-table {
596
-  margin-top: 64px;
597
-}
602
+// .el-table {
603
+//   margin-top: 64px;
604
+// }
598 605
 .el-table td {
599 606
   padding: 0;
600 607
 }

+ 4 - 1
src/pages/home/login.vue View File

@@ -26,7 +26,7 @@
26 26
             :class="loginDisable ? 'disableLoginBtn' : ''"
27 27
             :disabled="loginDisable"
28 28
           >登录</button>
29
-          <div class="newForget">忘记密码</div>
29
+          <div class="newForget" @click="to()">忘记密码</div>
30 30
           <!-- </router-link> -->
31 31
           <!-- <div class="forget">
32 32
           <a href="">免密码登录</a>
@@ -103,6 +103,9 @@ export default {
103 103
           });
104 104
         }
105 105
       });
106
+    },
107
+    to: function() {
108
+      this.$router.push({ path: "/forgetPassword" });
106 109
     }
107 110
   }
108 111
 };

+ 9 - 8
src/pages/layout/SideBar.vue View File

@@ -56,18 +56,18 @@ export default {
56 56
 <style style="stylesheet/scss" lang="scss" scoped>
57 57
 .redpoint {
58 58
   display: inline-block;
59
-  height: 20px;
60
-  width: 20px;
61
-  line-height: 20px;
59
+  height: 30px;
60
+  width: 30px;
61
+  line-height: 30px;
62 62
   text-align: center;
63
-  font-size: 0.74em;
63
+  font-size: 0.8em;
64 64
   border-radius: 20px;
65 65
   color: #fff;
66 66
   background: #f56c6c;
67 67
   position: absolute;
68
-  top: -5px;
69
-  right: -15px;
70
-  @media only screen and (max-width: 812px) {
68
+  top: -1px;
69
+  right: -24px;
70
+  @media only screen and (max-width: 767px) {
71 71
     height: 16px;
72 72
     width: 16px;
73 73
     line-height: 16px;
@@ -122,8 +122,9 @@ export default {
122 122
           display: inline-block;
123 123
           padding: 0;
124 124
           margin: 0;
125
-          @media only screen and (min-width: 813px) {
125
+          @media only screen and (min-width: 768px) {
126 126
             display: flex;
127
+            align-items: center;
127 128
           }
128 129
           p {
129 130
             font-size: 0.32rem;

+ 4 - 3
src/pages/main/DetailsPage.vue View File

@@ -220,6 +220,7 @@ export default {
220 220
   bottom: 2.25rem;
221 221
   font-size: 0.45rem;
222 222
   text-align: center;
223
+
223 224
   p {
224 225
     width: 30px;
225 226
     text-align: center;
@@ -229,9 +230,9 @@ export default {
229 230
     //   width: 40px !important;
230 231
     //   margin: 11px auto 0;
231 232
     // }
232
-    @media only screen and (min-width: 812px) {
233
-      width: 40px !important;
234
-      margin: 11px auto 0;
233
+    @media only screen and (min-width: 768px) {
234
+      width: 50px;
235
+      margin: 14px auto 0;
235 236
     }
236 237
   }
237 238
 }

+ 2 - 2
src/pages/main/DialysisArea.vue View File

@@ -521,9 +521,9 @@ export default {
521 521
 }
522 522
 .mint-datetime-action {
523 523
   line-height: 60px;
524
-  font-size: 0.34rem;
524
+  font-size: 0.45rem;
525 525
   @media only screen and (max-width: 812px) {
526
-    line-height: 30px !important;
526
+    line-height: 40px !important;
527 527
   }
528 528
 }
529 529
 </style>

+ 6 - 6
src/pages/main/PatientBox.vue View File

@@ -395,19 +395,19 @@ export default {
395 395
 }
396 396
 .redpoint {
397 397
   display: inline-block;
398
-  height: 20px;
399
-  width: 20px;
400
-  line-height: 18px;
398
+  height: 30px;
399
+  width: 30px;
400
+  line-height: 26px;
401 401
   text-align: center;
402 402
   font-size: 0.8em;
403 403
   border-radius: 20px;
404 404
   color: #fff;
405 405
   background: #f56c6c;
406 406
   position: absolute;
407
-  top: -8px;
408
-  left: 0.7rem;
407
+  top: -6px;
408
+  left: 0.6rem;
409 409
   border: 1px solid #fff;
410
-  @media only screen and (max-width: 812px) {
410
+  @media only screen and (max-width: 767px) {
411 411
     height: 16px;
412 412
     width: 16px;
413 413
     line-height: 15px;

+ 45 - 30
src/pages/main/RecordPage.vue View File

@@ -54,6 +54,7 @@
54 54
           >搜索</van-button>
55 55
         </van-field>-->
56 56
         <el-input
57
+          class="newInput"
57 58
           prefix-icon="el-icon-search"
58 59
           v-model="search_input"
59 60
           ref="search_field"
@@ -190,7 +191,7 @@ export default {
190 191
 };
191 192
 </script>
192 193
 
193
-<style lang="scss">
194
+<style lang="scss" scoped>
194 195
 .top_row {
195 196
   // height: 50px;
196 197
   font-size: 0.3rem;
@@ -203,8 +204,8 @@ export default {
203 204
   // align-items: center;
204 205
   background: #258ffc;
205 206
   .floatLeft {
206
-    line-height: 30px;
207
-    height: 30px;
207
+    line-height: 1rem;
208
+    height: 1rem;
208 209
   }
209 210
   .search {
210 211
     float: right;
@@ -258,27 +259,27 @@ export default {
258 259
 
259 260
 .redpoint {
260 261
   display: inline-block;
261
-  height: 20px;
262
-  width: 20px;
263
-  line-height: 18px;
262
+  height: 30px;
263
+  width: 30px;
264
+  line-height: 26px;
264 265
   text-align: center;
265 266
   font-size: 0.8em;
266 267
   border-radius: 20px;
267 268
   color: #fff;
268 269
   background: #f56c6c;
269 270
   position: absolute;
270
-  top: -8px;
271
+  top: -6px;
271 272
   right: -8px;
272 273
   border: 1px solid #fff;
273
-  @media only screen and (max-width: 812px) {
274
+  @media only screen and (max-width: 767px) {
274 275
     height: 16px;
275 276
     width: 16px;
276 277
     line-height: 14px;
277 278
   }
278 279
 }
279 280
 .box {
280
-  height: 30px;
281
-  margin-top: 8px;
281
+  height: 1rem;
282
+  margin-top: 0.26rem;
282 283
   background: #258ffc;
283 284
 }
284 285
 .head {
@@ -309,23 +310,7 @@ export default {
309 310
     color: #258ffc;
310 311
   }
311 312
 }
312
-.el-input {
313
-  height: 100%;
314
-  width: 85%;
315
-  float: left;
316
-}
317
-.el-input__inner {
318
-  height: 100%;
319
-  line-height: 1rem;
320
-  width: 100%;
321
-  border-radius: 30px;
322
-  border: none;
323
-  font-size: 0.45rem;
324
-}
325
-.el-input__icon {
326
-  line-height: 1rem;
327
-  font-size: 0.45rem;
328
-}
313
+
329 314
 .add {
330 315
   width: 1.8rem;
331 316
   height: 1.8rem;
@@ -345,9 +330,39 @@ export default {
345 330
     // @media only screen and (min-width: 415px) and (max-width: 668px) {
346 331
     //   width: 40px;
347 332
     // }
348
-    @media only screen and (min-width: 769px) and (max-width: 1024px) {
349
-      width: 40px;
350
-      margin: 10px auto 0;
333
+    @media only screen and (min-width: 768px) {
334
+      width: 50px;
335
+      margin: 14px auto 0;
336
+    }
337
+  }
338
+}
339
+</style>
340
+<style lang="scss">
341
+.newInput {
342
+  height: 100%;
343
+  width: 85%;
344
+  float: left;
345
+  .el-input__inner {
346
+    height: 100%;
347
+    line-height: 1rem;
348
+    width: 100%;
349
+    border-radius: 30px;
350
+    border: none;
351
+    font-size: 0.45rem;
352
+    @media only screen and (min-width: 768px) {
353
+      padding-left: 0.9rem !important;
354
+    }
355
+  }
356
+  .el-input__icon {
357
+    line-height: 1rem;
358
+    font-size: 0.45rem;
359
+    @media only screen and (min-width: 768px) {
360
+      margin-top: 1px;
361
+    }
362
+  }
363
+  .el-input__prefix {
364
+    @media only screen and (min-width: 768px) {
365
+      left: 10px;
351 366
     }
352 367
   }
353 368
 }

+ 2 - 2
src/pages/main/WaitingArea.vue View File

@@ -635,8 +635,8 @@ export default {
635 635
   border-bottom: 1px #e5e5e5 solid;
636 636
   position: fixed;
637 637
   top: 98px;
638
-  @media only screen and (min-width: 813px) and (max-width: 1024px) {
639
-    top: 130px;
638
+  @media only screen and (min-width: 768px) {
639
+    top: 163px;
640 640
   }
641 641
   right: 0;
642 642
   z-index: 66;

+ 246 - 234
src/pages/main/dialog/AcceptsDialog.vue View File

@@ -4,12 +4,10 @@
4 4
       <div class="DialogTit">
5 5
         <span class="iconfont" @click="close()">&#xe6e9;</span>
6 6
         <h1 class="name">接诊评估</h1>
7
-        <span class="success" @click="commitInfo">完成</span>
7
+        <span class="success" @click="commitInfo">保存</span>
8 8
       </div>
9 9
       <div class="DialogContent choose">
10
-
11
-
12
-        <el-form :model="receiveTreatmentAsses" label-width="90px">
10
+        <el-form :model="receiveTreatmentAsses" label-width="110px">
13 11
           <el-form-item label="入室方式: " v-if="isShow('入室方式')">
14 12
             <el-radio v-model="receiveTreatmentAsses.way" label="1">步行</el-radio>
15 13
             <el-radio v-model="receiveTreatmentAsses.way" label="2">扶行</el-radio>
@@ -18,13 +16,10 @@
18 16
             <!--</el-radio-group>-->
19 17
           </el-form-item>
20 18
           <el-form-item label="病人意识: " v-if="isShow('病人意识')">
21
-
22 19
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
23 20
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
24 21
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
25 22
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="4">模糊</el-radio>
26
-
27
-
28 23
           </el-form-item>
29 24
           <el-form-item label="病人食欲: " v-if="isShow('病人食欲')">
30 25
             <el-radio v-model="receiveTreatmentAsses.appetite" label="1">正常</el-radio>
@@ -45,17 +40,15 @@
45 40
             <el-radio v-model="receiveTreatmentAsses.posture" label="4">端坐位</el-radio>
46 41
             <el-radio v-model="receiveTreatmentAsses.posture" label="5">躁动不安</el-radio>
47 42
           </el-form-item>
48
-          <el-form-item label="病情: "  v-if="isShow('病情')">
43
+          <el-form-item label="病情: " v-if="isShow('病情')">
49 44
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="1">一般</el-radio>
50 45
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="2">严重</el-radio>
51 46
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3">危</el-radio>
52 47
           </el-form-item>
53
-          <el-form-item label-width="100dp" label="其他病情 : "
54
-                        v-if="isShow('其他病情')">
55
-            <el-input v-model="receiveTreatmentAsses.sick_condition_other" style="width: 400px"></el-input>
48
+          <el-form-item label-width="110dp" label="其他病情 : " v-if="isShow('其他病情')">
49
+            <el-input v-model="receiveTreatmentAsses.sick_condition_other"></el-input>
56 50
           </el-form-item>
57
-          <el-form-item label-width="100dp" label="跌倒风险评估评分 : "
58
-                        v-if="isShow('跌倒风险评估评分')">
51
+          <el-form-item label-width="110dp" label="跌倒风险评估评分 : " v-if="isShow('跌倒风险评估评分')">
59 52
             <el-input v-model="receiveTreatmentAsses.score" style="width: 100px"></el-input>
60 53
           </el-form-item>
61 54
 
@@ -66,283 +59,302 @@
66 59
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="4">高风险</el-radio>
67 60
           </el-form-item>
68 61
 
69
-
70
-          <el-form-item label-width="155px" label="跌倒风险预防措施: " v-if="isShow('跌倒风险预防措施')">
71
-          <el-radio v-model="receiveTreatmentAsses.precaution" label="1">镇定剂</el-radio>
72
-          <el-radio v-model="receiveTreatmentAsses.precaution" label="2">约束带</el-radio>
73
-          <el-radio v-model="receiveTreatmentAsses.precaution" label="3">床栏</el-radio>
74
-          <el-radio v-model="receiveTreatmentAsses.precaution" label="4">加强宣教</el-radio>
75
-        </el-form-item>
76
-          <el-form-item label-width="100dp" label="其他跌倒风险预防措施 : "
77
-                        v-if="isShow('其他跌倒风险预防措施')">
62
+          <el-form-item label-width="130px" label="跌倒风险预防措施: " v-if="isShow('跌倒风险预防措施')">
63
+            <el-radio v-model="receiveTreatmentAsses.precaution" label="1">镇定剂</el-radio>
64
+            <el-radio v-model="receiveTreatmentAsses.precaution" label="2">约束带</el-radio>
65
+            <el-radio v-model="receiveTreatmentAsses.precaution" label="3">床栏</el-radio>
66
+            <el-radio v-model="receiveTreatmentAsses.precaution" label="4">加强宣教</el-radio>
67
+          </el-form-item>
68
+          <el-form-item label-width="110dp" label="其他跌倒风险预防措施 : " v-if="isShow('其他跌倒风险预防措施')">
78 69
             <el-input v-model="receiveTreatmentAsses.precaution_other"></el-input>
79 70
           </el-form-item>
80 71
 
81
-
82
-          <el-form-item label="摄入量: "  v-if="isShow('摄入量')">
72
+          <el-form-item label="摄入量: " v-if="isShow('摄入量')">
83 73
             <el-radio v-model="receiveTreatmentAsses.intake" label="1">正常</el-radio>
84 74
             <el-radio v-model="receiveTreatmentAsses.intake" label="2">减少</el-radio>
85 75
           </el-form-item>
86
-          <el-form-item label="营养状况: "  v-if="isShow('营养状况')">
76
+          <el-form-item label="营养状况: " v-if="isShow('营养状况')">
87 77
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="1">正常</el-radio>
88 78
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="2">营养不良</el-radio>
89 79
           </el-form-item>
90
-          <el-form-item label="心理评估: "  v-if="isShow('心理评估')">
80
+          <el-form-item label="心理评估: " v-if="isShow('心理评估')">
91 81
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="1">正常</el-radio>
92 82
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="2">异常</el-radio>
93 83
           </el-form-item>
94
-          <el-form-item label-width="100dp" label="心理评估异常情况 : "
95
-                        v-if="isShow('心理评估异常情况')&&receiveTreatmentAsses.psychological_assessment == 2">
84
+          <el-form-item
85
+            label-width="110dp"
86
+            label="心理评估异常情况 : "
87
+            v-if="isShow('心理评估异常情况')&&receiveTreatmentAsses.psychological_assessment == 2"
88
+          >
96 89
             <el-input v-model="receiveTreatmentAsses.psychological_assessment_other"></el-input>
97 90
           </el-form-item>
98 91
 
99
-          <el-form-item label-width="100dp" label="其他心理评估 : "
100
-                        v-if="isShow('其他心理评估')">
92
+          <el-form-item label-width="110dp" label="其他心理评估 : " v-if="isShow('其他心理评估')">
101 93
             <el-input v-model="receiveTreatmentAsses.psychological_other"></el-input>
102 94
           </el-form-item>
103
-
104 95
         </el-form>
105 96
         <!-- <div class="button">
106 97
           <button @click="commitInfo" class="submitButton">提交</button>
107
-      </div> -->
98
+        </div>-->
108 99
       </div>
109 100
       <!-- <div class="footer">
110 101
           处方医生:刘小军 医生
111
-      </div> -->
102
+      </div>-->
112 103
     </div>
113 104
   </div>
114 105
 </template>
115 106
 
116 107
 <script>
117
-  import {commitAcceptsAssessment, getLastAccepts} from '@/api/dialysis'
118
-  import {Toast} from 'vant'
108
+import { commitAcceptsAssessment, getLastAccepts } from "@/api/dialysis";
109
+import { Toast } from "vant";
119 110
 
120
-  export default {
121
-    name: 'AcceptsDialog',
122
-    data () {
123
-      return {
124
-        receiveTreatmentAsses: {
125
-          way: '1',
126
-          consciousness: '1',
127
-          appetite: '1',
128
-          condition: '1',
129
-          posture: '1',
130
-          sick_condition: '1',
131
-          danger_level: '1',
132
-          intake: '1',
133
-          nutrition: '1',
134
-          psychological_assessment: '1',
135
-          psychological_assessment_other: '',
136
-          sick_condition_other:'',
137
-          score:'',
138
-          psychological_other:'',
139
-          precaution:'1',
140
-          precaution_other:'',
141
-        },
142
-        patient: {
143
-          id: 0
144
-        },
145
-        record_date: ''
146
-      }
147
-    },
148
-    props: {
149
-      accepts: {
150
-        type: Object
111
+export default {
112
+  name: "AcceptsDialog",
113
+  data() {
114
+    return {
115
+      receiveTreatmentAsses: {
116
+        way: "1",
117
+        consciousness: "1",
118
+        appetite: "1",
119
+        condition: "1",
120
+        posture: "1",
121
+        sick_condition: "1",
122
+        danger_level: "1",
123
+        intake: "1",
124
+        nutrition: "1",
125
+        psychological_assessment: "1",
126
+        psychological_assessment_other: "",
127
+        sick_condition_other: "",
128
+        score: "",
129
+        psychological_other: "",
130
+        precaution: "1",
131
+        precaution_other: ""
151 132
       },
152
-      patient_prop: {
153
-        type: Object
154
-      }
133
+      patient: {
134
+        id: 0
135
+      },
136
+      record_date: ""
137
+    };
138
+  },
139
+  props: {
140
+    accepts: {
141
+      type: Object
155 142
     },
156
-    created () {
157
-      if (this.accepts == null || this.accepts.id == '') {
158
-        let ParamsQuery = {}
159
-        ParamsQuery['patient'] = this.$route.query.patient_id
143
+    patient_prop: {
144
+      type: Object
145
+    }
146
+  },
147
+  created() {
148
+    if (this.accepts == null || this.accepts.id == "") {
149
+      let ParamsQuery = {};
150
+      ParamsQuery["patient"] = this.$route.query.patient_id;
151
+      getLastAccepts(ParamsQuery).then(response => {
152
+        if (response.data.state == 0) {
153
+          return false;
154
+        } else {
155
+          for (const key in response.data.data.receiveTreatmentAsses) {
156
+            this.accepts[key] = response.data.data.receiveTreatmentAsses[key];
157
+            this.receiveTreatmentAsses.way = this.accepts.way + "";
158
+            this.receiveTreatmentAsses.consciousness =
159
+              this.accepts.consciousness + "";
160
+            this.receiveTreatmentAsses.appetite = this.accepts.appetite + "";
161
+            this.receiveTreatmentAsses.condition = this.accepts.condition + "";
162
+            this.receiveTreatmentAsses.posture = this.accepts.posture + "";
163
+            this.receiveTreatmentAsses.sick_condition =
164
+              this.accepts.sick_condition + "";
165
+            this.receiveTreatmentAsses.danger_level =
166
+              this.accepts.danger_level + "";
167
+            this.receiveTreatmentAsses.intake = this.accepts.intake + "";
168
+            this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + "";
169
+            this.receiveTreatmentAsses.psychological_assessment =
170
+              this.accepts.psychological_assessment + "";
171
+            this.receiveTreatmentAsses.psychological_assessment_other = this.accepts.psychological_assessment_other;
172
+            this.receiveTreatmentAsses.score = this.accepts.score;
173
+            this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other;
174
+            this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other;
175
+
176
+            this.receiveTreatmentAsses.precaution =
177
+              this.accepts.precaution + "";
178
+            this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other;
179
+          }
180
+        }
181
+      });
182
+    } else {
183
+      if (
184
+        this.accepts.way == 0 &&
185
+        this.accepts.consciousness == 0 &&
186
+        this.accepts.appetite == 0 &&
187
+        this.accepts.condition == 0 &&
188
+        this.accepts.posture == 0 &&
189
+        this.accepts.sick_condition == 0 &&
190
+        this.accepts.danger_level == 0 &&
191
+        this.accepts.intake == 0 &&
192
+        this.accepts.nutrition == 0 &&
193
+        this.accepts.psychological_assessment == 0 &&
194
+        this.accepts.psychological_assessment_other == "" &&
195
+        this.accepts.sick_condition_other == "" &&
196
+        this.accepts.psychological_other == "" &&
197
+        this.accepts.precaution == 0 &&
198
+        this.accepts.precaution_other == "" &&
199
+        this.accepts.score == ""
200
+      ) {
201
+        let ParamsQuery = {};
202
+        ParamsQuery["patient"] = this.$route.query.patient_id;
160 203
         getLastAccepts(ParamsQuery).then(response => {
161 204
           if (response.data.state == 0) {
162
-            return false
205
+            return false;
163 206
           } else {
164 207
             for (const key in response.data.data.receiveTreatmentAsses) {
165
-              this.accepts[key] = response.data.data.receiveTreatmentAsses[key]
166
-              this.receiveTreatmentAsses.way = this.accepts.way + ''
208
+              this.accepts[key] = response.data.data.receiveTreatmentAsses[key];
209
+              this.receiveTreatmentAsses.way = this.accepts.way + "";
167 210
               this.receiveTreatmentAsses.consciousness =
168
-                this.accepts.consciousness + ''
169
-              this.receiveTreatmentAsses.appetite = this.accepts.appetite + ''
170
-              this.receiveTreatmentAsses.condition = this.accepts.condition + ''
171
-              this.receiveTreatmentAsses.posture = this.accepts.posture + ''
172
-              this.receiveTreatmentAsses.sick_condition = this.accepts.sick_condition + ''
173
-              this.receiveTreatmentAsses.danger_level = this.accepts.danger_level + ''
174
-              this.receiveTreatmentAsses.intake = this.accepts.intake + ''
175
-              this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + ''
176
-              this.receiveTreatmentAsses.psychological_assessment = this.accepts.psychological_assessment + ''
177
-              this.receiveTreatmentAsses.psychological_assessment_other = this.accepts.psychological_assessment_other
178
-              this.receiveTreatmentAsses.score = this.accepts.score
179
-              this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other
180
-              this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other
181
-
182
-              this.receiveTreatmentAsses.precaution = this.accepts.precaution +''
183
-              this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other
184
-
211
+                this.accepts.consciousness + "";
212
+              this.receiveTreatmentAsses.appetite = this.accepts.appetite + "";
213
+              this.receiveTreatmentAsses.condition =
214
+                this.accepts.condition + "";
215
+              this.receiveTreatmentAsses.posture = this.accepts.posture + "";
216
+              this.receiveTreatmentAsses.sick_condition =
217
+                this.accepts.sick_condition + "";
218
+              this.receiveTreatmentAsses.danger_level =
219
+                this.accepts.danger_level + "";
220
+              this.receiveTreatmentAsses.intake = this.accepts.intake + "";
221
+              this.receiveTreatmentAsses.nutrition =
222
+                this.accepts.nutrition + "";
223
+              this.receiveTreatmentAsses.psychological_assessment =
224
+                this.accepts.psychological_assessment + "";
225
+              this.receiveTreatmentAsses.psychological_assessment_other =
226
+                this.accepts.psychological_assessment_other + "";
227
+              this.receiveTreatmentAsses.score = this.accepts.score;
228
+              this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other;
185 229
 
230
+              this.receiveTreatmentAsses.precaution =
231
+                this.accepts.precaution + "";
232
+              this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other;
233
+              this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other;
186 234
             }
187 235
           }
188
-        })
236
+        });
189 237
       } else {
190
-        if (
191
-          this.accepts.way == 0 &&
192
-          this.accepts.consciousness == 0 &&
193
-          this.accepts.appetite == 0 &&
194
-          this.accepts.condition == 0 &&
195
-          this.accepts.posture == 0 &&
196
-          this.accepts.sick_condition == 0 &&
197
-          this.accepts.danger_level == 0 &&
198
-          this.accepts.intake == 0 &&
199
-          this.accepts.nutrition == 0 &&
200
-          this.accepts.psychological_assessment == 0 &&
201
-          this.accepts.psychological_assessment_other == ''&&this.accepts.sick_condition_other == ''&&
202
-          this.accepts.psychological_other == ''&&
203
-          this.accepts.precaution == 0&&
204
-          this.accepts.precaution_other == ''&&
205
-          this.accepts.score == ''
206
-
207
-      ) {
208
-          let ParamsQuery = {}
209
-          ParamsQuery['patient'] = this.$route.query.patient_id
210
-          getLastAccepts(ParamsQuery).then(response => {
211
-            if (response.data.state == 0) {
212
-              return false
213
-            } else {
214
-              for (const key in response.data.data.receiveTreatmentAsses) {
215
-                this.accepts[key] = response.data.data.receiveTreatmentAsses[key]
216
-                this.receiveTreatmentAsses.way = this.accepts.way + ''
217
-                this.receiveTreatmentAsses.consciousness =
218
-                  this.accepts.consciousness + ''
219
-                this.receiveTreatmentAsses.appetite = this.accepts.appetite + ''
220
-                this.receiveTreatmentAsses.condition =
221
-                  this.accepts.condition + ''
222
-                this.receiveTreatmentAsses.posture = this.accepts.posture + ''
223
-                this.receiveTreatmentAsses.sick_condition = this.accepts.sick_condition + ''
224
-                this.receiveTreatmentAsses.danger_level = this.accepts.danger_level + ''
225
-                this.receiveTreatmentAsses.intake = this.accepts.intake + ''
226
-                this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + ''
227
-                this.receiveTreatmentAsses.psychological_assessment = this.accepts.psychological_assessment + ''
228
-                this.receiveTreatmentAsses.psychological_assessment_other = this.accepts.psychological_assessment_other + ''
229
-                this.receiveTreatmentAsses.score = this.accepts.score
230
-                this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other
231
-
232
-                this.receiveTreatmentAsses.precaution = this.accepts.precaution + ''
233
-                this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other
234
-                this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other
235
-
236
-
237
-              }
238
-            }
239
-          })
240
-        } else {
241
-          this.receiveTreatmentAsses.way = this.accepts.way + ''
242
-          this.receiveTreatmentAsses.consciousness =
243
-            this.accepts.consciousness + ''
244
-          this.receiveTreatmentAsses.appetite = this.accepts.appetite + ''
245
-          this.receiveTreatmentAsses.condition = this.accepts.condition + ''
246
-          this.receiveTreatmentAsses.posture = this.accepts.posture + ''
247
-          this.receiveTreatmentAsses.sick_condition = this.accepts.sick_condition + ''
248
-          this.receiveTreatmentAsses.danger_level = this.accepts.danger_level + ''
249
-          this.receiveTreatmentAsses.intake = this.accepts.intake + ''
250
-          this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + ''
251
-          this.receiveTreatmentAsses.psychological_assessment = this.accepts.psychological_assessment + ''
252
-          this.receiveTreatmentAsses.psychological_assessment_other = this.accepts.psychological_assessment_other + ''
253
-          this.receiveTreatmentAsses.score = this.accepts.score
254
-          this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other
238
+        this.receiveTreatmentAsses.way = this.accepts.way + "";
239
+        this.receiveTreatmentAsses.consciousness =
240
+          this.accepts.consciousness + "";
241
+        this.receiveTreatmentAsses.appetite = this.accepts.appetite + "";
242
+        this.receiveTreatmentAsses.condition = this.accepts.condition + "";
243
+        this.receiveTreatmentAsses.posture = this.accepts.posture + "";
244
+        this.receiveTreatmentAsses.sick_condition =
245
+          this.accepts.sick_condition + "";
246
+        this.receiveTreatmentAsses.danger_level =
247
+          this.accepts.danger_level + "";
248
+        this.receiveTreatmentAsses.intake = this.accepts.intake + "";
249
+        this.receiveTreatmentAsses.nutrition = this.accepts.nutrition + "";
250
+        this.receiveTreatmentAsses.psychological_assessment =
251
+          this.accepts.psychological_assessment + "";
252
+        this.receiveTreatmentAsses.psychological_assessment_other =
253
+          this.accepts.psychological_assessment_other + "";
254
+        this.receiveTreatmentAsses.score = this.accepts.score;
255
+        this.receiveTreatmentAsses.sick_condition_other = this.accepts.sick_condition_other;
255 256
 
256
-          this.receiveTreatmentAsses.precaution = this.accepts.precaution +''
257
-          this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other
258
-          this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other
259
-
260
-
261
-        }
257
+        this.receiveTreatmentAsses.precaution = this.accepts.precaution + "";
258
+        this.receiveTreatmentAsses.precaution_other = this.accepts.precaution_other;
259
+        this.receiveTreatmentAsses.psychological_other = this.accepts.psychological_other;
262 260
       }
261
+    }
263 262
 
264
-      var date = this.$route.query && this.$route.query.date
265
-      date *= 1000
266
-      var newDate = new Date(date)
263
+    var date = this.$route.query && this.$route.query.date;
264
+    date *= 1000;
265
+    var newDate = new Date(date);
267 266
 
268
-      var y = newDate.getFullYear()
269
-      var m = newDate.getMonth() + 1
270
-      var d = newDate.getDate()
271
-      if (isNaN(y) || isNaN(m) || isNaN(d)) {
272
-        newDate = new Date()
273
-        y = newDate.getFullYear()
274
-        m = newDate.getMonth() + 1
275
-        d = newDate.getDate()
267
+    var y = newDate.getFullYear();
268
+    var m = newDate.getMonth() + 1;
269
+    var d = newDate.getDate();
270
+    if (isNaN(y) || isNaN(m) || isNaN(d)) {
271
+      newDate = new Date();
272
+      y = newDate.getFullYear();
273
+      m = newDate.getMonth() + 1;
274
+      d = newDate.getDate();
275
+    }
276
+    this.record_date =
277
+      y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
278
+    this.patient.id = this.patient_prop.id;
279
+  },
280
+  methods: {
281
+    isShow(name) {
282
+      var filedList = this.$store.getters.user.fileds;
283
+      for (let i = 0; i < filedList.length; i++) {
284
+        if (
285
+          filedList[i].module == 2 &&
286
+          filedList[i].filed_name_cn == name &&
287
+          filedList[i].is_show == 1
288
+        ) {
289
+          return true;
290
+        }
276 291
       }
277
-      this.record_date =
278
-        y + '-' + (m < 10 ? '0' + m : m) + '-' + (d < 10 ? '0' + d : d)
279
-      this.patient.id = this.patient_prop.id
292
+      return false;
280 293
     },
281
-    methods: {
282
-      isShow(name){
283
-        var filedList = this.$store.getters.user.fileds
284
-        for (let i = 0; i < filedList.length; i++){
285
-          if(filedList[i].module == 2 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
286
-            return true
287
-          }
288
-        }
289
-        return false
290
-      },
291
-      commitInfo: function () {
292
-        Toast.loading({forbidClick: true, duration: 0})
293
-        let ParamsQuery = this.receiveTreatmentAsses
294
-        // ParamsQuery["patient"] =  this.patient.id
295
-        ParamsQuery['patient'] = this.$route.query.patient_id
296
-        ParamsQuery['record_date'] = this.record_date
294
+    commitInfo: function() {
295
+      Toast.loading({ forbidClick: true, duration: 0 });
296
+      let ParamsQuery = this.receiveTreatmentAsses;
297
+      // ParamsQuery["patient"] =  this.patient.id
298
+      ParamsQuery["patient"] = this.$route.query.patient_id;
299
+      ParamsQuery["record_date"] = this.record_date;
297 300
 
298
-        commitAcceptsAssessment(ParamsQuery).then(response => {
299
-          if (response.data.state == 0) {
300
-            Toast.fail(response.data.msg)
301
-            return false
302
-          } else {
303
-            Toast.success('提交成功')
304
-            for (const key in response.data.data.receiveTreatmentAsses) {
305
-              this.accepts[key] = response.data.data.receiveTreatmentAsses[key]
306
-            }
307
-            this.finish()
301
+      commitAcceptsAssessment(ParamsQuery).then(response => {
302
+        if (response.data.state == 0) {
303
+          Toast.fail(response.data.msg);
304
+          return false;
305
+        } else {
306
+          Toast.success("提交成功");
307
+          for (const key in response.data.data.receiveTreatmentAsses) {
308
+            this.accepts[key] = response.data.data.receiveTreatmentAsses[key];
308 309
           }
309
-        })
310
-      },
311
-      finish: function () {
312
-        this.$emit('finish')
313
-      },
314
-      close: function () {
315
-        this.$emit('close')
316
-      }
310
+          this.finish();
311
+        }
312
+      });
313
+    },
314
+    finish: function() {
315
+      this.$emit("finish");
316
+    },
317
+    close: function() {
318
+      this.$emit("close");
317 319
     }
318 320
   }
321
+};
319 322
 </script>
320 323
 
321 324
 <style style="stylesheet/scss" lang="scss" scoped>
322
-  .choose {
325
+.choose {
323 326
   .el-form-item {
324
-  margin-bottom: 0;
325
-  border-bottom: 1px #e5e5e5 solid;
326
-  padding: 0.15rem 0.36rem;
327
-  .el-radio {
328
-  font-size: 18px;
329
-  }
330
-
327
+    margin-bottom: 0;
328
+    border-bottom: 1px #e5e5e5 solid;
329
+    padding: 0.15rem 0.36rem;
330
+    .el-radio {
331
+      font-size: 18px;
332
+    }
331 333
   }
332 334
   .button {
333
-  text-align: center;
334
-  margin-top: 1rem;
335
-  .submitButton {
336
-  width: 3rem;
337
-  height: 0.8rem;
338
-  line-height: 0.8rem;
339
-  background: $main-color;
340
-  color: #fff;
341
-  font-size: 0.3rem;
342
-  text-align: center;
343
-  border-radius: 6px;
344
-  }
345
-  }
335
+    text-align: center;
336
+    margin-top: 1rem;
337
+    .submitButton {
338
+      width: 3rem;
339
+      height: 0.8rem;
340
+      line-height: 0.8rem;
341
+      background: $main-color;
342
+      color: #fff;
343
+      font-size: 0.3rem;
344
+      text-align: center;
345
+      border-radius: 6px;
346
+    }
346 347
   }
348
+}
349
+</style>
350
+<style lang="scss">
351
+.el-radio {
352
+  margin-right: 26px;
353
+  width: 2.4rem;
354
+}
355
+.el-radio__inner {
356
+  width: 20px;
357
+  height: 20px;
358
+}
347 359
 </style>
348 360
 

File diff suppressed because it is too large
+ 1163 - 938
src/pages/main/dialog/AssessmentDialog.vue


+ 367 - 348
src/pages/main/dialog/DoubleDialog.vue View File

@@ -4,28 +4,28 @@
4 4
       <div class="DialogTit">
5 5
         <span @click="close()" class="iconfont">&#xe6e9;</span>
6 6
         <h1 class="name">双人查对</h1>
7
-        <span @click="commitInfo" class="success">完成</span>
7
+        <span @click="commitInfo" class="success">保存</span>
8 8
       </div>
9 9
       <div style="height: 8rem" class="DialogContent choose">
10
-        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="130px">
10
+        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="160px">
11 11
           <el-form-item label="透析物品核查 : ">
12 12
             <el-radio v-model="doubleReview.dialysis_item_check" label="1">正确</el-radio>
13 13
             <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio>
14 14
           </el-form-item>
15
-          <el-form-item label="差错描述 : " label-width="90px">
15
+          <el-form-item label="差错描述 : " label-width="160px">
16 16
             <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
17 17
           </el-form-item>
18 18
         </el-form>
19
-        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="130px">
19
+        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="160px">
20 20
           <el-form-item label="透析参数核查 : ">
21 21
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="1">正确</el-radio>
22 22
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio>
23 23
           </el-form-item>
24
-          <el-form-item label="差错描述 : " label-width="90px">
24
+          <el-form-item label="差错描述 : " label-width="160px">
25 25
             <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
26 26
           </el-form-item>
27 27
         </el-form>
28
-        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="130px">
28
+        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="160px">
29 29
           <el-form-item label="血管通路核查 : ">
30 30
             <!--<el-radio-group v-model="form.appetite">-->
31 31
             <!--<el-radio label="正确"></el-radio>-->
@@ -33,49 +33,56 @@
33 33
             <!--</el-radio-group>-->
34 34
             <el-radio v-model="doubleReview.vascular_access_verification" label="1">正确</el-radio>
35 35
             <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio>
36
-
37 36
           </el-form-item>
38
-          <el-form-item label="差错描述 : " label-width="90px">
37
+          <el-form-item label="差错描述 : " label-width="160px">
39 38
             <el-input v-model="doubleReview.vascular_access_desc"></el-input>
40 39
           </el-form-item>
41 40
         </el-form>
42
-        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="130px">
41
+        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="160px">
43 42
           <el-form-item label="管道连接核查 : ">
44 43
             <!--<el-radio-group v-model="form.condition">-->
45 44
             <el-radio v-model="doubleReview.pipeline_connection_check" label="1">正确</el-radio>
46 45
             <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio>
47 46
             <!--</el-radio-group>-->
48 47
           </el-form-item>
49
-          <el-form-item label="差错描述 : " label-width="90px">
48
+          <el-form-item label="差错描述 : " label-width="160px">
50 49
             <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
51 50
           </el-form-item>
52
-
53 51
         </el-form>
54 52
 
55 53
         <div class="item">
56 54
           <h2 class="name">核对时间</h2>
57 55
           <div class="content">
58
-            <span class="text" style="width: 100px" @click="selectCheckTimeAction">{{ check_time_str }}</span>
56
+            <span
57
+              class="text"
58
+              style="width: 160px"
59
+              @click="selectCheckTimeAction"
60
+            >{{ check_time_str }}</span>
59 61
             <span class="iconfont">&#xe6f9;</span>
60 62
           </div>
61 63
         </div>
62 64
 
63
-
64
-        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="130px">
65
-          <p style="margin: 10px 0 10px 13px;" v-if="doubleReview.creater != 0">{{getFirstCheckDesc()}} </p>
66
-          <p style="margin: 10px 0 10px 13px;" v-if="doubleReview.modifier != 0">{{getScondCheckDesc()}}</p>
65
+        <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="160px">
66
+          <p
67
+            style="margin: 10px 0 10px 13px;"
68
+            v-if="doubleReview.creater != 0"
69
+          >{{getFirstCheckDesc()}}</p>
70
+          <p
71
+            style="margin: 10px 0 10px 13px;"
72
+            v-if="doubleReview.modifier != 0"
73
+          >{{getScondCheckDesc()}}</p>
67 74
         </el-form>
68 75
 
69 76
         <!-- <div class="button">
70 77
           <button @click="commitInfo" class="submitButton">提交</button>
71
-      </div> -->
78
+        </div>-->
72 79
         <!--<div class="footer">-->
73 80
         <!--处方医生:黄梦燕  医生-->
74 81
         <!--</div>-->
75 82
       </div>
76 83
       <!-- <div class="footer">
77 84
           处方医生:黄梦燕  护士
78
-      </div> -->
85
+      </div>-->
79 86
     </div>
80 87
     <mt-datetime-picker
81 88
       ref="start_time_picker"
@@ -84,406 +91,418 @@
84 91
       v-model="check_time"
85 92
     ></mt-datetime-picker>
86 93
   </div>
87
-
88 94
 </template>
89 95
 
90 96
 <script>
91
-  import {commitDoubleCheck} from '@/api/dialysis'
92
-  import {Toast} from 'vant'
93
-  import {uParseTime} from '@/utils/tools'
94
-  import {parseTime} from '@/utils'
95
-
96
-  export default {
97
-    name: 'DoubleDialog',
98
-    data () {
99
-      return {
100
-        admin_users: [],
101
-        first_check_isShow: false,
102
-        second_check_isShow: false,
103
-        first_check_desc: '',
104
-        second_check_desc: '',
105
-        doubleReview: {
106
-          dialysis_item_check: '1',
107
-          dialysis_parameter_check: '1',
108
-          vascular_access_verification: '1',
109
-          pipeline_connection_check: '1',
110
-          dialysis_item_desc: '',
111
-          dialysis_parameter_desc: '',
112
-          vascular_access_desc: '',
113
-          pipeline_connection_desc: '',
114
-          collator: '',
115
-          creater: 0,
116
-          modifier: 0,
117
-          created_time: 0,
118
-          updated_time: 0,
119
-          check_time: 0,
120
-          first_check_time: 0,
121
-        },
122
-        check_time: new Date(),
123
-        check_time_str: '',
124
-        patient: {
125
-          id: 0
126
-        },
127
-        doctor: '',
128
-        record_date: ''
129
-      }
130
-    },
131
-    props: {
132
-      record: {
133
-        type: Object,
134
-        default: () => {
135
-          return {id: 0}
136
-        }
97
+import { commitDoubleCheck } from "@/api/dialysis";
98
+import { Toast } from "vant";
99
+import { uParseTime } from "@/utils/tools";
100
+import { parseTime } from "@/utils";
101
+
102
+export default {
103
+  name: "DoubleDialog",
104
+  data() {
105
+    return {
106
+      admin_users: [],
107
+      first_check_isShow: false,
108
+      second_check_isShow: false,
109
+      first_check_desc: "",
110
+      second_check_desc: "",
111
+      doubleReview: {
112
+        dialysis_item_check: "1",
113
+        dialysis_parameter_check: "1",
114
+        vascular_access_verification: "1",
115
+        pipeline_connection_check: "1",
116
+        dialysis_item_desc: "",
117
+        dialysis_parameter_desc: "",
118
+        vascular_access_desc: "",
119
+        pipeline_connection_desc: "",
120
+        collator: "",
121
+        creater: 0,
122
+        modifier: 0,
123
+        created_time: 0,
124
+        updated_time: 0,
125
+        check_time: 0,
126
+        first_check_time: 0
137 127
       },
138
-
139
-      patient_prop: {
140
-        type: Object
128
+      check_time: new Date(),
129
+      check_time_str: "",
130
+      patient: {
131
+        id: 0
141 132
       },
142
-      admin_users_prop: {
143
-        type: Array
133
+      doctor: "",
134
+      record_date: ""
135
+    };
136
+  },
137
+  props: {
138
+    record: {
139
+      type: Object,
140
+      default: () => {
141
+        return { id: 0 };
144 142
       }
145 143
     },
146
-    created () {
147
-      console.log(new Date())
148
-      this.admin_users = this.admin_users_prop
149
-      if (this.record.id == '') {
150
-        this.doubleReview.dialysis_item_check = '1'
151
-        this.doubleReview.dialysis_parameter_check = '1'
152
-        this.doubleReview.vascular_access_verification = '1'
153
-        this.doubleReview.pipeline_connection_check = '1'
154
-        this.doubleReview.dialysis_item_desc = ''
155
-        this.doubleReview.dialysis_parameter_desc = ''
156
-        this.doubleReview.vascular_access_desc = ''
157
-        this.doubleReview.pipeline_connection_desc = ''
158
-
159
-      } else {
160
-        this.doubleReview.dialysis_item_check =
161
-          this.record.dialysis_item_check + ''
162
-        this.doubleReview.dialysis_parameter_check =
163
-          this.record.dialysis_parameter_check + ''
164
-        this.doubleReview.vascular_access_verification =
165
-          this.record.vascular_access_verification + ''
166
-        this.doubleReview.pipeline_connection_check =
167
-          this.record.pipeline_connection_check + ''
168
-        this.doubleReview.dialysis_item_desc = this.record.dialysis_item_desc
169
-        this.doubleReview.dialysis_parameter_desc = this.record.dialysis_parameter_desc
170
-        this.doubleReview.vascular_access_desc = this.record.vascular_access_desc
171
-        this.doubleReview.pipeline_connection_desc = this.record.pipeline_connection_desc
172
-
173
-        this.doubleReview.created_time = this.record.created_time
174
-        this.doubleReview.creater = this.record.creater
175
-        this.doubleReview.updated_time = this.record.updated_time
176
-        this.doubleReview.modifier = this.record.modifier
177
-        this.doubleReview.check_time = this.record.check_time
178
-        this.doubleReview.first_check_time = this.record.first_check_time
179 144
 
180
-      }
145
+    patient_prop: {
146
+      type: Object
147
+    },
148
+    admin_users_prop: {
149
+      type: Array
150
+    }
151
+  },
152
+  created() {
153
+    console.log(new Date());
154
+    this.admin_users = this.admin_users_prop;
155
+    if (this.record.id == "") {
156
+      this.doubleReview.dialysis_item_check = "1";
157
+      this.doubleReview.dialysis_parameter_check = "1";
158
+      this.doubleReview.vascular_access_verification = "1";
159
+      this.doubleReview.pipeline_connection_check = "1";
160
+      this.doubleReview.dialysis_item_desc = "";
161
+      this.doubleReview.dialysis_parameter_desc = "";
162
+      this.doubleReview.vascular_access_desc = "";
163
+      this.doubleReview.pipeline_connection_desc = "";
164
+    } else {
165
+      this.doubleReview.dialysis_item_check =
166
+        this.record.dialysis_item_check + "";
167
+      this.doubleReview.dialysis_parameter_check =
168
+        this.record.dialysis_parameter_check + "";
169
+      this.doubleReview.vascular_access_verification =
170
+        this.record.vascular_access_verification + "";
171
+      this.doubleReview.pipeline_connection_check =
172
+        this.record.pipeline_connection_check + "";
173
+      this.doubleReview.dialysis_item_desc = this.record.dialysis_item_desc;
174
+      this.doubleReview.dialysis_parameter_desc = this.record.dialysis_parameter_desc;
175
+      this.doubleReview.vascular_access_desc = this.record.vascular_access_desc;
176
+      this.doubleReview.pipeline_connection_desc = this.record.pipeline_connection_desc;
177
+
178
+      this.doubleReview.created_time = this.record.created_time;
179
+      this.doubleReview.creater = this.record.creater;
180
+      this.doubleReview.updated_time = this.record.updated_time;
181
+      this.doubleReview.modifier = this.record.modifier;
182
+      this.doubleReview.check_time = this.record.check_time;
183
+      this.doubleReview.first_check_time = this.record.first_check_time;
184
+    }
181 185
 
182
-      var date = this.$route.query && this.$route.query.date
183
-      date *= 1000
184
-      var newDate = new Date(date)
185
-      var y = newDate.getFullYear()
186
-      var m = newDate.getMonth() + 1
187
-      var d = newDate.getDate()
188
-      if (isNaN(y) || isNaN(m) || isNaN(d)) {
189
-        newDate = new Date()
190
-        y = newDate.getFullYear()
191
-        m = newDate.getMonth() + 1
192
-        d = newDate.getDate()
193
-      }
194
-      this.record_date =
195
-        y + '-' + (m < 10 ? '0' + m : m) + '-' + (d < 10 ? '0' + d : d)
196
-      // this.patient.id = this.patient_prop.id
186
+    var date = this.$route.query && this.$route.query.date;
187
+    date *= 1000;
188
+    var newDate = new Date(date);
189
+    var y = newDate.getFullYear();
190
+    var m = newDate.getMonth() + 1;
191
+    var d = newDate.getDate();
192
+    if (isNaN(y) || isNaN(m) || isNaN(d)) {
193
+      newDate = new Date();
194
+      y = newDate.getFullYear();
195
+      m = newDate.getMonth() + 1;
196
+      d = newDate.getDate();
197
+    }
198
+    this.record_date =
199
+      y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
200
+    // this.patient.id = this.patient_prop.id
201
+  },
202
+  methods: {
203
+    didSelectCheckTime: function(time) {
204
+      this.check_time_str = parseTime(time, "{y}-{m}-{d} {h}:{i}" + ":00");
197 205
     },
198
-    methods: {
199
-      didSelectCheckTime: function (time) {
200
-        this.check_time_str = parseTime(time, '{y}-{m}-{d} {h}:{i}' + ':00')
201
-      },
202
-      selectCheckTimeAction: function () {
203
-        this.$refs.start_time_picker.open()
204
-      },
205
-      checkInf: function () {
206
-      },
207
-      // initData(doubleReview, patient, doctor) {
208
-      //   //上层传值
209
-      //   this.patient = patient;
210
-      //   this.doubleReview = doubleReview;
211
-      //   this.doctor = doctor;
212
-      // },
213
-      commitInfo: function () {
214
-        Toast.loading({forbidClick: true, duration: 0})
215
-        let ParamsQuery = this.doubleReview
216
-        // ParamsQuery["patient"] = this.patient.id
217
-        ParamsQuery['patient'] = this.$route.query.patient_id
218
-        ParamsQuery['record_date'] = this.record_date
219
-        ParamsQuery['check_time'] = this.check_time_str
220
-        commitDoubleCheck(ParamsQuery).then(response => {
221
-          if (response.data.state == 0) {
222
-            // this.$toast({message: response.data.msg});
223
-            Toast.fail(response.data.msg)
224
-            return false
225
-          } else {
226
-            Toast.success('提交成功')
206
+    selectCheckTimeAction: function() {
207
+      this.$refs.start_time_picker.open();
208
+    },
209
+    checkInf: function() {},
210
+    // initData(doubleReview, patient, doctor) {
211
+    //   //上层传值
212
+    //   this.patient = patient;
213
+    //   this.doubleReview = doubleReview;
214
+    //   this.doctor = doctor;
215
+    // },
216
+    commitInfo: function() {
217
+      Toast.loading({ forbidClick: true, duration: 0 });
218
+      let ParamsQuery = this.doubleReview;
219
+      // ParamsQuery["patient"] = this.patient.id
220
+      ParamsQuery["patient"] = this.$route.query.patient_id;
221
+      ParamsQuery["record_date"] = this.record_date;
222
+      ParamsQuery["check_time"] = this.check_time_str;
223
+      commitDoubleCheck(ParamsQuery).then(response => {
224
+        if (response.data.state == 0) {
225
+          // this.$toast({message: response.data.msg});
226
+          Toast.fail(response.data.msg);
227
+          return false;
228
+        } else {
229
+          Toast.success("提交成功");
227 230
 
228
-            this.doubleReview.creater = response.data.data.doubleCheck.creater
229
-            this.doubleReview.check_time =
230
-              response.data.data.doubleCheck.check_time
231
-            this.doubleReview.first_check_time =
232
-              response.data.data.doubleCheck.first_check_time
233
-            this.doubleReview.modifier = response.data.data.doubleCheck.modifier
231
+          this.doubleReview.creater = response.data.data.doubleCheck.creater;
232
+          this.doubleReview.check_time =
233
+            response.data.data.doubleCheck.check_time;
234
+          this.doubleReview.first_check_time =
235
+            response.data.data.doubleCheck.first_check_time;
236
+          this.doubleReview.modifier = response.data.data.doubleCheck.modifier;
234 237
 
235
-            for (const key in response.data.data.doubleCheck) {
236
-              this.record[key] = response.data.data.doubleCheck[key]
237
-            }
238
-            this.$emit('did_update', response.data.data.doubleCheck)
238
+          for (const key in response.data.data.doubleCheck) {
239
+            this.record[key] = response.data.data.doubleCheck[key];
240
+          }
241
+          this.$emit("did_update", response.data.data.doubleCheck);
242
+        }
243
+      });
244
+    },
245
+    close: function() {
246
+      this.$emit("close");
247
+    },
248
+    getFirstCheckDesc: function() {
249
+      if (
250
+        this.doubleReview.first_check_time > 0 &&
251
+        this.doubleReview.check_time > 0
252
+      ) {
253
+        if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
254
+          let time = uParseTime(
255
+            this.doubleReview.first_check_time,
256
+            "{y}-{m}-{d}  {h}:{i}"
257
+          );
258
+          if (this.doubleReview.creater <= 0) {
259
+            return "";
239 260
           }
240
-        })
241
-      },
242
-      close: function () {
243
-        this.$emit('close')
244
-      },
245
-      getFirstCheckDesc: function () {
246
-        if (this.doubleReview.first_check_time > 0 && this.doubleReview.check_time > 0) {
247
-          if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
248
-            let time = uParseTime(
249
-              this.doubleReview.first_check_time,
250
-              '{y}-{m}-{d}  {h}:{i}'
251
-            )
252
-            if (this.doubleReview.creater <= 0) {
253
-              return ''
254
-            }
255
-
256
-            var desc = ''
257
-            if (
258
-              this.admin_users == null ||
259
-              typeof this.admin_users.length == 'undefined'
260
-            ) {
261
-              return ''
262
-            }
263
-
264
-            var leng = this.admin_users.length
265
-            if (leng == 0) {
266
-              return ''
267
-            }
268
-
269
-            for (let index = 0; index < leng; index++) {
270
-              if (this.admin_users[index].id == this.doubleReview.creater) {
271
-                let name = this.admin_users[index].name
272
-                desc = '首次核对人员:' + name + ' 首次核对时间:' + time
273
-
274
-                break
275
-              }
276
-            }
277
-            return desc
278
-
279
-          } else {
280
-
281
-            let time = uParseTime(
282
-              this.doubleReview.check_time,
283
-              '{y}-{m}-{d}  {h}:{i}'
284
-            )
285
-            if (this.doubleReview.modifier <= 0) {
286
-              return ''
287
-            }
288 261
 
289
-            var desc = ''
290
-            if (
291
-              this.admin_users == null ||
292
-              typeof this.admin_users.length == 'undefined'
293
-            ) {
294
-              return ''
295
-            }
262
+          var desc = "";
263
+          if (
264
+            this.admin_users == null ||
265
+            typeof this.admin_users.length == "undefined"
266
+          ) {
267
+            return "";
268
+          }
296 269
 
297
-            var leng = this.admin_users.length
298
-            if (leng == 0) {
299
-              return ''
300
-            }
270
+          var leng = this.admin_users.length;
271
+          if (leng == 0) {
272
+            return "";
273
+          }
301 274
 
302
-            for (let index = 0; index < leng; index++) {
303
-              if (this.admin_users[index].id == this.doubleReview.modifier) {
304
-                let name = this.admin_users[index].name
305
-                desc = '首次核对人员:' + name + ' 首次核对时间:' + time
275
+          for (let index = 0; index < leng; index++) {
276
+            if (this.admin_users[index].id == this.doubleReview.creater) {
277
+              let name = this.admin_users[index].name;
278
+              desc = "首次核对人员:" + name + " 首次核对时间:" + time;
306 279
 
307
-                break
308
-              }
280
+              break;
309 281
             }
310
-            return desc
311
-
312 282
           }
313
-
283
+          return desc;
314 284
         } else {
315
-
316 285
           let time = uParseTime(
317
-            this.doubleReview.first_check_time,
318
-            '{y}-{m}-{d}  {h}:{i}'
319
-          )
320
-          if (this.doubleReview.creater <= 0) {
321
-            return ''
286
+            this.doubleReview.check_time,
287
+            "{y}-{m}-{d}  {h}:{i}"
288
+          );
289
+          if (this.doubleReview.modifier <= 0) {
290
+            return "";
322 291
           }
323 292
 
324
-          var desc = ''
293
+          var desc = "";
325 294
           if (
326 295
             this.admin_users == null ||
327
-            typeof this.admin_users.length == 'undefined'
296
+            typeof this.admin_users.length == "undefined"
328 297
           ) {
329
-            return ''
298
+            return "";
330 299
           }
331 300
 
332
-          var leng = this.admin_users.length
301
+          var leng = this.admin_users.length;
333 302
           if (leng == 0) {
334
-            return ''
303
+            return "";
335 304
           }
336 305
 
337 306
           for (let index = 0; index < leng; index++) {
338
-            if (this.admin_users[index].id == this.doubleReview.creater) {
339
-              let name = this.admin_users[index].name
340
-              desc = '首次核对人员:' + name + ' 首次核对时间:' + time
307
+            if (this.admin_users[index].id == this.doubleReview.modifier) {
308
+              let name = this.admin_users[index].name;
309
+              desc = "首次核对人员:" + name + " 首次核对时间:" + time;
341 310
 
342
-              break
311
+              break;
343 312
             }
344 313
           }
345
-          return desc
314
+          return desc;
315
+        }
316
+      } else {
317
+        let time = uParseTime(
318
+          this.doubleReview.first_check_time,
319
+          "{y}-{m}-{d}  {h}:{i}"
320
+        );
321
+        if (this.doubleReview.creater <= 0) {
322
+          return "";
323
+        }
346 324
 
325
+        var desc = "";
326
+        if (
327
+          this.admin_users == null ||
328
+          typeof this.admin_users.length == "undefined"
329
+        ) {
330
+          return "";
347 331
         }
348 332
 
349
-      },
350
-      getScondCheckDesc: function () {
351
-        if (this.doubleReview.first_check_time > 0 && this.doubleReview.check_time > 0) {
333
+        var leng = this.admin_users.length;
334
+        if (leng == 0) {
335
+          return "";
336
+        }
352 337
 
353
-          if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
354
-            let time = uParseTime(
355
-              this.doubleReview.check_time,
356
-              '{y}-{m}-{d} {h}:{i}'
357
-            )
358
-            if (this.doubleReview.modifier <= 0) {
359
-              return ''
360
-            }
361
-            var desc = ''
362
-            if (
363
-              this.admin_users == null ||
364
-              typeof this.admin_users.length == 'undefined'
365
-            ) {
366
-              return desc
367
-            }
368
-            var leng = this.admin_users.length
369
-            if (leng == 0) {
370
-              return desc
371
-            }
372
-            for (let index = 0; index < leng; index++) {
373
-              if (this.admin_users[index].id == this.doubleReview.modifier) {
374
-                let name = this.admin_users[index].name
375
-                desc = '第二次核对人员:' + name + ' 第二次核对时间:' + time
376
-                break
377
-              }
378
-            }
379
-            return desc
338
+        for (let index = 0; index < leng; index++) {
339
+          if (this.admin_users[index].id == this.doubleReview.creater) {
340
+            let name = this.admin_users[index].name;
341
+            desc = "首次核对人员:" + name + " 首次核对时间:" + time;
380 342
 
381
-          } else {
382
-            let time = uParseTime(
383
-              this.doubleReview.first_check_time,
384
-              '{y}-{m}-{d} {h}:{i}'
385
-            )
386
-            if (this.doubleReview.creater <= 0) {
387
-              return ''
388
-            }
389
-            var desc = ''
390
-            if (
391
-              this.admin_users == null ||
392
-              typeof this.admin_users.length == 'undefined'
393
-            ) {
394
-              return desc
395
-            }
396
-            var leng = this.admin_users.length
397
-            if (leng == 0) {
398
-              return desc
399
-            }
400
-            for (let index = 0; index < leng; index++) {
401
-              if (this.admin_users[index].id == this.doubleReview.creater) {
402
-                let name = this.admin_users[index].name
403
-                desc = '第二次核对人员:' + name + ' 第二次核对时间:' + time
404
-                break
405
-              }
406
-            }
407
-            return desc
343
+            break;
408 344
           }
409
-
410
-        } else {
345
+        }
346
+        return desc;
347
+      }
348
+    },
349
+    getScondCheckDesc: function() {
350
+      if (
351
+        this.doubleReview.first_check_time > 0 &&
352
+        this.doubleReview.check_time > 0
353
+      ) {
354
+        if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
411 355
           let time = uParseTime(
412 356
             this.doubleReview.check_time,
413
-            '{y}-{m}-{d} {h}:{i}'
414
-          )
357
+            "{y}-{m}-{d} {h}:{i}"
358
+          );
415 359
           if (this.doubleReview.modifier <= 0) {
416
-            return ''
360
+            return "";
417 361
           }
418
-          var desc = ''
362
+          var desc = "";
419 363
           if (
420 364
             this.admin_users == null ||
421
-            typeof this.admin_users.length == 'undefined'
365
+            typeof this.admin_users.length == "undefined"
422 366
           ) {
423
-            return desc
367
+            return desc;
424 368
           }
425
-          var leng = this.admin_users.length
369
+          var leng = this.admin_users.length;
426 370
           if (leng == 0) {
427
-            return desc
371
+            return desc;
428 372
           }
429 373
           for (let index = 0; index < leng; index++) {
430 374
             if (this.admin_users[index].id == this.doubleReview.modifier) {
431
-              let name = this.admin_users[index].name
432
-              desc = '第二次核对人员:' + name + ' 第二次核对时间:' + time
433
-              break
375
+              let name = this.admin_users[index].name;
376
+              desc = "第二次核对人员:" + name + " 第二次核对时间:" + time;
377
+              break;
378
+            }
379
+          }
380
+          return desc;
381
+        } else {
382
+          let time = uParseTime(
383
+            this.doubleReview.first_check_time,
384
+            "{y}-{m}-{d} {h}:{i}"
385
+          );
386
+          if (this.doubleReview.creater <= 0) {
387
+            return "";
388
+          }
389
+          var desc = "";
390
+          if (
391
+            this.admin_users == null ||
392
+            typeof this.admin_users.length == "undefined"
393
+          ) {
394
+            return desc;
395
+          }
396
+          var leng = this.admin_users.length;
397
+          if (leng == 0) {
398
+            return desc;
399
+          }
400
+          for (let index = 0; index < leng; index++) {
401
+            if (this.admin_users[index].id == this.doubleReview.creater) {
402
+              let name = this.admin_users[index].name;
403
+              desc = "第二次核对人员:" + name + " 第二次核对时间:" + time;
404
+              break;
434 405
             }
435 406
           }
436
-          return desc
407
+          return desc;
437 408
         }
438
-
439
-      },
440
-      getDate: function (val) {
441
-        return parseTime(val, '{y}-{m}-{d} {h}:{i}')
442
-      }
443
-    }, mounted () {
444
-
445
-      if (this.record.id == 0) {
446
-        this.check_time_str = parseTime(this.check_time, '{y}-{m}-{d} {h}:{i}' + ':00')
447 409
       } else {
448
-        if (this.record.modifier == 0) {
449
-          this.check_time_str = parseTime(this.check_time, '{y}-{m}-{d} {h}:{i}' + ':00')
450
-
451
-        } else {
452
-          this.check_time_str = parseTime(this.record.check_time, '{y}-{m}-{d} {h}:{i}' + ':00')
410
+        let time = uParseTime(
411
+          this.doubleReview.check_time,
412
+          "{y}-{m}-{d} {h}:{i}"
413
+        );
414
+        if (this.doubleReview.modifier <= 0) {
415
+          return "";
453 416
         }
417
+        var desc = "";
418
+        if (
419
+          this.admin_users == null ||
420
+          typeof this.admin_users.length == "undefined"
421
+        ) {
422
+          return desc;
423
+        }
424
+        var leng = this.admin_users.length;
425
+        if (leng == 0) {
426
+          return desc;
427
+        }
428
+        for (let index = 0; index < leng; index++) {
429
+          if (this.admin_users[index].id == this.doubleReview.modifier) {
430
+            let name = this.admin_users[index].name;
431
+            desc = "第二次核对人员:" + name + " 第二次核对时间:" + time;
432
+            break;
433
+          }
434
+        }
435
+        return desc;
436
+      }
437
+    },
438
+    getDate: function(val) {
439
+      return parseTime(val, "{y}-{m}-{d} {h}:{i}");
440
+    }
441
+  },
442
+  mounted() {
443
+    if (this.record.id == 0) {
444
+      this.check_time_str = parseTime(
445
+        this.check_time,
446
+        "{y}-{m}-{d} {h}:{i}" + ":00"
447
+      );
448
+    } else {
449
+      if (this.record.modifier == 0) {
450
+        this.check_time_str = parseTime(
451
+          this.check_time,
452
+          "{y}-{m}-{d} {h}:{i}" + ":00"
453
+        );
454
+      } else {
455
+        this.check_time_str = parseTime(
456
+          this.record.check_time,
457
+          "{y}-{m}-{d} {h}:{i}" + ":00"
458
+        );
454 459
       }
455 460
     }
456 461
   }
462
+};
457 463
 </script>
458 464
 
459 465
 <style style="stylesheet/scss" lang="scss" scoped>
460
-  .choose {
466
+.choose {
461 467
   .demo-form-inline {
462
-  border-bottom: 1px #e5e5e5 solid;
463
-  .el-form-item {
464
-  margin-bottom: 0;
465
-  padding: 0.2rem 0.2rem;
466
-  margin-right: 0;
467
-  }
468
-  p {
469
-  color: $title-color;
470
-  }
468
+    border-bottom: 1px #e5e5e5 solid;
469
+    .el-form-item {
470
+      margin-bottom: 0;
471
+      padding: 0.2rem 0.2rem;
472
+      margin-right: 0;
473
+    }
474
+    p {
475
+      color: $title-color;
476
+    }
471 477
   }
472 478
 
473 479
   .button {
474
-  text-align: center;
475
-  margin-top: 1rem;
476
-  .submitButton {
477
-  width: 3rem;
478
-  height: 0.8rem;
479
-  line-height: 0.8rem;
480
-  background: $main-color;
481
-  color: #fff;
482
-  font-size: 0.3rem;
483
-  text-align: center;
484
-  border-radius: 6px;
480
+    text-align: center;
481
+    margin-top: 1rem;
482
+    .submitButton {
483
+      width: 3rem;
484
+      height: 0.8rem;
485
+      line-height: 0.8rem;
486
+      background: $main-color;
487
+      color: #fff;
488
+      font-size: 0.3rem;
489
+      text-align: center;
490
+      border-radius: 6px;
491
+    }
485 492
   }
493
+}
494
+</style>
495
+<style lang="scss">
496
+.el-radio__inner {
497
+  @media only screen and (min-width: 768px) {
498
+    width: 20px;
499
+    height: 20px;
486 500
   }
501
+}
502
+.el-radio__input {
503
+  @media only screen and (min-width: 768px) {
504
+    margin-top: -6px;
487 505
   }
506
+}
488 507
 </style>
489 508
 

File diff suppressed because it is too large
+ 810 - 570
src/pages/main/dialog/MonitDialog.vue


+ 5 - 5
src/pages/main/dialog/OrdersDialog.vue View File

@@ -48,11 +48,11 @@
48 48
         <div class="content clearfix">
49 49
           <table class="table">
50 50
             <tr @click="cancelAdviceSelect">
51
-              <th width="8%">开嘱医生</th>
52
-              <th width="10%">开始时间</th>
51
+              <th width="11%">开嘱医生</th>
52
+              <th width="14%">开始时间</th>
53 53
               <th width="40%">医嘱内容</th>
54
-              <th width="10%">执行时间</th>
55
-              <th width="10%">执行护士</th>
54
+              <th width="14%">执行时间</th>
55
+              <th width="11%">执行护士</th>
56 56
               <th v-if="template_id != 6" width="10%">核对人员</th>
57 57
             </tr>
58 58
             <template v-for="(group, group_index) in advice_groups">
@@ -1491,7 +1491,7 @@ export default {
1491 1491
   display: flex;
1492 1492
   flex-wrap: wrap;
1493 1493
   span {
1494
-    width: 16%;
1494
+    width: 18%;
1495 1495
     @media only screen and (max-width: 415px) {
1496 1496
       padding: 0;
1497 1497
     }

+ 30 - 7
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -4,14 +4,15 @@
4 4
     <div v-if="isShowDialog" class="Dialog">
5 5
       <div class="DialogTit">
6 6
         <span @click="close()" class="iconfont">&#xe6e9;</span>
7
-        <h1 class="name">透析处方</h1>
8
-        <button @click="showmsgtip">{{patient.name}} [透析号 {{patient.dialysis_no}} ]</button>
9
-        <span @click="commitInfo" class="success" v-if="isPermission()">完成</span>
7
+        <h1 class="name newName">透析处方</h1>
8
+        <button class="newButton" @click="showmsgtip">{{patient.name}}</button>
9
+        <span @click="commitInfo" class="success" v-if="isPermission()">保存</span>
10 10
         <span @click="commitInfo" class="success" v-if="!isPermission()"></span>
11 11
 
12 12
       </div>
13 13
 
14
-      <div class="DialogContent" id="dialogTop">
14
+      <div class="DialogContent newDialogContent" id="dialogTop">
15
+        <div>
15 16
         <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
16 17
           <label class="name" for="txms">透析模式</label>
17 18
           <div class="content">
@@ -279,7 +280,7 @@
279 280
           <textarea class="textarea" id="bz" placeholder="请输入内容" v-model="dialysisPrescription.remark"
280 281
                     @focus="lastInputFocus" @blur="lastInputBlur"></textarea>
281 282
         </div>
282
-
283
+        </div>
283 284
         <!--<div class="footer">-->
284 285
         <!--处方医生:刘小军 医生-->
285 286
         <!--</div>-->
@@ -311,7 +312,7 @@
311 312
     <long-advice-sub-menu :visibility="advice_visibility" v-on:menu-cancle-three="menuCancleThree"
312 313
                           v-on:menu-comfirm-three="menuComfirmThree" :propsForm="advicePropForm"></long-advice-sub-menu>
313 314
 
314
-    <msg-tip style="width:500px;" :visibility="msgtip_visibility" :predialysis="predialysis"
315
+    <msg-tip  :visibility="msgtip_visibility" :predialysis="predialysis"
315 316
              :last_predialysis="last_predialysis"
316 317
              :record="record"
317 318
              :last_record="last_record"
@@ -1883,11 +1884,33 @@
1883 1884
   height: 2.4rem;
1884 1885
   line-height: 0.6rem;
1885 1886
   color: $pgh-color;
1886
-  font-size: 0.28rem;
1887
+  font-size: 0.45rem;
1887 1888
   padding-left: 0.36rem;
1888 1889
   border: none;
1889 1890
   border-bottom: 1px #e5e5e5 solid;
1890 1891
   }
1891 1892
   }
1893
+  .newButton{
1894
+    background: #258ffc;
1895
+    padding: 0 0.2rem;
1896
+    height: 0.85rem;
1897
+    line-height: 0.85rem;
1898
+    border-radius:5px; 
1899
+    color: #fff;
1900
+    margin-right: -3rem;
1901
+  }
1902
+  .newName{
1903
+    margin-right: -3rem;
1904
+  }
1905
+  .newDialogContent{
1906
+    display: flex;
1907
+    flex-direction: column;
1908
+    height: 100%;
1909
+    overflow: hidden;
1910
+    >:first-child{
1911
+      flex: 1;
1912
+      overflow: auto;
1913
+    }
1914
+  }
1892 1915
 </style>
1893 1916
 

File diff suppressed because it is too large
+ 1166 - 993
src/pages/main/dialog/ThorougDialog.vue


+ 136 - 105
src/pages/main/dialog/TreatmentDialog.vue View File

@@ -1,46 +1,71 @@
1 1
 <template>
2
- <div>
3
-    <div class="Dialog" v-show="isShowDialog" >
4
-        <div class="DialogTit">
5
-            <span @click="close()" class="iconfont">&#xe6e9;</span>
6
-            <h1 class="name">治疗小结</h1>
7
-            <span @click="commitInfo" class="success">完成</span>
8
-        </div>
2
+  <div>
3
+    <div class="Dialog" v-show="isShowDialog">
4
+      <div class="DialogTit">
5
+        <span @click="close()" class="iconfont">&#xe6e9;</span>
6
+        <h1 class="name">治疗小结</h1>
7
+        <span @click="commitInfo" class="success">保存</span>
8
+      </div>
9 9
 
10
-        <div class="DialogContent choose " id="dialogTop">
11
-          <el-form  :model="dialysisSummary" label-width="90px">
12
-              <el-form-item label="透后宣教 : ">
13
-                <!-- <el-select @change="dialysisAfterTeachSelectChange" v-model="dialysisSummary.text1" placeholder="请选择">
10
+      <div class="DialogContent choose" id="dialogTop">
11
+        <el-form :model="dialysisSummary" label-width="120px">
12
+          <el-form-item label="透后宣教 : ">
13
+            <!-- <el-select @change="dialysisAfterTeachSelectChange" v-model="dialysisSummary.text1" placeholder="请选择">
14 14
                   <el-option v-for="(s, index) in teach" :label="s.text" :value="s.value" :key="index"></el-option>
15
-                </el-select> -->
16
-              <el-input readonly v-model="dialysisSummary.propagandaAndEducationContentSelect" placeholder="请选择" @focus="showSubMenu('education')" ></el-input>
17
-              </el-form-item>
18
-              <el-form-item label-width="0"  >
19
-                <el-input type="textarea" v-model="dialysisSummary.propagandaAndEducationContent" :rows="5"></el-input>
20
-
21
-              </el-form-item>
22
-              <el-form-item label="透析小结 : ">
23
-                <!-- <el-select @change="dialysisSummarySelectChange"  v-model="dialysisSummary.text2"
15
+            </el-select>-->
16
+            <el-input
17
+              readonly
18
+              v-model="dialysisSummary.propagandaAndEducationContentSelect"
19
+              placeholder="请选择"
20
+              @focus="showSubMenu('education')"
21
+            ></el-input>
22
+          </el-form-item>
23
+          <el-form-item label-width="0">
24
+            <el-input
25
+              class="newTextarea"
26
+              type="textarea"
27
+              v-model="dialysisSummary.propagandaAndEducationContent"
28
+              :rows="5"
29
+            ></el-input>
30
+          </el-form-item>
31
+          <el-form-item label="透析小结 : ">
32
+            <!-- <el-select @change="dialysisSummarySelectChange"  v-model="dialysisSummary.text2"
24 33
                            placeholder="请选择">
25 34
                   <el-option v-for="(s, index) in summary" :label="s.text" :value="s.value"
26 35
                              :key="index"></el-option>
27
-                </el-select> -->
28
-                
29
-              <el-input readonly v-model="dialysisSummary.summaryContentSelect" placeholder="请选择" @focus="showSubMenu('summary')" ></el-input>
36
+            </el-select>-->
30 37
 
31
-              </el-form-item>
38
+            <el-input
39
+              readonly
40
+              v-model="dialysisSummary.summaryContentSelect"
41
+              placeholder="请选择"
42
+              @focus="showSubMenu('summary')"
43
+            ></el-input>
44
+          </el-form-item>
32 45
 
33
-              <el-form-item label-width="0"  >
34
-                <el-input @focus="lastInputFocus" @blur="lastInputBlur" type="textarea" v-model="dialysisSummary.summaryContent" :rows="5"></el-input>
35
-              </el-form-item>
36
-          </el-form>
37
-          <!-- <div class="button">
46
+          <el-form-item label-width="0">
47
+            <el-input
48
+              class="newTextarea"
49
+              @focus="lastInputFocus"
50
+              @blur="lastInputBlur"
51
+              type="textarea"
52
+              v-model="dialysisSummary.summaryContent"
53
+              :rows="5"
54
+            ></el-input>
55
+          </el-form-item>
56
+        </el-form>
57
+        <!-- <div class="button">
38 58
               <button @click="commitInfo" class="submitButton">提交</button>
39
-          </div> -->
40
-        </div>
59
+        </div>-->
60
+      </div>
41 61
     </div>
42
-    
43
-    <check-box-sub-menu :visibility="visibility" v-on:menu-cancle="menuCancle" v-on:menu-comfirm="menuComfirm" :propsForm="propForm"></check-box-sub-menu>
62
+
63
+    <check-box-sub-menu
64
+      :visibility="visibility"
65
+      v-on:menu-cancle="menuCancle"
66
+      v-on:menu-comfirm="menuComfirm"
67
+      :propsForm="propForm"
68
+    ></check-box-sub-menu>
44 69
   </div>
45 70
 </template>
46 71
 
@@ -48,29 +73,29 @@
48 73
 import { commitTreatmentSummary } from "@/api/dialysis";
49 74
 import { Toast } from "vant";
50 75
 import CheckBoxSubMenu from "./subMenu/checkBoxSubMenu";
51
-import {getDataConfig} from '@/utils/data';
76
+import { getDataConfig } from "@/utils/data";
52 77
 
53 78
 export default {
54 79
   name: "TreatmentDialog",
55 80
   data() {
56 81
     return {
57
-      isShowDialog:true,
58
-      
82
+      isShowDialog: true,
83
+
59 84
       visibility: false,
60 85
       propForm: {
61
-        title: '',
86
+        title: "",
62 87
         list: [],
63 88
         optionList: [],
64 89
         isMultiple: 2,
65 90
         result: [], //选中的值
66 91
         type: 1, //用来区分不同子菜单,方便对返回值进行赋值
67
-        selectId: 0,
92
+        selectId: 0
68 93
       },
69 94
 
70 95
       dialysisSummary: {
71 96
         text: "",
72 97
         propagandaAndEducationContent: "",
73
-        propagandaAndEducationContentSelect:'',
98
+        propagandaAndEducationContentSelect: "",
74 99
         text2: "",
75 100
         summaryContent: "",
76 101
         summaryContentSelect: "",
@@ -83,9 +108,9 @@ export default {
83 108
       summary: [],
84 109
       summaryObj: {},
85 110
       teach: [],
86
-      teachObj:{},
111
+      teachObj: {},
87 112
       title: "治疗小结 ",
88
-      record_date:"",
113
+      record_date: "",
89 114
       patient: {
90 115
         id: 0
91 116
       }
@@ -101,19 +126,19 @@ export default {
101 126
   },
102 127
   created() {
103 128
     // this.summary = this.$store.getters.summary;
104
-    this.summary = getDataConfig('summary','summary');
129
+    this.summary = getDataConfig("summary", "summary");
105 130
     // console.log("this.summary",this.summary)
106 131
     // this.teach = this.$store.getters.teach;
107
-    this.teach =  getDataConfig('education','education');
132
+    this.teach = getDataConfig("education", "education");
108 133
 
109
-    if (this.teach.length>0) {
134
+    if (this.teach.length > 0) {
110 135
       var tlen = this.teach.length;
111 136
       for (let index = 0; index < tlen; index++) {
112 137
         this.teach[index].name = this.teach[index].text;
113 138
         this.teachObj[this.teach[index].id] = this.teach[index];
114 139
       }
115 140
     }
116
-    if (this.summary.length>0) {
141
+    if (this.summary.length > 0) {
117 142
       var tlen = this.summary.length;
118 143
       for (let index = 0; index < tlen; index++) {
119 144
         this.summary[index].name = this.summary[index].text;
@@ -134,10 +159,11 @@ export default {
134 159
       m = newDate.getMonth() + 1;
135 160
       d = newDate.getDate();
136 161
     }
137
-    this.record_date = y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
162
+    this.record_date =
163
+      y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
138 164
     // this.patient.id = this.patient_prop.id
139 165
 
140
-    if (this.record != null && this.record.id != '') {
166
+    if (this.record != null && this.record.id != "") {
141 167
       // for (const key in this.record) {
142 168
       //   this.dialysisSummary[key] = this.record[key];
143 169
       // }
@@ -147,11 +173,9 @@ export default {
147 173
       // if(this.record.dialysis_summary != 'undefined'){
148 174
       //   this.dialysisSummary.summaryContent = this.record.dialysis_summary
149 175
       // }
150
-
151
-
152 176
     }
153
-    console.log(this.dialysisSummary.propagandaAndEducationContent)
154
-    console.log(this.dialysisSummary.summaryContent)
177
+    console.log(this.dialysisSummary.propagandaAndEducationContent);
178
+    console.log(this.dialysisSummary.summaryContent);
155 179
   },
156 180
   methods: {
157 181
     lastInputFocus: function(event) {
@@ -167,63 +191,64 @@ export default {
167 191
         input.style.marginBottom = "";
168 192
       }, 0);
169 193
     },
170
-    showSubMenu: function (val) {
194
+    showSubMenu: function(val) {
171 195
       switch (val) {
172
-        case 'education':
173
-          this.propForm.type = 1
174
-          this.isShowDialog = false
175
-          this.propForm.title = '透后宣教'
176
-          this.visibility = true
177
-          this.propForm.list = []
196
+        case "education":
197
+          this.propForm.type = 1;
198
+          this.isShowDialog = false;
199
+          this.propForm.title = "透后宣教";
200
+          this.visibility = true;
201
+          this.propForm.list = [];
178 202
           this.propForm.optionList = this.teach;
179 203
           this.propForm.isMultiple = 1;
180 204
           this.propForm.selectId = this.dialysisSummary.xjid;
181 205
           break;
182
-        case 'summary':
183
-          this.propForm.type = 2
184
-          this.isShowDialog = false
185
-          this.propForm.title = '透析小结'
186
-          this.visibility = true
187
-          this.propForm.list = []
206
+        case "summary":
207
+          this.propForm.type = 2;
208
+          this.isShowDialog = false;
209
+          this.propForm.title = "透析小结";
210
+          this.visibility = true;
211
+          this.propForm.list = [];
188 212
           this.propForm.optionList = this.summary;
189 213
           this.propForm.isMultiple = 1;
190 214
           this.propForm.selectId = this.dialysisSummary.xxjid;
191 215
           break;
192 216
       }
193
-
194 217
     },
195
-    menuCancle: function () {
196
-        this.visibility = false
197
-        this.isShowDialog = true
198
-    }, 
199
-    menuComfirm: function (val) {
200
-
201
-      this.visibility = false
202
-      this.isShowDialog = true
218
+    menuCancle: function() {
219
+      this.visibility = false;
220
+      this.isShowDialog = true;
221
+    },
222
+    menuComfirm: function(val) {
223
+      this.visibility = false;
224
+      this.isShowDialog = true;
203 225
       switch (val.type) {
204 226
         case 1:
205
-          if(val.selectId in this.teachObj) {
227
+          if (val.selectId in this.teachObj) {
206 228
             var theValue = this.teachObj[val.selectId].value;
207 229
             this.dialysisAfterTeachSelectChange(theValue);
208 230
             this.dialysisSummary.xjid = val.selectId;
209
-            this.dialysisSummary.propagandaAndEducationContentSelect = this.teachObj[val.selectId].name;
231
+            this.dialysisSummary.propagandaAndEducationContentSelect = this.teachObj[
232
+              val.selectId
233
+            ].name;
210 234
           }
211
-          break
235
+          break;
212 236
         case 2:
213
-          if(val.selectId in this.summaryObj) {
237
+          if (val.selectId in this.summaryObj) {
214 238
             var theValue = this.summaryObj[val.selectId].value;
215 239
             this.dialysisSummarySelectChange(theValue);
216 240
             this.dialysisSummary.xxjid = val.selectId;
217
-            this.dialysisSummary.summaryContentSelect = this.summaryObj[val.selectId].name;
241
+            this.dialysisSummary.summaryContentSelect = this.summaryObj[
242
+              val.selectId
243
+            ].name;
218 244
           }
219
-          break
245
+          break;
220 246
       }
221
-
222
-    }, 
247
+    },
223 248
 
224 249
     dialysisSummarySelectChange: function(values) {
225
-      if(this.dialysisSummary.summaryContent == null){
226
-        this.dialysisSummary.summaryContent == ""
250
+      if (this.dialysisSummary.summaryContent == null) {
251
+        this.dialysisSummary.summaryContent == "";
227 252
       }
228 253
 
229 254
       if (this.dialysisSummary.summaryContent == "") {
@@ -247,13 +272,16 @@ export default {
247 272
       }
248 273
     },
249 274
     dialysisAfterTeachSelectChange: function(values) {
250
-      if(this.dialysisSummary.propagandaAndEducationContent == null){
251
-        this.dialysisSummary.propagandaAndEducationContent == ""
275
+      if (this.dialysisSummary.propagandaAndEducationContent == null) {
276
+        this.dialysisSummary.propagandaAndEducationContent == "";
252 277
       }
253 278
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
254 279
         this.dialysisSummary.propagandaAndEducationContent = values;
255 280
       } else {
256
-        if (this.dialysisSummary.propagandaAndEducationContent.indexOf(values) == -1) {
281
+        if (
282
+          this.dialysisSummary.propagandaAndEducationContent.indexOf(values) ==
283
+          -1
284
+        ) {
257 285
           if (
258 286
             this.dialysisSummary.propagandaAndEducationContent
259 287
               .charAt(
@@ -271,10 +299,10 @@ export default {
271 299
       }
272 300
     },
273 301
     commitInfo: function() {
274
-      Toast.loading({forbidClick: true, duration: 0})
302
+      Toast.loading({ forbidClick: true, duration: 0 });
275 303
       let ParamsQuery = this.dialysisSummary;
276
-      ParamsQuery['patient'] = this.$route.query.patient_id
277
-      ParamsQuery["record_date"] = this.record_date
304
+      ParamsQuery["patient"] = this.$route.query.patient_id;
305
+      ParamsQuery["record_date"] = this.record_date;
278 306
       commitTreatmentSummary(ParamsQuery).then(response => {
279 307
         if (response.data.state == 0) {
280 308
           Toast.fail(response.data.msg);
@@ -284,30 +312,29 @@ export default {
284 312
 
285 313
           this.$emit("did_update", response.data.data.summary);
286 314
           for (const key in response.data.data.summary) {
287
-            this.record[key] = response.data.data.summary[key]
315
+            this.record[key] = response.data.data.summary[key];
288 316
           }
289 317
         }
290 318
       });
291 319
     },
292 320
     close: function() {
293 321
       this.$emit("close");
294
-    }, open:function(){
295
-        this.isShowDialog = true;
296
-        this.visibility = false;
297
-        var dialogTop = document.querySelector('#dialogTop');
298
-        if (dialogTop != null) {
299
-          this.$nextTick(() => {
300
-              dialogTop.scrollTop = 0;
301
-          });
302
-        }
322
+    },
323
+    open: function() {
324
+      this.isShowDialog = true;
325
+      this.visibility = false;
326
+      var dialogTop = document.querySelector("#dialogTop");
327
+      if (dialogTop != null) {
328
+        this.$nextTick(() => {
329
+          dialogTop.scrollTop = 0;
330
+        });
303 331
       }
332
+    }
304 333
   },
305
-  
306
-  components: {
307
-    CheckBoxSubMenu,
308
-  },
309
-
310 334
 
335
+  components: {
336
+    CheckBoxSubMenu
337
+  }
311 338
 };
312 339
 </script>
313 340
 
@@ -328,6 +355,10 @@ export default {
328 355
     }
329 356
   }
330 357
 }
331
-
358
+</style>
359
+<style lang="scss">
360
+.newTextarea {
361
+  font-size: 0.45rem;
362
+}
332 363
 </style>
333 364
 

+ 9 - 11
src/pages/main/dialog/TwoMenu.vue View File

@@ -7,9 +7,7 @@
7 7
       <h1 class="name">{{ title }}</h1>
8 8
       <!-- <span class="success" @click="handle_selected()">完成</span> -->
9 9
       <span v-if="type == 1" class="success"></span>
10
-      <span v-if="type == 2" @click="handle_selected" class="success"
11
-        >确定</span
12
-      >
10
+      <span v-if="type == 2" @click="handle_selected" class="success">确定</span>
13 11
     </div>
14 12
 
15 13
     <div class="optionsBox" v-show="type == 1">
@@ -30,9 +28,7 @@
30 28
                 single.id_key.lenght == 0 ? item : item[single.id_key]
31 29
               )
32 30
             "
33
-          >
34
-            {{ single.show_key.lenght == 0 ? item : item[single.show_key] }}
35
-          </li>
31
+          >{{ single.show_key.lenght == 0 ? item : item[single.show_key] }}</li>
36 32
         </ul>
37 33
       </div>
38 34
     </div>
@@ -46,10 +42,11 @@
46 42
               v-for="(item, index) in mutable.options"
47 43
               :key="index"
48 44
               :name="mutable.id_key.lenght == 0 ? item : item[mutable.id_key]"
49
-              >{{
50
-                mutable.show_key.lenght == 0 ? item : item[mutable.show_key]
51
-              }}</van-checkbox
52 45
             >
46
+              {{
47
+              mutable.show_key.lenght == 0 ? item : item[mutable.show_key]
48
+              }}
49
+            </van-checkbox>
53 50
           </van-checkbox-group>
54 51
         </li>
55 52
       </ul>
@@ -153,10 +150,11 @@ export default {
153 150
   }
154 151
   ul {
155 152
     li {
156
-      height: 1rem;
157
-      line-height: 1rem;
153
+      height: 1.2rem;
154
+      line-height: 1.2rem;
158 155
       border-bottom: 1px #e5e5e5 solid;
159 156
       padding: 0 0.38rem;
157
+      font-size: 0.45rem;
160 158
     }
161 159
     .tick {
162 160
       position: relative;

+ 3 - 3
src/pages/main/dialog/new_order/AddNewOrders.vue View File

@@ -36,10 +36,10 @@
36 36
           </div>
37 37
           <table class="table">
38 38
             <tr>
39
-              <th width="30%">医嘱内容</th>
39
+              <th width="26%">医嘱内容</th>
40 40
               <th width="20%">药品规格</th>
41
-              <th width="10%">开药数量</th>
42
-              <th width="10%">单次用量</th>
41
+              <th width="12%">开药数量</th>
42
+              <th width="12%">单次用量</th>
43 43
               <th width="15%">给药途径</th>
44 44
               <th width="15%">执行频率</th>
45 45
             </tr>

+ 17 - 18
src/pages/main/dialog/new_order/select_advice_template_dialog.vue View File

@@ -20,24 +20,18 @@
20 20
                 "
21 21
                 class="select_all_btn"
22 22
                 @click="selectTemplateAllAdviceAction(template)"
23
-              >
24
-                全选
25
-              </div>
23
+              >全选</div>
26 24
               <div
27 25
                 v-show="
28 26
                   isFold(template.id) && isTemplateSelectingAllAdvices(template)
29 27
                 "
30 28
                 class="select_all_btn"
31 29
                 @click="cancelSelectTemplateAllAdviceAction(template)"
32
-              >
33
-                取消全选
34
-              </div>
30
+              >取消全选</div>
35 31
 
36 32
               <span v-if="isFold(template.id)" class="iconfont">&#xe749;</span>
37 33
               <span v-if="!isFold(template.id)" class="iconfont">&#xe74a;</span>
38
-              <div @click="foldTemplateAction(template.id)" class="name">
39
-                {{ template.name }}
40
-              </div>
34
+              <div @click="foldTemplateAction(template.id)" class="name">{{ template.name }}</div>
41 35
             </div>
42 36
             <div
43 37
               v-show="isFold(template.id)"
@@ -52,9 +46,9 @@
52 46
                   {{ advice.prescribing_number }}
53 47
                   {{ advice.prescribing_number_unit }}
54 48
                 </span>
55
-                <span v-if="advice.single_dose">
56
-                  单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}
57
-                </span>
49
+                <span
50
+                  v-if="advice.single_dose"
51
+                >单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
58 52
               </span>
59 53
               <van-checkbox
60 54
                 v-else
@@ -68,9 +62,9 @@
68 62
                   {{ advice.prescribing_number }}
69 63
                   {{ advice.prescribing_number_unit }}
70 64
                 </span>
71
-                <span v-if="advice.single_dose">
72
-                  单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}
73
-                </span>
65
+                <span
66
+                  v-if="advice.single_dose"
67
+                >单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
74 68
                 <span>{{ advice.delivery_way }}</span>
75 69
                 <span>{{ advice.execution_frequency }}</span>
76 70
                 <!--{{ advice.advice_name }} {{ advice.advice_desc }} {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }} 单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }} {{ advice.delivery_way }} {{ advice.execution_frequency }}-->
@@ -257,7 +251,7 @@ export default {
257 251
   min-height: 5rem;
258 252
   overflow-y: scroll;
259 253
   @media only screen and (max-width: 811px) {
260
-    min-height: 17.8rem !important;
254
+    max-height: 15.8rem !important;
261 255
   }
262 256
   ul {
263 257
     li {
@@ -288,8 +282,8 @@ export default {
288 282
     border-bottom: 1px #e5e5e5 solid;
289 283
     overflow: hidden;
290 284
     .template_name {
291
-      height: 1rem;
292
-      line-height: 1rem;
285
+      height: 1.2rem;
286
+      line-height: 1.2rem;
293 287
       padding: 0 0.38rem;
294 288
 
295 289
       .select_all_btn {
@@ -306,6 +300,7 @@ export default {
306 300
       .name {
307 301
         display: inline-block;
308 302
         width: 76%;
303
+        font-size: 0.45rem;
309 304
       }
310 305
     }
311 306
 
@@ -323,11 +318,15 @@ export default {
323 318
         float: left;
324 319
         width: 8%;
325 320
         margin-top: 6px;
321
+        @media only screen and (min-width: 768px) {
322
+          margin-top: 10px;
323
+        }
326 324
       }
327 325
       .van-checkbox__label {
328 326
         float: left;
329 327
         width: 92%;
330 328
         line-height: 1rem;
329
+        font-size: 0.45rem;
331 330
       }
332 331
       .van-checkbox__label {
333 332
         margin-left: 0px;

+ 8 - 17
src/pages/main/dialog/subMenu/checkBoxSubMenu.vue View File

@@ -5,14 +5,8 @@
5 5
         <span class="iconfont">&#xe720;</span>返回
6 6
       </div>
7 7
       <h1 class="name">{{ propsForm.title }}</h1>
8
-      <span
9
-        v-if="propsForm.isMultiple == 1"
10
-        @click="comfirm"
11
-        class="success"
12
-      ></span>
13
-      <span v-if="propsForm.isMultiple == 2" @click="comfirm" class="success"
14
-        >确定</span
15
-      >
8
+      <span v-if="propsForm.isMultiple == 1" @click="comfirm" class="success"></span>
9
+      <span v-if="propsForm.isMultiple == 2" @click="comfirm" class="success">确定</span>
16 10
     </div>
17 11
 
18 12
     <div v-if="propsForm.isMultiple == 1" class="optionsBox">
@@ -25,9 +19,7 @@
25 19
             :key="item.id"
26 20
             value="item"
27 21
             :class="propsForm.selectId == item.id ? 'tick' : ''"
28
-          >
29
-            {{ item.name }}
30
-          </li>
22
+          >{{ item.name }}</li>
31 23
           <!--<li v-if="propsForm.isHasOther == 1 && this.$store.getters.user.template_info.template_id == 2" @click="itemClick(-1)"  :key="-1" value="-1" :class="propsForm.selectId == -1? 'tick':'' ">其他</li>-->
32 24
         </ul>
33 25
       </div>
@@ -42,8 +34,7 @@
42 34
               v-for="(item, index) in propsForm.list"
43 35
               :key="index"
44 36
               :name="item.name"
45
-              >{{ item.name }}</van-checkbox
46
-            >
37
+            >{{ item.name }}</van-checkbox>
47 38
           </van-checkbox-group>
48 39
         </li>
49 40
       </ul>
@@ -139,11 +130,11 @@ export default {
139 130
       max-height: 16rem;
140 131
     }
141 132
     li {
142
-      height: 1.1rem;
143
-      line-height: 1.1rem;
133
+      height: 1.2rem;
134
+      line-height: 1.2rem;
144 135
       border-bottom: 1px #e5e5e5 solid;
145 136
       padding: 0 0.38rem;
146
-      font-size: 0.36rem;
137
+      font-size: 0.45rem;
147 138
       color: $title-color;
148 139
     }
149 140
     .tick {
@@ -182,7 +173,7 @@ export default {
182 173
   }
183 174
   ul {
184 175
     li {
185
-      line-height: 1rem;
176
+      line-height: 1.2rem;
186 177
     }
187 178
   }
188 179
 }

+ 74 - 47
src/pages/main/dialysis/AdviceTable.vue View File

@@ -65,10 +65,9 @@
65 65
         </li>
66 66
       </ul>
67 67
     </div>
68
-    <div style="width:100%;overflow:hildden;overflow-x:auto;" class="AdviceTable">
68
+    <!-- <div style="width:100%;overflow:hildden;overflow-x:auto;" class="AdviceTable">
69 69
       <table class="table" style>
70 70
         <tr>
71
-          <!-- <th width="150px">序号</th> -->
72 71
           <th width="177px">期效</th>
73 72
 
74 73
           <th width="334px">开始时间</th>
@@ -86,7 +85,6 @@
86 85
           <th width="177px">校对护士</th>
87 86
           <th width="177px">校对时间</th>
88 87
 
89
-          <!-- <th width="200px">备注</th> -->
90 88
           <th width="177px">停止时间</th>
91 89
           <th width="177px">停止原因</th>
92 90
           <th width="177px">停嘱医生</th>
@@ -94,9 +92,6 @@
94 92
         </tr>
95 93
         <template v-for="(group, group_index) in advice_groups">
96 94
           <tr v-for="(advice, advice_index) in group.advices" :key="advice.id">
97
-            <!--<td v-if="advice.patient_id > 0" :rowspan="group.advices.length">-->
98
-            <!--<span></span>-->
99
-            <!--</td>-->
100 95
 
101 96
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
102 97
               <span v-if="advice.advice_type == 1">长嘱</span>
@@ -156,7 +151,7 @@
156 151
               :rowspan="group.advices.length"
157 152
             >{{ parseTime(advice.check_time, "{m}-{d}{h}:{i}") }}</td>
158 153
 
159
-            <!-- <td>{{ advice.remark }}</td> -->
154
+
160 155
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
161 156
               {{ advice.stop_state == 1 && advice.parent_id
162 157
               == 0 ? parseTime(advice.stop_time, '{y}-{m}-{d} {h}:{i}') : '' }}
@@ -194,49 +189,47 @@
194 189
             </td>
195 190
           </tr>
196 191
         </template>
197
-        <!-- <tr v-for="(item,index) in tableDate" :key="index" :value="item.value">
198
-          <td>{{setAdviceNo(index, item)}}</td>
199
-          <td>{{item.start_time_show}}</td>
200
-          <td>{{item.advice_name}}</td>
201
-          <td>{{item.drug_spec}} {{ item.drug_spec_unit }}</td>
202
-          <td>{{item.single_dose}} {{item.single_dose_unit }}</td>
203
-          <td>
204
-            <span v-if="item.parent_id==0">{{item.delivery_way}}</span>
205
-          </td>
206
-          <td>
207
-            <span v-if="item.parent_id==0">{{item.execution_frequency}}</span>
208
-          </td>
209
-          <td>{{tranDoctor(item.advice_doctor)}}</td>
210
-          <td>{{item.advice_affirm}}</td>
211
-          <td>{{item.remark}}</td>
212
-          <td>{{item.stop_time_show}}</td>
213
-          <td>
214
-            <span v-if="item.parent_id==0">{{item.stop_reason}}</span>
215
-          </td>
216
-          <td>
217
-            <span v-if="item.stop_state==1&&item.parent_id==0">{{tranDoctor(item.stop_doctor)}}</span>
218
-          </td>
219
-          <td>
220
-            <span class="xg" @click="openEdit(index, item)">
221
-              <span class="iconfont">&#xe6f7;</span>修改医嘱
222
-            </span>
223
-            <span class="xg" @click="openStop(index, item)">
224
-              <span class="iconfont">&#xe64c;</span>停止医嘱
225
-            </span>
226
-            <span class="sc" @click="deleteAdvice(index, item)">
227
-              <span class="iconfont">&#xe6f8;</span>删除医嘱
228
-            </span>
229
-            <span class="xg" @click="openNewChild(index, item)">
230
-              <span class="iconfont">&#xe604;</span>添加医嘱
231
-            </span>
232
-          </td>
233
-        </tr>-->
192
+        
234 193
       </table>
235
-      <!--<div class="NoData" v-show="tableDate.length == 0"><img src="@/assets/login/data.jpg" alt=""></div>-->
236 194
       <div class="NoData" v-show="advice_groups.length == 0">
237 195
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
238 196
       </div>
239
-    </div>
197
+    </div>-->
198
+    <el-table :data="date" border style="width: 100%">
199
+      <el-table-column fixed prop="date" label="期效" width="100"></el-table-column>
200
+      <el-table-column prop="name" label="开始时间" width="100"></el-table-column>
201
+      <el-table-column prop="province" label="医嘱内容" width="120"></el-table-column>
202
+      <el-table-column prop="city" label="规格" width="120"></el-table-column>
203
+      <el-table-column prop="address" label="开药数量" width="100"></el-table-column>
204
+      <el-table-column prop="date" label="单次用量" width="100"></el-table-column>
205
+      <el-table-column prop="name" label="给药途径" width="100"></el-table-column>
206
+      <el-table-column prop="province" label="执行频率" width="120"></el-table-column>
207
+      <el-table-column prop="city" label="执行时间" width="120"></el-table-column>
208
+      <el-table-column prop="address" label="执行护士" width="100"></el-table-column>
209
+      <el-table-column prop="date" label="开嘱医生" width="100"></el-table-column>
210
+      <el-table-column prop="name" label="开嘱时间" width="100"></el-table-column>
211
+      <el-table-column prop="province" label="校对护士" width="120"></el-table-column>
212
+      <el-table-column prop="city" label="校对时间" width="120"></el-table-column>
213
+      <el-table-column prop="date" label="停止时间" width="100"></el-table-column>
214
+      <el-table-column prop="name" label="停止原因" width="100"></el-table-column>
215
+      <el-table-column prop="province" label="停嘱医生" width="120"></el-table-column>
216
+      <el-table-column label="操作" width="500">
217
+        <template slot-scope="scope">
218
+          <span class="xg" @click="modifyAdviceAction(group_index, advice_index)">
219
+            <span class="iconfont">&#xe6f7;</span>修改医嘱
220
+          </span>
221
+          <span class="xg" @click="stopAdviceAction(group_index, advice_index)">
222
+            <span class="iconfont">&#xe64c;</span>停止医嘱
223
+          </span>
224
+          <span class="sc" @click="deleteAdviceAction(group_index, advice_index)">
225
+            <span class="iconfont">&#xe6f8;</span>删除医嘱
226
+          </span>
227
+          <span class="xg" @click="addSubdrugAction(group_index, advice_index)">
228
+            <span class="iconfont">&#xe604;</span>添加子药
229
+          </span>
230
+        </template>
231
+      </el-table-column>
232
+    </el-table>
240 233
     <mt-datetime-picker
241 234
       ref="start_date_picker"
242 235
       type="date"
@@ -540,7 +533,41 @@ export default {
540 533
       modify_advice_context: {
541 534
         group_index: -1,
542 535
         advice_index: -1
543
-      }
536
+      },
537
+      date: [
538
+        {
539
+          date: "2016-05-02",
540
+          name: "王小虎",
541
+          province: "上海",
542
+          city: "普陀区",
543
+          address: "上海市普陀区金沙江路 1518 弄",
544
+          zip: 200333
545
+        },
546
+        {
547
+          date: "2016-05-04",
548
+          name: "王小虎",
549
+          province: "上海",
550
+          city: "普陀区",
551
+          address: "上海市普陀区金沙江路 1517 弄",
552
+          zip: 200333
553
+        },
554
+        {
555
+          date: "2016-05-01",
556
+          name: "王小虎",
557
+          province: "上海",
558
+          city: "普陀区",
559
+          address: "上海市普陀区金沙江路 1519 弄",
560
+          zip: 200333
561
+        },
562
+        {
563
+          date: "2016-05-03",
564
+          name: "王小虎",
565
+          province: "上海",
566
+          city: "普陀区",
567
+          address: "上海市普陀区金沙江路 1516 弄",
568
+          zip: 200333
569
+        }
570
+      ]
544 571
     };
545 572
   },
546 573
   methods: {

+ 23 - 8
src/pages/main/dialysis/CheckTab.vue View File

@@ -105,15 +105,18 @@ export default {
105 105
   // @media only screen and (min-width: 415px) and (max-width: 736px) {
106 106
   //   top: 88px !important;
107 107
   // }
108
-  @media only screen and (max-width: 812px) {
109
-    top: 76px !important;
110
-  }
111
-  @media only screen and (min-width: 813px) and (max-width: 1024px) {
112
-    top: 117px !important;
113
-  }
114
-  @media only screen and (min-width: 1024px) {
115
-    top: 117px !important;
108
+  // @media only screen and (max-width: 767px) {
109
+  //   top: 76px !important;
110
+  // }
111
+  @media only screen and (min-width: 768px) {
112
+    top: 116px !important;
116 113
   }
114
+  // @media only screen and (min-width: 813px) and (max-width: 1024px) {
115
+  //   top: 117px !important;
116
+  // }
117
+  // @media only screen and (min-width: 1024px) {
118
+  //   top: 117px !important;
119
+  // }
117 120
   right: 0;
118 121
   z-index: 55;
119 122
   left: 0;
@@ -182,4 +185,16 @@ export default {
182 185
     transform: translateX(75.25px) !important;
183 186
   }
184 187
 }
188
+.van-tabs {
189
+  height: 1.1rem;
190
+}
191
+.van-tabs--line .van-tabs__wrap {
192
+  height: 1.1rem;
193
+}
194
+.van-tabs--line {
195
+  padding-top: 1.1rem;
196
+}
197
+.van-tab {
198
+  line-height: 1.1rem;
199
+}
185 200
 </style>

+ 8 - 2
src/pages/main/dialysis/DialysisTab.vue View File

@@ -62,6 +62,9 @@ export default {
62 62
   // @media only screen and (min-width: 376px) and (max-width: 737px) {
63 63
   //   padding-top: 46px;
64 64
   // }
65
+  @media only screen and (min-width: 768px) {
66
+    padding-top: 75px;
67
+  }
65 68
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
66 69
     padding-top: 74px;
67 70
   }
@@ -69,9 +72,12 @@ export default {
69 72
     border-bottom: 1px #e5e5e5 solid;
70 73
     position: fixed;
71 74
     top: 45px;
72
-    @media only screen and (min-width: 813px) and (max-width: 1024px) {
73
-      top: 64px;
75
+    @media only screen and (min-width: 768px) {
76
+      top: 63px;
74 77
     }
78
+    // @media only screen and (min-width: 813px) and (max-width: 1024px) {
79
+    //   top: 64px;
80
+    // }
75 81
     // @media only screen and (min-width: 376px) and (max-width: 668px) {
76 82
     //   top: 50px;
77 83
     // }

+ 9 - 6
src/pages/main/dialysis/InspectionItemTable.vue View File

@@ -300,7 +300,7 @@ export default {
300 300
 .van-list {
301 301
   background: #fff;
302 302
   min-height: calc(100vh - 178px);
303
-  margin-top: 76px;
303
+  margin-top: 66px;
304 304
   // @media only screen and (min-width: 376px) and (max-width: 668px) {
305 305
   //   margin-top: 84px;
306 306
   // }
@@ -310,12 +310,15 @@ export default {
310 310
   // @media only screen and (max-width: 812px) {
311 311
   //   margin-top: 80px !important;
312 312
   // }
313
-  @media only screen and (min-width: 813px) and (max-width: 1023px) {
314
-    margin-top: 114px !important;
315
-  }
316
-  @media only screen and (min-width: 1024px) {
317
-    margin-top: 96px !important;
313
+  @media only screen and (min-width: 768px) {
314
+    margin-top: 126px !important;
318 315
   }
316
+  // @media only screen and (min-width: 813px) and (max-width: 1023px) {
317
+  //   margin-top: 114px !important;
318
+  // }
319
+  // @media only screen and (min-width: 1024px) {
320
+  //   margin-top: 96px !important;
321
+  // }
319 322
 }
320 323
 </style>
321 324
 

+ 61 - 4
src/pages/main/dialysis/LongTable.vue View File

@@ -1,14 +1,13 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="blueBorder"></div>
4
-    <div class="tableTit">
4
+    <!-- <div class="tableTit">
5 5
       <ul>
6 6
         <li
7 7
           v-for="(item,index) in ['序号','透析模式','透析时长','医生','更新日期','操作']"
8 8
           :key="index"
9 9
           :value="item.value"
10 10
         >{{item}}</li>
11
-        <!-- <li v-for="(item,index) in ['序号','透析模式','透析时长','医生','更新日期']" :key="index" :value="item.value" >{{item}}</li> -->
12 11
       </ul>
13 12
     </div>
14 13
     <div class="tableDate">
@@ -29,8 +28,21 @@
29 28
       <div class="NoData" v-show="tableDate.length == 0">
30 29
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
31 30
       </div>
31
+    </div>-->
32
+    <div class="newTable">
33
+      <el-table :data="tableData" border style="width: 100%">
34
+        <el-table-column fixed prop="date" label="序号" width="100"></el-table-column>
35
+        <el-table-column prop="name" label="透析模式" width="100"></el-table-column>
36
+        <el-table-column prop="province" label="透析时长" width="120"></el-table-column>
37
+        <el-table-column prop="city" label="医生" width="120"></el-table-column>
38
+        <el-table-column prop="address" label="更新日期" width="100"></el-table-column>
39
+        <el-table-column label="操作" width="100">
40
+          <template slot-scope="scope">
41
+            <el-button @click="handleClick(scope.row)" type="text" size="small">修改</el-button>
42
+          </template>
43
+        </el-table-column>
44
+      </el-table>
32 45
     </div>
33
-
34 46
     <van-popup
35 47
       title="透析处方"
36 48
       v-model="showObj.showPopup"
@@ -404,7 +416,42 @@ export default {
404 416
       anticoagulantsConfit: {},
405 417
       timeValue: "",
406 418
       time: "03:00",
407
-      record_date: ""
419
+      record_date: "",
420
+
421
+      tableData: [
422
+        {
423
+          date: "2016-05-02",
424
+          name: "王小虎",
425
+          province: "上海",
426
+          city: "普陀区",
427
+          address: "上海市普陀区金沙江路 1518 弄",
428
+          zip: 200333
429
+        },
430
+        {
431
+          date: "2016-05-04",
432
+          name: "王小虎",
433
+          province: "上海",
434
+          city: "普陀区",
435
+          address: "上海市普陀区金沙江路 1517 弄",
436
+          zip: 200333
437
+        },
438
+        {
439
+          date: "2016-05-01",
440
+          name: "王小虎",
441
+          province: "上海",
442
+          city: "普陀区",
443
+          address: "上海市普陀区金沙江路 1519 弄",
444
+          zip: 200333
445
+        },
446
+        {
447
+          date: "2016-05-03",
448
+          name: "王小虎",
449
+          province: "上海",
450
+          city: "普陀区",
451
+          address: "上海市普陀区金沙江路 1516 弄",
452
+          zip: 200333
453
+        }
454
+      ]
408 455
     };
409 456
   },
410 457
   methods: {
@@ -793,4 +840,14 @@ export default {
793 840
   }
794 841
 }
795 842
 </style>
843
+<style lang="scss">
844
+.newTable {
845
+  .el-table td {
846
+    padding: 0;
847
+  }
848
+  .el-table th {
849
+    padding: 6px 0;
850
+  }
851
+}
852
+</style>
796 853
 

+ 63 - 6
src/pages/main/dialysis/RecordTable.vue View File

@@ -44,7 +44,7 @@
44 44
         </ul>
45 45
       </div>
46 46
       <div class="blueBorder"></div>
47
-      <div style="width:100%;overflow:hildden;overflow-x:auto;" class="RecordTable">
47
+      <!-- <div style="width:100%;overflow:hildden;overflow-x:auto;" class="RecordTable">
48 48
         <table class="table" style>
49 49
           <tr>
50 50
             <th width="124px">透析日期</th>
@@ -80,17 +80,31 @@
80 80
             <td>{{item.assessment_after_dislysis.systolic_blood_pressure?item.assessment_after_dislysis.systolic_blood_pressure:""}}</td>
81 81
             <td>{{item.predialysis_evaluation.ultrafiltration_amount?item.predialysis_evaluation.ultrafiltration_amount:""}}</td>
82 82
             <td>{{setAnticoagulantsConfit(item.prescription)}}</td>
83
-            <!--<td>{{getName(item.treatment_summary.zl_nurse)}}</td>-->
84
-            <!--<td>{{getName(item.treatment_summary.zl_doctor)}}</td>-->
85 83
             <td>{{getName(item.treatment_summary.zl_nurse)}}</td>
86 84
             <td>{{getName(item.treatment_summary.zl_doctor)}}</td>
87 85
           </tr>
88 86
         </table>
89
-        <!--<div class="NoData" v-show="tableDate.length == 0"><img src="@/assets/login/data.jpg" alt=""></div>-->
90 87
         <div class="NoData" v-show="tableDate.length == 0">
91 88
           <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
92 89
         </div>
93
-      </div>
90
+
91
+      </div>-->
92
+      <el-table :data="date" border style="width: 100%">
93
+        <el-table-column fixed prop="date" label="透析日期" width="100"></el-table-column>
94
+        <el-table-column prop="name" label="班次" width="100"></el-table-column>
95
+        <el-table-column prop="province" label="分区-机号" width="120"></el-table-column>
96
+        <el-table-column prop="city" label="透析模式" width="120"></el-table-column>
97
+        <el-table-column prop="address" label="透析时长(h)" width="100"></el-table-column>
98
+        <el-table-column prop="date" label="干体重(kg)" width="100"></el-table-column>
99
+        <el-table-column prop="name" label="透前体重(kg)" width="100"></el-table-column>
100
+        <el-table-column prop="province" label="透后体重(kg)" width="120"></el-table-column>
101
+        <el-table-column prop="city" label="透前血压(mmHg)" width="120"></el-table-column>
102
+        <el-table-column prop="address" label="透后血压(mmHg)" width="100"></el-table-column>
103
+        <el-table-column prop="date" label="超滤总量(L)" width="100"></el-table-column>
104
+        <el-table-column prop="name" label="抗凝剂种类 首剂/维持/总量" width="100"></el-table-column>
105
+        <el-table-column prop="province" label="治疗护士" width="120"></el-table-column>
106
+        <el-table-column prop="city" label="治疗医生" width="120"></el-table-column>
107
+      </el-table>
94 108
     </van-list>
95 109
 
96 110
     <mt-datetime-picker
@@ -195,7 +209,42 @@ export default {
195 209
         limit: 15
196 210
       },
197 211
 
198
-      tableDate: []
212
+      tableDate: [],
213
+
214
+      date: [
215
+        {
216
+          date: "2016-05-02",
217
+          name: "王小虎",
218
+          province: "上海",
219
+          city: "普陀区",
220
+          address: "上海市普陀区金沙江路 1518 弄",
221
+          zip: 200333
222
+        },
223
+        {
224
+          date: "2016-05-04",
225
+          name: "王小虎",
226
+          province: "上海",
227
+          city: "普陀区",
228
+          address: "上海市普陀区金沙江路 1517 弄",
229
+          zip: 200333
230
+        },
231
+        {
232
+          date: "2016-05-01",
233
+          name: "王小虎",
234
+          province: "上海",
235
+          city: "普陀区",
236
+          address: "上海市普陀区金沙江路 1519 弄",
237
+          zip: 200333
238
+        },
239
+        {
240
+          date: "2016-05-03",
241
+          name: "王小虎",
242
+          province: "上海",
243
+          city: "普陀区",
244
+          address: "上海市普陀区金沙江路 1516 弄",
245
+          zip: 200333
246
+        }
247
+      ]
199 248
     };
200 249
   },
201 250
   methods: {
@@ -456,4 +505,12 @@ export default {
456 505
   overflow-y: scroll;
457 506
 }
458 507
 </style>
508
+<style lang="scss">
509
+.el-table td {
510
+  padding: 0;
511
+}
512
+.el-table th {
513
+  padding: 6px 0;
514
+}
515
+</style>
459 516
 

+ 1 - 1
src/pages/main/records/CaseHistory.vue View File

@@ -76,7 +76,7 @@ export default {
76 76
   left: 0;
77 77
   background: #fff;
78 78
   background: #fff;
79
-  @media only screen and (max-width: 812px) {
79
+  @media only screen and (max-width: 767px) {
80 80
     top: 45px !important;
81 81
   }
82 82
   // @media only screen and (min-width: 376px) and (max-width: 668px) {

+ 5 - 0
src/pages/main/today/TodayTab.vue View File

@@ -1604,3 +1604,8 @@ export default {
1604 1604
   z-index: 999;
1605 1605
 }
1606 1606
 </style>
1607
+<style lang="scss">
1608
+.el-table::before{
1609
+  z-index: 0;
1610
+}
1611
+</style>

+ 6 - 5
src/pages/main/today/detailsInfo.vue View File

@@ -8,11 +8,7 @@
8 8
 
9 9
     <div class="ui-step clearfix">
10 10
       <ul class="ui-step-ul">
11
-        <li
12
-          v-for="(item, index) in step_data"
13
-          :key="index"
14
-          class="ui-step-done"
15
-        >
11
+        <li v-for="(item, index) in step_data" :key="index" class="ui-step-done">
16 12
           <div
17 13
             class="ui-step-number"
18 14
             :style="
@@ -218,6 +214,11 @@ export default {
218 214
           font-weight: normal;
219 215
           @media only screen and (max-width: 415px) {
220 216
             width: 1rem;
217
+            margin-left: 2px;
218
+          }
219
+          @media only screen and (min-width: 768px) {
220
+            width: 1rem;
221
+            margin-left: 10px;
221 222
           }
222 223
         }
223 224
         .ui-step-number {

+ 102 - 11
src/pages/monitoring/index.vue View File

@@ -168,6 +168,7 @@
168 168
           />
169 169
         </div>
170 170
       </van-list>-->
171
+<<<<<<< .mine
171 172
       <el-table :data="tableData" border style="width: 100%" class="newTable">
172 173
         <el-table-column fixed prop="date" label="机号" width="100" align="center">
173 174
             <template slot-scope="scope">
@@ -247,6 +248,87 @@
247 248
             </template>
248 249
         </el-table-column>
249 250
       </el-table>
251
+=======
252
+      <div class="monitoringTable">
253
+        <el-table :data="tableData" border style="width: 100%" class="newTable">
254
+          <el-table-column fixed prop="date" label="姓名" width="100"></el-table-column>
255
+          <el-table-column prop="name" label="机号" width="100"></el-table-column>
256
+          <el-table-column prop="province" label="透析号" width="100"></el-table-column>
257
+          <el-table-column prop="city" label="排班时间" width="100"></el-table-column>
258
+          <el-table-column prop="address" label="透析模式" width="200"></el-table-column>
259
+          <el-table-column prop="zip" label="脱水量" width="100"></el-table-column>
260
+          <el-table-column prop="zip" label="体重(透前/透后)" width="150"></el-table-column>
261
+          <el-table-column prop="zip" label="监控预警(血压/心率)" width="200"></el-table-column>
262
+        </el-table>
263
+      </div>
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+>>>>>>> .theirs
250 332
     </div>
251 333
     <side-bar :active_index="1"></side-bar>
252 334
     <mt-datetime-picker
@@ -561,8 +643,11 @@ export default {
561 643
   // @media only screen and (max-width: 415px) {
562 644
   //   top: 38px !important;
563 645
   // }
564
-  @media only screen and (min-width: 813px) and (max-width: 1024px) {
565
-    top: 38px !important;
646
+  // @media only screen and (min-width: 813px) and (max-width: 1024px) {
647
+  //   top: 38px !important;
648
+  // }
649
+  @media only screen and (min-width: 768px) {
650
+    top: 80px !important;
566 651
   }
567 652
   ul {
568 653
     @include display-flex;
@@ -579,10 +664,11 @@ export default {
579 664
       @include align-items-center;
580 665
       @include text-align;
581 666
       @include justify-content-between;
582
-      padding: 0.3rem 0;
667
+      padding: 0 0 0.3rem;
583 668
 
584 669
       .iconfont {
585 670
         margin: 0 0.1rem;
671
+        color: #fff;
586 672
       }
587 673
       .line {
588 674
         background: #a8b3ba;
@@ -652,13 +738,18 @@ export default {
652 738
   line-height: 1rem;
653 739
   font-size: 0.45rem;
654 740
 }
655
-.newTable {
656
-  margin-top: 90px;
657
-}
658
-.el-table td {
659
-  padding: 0;
660
-}
661
-.el-table th {
662
-  padding: 6px 0;
741
+.monitoringTable {
742
+  .newTable {
743
+    margin-top: 90px;
744
+    @media only screen and (min-width: 768px) {
745
+      margin-top: 140px !important;
746
+    }
747
+  }
748
+  .el-table td {
749
+    padding: 0;
750
+  }
751
+  .el-table th {
752
+    padding: 6px 0;
753
+  }
663 754
 }
664 755
 </style>

+ 3 - 0
src/pages/personal/ChangePassword.vue View File

@@ -0,0 +1,3 @@
1
+<template>
2
+  <div>12</div>
3
+</template>

+ 127 - 0
src/pages/personal/ForgetPassword.vue View File

@@ -0,0 +1,127 @@
1
+<template>
2
+  <div class="container">
3
+    <div class="newLogin">
4
+      <div class="login">
5
+        <div class="logo">
6
+          <img src="../../assets/login/newLogo.png" alt />
7
+        </div>
8
+      </div>
9
+    </div>
10
+  </div>
11
+</template>
12
+
13
+<style rel="stylesheet/scss" lang="scss" scoped >
14
+.container {
15
+  // background: $white-bg;
16
+  background: #f5f5f5;
17
+  @include box-sizing;
18
+  position: fixed;
19
+  width: 100%;
20
+  height: 100%;
21
+  display: flex;
22
+  justify-content: space-between;
23
+
24
+  .newLogin {
25
+    width: 90%;
26
+    height: 90%;
27
+    margin: auto;
28
+    box-shadow: 0px 2px 25px 0px rgba(37, 143, 252, 0.1);
29
+    border-radius: 14px;
30
+    background: #fff;
31
+  }
32
+  .login {
33
+    // @include box-shadow;
34
+    @include text-align;
35
+    @include display-flex;
36
+    @include align-items-center;
37
+    // @include justify-content-center;
38
+    @include flex-direction;
39
+    height: 100%;
40
+    .logo {
41
+      padding: 3rem 0 1rem;
42
+      img {
43
+        width: 40%;
44
+        height: auto;
45
+        display: inline-block;
46
+      }
47
+    }
48
+    .reg {
49
+      width: 8.77rem;
50
+      .welcome {
51
+        text-align: left;
52
+        font-size: 0.55rem;
53
+        font-weight: 400;
54
+        color: rgba(37, 143, 252, 1);
55
+        margin-bottom: 0.5rem;
56
+        // line-height: 14px;
57
+      }
58
+      .newForget {
59
+        text-align: right;
60
+        font-size: 0.5rem;
61
+        font-weight: 400;
62
+        color: rgba(37, 143, 252, 1);
63
+        margin-top: 0.5rem;
64
+      }
65
+      .form {
66
+        border: 1px $border-color solid;
67
+        border-radius: 4px;
68
+        li {
69
+          border-bottom: 1px $border-color solid;
70
+          @include align-items-center;
71
+          @include text-align;
72
+          @include display-flex;
73
+          @include box-sizing;
74
+          .tel {
75
+            padding: 0.4rem 0;
76
+            width: 90%;
77
+            border: none;
78
+            outline: none;
79
+            font-size: 0.45rem;
80
+          }
81
+          .mint-cell {
82
+            width: 100%;
83
+          }
84
+          &:last-child {
85
+            border: none;
86
+          }
87
+          .iconfont {
88
+            color: $main-color;
89
+            font-size: 0.5rem;
90
+            margin: 0 0.46rem;
91
+          }
92
+        }
93
+      }
94
+      .forget {
95
+        text-align: left;
96
+        padding: 0.45rem 1rem;
97
+        a {
98
+          float: left;
99
+          font-size: 0.28rem;
100
+          color: $main-color;
101
+          &:nth-child(2) {
102
+            color: #999999;
103
+            float: right;
104
+          }
105
+          &:active {
106
+            background: $white-bg;
107
+          }
108
+        }
109
+      }
110
+      .loginBtn {
111
+        width: 100%;
112
+        height: 1.3rem;
113
+        line-height: 1.3rem;
114
+        background: $main-color;
115
+        color: #fff;
116
+        font-size: 0.45rem;
117
+        @include text-align;
118
+        border-radius: 4px;
119
+        margin: 40px 0 0 0;
120
+      }
121
+      .disableLoginBtn {
122
+        background: lightgray;
123
+      }
124
+    }
125
+  }
126
+}
127
+</style>

+ 111 - 14
src/pages/personal/index.vue View File

@@ -1,19 +1,19 @@
1 1
 <template>
2 2
   <div class="mainBox">
3 3
     <div class="mainContent">
4
-      <h1 class="title">我的</h1>
4
+      <!-- <h1 class="title">我的</h1>
5 5
       <div class="information">
6 6
         <div class="blueBorder"></div>
7 7
         <div class="name">
8
-          <!--<router-link to="/EditPersonal">-->
8
+          <router-link to="/EditPersonal">
9 9
           <div class="item">
10 10
             <div class="tx">
11 11
               <img :src="myinfo.avatar" alt v-if="myinfo.avatar != ''" />
12 12
               <img :src="avatar" alt v-if="myinfo.avatar == ''" />
13 13
             </div>
14
-            <!--<span class="iconfont">&#xe6f9;</span>-->
14
+            <span class="iconfont">&#xe6f9;</span>
15 15
           </div>
16
-          <!--</router-link>-->
16
+          </router-link>
17 17
         </div>
18 18
         <div class="name">
19 19
           <router-link to="/ElectronicSignature">
@@ -26,16 +26,6 @@
26 26
             </div>
27 27
           </router-link>
28 28
         </div>
29
-        <!-- <div class="name"> 
30
-          <router-link to="/">
31
-            <div class="item">
32
-              <div class="tx">
33
-              <h2>修改密码</h2>
34
-              </div>
35
-              <span class="iconfont">&#xe6f9;</span>
36
-            </div>
37
-          </router-link>
38
-        </div> -->
39 29
         <div class="set" v-show="false">
40 30
           <div class="item">
41 31
             <div class="tx">
@@ -76,6 +66,41 @@
76 66
         <div class="set">
77 67
           <span class="out" @click="logout">退出登录</span>
78 68
         </div>
69
+      </div>-->
70
+      <div class="myTitle">我的</div>
71
+      <div class="mybanner">
72
+        <img class="bannerOne" src="../../assets/my/myBanner.png" alt />
73
+        <div class="avatar">
74
+          <img src="../../assets/my/avatar.png" alt />
75
+          <p>用户姓名</p>
76
+        </div>
77
+      </div>
78
+      <div class="list">
79
+        <router-link to="/ElectronicSignature">
80
+          <div class="name">
81
+            <div class="left">
82
+              <img src="../../assets/my/name.png" alt />
83
+              <span>电子签名</span>
84
+            </div>
85
+            <span class="iconfont jiantou">&#xe6f9;</span>
86
+          </div>
87
+        </router-link>
88
+        <router-link to="/ChangePassword">
89
+          <div class="name">
90
+            <div class="left">
91
+              <img src="../../assets/my/modification.png" alt />
92
+              <span>修改密码</span>
93
+            </div>
94
+            <span class="iconfont jiantou">&#xe6f9;</span>
95
+          </div>
96
+        </router-link>
97
+        <div class="name" @click="logout">
98
+          <div class="left">
99
+            <img src="../../assets/my/exit.png" alt />
100
+            <span>退出登录</span>
101
+          </div>
102
+          <span class="iconfont jiantou">&#xe6f9;</span>
103
+        </div>
79 104
       </div>
80 105
     </div>
81 106
     <side-bar :active_index="3"></side-bar>
@@ -241,5 +266,77 @@ export default {
241 266
     flex: 1;
242 267
     overflow: auto;
243 268
   }
269
+  .myTitle {
270
+    height: 1.4rem;
271
+    line-height: 1.4rem;
272
+    width: 100%;
273
+    background: #3275fd;
274
+    text-align: center;
275
+    color: #fff;
276
+    font-size: 0.6rem;
277
+  }
278
+  .mybanner {
279
+    height: 30%;
280
+    margin-top: -1px;
281
+    position: relative;
282
+    .bannerOne {
283
+      position: absolute;
284
+    }
285
+    img {
286
+      width: 100%;
287
+      height: 100%;
288
+    }
289
+    .avatar {
290
+      position: absolute;
291
+      width: 4rem;
292
+      top: 1rem;
293
+      left: 0;
294
+      right: 0;
295
+      bottom: 0;
296
+      margin: auto;
297
+      text-align: center;
298
+      img {
299
+        width: 2.5rem;
300
+        height: 2.5rem;
301
+      }
302
+      p {
303
+        font-size: 0.5rem;
304
+        color: #fff;
305
+        margin-top: 0.2rem;
306
+      }
307
+    }
308
+  }
309
+  .name {
310
+    display: flex;
311
+    height: 1.8rem;
312
+    line-height: 1.8rem;
313
+    background: #fff;
314
+    margin: 0 0.4rem;
315
+    padding: 0 0.4rem;
316
+    display: flex;
317
+    justify-content: space-between;
318
+    border-radius: 5px;
319
+    margin-top: 0.5rem;
320
+    .left {
321
+      height: 100%;
322
+      line-height: 1.8rem;
323
+      display: flex;
324
+      align-items: center;
325
+      span {
326
+        color: #333333;
327
+        font-size: 0.5rem;
328
+        margin-left: 0.4rem;
329
+        font-weight: 600;
330
+      }
331
+    }
332
+    img {
333
+      width: 1rem;
334
+      height: 1rem;
335
+      display: inline-block;
336
+    }
337
+    .jiantou {
338
+      font-size: 0.6rem;
339
+    }
340
+  }
244 341
 }
245 342
 </style>

+ 50 - 41
src/router/index.js View File

@@ -1,70 +1,79 @@
1
-import Vue from 'vue'
2
-import Router from 'vue-router'
1
+import Vue from "vue";
2
+import Router from "vue-router";
3 3
 
4
-Vue.use(Router)
4
+Vue.use(Router);
5 5
 
6 6
 export default new Router({
7 7
   routes: [
8 8
     {
9
-      path: '/',
10
-      name: 'Home',
11
-      component: () => import('@/pages/home/login')
9
+      path: "/",
10
+      name: "Home",
11
+      component: () => import("@/pages/home/login")
12 12
     },
13 13
     {
14
-      path: '/product',
15
-      name: 'Product',
16
-      component: () => import('@/pages/product/index')
14
+      path: "/product",
15
+      name: "Product",
16
+      component: () => import("@/pages/product/index")
17 17
     },
18 18
     {
19
-      path: '/main',
20
-      name: 'main',
21
-      component: () => import('@/pages/main/index')
19
+      path: "/main",
20
+      name: "main",
21
+      component: () => import("@/pages/main/index")
22 22
     },
23 23
     {
24
-      path: '/details',
25
-      name: 'details',
26
-      component: () => import('@/pages/main/DetailsPage')
24
+      path: "/details",
25
+      name: "details",
26
+      component: () => import("@/pages/main/DetailsPage")
27 27
     },
28 28
     {
29
-      path: '/monitoring',
30
-      name: 'monitorPage',
31
-      component: () => import('@/pages/monitoring/index')
32
-
29
+      path: "/monitoring",
30
+      name: "monitorPage",
31
+      component: () => import("@/pages/monitoring/index")
32
+    },
33
+    {
34
+      path: "/my",
35
+      name: "my",
36
+      component: () => import("@/pages/personal/index")
37
+    },
38
+    {
39
+      path: "/advice",
40
+      name: "doctorAdvice",
41
+      component: () => import("@/pages/advice/index")
33 42
     },
34 43
     {
35
-      path: '/my',
36
-      name: 'my',
37
-      component: () => import('@/pages/personal/index')
44
+      path: "/EditPersonal",
45
+      name: "EditPersonal",
46
+      component: () => import("@/pages/personal/EditPersonal")
38 47
     },
39 48
     {
40
-      path: '/advice',
41
-      name: 'doctorAdvice',
42
-      component: () => import('@/pages/advice/index')
49
+      path: "/ElectronicSignature",
50
+      name: "ElectronicSignature",
51
+      component: () => import("@/pages/personal/ElectronicSignature")
43 52
     },
44 53
     {
45
-      path: '/EditPersonal',
46
-      name: 'EditPersonal',
47
-      component: () => import('@/pages/personal/EditPersonal')
54
+      path: "/Print",
55
+      name: "Print",
56
+      component: () => import("@/pages/main/PrintIndex")
48 57
     },
49 58
     {
50
-      path: '/ElectronicSignature',
51
-      name: 'ElectronicSignature',
52
-      component: () => import('@/pages/personal/ElectronicSignature')
59
+      path: "/add_urgent_schedule",
60
+      name: "AddUrgentSchedule",
61
+      component: () => import("@/pages/main/add_urgent_schedule")
53 62
     },
54 63
     {
55
-      path: '/Print',
56
-      name: 'Print',
57
-      component: () => import('@/pages/main/PrintIndex')
64
+      path: "/Prints",
65
+      name: "Prints",
66
+      component: () => import("@/pages/main/Print")
58 67
     },
59 68
     {
60
-      path: '/add_urgent_schedule',
61
-      name: 'AddUrgentSchedule',
62
-      component: () => import('@/pages/main/add_urgent_schedule')
69
+      path: "/forgetPassword",
70
+      name: "forgetPassword",
71
+      component: () => import("@/pages/personal/ForgetPassword")
63 72
     },
64 73
     {
65
-      path: '/Prints',
66
-      name: 'Prints',
67
-      component: () => import('@/pages/main/Print')
74
+      path: "/changePassword",
75
+      name: "changePassword",
76
+      component: () => import("@/pages/personal/changePassword")
68 77
     }
69 78
   ]
70
-})
79
+});

+ 37 - 33
src/styles/style.scss View File

@@ -12,6 +12,7 @@ body {
12 12
 
13 13
 .iconfont {
14 14
   color: #a8b3ba;
15
+  font-size: 0.45rem;
15 16
 }
16 17
 
17 18
 .mainBox {
@@ -417,18 +418,18 @@ body {
417 418
       @include align-items-center;
418 419
       @include text-align;
419 420
       @include justify-content-between;
420
-      padding: 0.2rem 0.36rem;
421
+      padding: 0.3rem 0.36rem;
421 422
       z-index: 999;
422 423
       background: #fff;
423 424
       box-shadow: 3px 3px 3px #d7dce2;
424 425
       margin-bottom: 0.24rem;
425 426
       .iconfont {
426
-        font-size: 0.5rem;
427
+        font-size: 0.6rem;
427 428
         color: $main-color;
428 429
         font-weight: bold;
429
-        @media only screen and (max-width: 812px) {
430
-          font-size: 0.34rem !important;
431
-        }
430
+        // @media only screen and (max-width: 812px) {
431
+        //   font-size: 0.34rem !important;
432
+        // }
432 433
       }
433 434
       .back {
434 435
         font-size: 0.36rem;
@@ -443,12 +444,12 @@ body {
443 444
         }
444 445
       }
445 446
       .name {
446
-        font-size: 0.36rem;
447
+        font-size: 0.45rem;
447 448
         color: $main-color;
448 449
         font-weight: 600;
449 450
       }
450 451
       .success {
451
-        font-size: 0.36rem;
452
+        font-size: 0.45rem;
452 453
         font-weight: 600;
453 454
         color: $title-color;
454 455
       }
@@ -487,9 +488,9 @@ body {
487 488
         @include justify-content-between;
488 489
         color: $title-color;
489 490
         .name {
490
-          font-size: 0.34rem;
491
-          height: 1.1rem;
492
-          line-height: 1.1rem;
491
+          font-size: 0.45rem;
492
+          height: 1.2rem;
493
+          line-height: 1.2rem;
493 494
           color: $title-color;
494 495
         }
495 496
         .content {
@@ -503,7 +504,7 @@ body {
503 504
             height: 1rem;
504 505
             line-height: 1rem;
505 506
             border: none;
506
-            font-size: 0.3rem;
507
+            font-size: 0.45rem;
507 508
             @include flex;
508 509
             text-align: right;
509 510
             width: 100%;
@@ -511,7 +512,7 @@ body {
511 512
           .text {
512 513
             height: 1rem;
513 514
             line-height: 0.5rem;
514
-            font-size: 0.34rem;
515
+            font-size: 0.45rem;
515 516
           }
516 517
         }
517 518
       }
@@ -529,13 +530,13 @@ body {
529 530
       button {
530 531
         padding: 0 0.32rem;
531 532
         border: $main-color;
532
-        font-size: 0.28rem;
533
+        font-size: 0.36rem;
533 534
         text-align: center;
534
-        height: 0.7rem;
535
+        height: 1rem;
535 536
         line-height: 0.7rem;
536 537
         background: #fff;
537 538
         border: 1px $main-color solid;
538
-        border-radius: 0.06rem;
539
+        border-radius: 5px;
539 540
         color: $main-color;
540 541
         margin: 0 0.11rem;
541 542
         &.tjcq {
@@ -601,26 +602,26 @@ body {
601 602
   color: #fff;
602 603
   border-color: $main-color !important;
603 604
   background-color: $main-color !important;
604
-  @media only screen and (max-width: 812px) {
605
-    font-size: 14px !important;
606
-    line-height: 16px !important;
607
-    width: 16px !important;
608
-    height: 16px !important;
605
+  @media only screen and (min-width: 768px) {
606
+    font-size: 20px !important;
607
+    line-height: 30px !important;
608
+    width: 30px !important;
609
+    height: 30px !important;
609 610
   }
610 611
 }
611 612
 
612
-.van-checkbox__icon .van-icon {
613
-  @media only screen and (max-width: 812px) {
614
-    font-size: 14px !important;
615
-    line-height: 16px !important;
616
-    width: 16px !important;
617
-    height: 16px !important;
618
-  }
619
-}
613
+// .van-checkbox__icon .van-icon {
614
+//   @media only screen and (max-width: 812px) {
615
+//     font-size: 14px !important;
616
+//     line-height: 16px !important;
617
+//     width: 16px !important;
618
+//     height: 16px !important;
619
+//   }
620
+// }
620 621
 
621 622
 .CheckBox .van-checkbox__label {
622 623
   width: 94%;
623
-  font-size: 0.34rem;
624
+  font-size: 0.45rem;
624 625
   @media only screen and (max-width: 812px) {
625 626
     width: 90%;
626 627
   }
@@ -631,7 +632,7 @@ body {
631 632
 }
632 633
 
633 634
 .picker-item {
634
-  font-size: 0.34rem;
635
+  font-size: 0.45rem;
635 636
 }
636 637
 
637 638
 .NoData {
@@ -694,14 +695,14 @@ body {
694 695
 }
695 696
 
696 697
 .el-form-item__label {
697
-  font-size: 0.34rem !important; // width: 90px !important;
698
+  font-size: 0.45rem !important; // width: 90px !important;
698 699
   @media only screen and (max-width: 812px) {
699 700
     text-align: left !important;
700 701
   }
701 702
 }
702 703
 
703 704
 .el-radio__label {
704
-  font-size: 0.32rem !important;
705
+  font-size: 0.45rem !important;
705 706
 }
706 707
 
707 708
 .el-radio + .el-radio {
@@ -800,7 +801,7 @@ body {
800 801
 }
801 802
 .picker-toolbar {
802 803
   @media only screen and (max-width: 812px) {
803
-    height: 30px !important;
804
+    height: 40px !important;
804 805
   }
805 806
 }
806 807
 .mint-datetime-action {
@@ -874,6 +875,9 @@ body {
874 875
   background: #fff;
875 876
   min-height: calc(100vh - 2px);
876 877
   padding-left: 0.45rem;
878
+  @media only screen and (min-width: 768px) {
879
+    padding-top: 216px;
880
+  }
877 881
 }
878 882
 #app {
879 883
   -webkit-overflow-scrolling: touch;