浏览代码

修改样式121

See999 5 年前
父节点
当前提交
599417e503
共有 41 个文件被更改,包括 4659 次插入3498 次删除
  1. 二进制
      src/assets/my/avatar.png
  2. 二进制
      src/assets/my/exit.png
  3. 二进制
      src/assets/my/modification.png
  4. 二进制
      src/assets/my/myBanner.png
  5. 二进制
      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. 32 21
      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

二进制
src/assets/my/avatar.png 查看文件


二进制
src/assets/my/exit.png 查看文件


二进制
src/assets/my/modification.png 查看文件


二进制
src/assets/my/myBanner.png 查看文件


二进制
src/assets/my/name.png 查看文件


+ 1 - 0
src/pages/advice/AdvicePage.vue 查看文件

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

+ 16 - 9
src/pages/advice/DialysisAdviceTable.vue 查看文件

630
   // @media only screen and (max-width: 415px) {
630
   // @media only screen and (max-width: 415px) {
631
   //   top: 38px !important;
631
   //   top: 38px !important;
632
   // }
632
   // }
633
-  @media only screen and (min-width: 376px) and (max-width: 812px) {
634
-    top: 38px !important;
633
+  // @media only screen and (min-width: 376px) and (max-width: 812px) {
634
+  //   top: 38px !important;
635
+  // }
636
+  @media only screen and (min-width: 768px) {
637
+    top: 80px !important;
635
   }
638
   }
636
   ul {
639
   ul {
637
     @include display-flex;
640
     @include display-flex;
648
       @include align-items-center;
651
       @include align-items-center;
649
       @include text-align;
652
       @include text-align;
650
       @include justify-content-between;
653
       @include justify-content-between;
651
-      padding: 0.3rem 0;
654
+      padding: 0 0 0.3rem;
652
       font-size: 0.45rem;
655
       font-size: 0.45rem;
653
       .iconfont {
656
       .iconfont {
654
         margin: 0 0.1rem;
657
         margin: 0 0.1rem;
658
+        color: #fff;
655
       }
659
       }
656
       .line {
660
       .line {
657
         background: #a8b3ba;
661
         background: #a8b3ba;
665
 }
669
 }
666
 .DialysisAdvice {
670
 .DialysisAdvice {
667
   padding-top: 85px;
671
   padding-top: 85px;
668
-  background: #fff;
672
+  // background: #fff;
669
   min-height: calc(100vh - 2px);
673
   min-height: calc(100vh - 2px);
670
   // @media only screen and (max-width: 812px) {
674
   // @media only screen and (max-width: 812px) {
671
   //   padding-top: 70px !important;
675
   //   padding-top: 70px !important;
672
   // }
676
   // }
673
-  @media only screen and (min-width: 813px) and (max-width: 1024px) {
674
-    padding-top: 118px !important;
677
+  @media only screen and (min-width: 768px) {
678
+    padding-top: 130px !important;
675
   }
679
   }
680
+  // @media only screen and (min-width: 813px) and (max-width: 1024px) {
681
+  //   padding-top: 118px !important;
682
+  // }
676
 }
683
 }
677
 
684
 
678
 .advice_content {
685
 .advice_content {
689
 }
696
 }
690
 </style>
697
 </style>
691
 <style lang="scss">
698
 <style lang="scss">
692
-.el-table {
693
-  margin-top: 64px;
694
-}
699
+// .el-table {
700
+//   margin-top: 64px;
701
+// }
695
 .el-table td {
702
 .el-table td {
696
   padding: 0;
703
   padding: 0;
697
 }
704
 }

+ 4 - 1
src/pages/home/login.vue 查看文件

26
             :class="loginDisable ? 'disableLoginBtn' : ''"
26
             :class="loginDisable ? 'disableLoginBtn' : ''"
27
             :disabled="loginDisable"
27
             :disabled="loginDisable"
28
           >登录</button>
28
           >登录</button>
29
-          <div class="newForget">忘记密码</div>
29
+          <div class="newForget" @click="to()">忘记密码</div>
30
           <!-- </router-link> -->
30
           <!-- </router-link> -->
31
           <!-- <div class="forget">
31
           <!-- <div class="forget">
32
           <a href="">免密码登录</a>
32
           <a href="">免密码登录</a>
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 查看文件

56
 <style style="stylesheet/scss" lang="scss" scoped>
56
 <style style="stylesheet/scss" lang="scss" scoped>
57
 .redpoint {
57
 .redpoint {
58
   display: inline-block;
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
   text-align: center;
62
   text-align: center;
63
-  font-size: 0.74em;
63
+  font-size: 0.8em;
64
   border-radius: 20px;
64
   border-radius: 20px;
65
   color: #fff;
65
   color: #fff;
66
   background: #f56c6c;
66
   background: #f56c6c;
67
   position: absolute;
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
     height: 16px;
71
     height: 16px;
72
     width: 16px;
72
     width: 16px;
73
     line-height: 16px;
73
     line-height: 16px;
122
           display: inline-block;
122
           display: inline-block;
123
           padding: 0;
123
           padding: 0;
124
           margin: 0;
124
           margin: 0;
125
-          @media only screen and (min-width: 813px) {
125
+          @media only screen and (min-width: 768px) {
126
             display: flex;
126
             display: flex;
127
+            align-items: center;
127
           }
128
           }
128
           p {
129
           p {
129
             font-size: 0.32rem;
130
             font-size: 0.32rem;

+ 4 - 3
src/pages/main/DetailsPage.vue 查看文件

220
   bottom: 2.25rem;
220
   bottom: 2.25rem;
221
   font-size: 0.45rem;
221
   font-size: 0.45rem;
222
   text-align: center;
222
   text-align: center;
223
+
223
   p {
224
   p {
224
     width: 30px;
225
     width: 30px;
225
     text-align: center;
226
     text-align: center;
229
     //   width: 40px !important;
230
     //   width: 40px !important;
230
     //   margin: 11px auto 0;
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 查看文件

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

+ 6 - 6
src/pages/main/PatientBox.vue 查看文件

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

+ 45 - 30
src/pages/main/RecordPage.vue 查看文件

54
           >搜索</van-button>
54
           >搜索</van-button>
55
         </van-field>-->
55
         </van-field>-->
56
         <el-input
56
         <el-input
57
+          class="newInput"
57
           prefix-icon="el-icon-search"
58
           prefix-icon="el-icon-search"
58
           v-model="search_input"
59
           v-model="search_input"
59
           ref="search_field"
60
           ref="search_field"
190
 };
191
 };
191
 </script>
192
 </script>
192
 
193
 
193
-<style lang="scss">
194
+<style lang="scss" scoped>
194
 .top_row {
195
 .top_row {
195
   // height: 50px;
196
   // height: 50px;
196
   font-size: 0.3rem;
197
   font-size: 0.3rem;
203
   // align-items: center;
204
   // align-items: center;
204
   background: #258ffc;
205
   background: #258ffc;
205
   .floatLeft {
206
   .floatLeft {
206
-    line-height: 30px;
207
-    height: 30px;
207
+    line-height: 1rem;
208
+    height: 1rem;
208
   }
209
   }
209
   .search {
210
   .search {
210
     float: right;
211
     float: right;
258
 
259
 
259
 .redpoint {
260
 .redpoint {
260
   display: inline-block;
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
   text-align: center;
265
   text-align: center;
265
   font-size: 0.8em;
266
   font-size: 0.8em;
266
   border-radius: 20px;
267
   border-radius: 20px;
267
   color: #fff;
268
   color: #fff;
268
   background: #f56c6c;
269
   background: #f56c6c;
269
   position: absolute;
270
   position: absolute;
270
-  top: -8px;
271
+  top: -6px;
271
   right: -8px;
272
   right: -8px;
272
   border: 1px solid #fff;
273
   border: 1px solid #fff;
273
-  @media only screen and (max-width: 812px) {
274
+  @media only screen and (max-width: 767px) {
274
     height: 16px;
275
     height: 16px;
275
     width: 16px;
276
     width: 16px;
276
     line-height: 14px;
277
     line-height: 14px;
277
   }
278
   }
278
 }
279
 }
279
 .box {
280
 .box {
280
-  height: 30px;
281
-  margin-top: 8px;
281
+  height: 1rem;
282
+  margin-top: 0.26rem;
282
   background: #258ffc;
283
   background: #258ffc;
283
 }
284
 }
284
 .head {
285
 .head {
309
     color: #258ffc;
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
 .add {
314
 .add {
330
   width: 1.8rem;
315
   width: 1.8rem;
331
   height: 1.8rem;
316
   height: 1.8rem;
345
     // @media only screen and (min-width: 415px) and (max-width: 668px) {
330
     // @media only screen and (min-width: 415px) and (max-width: 668px) {
346
     //   width: 40px;
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 查看文件

635
   border-bottom: 1px #e5e5e5 solid;
635
   border-bottom: 1px #e5e5e5 solid;
636
   position: fixed;
636
   position: fixed;
637
   top: 98px;
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
   right: 0;
641
   right: 0;
642
   z-index: 66;
642
   z-index: 66;

+ 246 - 234
src/pages/main/dialog/AcceptsDialog.vue 查看文件

4
       <div class="DialogTit">
4
       <div class="DialogTit">
5
         <span class="iconfont" @click="close()">&#xe6e9;</span>
5
         <span class="iconfont" @click="close()">&#xe6e9;</span>
6
         <h1 class="name">接诊评估</h1>
6
         <h1 class="name">接诊评估</h1>
7
-        <span class="success" @click="commitInfo">完成</span>
7
+        <span class="success" @click="commitInfo">保存</span>
8
       </div>
8
       </div>
9
       <div class="DialogContent choose">
9
       <div class="DialogContent choose">
10
-
11
-
12
-        <el-form :model="receiveTreatmentAsses" label-width="90px">
10
+        <el-form :model="receiveTreatmentAsses" label-width="110px">
13
           <el-form-item label="入室方式: " v-if="isShow('入室方式')">
11
           <el-form-item label="入室方式: " v-if="isShow('入室方式')">
14
             <el-radio v-model="receiveTreatmentAsses.way" label="1">步行</el-radio>
12
             <el-radio v-model="receiveTreatmentAsses.way" label="1">步行</el-radio>
15
             <el-radio v-model="receiveTreatmentAsses.way" label="2">扶行</el-radio>
13
             <el-radio v-model="receiveTreatmentAsses.way" label="2">扶行</el-radio>
18
             <!--</el-radio-group>-->
16
             <!--</el-radio-group>-->
19
           </el-form-item>
17
           </el-form-item>
20
           <el-form-item label="病人意识: " v-if="isShow('病人意识')">
18
           <el-form-item label="病人意识: " v-if="isShow('病人意识')">
21
-
22
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
19
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
23
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
20
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
24
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
21
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
25
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="4">模糊</el-radio>
22
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="4">模糊</el-radio>
26
-
27
-
28
           </el-form-item>
23
           </el-form-item>
29
           <el-form-item label="病人食欲: " v-if="isShow('病人食欲')">
24
           <el-form-item label="病人食欲: " v-if="isShow('病人食欲')">
30
             <el-radio v-model="receiveTreatmentAsses.appetite" label="1">正常</el-radio>
25
             <el-radio v-model="receiveTreatmentAsses.appetite" label="1">正常</el-radio>
45
             <el-radio v-model="receiveTreatmentAsses.posture" label="4">端坐位</el-radio>
40
             <el-radio v-model="receiveTreatmentAsses.posture" label="4">端坐位</el-radio>
46
             <el-radio v-model="receiveTreatmentAsses.posture" label="5">躁动不安</el-radio>
41
             <el-radio v-model="receiveTreatmentAsses.posture" label="5">躁动不安</el-radio>
47
           </el-form-item>
42
           </el-form-item>
48
-          <el-form-item label="病情: "  v-if="isShow('病情')">
43
+          <el-form-item label="病情: " v-if="isShow('病情')">
49
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="1">一般</el-radio>
44
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="1">一般</el-radio>
50
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="2">严重</el-radio>
45
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="2">严重</el-radio>
51
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3">危</el-radio>
46
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3">危</el-radio>
52
           </el-form-item>
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
           </el-form-item>
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
             <el-input v-model="receiveTreatmentAsses.score" style="width: 100px"></el-input>
52
             <el-input v-model="receiveTreatmentAsses.score" style="width: 100px"></el-input>
60
           </el-form-item>
53
           </el-form-item>
61
 
54
 
66
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="4">高风险</el-radio>
59
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="4">高风险</el-radio>
67
           </el-form-item>
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
             <el-input v-model="receiveTreatmentAsses.precaution_other"></el-input>
69
             <el-input v-model="receiveTreatmentAsses.precaution_other"></el-input>
79
           </el-form-item>
70
           </el-form-item>
80
 
71
 
81
-
82
-          <el-form-item label="摄入量: "  v-if="isShow('摄入量')">
72
+          <el-form-item label="摄入量: " v-if="isShow('摄入量')">
83
             <el-radio v-model="receiveTreatmentAsses.intake" label="1">正常</el-radio>
73
             <el-radio v-model="receiveTreatmentAsses.intake" label="1">正常</el-radio>
84
             <el-radio v-model="receiveTreatmentAsses.intake" label="2">减少</el-radio>
74
             <el-radio v-model="receiveTreatmentAsses.intake" label="2">减少</el-radio>
85
           </el-form-item>
75
           </el-form-item>
86
-          <el-form-item label="营养状况: "  v-if="isShow('营养状况')">
76
+          <el-form-item label="营养状况: " v-if="isShow('营养状况')">
87
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="1">正常</el-radio>
77
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="1">正常</el-radio>
88
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="2">营养不良</el-radio>
78
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="2">营养不良</el-radio>
89
           </el-form-item>
79
           </el-form-item>
90
-          <el-form-item label="心理评估: "  v-if="isShow('心理评估')">
80
+          <el-form-item label="心理评估: " v-if="isShow('心理评估')">
91
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="1">正常</el-radio>
81
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="1">正常</el-radio>
92
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="2">异常</el-radio>
82
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="2">异常</el-radio>
93
           </el-form-item>
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
             <el-input v-model="receiveTreatmentAsses.psychological_assessment_other"></el-input>
89
             <el-input v-model="receiveTreatmentAsses.psychological_assessment_other"></el-input>
97
           </el-form-item>
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
             <el-input v-model="receiveTreatmentAsses.psychological_other"></el-input>
93
             <el-input v-model="receiveTreatmentAsses.psychological_other"></el-input>
102
           </el-form-item>
94
           </el-form-item>
103
-
104
         </el-form>
95
         </el-form>
105
         <!-- <div class="button">
96
         <!-- <div class="button">
106
           <button @click="commitInfo" class="submitButton">提交</button>
97
           <button @click="commitInfo" class="submitButton">提交</button>
107
-      </div> -->
98
+        </div>-->
108
       </div>
99
       </div>
109
       <!-- <div class="footer">
100
       <!-- <div class="footer">
110
           处方医生:刘小军 医生
101
           处方医生:刘小军 医生
111
-      </div> -->
102
+      </div>-->
112
     </div>
103
     </div>
113
   </div>
104
   </div>
114
 </template>
105
 </template>
115
 
106
 
116
 <script>
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
         getLastAccepts(ParamsQuery).then(response => {
203
         getLastAccepts(ParamsQuery).then(response => {
161
           if (response.data.state == 0) {
204
           if (response.data.state == 0) {
162
-            return false
205
+            return false;
163
           } else {
206
           } else {
164
             for (const key in response.data.data.receiveTreatmentAsses) {
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
               this.receiveTreatmentAsses.consciousness =
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
       } else {
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
 </script>
322
 </script>
320
 
323
 
321
 <style style="stylesheet/scss" lang="scss" scoped>
324
 <style style="stylesheet/scss" lang="scss" scoped>
322
-  .choose {
325
+.choose {
323
   .el-form-item {
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
   .button {
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
 </style>
359
 </style>
348
 
360
 

文件差异内容过多而无法显示
+ 1163 - 938
src/pages/main/dialog/AssessmentDialog.vue


+ 367 - 348
src/pages/main/dialog/DoubleDialog.vue 查看文件

4
       <div class="DialogTit">
4
       <div class="DialogTit">
5
         <span @click="close()" class="iconfont">&#xe6e9;</span>
5
         <span @click="close()" class="iconfont">&#xe6e9;</span>
6
         <h1 class="name">双人查对</h1>
6
         <h1 class="name">双人查对</h1>
7
-        <span @click="commitInfo" class="success">完成</span>
7
+        <span @click="commitInfo" class="success">保存</span>
8
       </div>
8
       </div>
9
       <div style="height: 8rem" class="DialogContent choose">
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
           <el-form-item label="透析物品核查 : ">
11
           <el-form-item label="透析物品核查 : ">
12
             <el-radio v-model="doubleReview.dialysis_item_check" label="1">正确</el-radio>
12
             <el-radio v-model="doubleReview.dialysis_item_check" label="1">正确</el-radio>
13
             <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio>
13
             <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio>
14
           </el-form-item>
14
           </el-form-item>
15
-          <el-form-item label="差错描述 : " label-width="90px">
15
+          <el-form-item label="差错描述 : " label-width="160px">
16
             <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
16
             <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
17
           </el-form-item>
17
           </el-form-item>
18
         </el-form>
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
           <el-form-item label="透析参数核查 : ">
20
           <el-form-item label="透析参数核查 : ">
21
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="1">正确</el-radio>
21
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="1">正确</el-radio>
22
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio>
22
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio>
23
           </el-form-item>
23
           </el-form-item>
24
-          <el-form-item label="差错描述 : " label-width="90px">
24
+          <el-form-item label="差错描述 : " label-width="160px">
25
             <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
25
             <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
26
           </el-form-item>
26
           </el-form-item>
27
         </el-form>
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
           <el-form-item label="血管通路核查 : ">
29
           <el-form-item label="血管通路核查 : ">
30
             <!--<el-radio-group v-model="form.appetite">-->
30
             <!--<el-radio-group v-model="form.appetite">-->
31
             <!--<el-radio label="正确"></el-radio>-->
31
             <!--<el-radio label="正确"></el-radio>-->
33
             <!--</el-radio-group>-->
33
             <!--</el-radio-group>-->
34
             <el-radio v-model="doubleReview.vascular_access_verification" label="1">正确</el-radio>
34
             <el-radio v-model="doubleReview.vascular_access_verification" label="1">正确</el-radio>
35
             <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio>
35
             <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio>
36
-
37
           </el-form-item>
36
           </el-form-item>
38
-          <el-form-item label="差错描述 : " label-width="90px">
37
+          <el-form-item label="差错描述 : " label-width="160px">
39
             <el-input v-model="doubleReview.vascular_access_desc"></el-input>
38
             <el-input v-model="doubleReview.vascular_access_desc"></el-input>
40
           </el-form-item>
39
           </el-form-item>
41
         </el-form>
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
           <el-form-item label="管道连接核查 : ">
42
           <el-form-item label="管道连接核查 : ">
44
             <!--<el-radio-group v-model="form.condition">-->
43
             <!--<el-radio-group v-model="form.condition">-->
45
             <el-radio v-model="doubleReview.pipeline_connection_check" label="1">正确</el-radio>
44
             <el-radio v-model="doubleReview.pipeline_connection_check" label="1">正确</el-radio>
46
             <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio>
45
             <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio>
47
             <!--</el-radio-group>-->
46
             <!--</el-radio-group>-->
48
           </el-form-item>
47
           </el-form-item>
49
-          <el-form-item label="差错描述 : " label-width="90px">
48
+          <el-form-item label="差错描述 : " label-width="160px">
50
             <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
49
             <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
51
           </el-form-item>
50
           </el-form-item>
52
-
53
         </el-form>
51
         </el-form>
54
 
52
 
55
         <div class="item">
53
         <div class="item">
56
           <h2 class="name">核对时间</h2>
54
           <h2 class="name">核对时间</h2>
57
           <div class="content">
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
             <span class="iconfont">&#xe6f9;</span>
61
             <span class="iconfont">&#xe6f9;</span>
60
           </div>
62
           </div>
61
         </div>
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
         </el-form>
74
         </el-form>
68
 
75
 
69
         <!-- <div class="button">
76
         <!-- <div class="button">
70
           <button @click="commitInfo" class="submitButton">提交</button>
77
           <button @click="commitInfo" class="submitButton">提交</button>
71
-      </div> -->
78
+        </div>-->
72
         <!--<div class="footer">-->
79
         <!--<div class="footer">-->
73
         <!--处方医生:黄梦燕  医生-->
80
         <!--处方医生:黄梦燕  医生-->
74
         <!--</div>-->
81
         <!--</div>-->
75
       </div>
82
       </div>
76
       <!-- <div class="footer">
83
       <!-- <div class="footer">
77
           处方医生:黄梦燕  护士
84
           处方医生:黄梦燕  护士
78
-      </div> -->
85
+      </div>-->
79
     </div>
86
     </div>
80
     <mt-datetime-picker
87
     <mt-datetime-picker
81
       ref="start_time_picker"
88
       ref="start_time_picker"
84
       v-model="check_time"
91
       v-model="check_time"
85
     ></mt-datetime-picker>
92
     ></mt-datetime-picker>
86
   </div>
93
   </div>
87
-
88
 </template>
94
 </template>
89
 
95
 
90
 <script>
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
         } else {
284
         } else {
315
-
316
           let time = uParseTime(
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
           if (
294
           if (
326
             this.admin_users == null ||
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
           if (leng == 0) {
302
           if (leng == 0) {
334
-            return ''
303
+            return "";
335
           }
304
           }
336
 
305
 
337
           for (let index = 0; index < leng; index++) {
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
           let time = uParseTime(
355
           let time = uParseTime(
412
             this.doubleReview.check_time,
356
             this.doubleReview.check_time,
413
-            '{y}-{m}-{d} {h}:{i}'
414
-          )
357
+            "{y}-{m}-{d} {h}:{i}"
358
+          );
415
           if (this.doubleReview.modifier <= 0) {
359
           if (this.doubleReview.modifier <= 0) {
416
-            return ''
360
+            return "";
417
           }
361
           }
418
-          var desc = ''
362
+          var desc = "";
419
           if (
363
           if (
420
             this.admin_users == null ||
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
           if (leng == 0) {
370
           if (leng == 0) {
427
-            return desc
371
+            return desc;
428
           }
372
           }
429
           for (let index = 0; index < leng; index++) {
373
           for (let index = 0; index < leng; index++) {
430
             if (this.admin_users[index].id == this.doubleReview.modifier) {
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
       } else {
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
 </script>
463
 </script>
458
 
464
 
459
 <style style="stylesheet/scss" lang="scss" scoped>
465
 <style style="stylesheet/scss" lang="scss" scoped>
460
-  .choose {
466
+.choose {
461
   .demo-form-inline {
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
   .button {
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
 </style>
507
 </style>
489
 
508
 

文件差异内容过多而无法显示
+ 810 - 570
src/pages/main/dialog/MonitDialog.vue


+ 5 - 5
src/pages/main/dialog/OrdersDialog.vue 查看文件

48
         <div class="content clearfix">
48
         <div class="content clearfix">
49
           <table class="table">
49
           <table class="table">
50
             <tr @click="cancelAdviceSelect">
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
               <th width="40%">医嘱内容</th>
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
               <th v-if="template_id != 6" width="10%">核对人员</th>
56
               <th v-if="template_id != 6" width="10%">核对人员</th>
57
             </tr>
57
             </tr>
58
             <template v-for="(group, group_index) in advice_groups">
58
             <template v-for="(group, group_index) in advice_groups">
1491
   display: flex;
1491
   display: flex;
1492
   flex-wrap: wrap;
1492
   flex-wrap: wrap;
1493
   span {
1493
   span {
1494
-    width: 16%;
1494
+    width: 18%;
1495
     @media only screen and (max-width: 415px) {
1495
     @media only screen and (max-width: 415px) {
1496
       padding: 0;
1496
       padding: 0;
1497
     }
1497
     }

+ 30 - 7
src/pages/main/dialog/PrescriptionDialog.vue 查看文件

4
     <div v-if="isShowDialog" class="Dialog">
4
     <div v-if="isShowDialog" class="Dialog">
5
       <div class="DialogTit">
5
       <div class="DialogTit">
6
         <span @click="close()" class="iconfont">&#xe6e9;</span>
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
         <span @click="commitInfo" class="success" v-if="!isPermission()"></span>
10
         <span @click="commitInfo" class="success" v-if="!isPermission()"></span>
11
 
11
 
12
       </div>
12
       </div>
13
 
13
 
14
-      <div class="DialogContent" id="dialogTop">
14
+      <div class="DialogContent newDialogContent" id="dialogTop">
15
+        <div>
15
         <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
16
         <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
16
           <label class="name" for="txms">透析模式</label>
17
           <label class="name" for="txms">透析模式</label>
17
           <div class="content">
18
           <div class="content">
279
           <textarea class="textarea" id="bz" placeholder="请输入内容" v-model="dialysisPrescription.remark"
280
           <textarea class="textarea" id="bz" placeholder="请输入内容" v-model="dialysisPrescription.remark"
280
                     @focus="lastInputFocus" @blur="lastInputBlur"></textarea>
281
                     @focus="lastInputFocus" @blur="lastInputBlur"></textarea>
281
         </div>
282
         </div>
282
-
283
+        </div>
283
         <!--<div class="footer">-->
284
         <!--<div class="footer">-->
284
         <!--处方医生:刘小军 医生-->
285
         <!--处方医生:刘小军 医生-->
285
         <!--</div>-->
286
         <!--</div>-->
311
     <long-advice-sub-menu :visibility="advice_visibility" v-on:menu-cancle-three="menuCancleThree"
312
     <long-advice-sub-menu :visibility="advice_visibility" v-on:menu-cancle-three="menuCancleThree"
312
                           v-on:menu-comfirm-three="menuComfirmThree" :propsForm="advicePropForm"></long-advice-sub-menu>
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
              :last_predialysis="last_predialysis"
316
              :last_predialysis="last_predialysis"
316
              :record="record"
317
              :record="record"
317
              :last_record="last_record"
318
              :last_record="last_record"
1883
   height: 2.4rem;
1884
   height: 2.4rem;
1884
   line-height: 0.6rem;
1885
   line-height: 0.6rem;
1885
   color: $pgh-color;
1886
   color: $pgh-color;
1886
-  font-size: 0.28rem;
1887
+  font-size: 0.45rem;
1887
   padding-left: 0.36rem;
1888
   padding-left: 0.36rem;
1888
   border: none;
1889
   border: none;
1889
   border-bottom: 1px #e5e5e5 solid;
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
 </style>
1915
 </style>
1893
 
1916
 

文件差异内容过多而无法显示
+ 1166 - 993
src/pages/main/dialog/ThorougDialog.vue


+ 136 - 105
src/pages/main/dialog/TreatmentDialog.vue 查看文件

1
 <template>
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
                   <el-option v-for="(s, index) in teach" :label="s.text" :value="s.value" :key="index"></el-option>
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
                            placeholder="请选择">
33
                            placeholder="请选择">
25
                   <el-option v-for="(s, index) in summary" :label="s.text" :value="s.value"
34
                   <el-option v-for="(s, index) in summary" :label="s.text" :value="s.value"
26
                              :key="index"></el-option>
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
               <button @click="commitInfo" class="submitButton">提交</button>
58
               <button @click="commitInfo" class="submitButton">提交</button>
39
-          </div> -->
40
-        </div>
59
+        </div>-->
60
+      </div>
41
     </div>
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
   </div>
69
   </div>
45
 </template>
70
 </template>
46
 
71
 
48
 import { commitTreatmentSummary } from "@/api/dialysis";
73
 import { commitTreatmentSummary } from "@/api/dialysis";
49
 import { Toast } from "vant";
74
 import { Toast } from "vant";
50
 import CheckBoxSubMenu from "./subMenu/checkBoxSubMenu";
75
 import CheckBoxSubMenu from "./subMenu/checkBoxSubMenu";
51
-import {getDataConfig} from '@/utils/data';
76
+import { getDataConfig } from "@/utils/data";
52
 
77
 
53
 export default {
78
 export default {
54
   name: "TreatmentDialog",
79
   name: "TreatmentDialog",
55
   data() {
80
   data() {
56
     return {
81
     return {
57
-      isShowDialog:true,
58
-      
82
+      isShowDialog: true,
83
+
59
       visibility: false,
84
       visibility: false,
60
       propForm: {
85
       propForm: {
61
-        title: '',
86
+        title: "",
62
         list: [],
87
         list: [],
63
         optionList: [],
88
         optionList: [],
64
         isMultiple: 2,
89
         isMultiple: 2,
65
         result: [], //选中的值
90
         result: [], //选中的值
66
         type: 1, //用来区分不同子菜单,方便对返回值进行赋值
91
         type: 1, //用来区分不同子菜单,方便对返回值进行赋值
67
-        selectId: 0,
92
+        selectId: 0
68
       },
93
       },
69
 
94
 
70
       dialysisSummary: {
95
       dialysisSummary: {
71
         text: "",
96
         text: "",
72
         propagandaAndEducationContent: "",
97
         propagandaAndEducationContent: "",
73
-        propagandaAndEducationContentSelect:'',
98
+        propagandaAndEducationContentSelect: "",
74
         text2: "",
99
         text2: "",
75
         summaryContent: "",
100
         summaryContent: "",
76
         summaryContentSelect: "",
101
         summaryContentSelect: "",
83
       summary: [],
108
       summary: [],
84
       summaryObj: {},
109
       summaryObj: {},
85
       teach: [],
110
       teach: [],
86
-      teachObj:{},
111
+      teachObj: {},
87
       title: "治疗小结 ",
112
       title: "治疗小结 ",
88
-      record_date:"",
113
+      record_date: "",
89
       patient: {
114
       patient: {
90
         id: 0
115
         id: 0
91
       }
116
       }
101
   },
126
   },
102
   created() {
127
   created() {
103
     // this.summary = this.$store.getters.summary;
128
     // this.summary = this.$store.getters.summary;
104
-    this.summary = getDataConfig('summary','summary');
129
+    this.summary = getDataConfig("summary", "summary");
105
     // console.log("this.summary",this.summary)
130
     // console.log("this.summary",this.summary)
106
     // this.teach = this.$store.getters.teach;
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
       var tlen = this.teach.length;
135
       var tlen = this.teach.length;
111
       for (let index = 0; index < tlen; index++) {
136
       for (let index = 0; index < tlen; index++) {
112
         this.teach[index].name = this.teach[index].text;
137
         this.teach[index].name = this.teach[index].text;
113
         this.teachObj[this.teach[index].id] = this.teach[index];
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
       var tlen = this.summary.length;
142
       var tlen = this.summary.length;
118
       for (let index = 0; index < tlen; index++) {
143
       for (let index = 0; index < tlen; index++) {
119
         this.summary[index].name = this.summary[index].text;
144
         this.summary[index].name = this.summary[index].text;
134
       m = newDate.getMonth() + 1;
159
       m = newDate.getMonth() + 1;
135
       d = newDate.getDate();
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
     // this.patient.id = this.patient_prop.id
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
       // for (const key in this.record) {
167
       // for (const key in this.record) {
142
       //   this.dialysisSummary[key] = this.record[key];
168
       //   this.dialysisSummary[key] = this.record[key];
143
       // }
169
       // }
147
       // if(this.record.dialysis_summary != 'undefined'){
173
       // if(this.record.dialysis_summary != 'undefined'){
148
       //   this.dialysisSummary.summaryContent = this.record.dialysis_summary
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
   methods: {
180
   methods: {
157
     lastInputFocus: function(event) {
181
     lastInputFocus: function(event) {
167
         input.style.marginBottom = "";
191
         input.style.marginBottom = "";
168
       }, 0);
192
       }, 0);
169
     },
193
     },
170
-    showSubMenu: function (val) {
194
+    showSubMenu: function(val) {
171
       switch (val) {
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
           this.propForm.optionList = this.teach;
202
           this.propForm.optionList = this.teach;
179
           this.propForm.isMultiple = 1;
203
           this.propForm.isMultiple = 1;
180
           this.propForm.selectId = this.dialysisSummary.xjid;
204
           this.propForm.selectId = this.dialysisSummary.xjid;
181
           break;
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
           this.propForm.optionList = this.summary;
212
           this.propForm.optionList = this.summary;
189
           this.propForm.isMultiple = 1;
213
           this.propForm.isMultiple = 1;
190
           this.propForm.selectId = this.dialysisSummary.xxjid;
214
           this.propForm.selectId = this.dialysisSummary.xxjid;
191
           break;
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
       switch (val.type) {
225
       switch (val.type) {
204
         case 1:
226
         case 1:
205
-          if(val.selectId in this.teachObj) {
227
+          if (val.selectId in this.teachObj) {
206
             var theValue = this.teachObj[val.selectId].value;
228
             var theValue = this.teachObj[val.selectId].value;
207
             this.dialysisAfterTeachSelectChange(theValue);
229
             this.dialysisAfterTeachSelectChange(theValue);
208
             this.dialysisSummary.xjid = val.selectId;
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
         case 2:
236
         case 2:
213
-          if(val.selectId in this.summaryObj) {
237
+          if (val.selectId in this.summaryObj) {
214
             var theValue = this.summaryObj[val.selectId].value;
238
             var theValue = this.summaryObj[val.selectId].value;
215
             this.dialysisSummarySelectChange(theValue);
239
             this.dialysisSummarySelectChange(theValue);
216
             this.dialysisSummary.xxjid = val.selectId;
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
     dialysisSummarySelectChange: function(values) {
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
       if (this.dialysisSummary.summaryContent == "") {
254
       if (this.dialysisSummary.summaryContent == "") {
247
       }
272
       }
248
     },
273
     },
249
     dialysisAfterTeachSelectChange: function(values) {
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
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
278
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
254
         this.dialysisSummary.propagandaAndEducationContent = values;
279
         this.dialysisSummary.propagandaAndEducationContent = values;
255
       } else {
280
       } else {
256
-        if (this.dialysisSummary.propagandaAndEducationContent.indexOf(values) == -1) {
281
+        if (
282
+          this.dialysisSummary.propagandaAndEducationContent.indexOf(values) ==
283
+          -1
284
+        ) {
257
           if (
285
           if (
258
             this.dialysisSummary.propagandaAndEducationContent
286
             this.dialysisSummary.propagandaAndEducationContent
259
               .charAt(
287
               .charAt(
271
       }
299
       }
272
     },
300
     },
273
     commitInfo: function() {
301
     commitInfo: function() {
274
-      Toast.loading({forbidClick: true, duration: 0})
302
+      Toast.loading({ forbidClick: true, duration: 0 });
275
       let ParamsQuery = this.dialysisSummary;
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
       commitTreatmentSummary(ParamsQuery).then(response => {
306
       commitTreatmentSummary(ParamsQuery).then(response => {
279
         if (response.data.state == 0) {
307
         if (response.data.state == 0) {
280
           Toast.fail(response.data.msg);
308
           Toast.fail(response.data.msg);
284
 
312
 
285
           this.$emit("did_update", response.data.data.summary);
313
           this.$emit("did_update", response.data.data.summary);
286
           for (const key in response.data.data.summary) {
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
     close: function() {
320
     close: function() {
293
       this.$emit("close");
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
 </script>
339
 </script>
313
 
340
 
328
     }
355
     }
329
   }
356
   }
330
 }
357
 }
331
-
358
+</style>
359
+<style lang="scss">
360
+.newTextarea {
361
+  font-size: 0.45rem;
362
+}
332
 </style>
363
 </style>
333
 
364
 

+ 9 - 11
src/pages/main/dialog/TwoMenu.vue 查看文件

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

+ 3 - 3
src/pages/main/dialog/new_order/AddNewOrders.vue 查看文件

36
           </div>
36
           </div>
37
           <table class="table">
37
           <table class="table">
38
             <tr>
38
             <tr>
39
-              <th width="30%">医嘱内容</th>
39
+              <th width="26%">医嘱内容</th>
40
               <th width="20%">药品规格</th>
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
               <th width="15%">给药途径</th>
43
               <th width="15%">给药途径</th>
44
               <th width="15%">执行频率</th>
44
               <th width="15%">执行频率</th>
45
             </tr>
45
             </tr>

+ 17 - 18
src/pages/main/dialog/new_order/select_advice_template_dialog.vue 查看文件

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

+ 8 - 17
src/pages/main/dialog/subMenu/checkBoxSubMenu.vue 查看文件

5
         <span class="iconfont">&#xe720;</span>返回
5
         <span class="iconfont">&#xe720;</span>返回
6
       </div>
6
       </div>
7
       <h1 class="name">{{ propsForm.title }}</h1>
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
     </div>
10
     </div>
17
 
11
 
18
     <div v-if="propsForm.isMultiple == 1" class="optionsBox">
12
     <div v-if="propsForm.isMultiple == 1" class="optionsBox">
25
             :key="item.id"
19
             :key="item.id"
26
             value="item"
20
             value="item"
27
             :class="propsForm.selectId == item.id ? 'tick' : ''"
21
             :class="propsForm.selectId == item.id ? 'tick' : ''"
28
-          >
29
-            {{ item.name }}
30
-          </li>
22
+          >{{ item.name }}</li>
31
           <!--<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>-->
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
         </ul>
24
         </ul>
33
       </div>
25
       </div>
42
               v-for="(item, index) in propsForm.list"
34
               v-for="(item, index) in propsForm.list"
43
               :key="index"
35
               :key="index"
44
               :name="item.name"
36
               :name="item.name"
45
-              >{{ item.name }}</van-checkbox
46
-            >
37
+            >{{ item.name }}</van-checkbox>
47
           </van-checkbox-group>
38
           </van-checkbox-group>
48
         </li>
39
         </li>
49
       </ul>
40
       </ul>
139
       max-height: 16rem;
130
       max-height: 16rem;
140
     }
131
     }
141
     li {
132
     li {
142
-      height: 1.1rem;
143
-      line-height: 1.1rem;
133
+      height: 1.2rem;
134
+      line-height: 1.2rem;
144
       border-bottom: 1px #e5e5e5 solid;
135
       border-bottom: 1px #e5e5e5 solid;
145
       padding: 0 0.38rem;
136
       padding: 0 0.38rem;
146
-      font-size: 0.36rem;
137
+      font-size: 0.45rem;
147
       color: $title-color;
138
       color: $title-color;
148
     }
139
     }
149
     .tick {
140
     .tick {
182
   }
173
   }
183
   ul {
174
   ul {
184
     li {
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 查看文件

65
         </li>
65
         </li>
66
       </ul>
66
       </ul>
67
     </div>
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
       <table class="table" style>
69
       <table class="table" style>
70
         <tr>
70
         <tr>
71
-          <!-- <th width="150px">序号</th> -->
72
           <th width="177px">期效</th>
71
           <th width="177px">期效</th>
73
 
72
 
74
           <th width="334px">开始时间</th>
73
           <th width="334px">开始时间</th>
86
           <th width="177px">校对护士</th>
85
           <th width="177px">校对护士</th>
87
           <th width="177px">校对时间</th>
86
           <th width="177px">校对时间</th>
88
 
87
 
89
-          <!-- <th width="200px">备注</th> -->
90
           <th width="177px">停止时间</th>
88
           <th width="177px">停止时间</th>
91
           <th width="177px">停止原因</th>
89
           <th width="177px">停止原因</th>
92
           <th width="177px">停嘱医生</th>
90
           <th width="177px">停嘱医生</th>
94
         </tr>
92
         </tr>
95
         <template v-for="(group, group_index) in advice_groups">
93
         <template v-for="(group, group_index) in advice_groups">
96
           <tr v-for="(advice, advice_index) in group.advices" :key="advice.id">
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
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
96
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
102
               <span v-if="advice.advice_type == 1">长嘱</span>
97
               <span v-if="advice.advice_type == 1">长嘱</span>
156
               :rowspan="group.advices.length"
151
               :rowspan="group.advices.length"
157
             >{{ parseTime(advice.check_time, "{m}-{d}{h}:{i}") }}</td>
152
             >{{ parseTime(advice.check_time, "{m}-{d}{h}:{i}") }}</td>
158
 
153
 
159
-            <!-- <td>{{ advice.remark }}</td> -->
154
+
160
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
155
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
161
               {{ advice.stop_state == 1 && advice.parent_id
156
               {{ advice.stop_state == 1 && advice.parent_id
162
               == 0 ? parseTime(advice.stop_time, '{y}-{m}-{d} {h}:{i}') : '' }}
157
               == 0 ? parseTime(advice.stop_time, '{y}-{m}-{d} {h}:{i}') : '' }}
194
             </td>
189
             </td>
195
           </tr>
190
           </tr>
196
         </template>
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
       </table>
193
       </table>
235
-      <!--<div class="NoData" v-show="tableDate.length == 0"><img src="@/assets/login/data.jpg" alt=""></div>-->
236
       <div class="NoData" v-show="advice_groups.length == 0">
194
       <div class="NoData" v-show="advice_groups.length == 0">
237
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
195
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
238
       </div>
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
     <mt-datetime-picker
233
     <mt-datetime-picker
241
       ref="start_date_picker"
234
       ref="start_date_picker"
242
       type="date"
235
       type="date"
540
       modify_advice_context: {
533
       modify_advice_context: {
541
         group_index: -1,
534
         group_index: -1,
542
         advice_index: -1
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
   methods: {
573
   methods: {

+ 23 - 8
src/pages/main/dialysis/CheckTab.vue 查看文件

105
   // @media only screen and (min-width: 415px) and (max-width: 736px) {
105
   // @media only screen and (min-width: 415px) and (max-width: 736px) {
106
   //   top: 88px !important;
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
   right: 0;
120
   right: 0;
118
   z-index: 55;
121
   z-index: 55;
119
   left: 0;
122
   left: 0;
182
     transform: translateX(75.25px) !important;
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
 </style>
200
 </style>

+ 8 - 2
src/pages/main/dialysis/DialysisTab.vue 查看文件

62
   // @media only screen and (min-width: 376px) and (max-width: 737px) {
62
   // @media only screen and (min-width: 376px) and (max-width: 737px) {
63
   //   padding-top: 46px;
63
   //   padding-top: 46px;
64
   // }
64
   // }
65
+  @media only screen and (min-width: 768px) {
66
+    padding-top: 75px;
67
+  }
65
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
68
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
66
     padding-top: 74px;
69
     padding-top: 74px;
67
   }
70
   }
69
     border-bottom: 1px #e5e5e5 solid;
72
     border-bottom: 1px #e5e5e5 solid;
70
     position: fixed;
73
     position: fixed;
71
     top: 45px;
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
     // @media only screen and (min-width: 376px) and (max-width: 668px) {
81
     // @media only screen and (min-width: 376px) and (max-width: 668px) {
76
     //   top: 50px;
82
     //   top: 50px;
77
     // }
83
     // }

+ 9 - 6
src/pages/main/dialysis/InspectionItemTable.vue 查看文件

300
 .van-list {
300
 .van-list {
301
   background: #fff;
301
   background: #fff;
302
   min-height: calc(100vh - 178px);
302
   min-height: calc(100vh - 178px);
303
-  margin-top: 76px;
303
+  margin-top: 66px;
304
   // @media only screen and (min-width: 376px) and (max-width: 668px) {
304
   // @media only screen and (min-width: 376px) and (max-width: 668px) {
305
   //   margin-top: 84px;
305
   //   margin-top: 84px;
306
   // }
306
   // }
310
   // @media only screen and (max-width: 812px) {
310
   // @media only screen and (max-width: 812px) {
311
   //   margin-top: 80px !important;
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
 </style>
323
 </style>
321
 
324
 

+ 61 - 4
src/pages/main/dialysis/LongTable.vue 查看文件

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div class="blueBorder"></div>
3
     <div class="blueBorder"></div>
4
-    <div class="tableTit">
4
+    <!-- <div class="tableTit">
5
       <ul>
5
       <ul>
6
         <li
6
         <li
7
           v-for="(item,index) in ['序号','透析模式','透析时长','医生','更新日期','操作']"
7
           v-for="(item,index) in ['序号','透析模式','透析时长','医生','更新日期','操作']"
8
           :key="index"
8
           :key="index"
9
           :value="item.value"
9
           :value="item.value"
10
         >{{item}}</li>
10
         >{{item}}</li>
11
-        <!-- <li v-for="(item,index) in ['序号','透析模式','透析时长','医生','更新日期']" :key="index" :value="item.value" >{{item}}</li> -->
12
       </ul>
11
       </ul>
13
     </div>
12
     </div>
14
     <div class="tableDate">
13
     <div class="tableDate">
29
       <div class="NoData" v-show="tableDate.length == 0">
28
       <div class="NoData" v-show="tableDate.length == 0">
30
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
29
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
31
       </div>
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
     </div>
45
     </div>
33
-
34
     <van-popup
46
     <van-popup
35
       title="透析处方"
47
       title="透析处方"
36
       v-model="showObj.showPopup"
48
       v-model="showObj.showPopup"
404
       anticoagulantsConfit: {},
416
       anticoagulantsConfit: {},
405
       timeValue: "",
417
       timeValue: "",
406
       time: "03:00",
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
   methods: {
457
   methods: {
793
   }
840
   }
794
 }
841
 }
795
 </style>
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 查看文件

44
         </ul>
44
         </ul>
45
       </div>
45
       </div>
46
       <div class="blueBorder"></div>
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
         <table class="table" style>
48
         <table class="table" style>
49
           <tr>
49
           <tr>
50
             <th width="124px">透析日期</th>
50
             <th width="124px">透析日期</th>
80
             <td>{{item.assessment_after_dislysis.systolic_blood_pressure?item.assessment_after_dislysis.systolic_blood_pressure:""}}</td>
80
             <td>{{item.assessment_after_dislysis.systolic_blood_pressure?item.assessment_after_dislysis.systolic_blood_pressure:""}}</td>
81
             <td>{{item.predialysis_evaluation.ultrafiltration_amount?item.predialysis_evaluation.ultrafiltration_amount:""}}</td>
81
             <td>{{item.predialysis_evaluation.ultrafiltration_amount?item.predialysis_evaluation.ultrafiltration_amount:""}}</td>
82
             <td>{{setAnticoagulantsConfit(item.prescription)}}</td>
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
             <td>{{getName(item.treatment_summary.zl_nurse)}}</td>
83
             <td>{{getName(item.treatment_summary.zl_nurse)}}</td>
86
             <td>{{getName(item.treatment_summary.zl_doctor)}}</td>
84
             <td>{{getName(item.treatment_summary.zl_doctor)}}</td>
87
           </tr>
85
           </tr>
88
         </table>
86
         </table>
89
-        <!--<div class="NoData" v-show="tableDate.length == 0"><img src="@/assets/login/data.jpg" alt=""></div>-->
90
         <div class="NoData" v-show="tableDate.length == 0">
87
         <div class="NoData" v-show="tableDate.length == 0">
91
           <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
88
           <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
92
         </div>
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
     </van-list>
108
     </van-list>
95
 
109
 
96
     <mt-datetime-picker
110
     <mt-datetime-picker
195
         limit: 15
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
   methods: {
250
   methods: {
456
   overflow-y: scroll;
505
   overflow-y: scroll;
457
 }
506
 }
458
 </style>
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 查看文件

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

+ 5 - 0
src/pages/main/today/TodayTab.vue 查看文件

1604
   z-index: 999;
1604
   z-index: 999;
1605
 }
1605
 }
1606
 </style>
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 查看文件

8
 
8
 
9
     <div class="ui-step clearfix">
9
     <div class="ui-step clearfix">
10
       <ul class="ui-step-ul">
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
           <div
12
           <div
17
             class="ui-step-number"
13
             class="ui-step-number"
18
             :style="
14
             :style="
218
           font-weight: normal;
214
           font-weight: normal;
219
           @media only screen and (max-width: 415px) {
215
           @media only screen and (max-width: 415px) {
220
             width: 1rem;
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
         .ui-step-number {
224
         .ui-step-number {

+ 32 - 21
src/pages/monitoring/index.vue 查看文件

168
           />
168
           />
169
         </div>
169
         </div>
170
       </van-list>-->
170
       </van-list>-->
171
-      <el-table :data="tableData" border style="width: 100%" class="newTable">
172
-        <el-table-column fixed prop="date" label="姓名" width="100"></el-table-column>
173
-        <el-table-column prop="name" label="机号" width="100"></el-table-column>
174
-        <el-table-column prop="province" label="透析号" width="100"></el-table-column>
175
-        <el-table-column prop="city" label="排班时间" width="100"></el-table-column>
176
-        <el-table-column prop="address" label="透析模式" width="200"></el-table-column>
177
-        <el-table-column prop="zip" label="脱水量" width="100"></el-table-column>
178
-        <el-table-column prop="zip" label="体重(透前/透后)" width="150"></el-table-column>
179
-        <el-table-column prop="zip" label="监控预警(血压/心率)" width="200"></el-table-column>
180
-      </el-table>
171
+      <div class="monitoringTable">
172
+        <el-table :data="tableData" border style="width: 100%" class="newTable">
173
+          <el-table-column fixed prop="date" label="姓名" width="100"></el-table-column>
174
+          <el-table-column prop="name" label="机号" width="100"></el-table-column>
175
+          <el-table-column prop="province" label="透析号" width="100"></el-table-column>
176
+          <el-table-column prop="city" label="排班时间" width="100"></el-table-column>
177
+          <el-table-column prop="address" label="透析模式" width="200"></el-table-column>
178
+          <el-table-column prop="zip" label="脱水量" width="100"></el-table-column>
179
+          <el-table-column prop="zip" label="体重(透前/透后)" width="150"></el-table-column>
180
+          <el-table-column prop="zip" label="监控预警(血压/心率)" width="200"></el-table-column>
181
+        </el-table>
182
+      </div>
181
     </div>
183
     </div>
182
     <side-bar :active_index="1"></side-bar>
184
     <side-bar :active_index="1"></side-bar>
183
     <mt-datetime-picker
185
     <mt-datetime-picker
574
   // @media only screen and (max-width: 415px) {
576
   // @media only screen and (max-width: 415px) {
575
   //   top: 38px !important;
577
   //   top: 38px !important;
576
   // }
578
   // }
577
-  @media only screen and (min-width: 813px) and (max-width: 1024px) {
578
-    top: 38px !important;
579
+  // @media only screen and (min-width: 813px) and (max-width: 1024px) {
580
+  //   top: 38px !important;
581
+  // }
582
+  @media only screen and (min-width: 768px) {
583
+    top: 80px !important;
579
   }
584
   }
580
   ul {
585
   ul {
581
     @include display-flex;
586
     @include display-flex;
592
       @include align-items-center;
597
       @include align-items-center;
593
       @include text-align;
598
       @include text-align;
594
       @include justify-content-between;
599
       @include justify-content-between;
595
-      padding: 0.3rem 0;
600
+      padding: 0 0 0.3rem;
596
 
601
 
597
       .iconfont {
602
       .iconfont {
598
         margin: 0 0.1rem;
603
         margin: 0 0.1rem;
604
+        color: #fff;
599
       }
605
       }
600
       .line {
606
       .line {
601
         background: #a8b3ba;
607
         background: #a8b3ba;
665
   line-height: 1rem;
671
   line-height: 1rem;
666
   font-size: 0.45rem;
672
   font-size: 0.45rem;
667
 }
673
 }
668
-.newTable {
669
-  margin-top: 90px;
670
-}
671
-.el-table td {
672
-  padding: 0;
673
-}
674
-.el-table th {
675
-  padding: 6px 0;
674
+.monitoringTable {
675
+  .newTable {
676
+    margin-top: 90px;
677
+    @media only screen and (min-width: 768px) {
678
+      margin-top: 140px !important;
679
+    }
680
+  }
681
+  .el-table td {
682
+    padding: 0;
683
+  }
684
+  .el-table th {
685
+    padding: 6px 0;
686
+  }
676
 }
687
 }
677
 </style>
688
 </style>

+ 3 - 0
src/pages/personal/ChangePassword.vue 查看文件

1
+<template>
2
+  <div>12</div>
3
+</template>

+ 127 - 0
src/pages/personal/ForgetPassword.vue 查看文件

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 查看文件

1
 <template>
1
 <template>
2
   <div class="mainBox">
2
   <div class="mainBox">
3
     <div class="mainContent">
3
     <div class="mainContent">
4
-      <h1 class="title">我的</h1>
4
+      <!-- <h1 class="title">我的</h1>
5
       <div class="information">
5
       <div class="information">
6
         <div class="blueBorder"></div>
6
         <div class="blueBorder"></div>
7
         <div class="name">
7
         <div class="name">
8
-          <!--<router-link to="/EditPersonal">-->
8
+          <router-link to="/EditPersonal">
9
           <div class="item">
9
           <div class="item">
10
             <div class="tx">
10
             <div class="tx">
11
               <img :src="myinfo.avatar" alt v-if="myinfo.avatar != ''" />
11
               <img :src="myinfo.avatar" alt v-if="myinfo.avatar != ''" />
12
               <img :src="avatar" alt v-if="myinfo.avatar == ''" />
12
               <img :src="avatar" alt v-if="myinfo.avatar == ''" />
13
             </div>
13
             </div>
14
-            <!--<span class="iconfont">&#xe6f9;</span>-->
14
+            <span class="iconfont">&#xe6f9;</span>
15
           </div>
15
           </div>
16
-          <!--</router-link>-->
16
+          </router-link>
17
         </div>
17
         </div>
18
         <div class="name">
18
         <div class="name">
19
           <router-link to="/ElectronicSignature">
19
           <router-link to="/ElectronicSignature">
26
             </div>
26
             </div>
27
           </router-link>
27
           </router-link>
28
         </div>
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
         <div class="set" v-show="false">
29
         <div class="set" v-show="false">
40
           <div class="item">
30
           <div class="item">
41
             <div class="tx">
31
             <div class="tx">
76
         <div class="set">
66
         <div class="set">
77
           <span class="out" @click="logout">退出登录</span>
67
           <span class="out" @click="logout">退出登录</span>
78
         </div>
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
       </div>
104
       </div>
80
     </div>
105
     </div>
81
     <side-bar :active_index="3"></side-bar>
106
     <side-bar :active_index="3"></side-bar>
241
     flex: 1;
266
     flex: 1;
242
     overflow: auto;
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
 </style>
342
 </style>

+ 50 - 41
src/router/index.js 查看文件

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
 export default new Router({
6
 export default new Router({
7
   routes: [
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 查看文件

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