Bladeren bron

修改样式

See999 4 jaren geleden
bovenliggende
commit
f8668b6e64

BIN
src/assets/images/aboutBanner.png Bestand weergeven


+ 0 - 1
src/pages/doctorAdvice/components/DoctorManagement.vue Bestand weergeven

@@ -130,7 +130,6 @@ export default {
130 130
   data() {
131 131
     return {
132 132
       loading: false,
133
-      onLoad: false,
134 133
       finished: false,
135 134
       newShow: false,
136 135
       typeShow: false,

+ 97 - 0
src/pages/my/aboutUs.vue Bestand weergeven

@@ -0,0 +1,97 @@
1
+<template>
2
+  <div class="page_aboutUs">
3
+    <div class="aboutUsTitle">
4
+      <i class="iconfont icon-zuojiantou jiantou"></i>
5
+      <span class="titleName">关于我们</span>
6
+    </div>
7
+    <div class="aboutImg">
8
+      <img src="../../assets/images/aboutBanner.png" alt="" />
9
+    </div>
10
+    <div class="aboutBox">
11
+      <div class="aboutBoxOne">
12
+        <p>公司介绍</p>
13
+        <div>
14
+          <van-icon class="arrow" name="arrow" />
15
+        </div>
16
+      </div>
17
+      <div class="aboutBoxOne">
18
+        <p>隐私政策</p>
19
+        <div>
20
+          <van-icon class="arrow" name="arrow" />
21
+        </div>
22
+      </div>
23
+      <div class="aboutBoxOne">
24
+        <p>用户协议</p>
25
+        <div>
26
+          <van-icon class="arrow" name="arrow" />
27
+        </div>
28
+      </div>
29
+      <div class="aboutBoxOne">
30
+        <p>检查更新</p>
31
+        <div class="aboutBoxRight">
32
+          <p>已是最新版本</p>
33
+          <van-icon class="arrow" name="arrow" />
34
+        </div>
35
+      </div>
36
+    </div>
37
+  </div>
38
+</template>
39
+
40
+<style lang="scss" scoped>
41
+.page_aboutUs {
42
+  height: 100%;
43
+  overflow: hidden;
44
+  .aboutUsTitle {
45
+    background: #fff;
46
+    padding: 0 1.125rem;
47
+    height: 3.125rem;
48
+    display: flex;
49
+    align-items: center;
50
+  }
51
+  .jiantou {
52
+    font-size: 1.5rem;
53
+    font-weight: 600;
54
+    margin-right: 7rem;
55
+  }
56
+  .titleName {
57
+    font-size: 1.125rem;
58
+    font-weight: 600;
59
+  }
60
+  .aboutImg {
61
+    padding: 0 0.75rem;
62
+    height: 10.0625rem;
63
+    margin: 1rem 0 0.3125rem;
64
+    img {
65
+      width: 100%;
66
+      height: 100%;
67
+    }
68
+  }
69
+  .aboutBox {
70
+    .aboutBoxOne {
71
+      padding: 0 0.75rem;
72
+      height: 3.125rem;
73
+      display: flex;
74
+      align-items: center;
75
+      justify-content: space-between;
76
+      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
77
+      p {
78
+        font-size: 0.9375rem;
79
+        color: #313234;
80
+      }
81
+      .arrow {
82
+        color: #9f9f9f;
83
+      }
84
+      .aboutBoxRight {
85
+        display: flex;
86
+        align-items: center;
87
+
88
+        p {
89
+          font-size: 0.8125rem;
90
+          margin-right: 0.25rem;
91
+          color: #9f9f9f;
92
+        }
93
+      }
94
+    }
95
+  }
96
+}
97
+</style>

+ 115 - 0
src/pages/my/feedBack.vue Bestand weergeven

@@ -0,0 +1,115 @@
1
+<template>
2
+  <div class="page_feedBack">
3
+    <div class="feedBackTitle">
4
+      <i class="iconfont icon-zuojiantou jiantou"></i>
5
+      <span class="titleName">意见反馈</span>
6
+    </div>
7
+    <div class="feedBackTip">反馈内容</div>
8
+    <div class="feedBox">
9
+      <van-field
10
+        v-model="message"
11
+        rows="10"
12
+        autosize
13
+        type="textarea"
14
+        maxlength="200"
15
+        placeholder="请输入反馈信息..."
16
+        show-word-limit
17
+      />
18
+      <div class="uploaderBox">
19
+        <van-uploader v-model="fileList" multiple />
20
+      </div>
21
+    </div>
22
+    <div class="feedBackTip">
23
+      联系方式(手机号)<span style="color:#FF5400">*</span>
24
+    </div>
25
+    <div>
26
+      <van-field v-model="tel" type="tel" placeholder="请输入联系方式" />
27
+    </div>
28
+    <div>
29
+      <div class="submitBtn">提交反馈</div>
30
+      <!-- <div class="submitBtnSuccess">提交反馈</div> -->
31
+    </div>
32
+  </div>
33
+</template>
34
+
35
+<script>
36
+export default {
37
+  data() {
38
+    return {
39
+      message: "",
40
+      fileList: [],
41
+      tel: ""
42
+    };
43
+  }
44
+};
45
+</script>
46
+
47
+<style lang="scss" scoped>
48
+.page_feedBack {
49
+  height: 100%;
50
+  overflow: hidden;
51
+  overflow-y: auto;
52
+  .feedBackTitle {
53
+    background: #fff;
54
+    padding: 0 1.125rem;
55
+    height: 3.125rem;
56
+    display: flex;
57
+    align-items: center;
58
+  }
59
+  .jiantou {
60
+    font-size: 1.5rem;
61
+    font-weight: 600;
62
+    margin-right: 7rem;
63
+  }
64
+  .titleName {
65
+    font-size: 1.125rem;
66
+    font-weight: 600;
67
+  }
68
+  .aboutImg {
69
+    padding: 0 0.75rem;
70
+    height: 10.0625rem;
71
+    margin: 1rem 0 0.3125rem;
72
+    img {
73
+      width: 100%;
74
+      height: 100%;
75
+    }
76
+  }
77
+  .feedBackTip {
78
+    height: 2.375rem;
79
+    line-height: 2.375rem;
80
+    padding-left: 0.75rem;
81
+    font-size: 0.75rem;
82
+    color: #696969;
83
+    background: #eeeeee;
84
+  }
85
+  .feedBox {
86
+    height: 20.875rem;
87
+    .uploaderBox {
88
+      margin: 1.25rem 0 0 1rem;
89
+    }
90
+  }
91
+  .submitBtn {
92
+    width: 80%;
93
+    height: 2.75rem;
94
+    line-height: 2.75rem;
95
+    text-align: center;
96
+    background: #c5c5c5;
97
+    color: #fff;
98
+    margin: 6.25rem auto 0;
99
+    border-radius: 1.875rem;
100
+  }
101
+  .submitBtnSuccess {
102
+    width: 80%;
103
+    height: 2.75rem;
104
+    line-height: 2.75rem;
105
+    text-align: center;
106
+    background: #338afb;
107
+    color: #fff;
108
+    margin: 6.25rem auto 0;
109
+    border-radius: 1.875rem;
110
+  }
111
+}
112
+::-webkit-scrollbar {
113
+  width: 0;
114
+}
115
+</style>

+ 63 - 46
src/pages/my/index.vue Bestand weergeven

@@ -2,37 +2,43 @@
2 2
   <div class="page_my">
3 3
     <div class="myTop">
4 4
       <img src="../../assets/images/myBanner.png" alt />
5
-      <div class="avatar">
6
-        <img src="../../assets/images/m01.png" alt />
7
-      </div>
8
-      <div class="userMain">
9
-        <div class="userBox">
10
-          <div class="userTxt">
11
-            <p class="userName">小可耐</p>
12
-            <p class="signature">一个无法用言语表达的好人</p>
5
+      <router-link to="/myInfo">
6
+        <div class="avatar">
7
+          <img src="../../assets/images/m01.png" alt />
8
+        </div>
9
+        <div class="userMain">
10
+          <div class="userBox">
11
+            <div class="userTxt">
12
+              <p class="userName">小可耐</p>
13
+              <p class="signature">一个无法用言语表达的好人</p>
14
+            </div>
15
+            <van-icon name="arrow" />
13 16
           </div>
14
-          <van-icon name="arrow" />
15 17
         </div>
16
-      </div>
18
+      </router-link>
17 19
       <div class="invitebox">
18 20
         <img src="../../assets/images/invite.png" alt />
19 21
       </div>
20
-      <div class="myInfo">
21
-        <div class="myInfoLeft">
22
-          <img src="../../assets/images/myIcon1.png" alt />
23
-          <p>我的信息</p>
22
+      <router-link to="/myInfo">
23
+        <div class="myInfo">
24
+          <div class="myInfoLeft">
25
+            <img src="../../assets/images/myIcon1.png" alt />
26
+            <p>我的信息</p>
27
+          </div>
28
+          <van-icon class="arrow" name="arrow" />
24 29
         </div>
25
-        <van-icon class="arrow" name="arrow" />
26
-      </div>
30
+      </router-link>
27 31
     </div>
28 32
     <div class="myBox">
29
-      <div class="myBoxOne">
30
-        <div class="myInfoLeft">
31
-          <img src="../../assets/images/myIcon2.png" alt />
32
-          <p>我的医院/组织/团队</p>
33
+      <router-link to="/organizationInfo">
34
+        <div class="myBoxOne">
35
+          <div class="myInfoLeft">
36
+            <img src="../../assets/images/myIcon2.png" alt />
37
+            <p>我的医院/组织/团队</p>
38
+          </div>
39
+          <van-icon class="arrow" name="arrow" />
33 40
         </div>
34
-        <van-icon class="arrow" name="arrow" />
35
-      </div>
41
+      </router-link>
36 42
       <div class="myBoxTwo">
37 43
         <div class="myInfoLeft">
38 44
           <img src="../../assets/images/m01.png" alt />
@@ -54,20 +60,24 @@
54 60
       </div>
55 61
     </div>
56 62
     <div class="myBox">
57
-      <div class="myBoxOne">
58
-        <div class="myInfoLeft">
59
-          <img src="../../assets/images/myIcon3.png" alt />
60
-          <p>创建医院/组织/团队</p>
63
+      <router-link to="/createorg">
64
+        <div class="myBoxOne">
65
+          <div class="myInfoLeft">
66
+            <img src="../../assets/images/myIcon3.png" alt />
67
+            <p>创建医院/组织/团队</p>
68
+          </div>
69
+          <van-icon class="arrow" name="arrow" />
61 70
         </div>
62
-        <van-icon class="arrow" name="arrow" />
63
-      </div>
64
-      <div class="myBoxOne">
65
-        <div class="myInfoLeft">
66
-          <img src="../../assets/images/myIcon4.png" alt />
67
-          <p>修改密码</p>
71
+      </router-link>
72
+      <router-link to="/forget">
73
+        <div class="myBoxOne">
74
+          <div class="myInfoLeft">
75
+            <img src="../../assets/images/myIcon4.png" alt />
76
+            <p>修改密码</p>
77
+          </div>
78
+          <van-icon class="arrow" name="arrow" />
68 79
         </div>
69
-        <van-icon class="arrow" name="arrow" />
70
-      </div>
80
+      </router-link>
71 81
     </div>
72 82
     <div class="myBox">
73 83
       <div class="myBoxOne">
@@ -77,20 +87,24 @@
77 87
         </div>
78 88
         <van-icon class="arrow" name="arrow" />
79 89
       </div>
80
-      <div class="myBoxOne">
81
-        <div class="myInfoLeft">
82
-          <img src="../../assets/images/myIcon6.png" alt />
83
-          <p>意见反馈</p>
90
+      <router-link to="/feedBack">
91
+        <div class="myBoxOne">
92
+          <div class="myInfoLeft">
93
+            <img src="../../assets/images/myIcon6.png" alt />
94
+            <p>意见反馈</p>
95
+          </div>
96
+          <van-icon class="arrow" name="arrow" />
84 97
         </div>
85
-        <van-icon class="arrow" name="arrow" />
86
-      </div>
87
-      <div class="myBoxOne">
88
-        <div class="myInfoLeft">
89
-          <img src="../../assets/images/myIcon7.png" alt />
90
-          <p>关于我们</p>
98
+      </router-link>
99
+      <router-link to="/about">
100
+        <div class="myBoxOne">
101
+          <div class="myInfoLeft">
102
+            <img src="../../assets/images/myIcon7.png" alt />
103
+            <p>关于我们</p>
104
+          </div>
105
+          <van-icon class="arrow" name="arrow" />
91 106
         </div>
92
-        <van-icon class="arrow" name="arrow" />
93
-      </div>
107
+      </router-link>
94 108
     </div>
95 109
     <div class="myBox">
96 110
       <div class="myBoxOne">
@@ -264,5 +278,8 @@
264 278
       }
265 279
     }
266 280
   }
281
+  a {
282
+    color: #000;
283
+  }
267 284
 }
268 285
 </style>

+ 118 - 0
src/pages/my/myInfo.vue Bestand weergeven

@@ -0,0 +1,118 @@
1
+<template>
2
+  <div class="page_myInfo">
3
+    <div class="myInfoTitle">
4
+      <i class="iconfont icon-zuojiantou jiantou"></i>
5
+      <span class="titleName">我的信息</span>
6
+    </div>
7
+    <div class="infoBox">
8
+      <div class="infoBoxOne">
9
+        <p>头像</p>
10
+        <div class="infoBoxOneRight">
11
+          <img src="../../assets/images/m01.png" alt />
12
+          <van-icon class="arrow" name="arrow" />
13
+        </div>
14
+      </div>
15
+      <div class="infoBoxTwo">
16
+        <p>姓名</p>
17
+        <div class="infoBoxOneRight">
18
+          <p>欧巧漫</p>
19
+          <van-icon class="arrow" name="arrow" />
20
+        </div>
21
+      </div>
22
+      <div class="infoBoxTwo">
23
+        <p>性别</p>
24
+        <div class="infoBoxOneRight">
25
+          <p>女</p>
26
+          <van-icon class="arrow" name="arrow" />
27
+        </div>
28
+      </div>
29
+      <div class="infoBoxTwo">
30
+        <p>生日</p>
31
+        <div class="infoBoxOneRight">
32
+          <p>11111</p>
33
+          <van-icon class="arrow" name="arrow" />
34
+        </div>
35
+      </div>
36
+      <div class="infoBoxTwo">
37
+        <p>个性签名</p>
38
+        <div class="infoBoxOneRight">
39
+          <p>一个无法用语言表达的好人一个无法用语言表达的好人</p>
40
+          <van-icon class="arrow" name="arrow" />
41
+        </div>
42
+      </div>
43
+    </div>
44
+  </div>
45
+</template>
46
+
47
+<style lang="scss" scoped>
48
+.page_myInfo {
49
+  height: 100%;
50
+  overflow-y: auto;
51
+  background: #fafafa;
52
+  .myInfoTitle {
53
+    background: #fff;
54
+    padding: 0 1.125rem;
55
+    height: 3.125rem;
56
+    display: flex;
57
+    align-items: center;
58
+  }
59
+  .jiantou {
60
+    font-size: 1.5rem;
61
+    font-weight: 600;
62
+    margin-right: 7rem;
63
+  }
64
+  .titleName {
65
+    font-size: 1.125rem;
66
+    font-weight: 600;
67
+  }
68
+  .infoBox {
69
+    margin-top: 1rem;
70
+
71
+    background: #fff;
72
+    .infoBoxOne {
73
+      display: flex;
74
+      align-items: center;
75
+      justify-content: space-between;
76
+      height: 4.5rem;
77
+      padding: 0 0.875rem;
78
+      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
79
+      .infoBoxOneRight {
80
+        display: flex;
81
+        align-items: center;
82
+        img {
83
+          width: 2.5rem;
84
+          height: 2.5rem;
85
+        }
86
+        .arrow {
87
+          margin-left: 0.75rem;
88
+          color: #9f9f9f;
89
+        }
90
+      }
91
+    }
92
+    .infoBoxTwo {
93
+      display: flex;
94
+      align-items: center;
95
+      justify-content: space-between;
96
+      height: 2.8125rem;
97
+      padding: 0 0.875rem;
98
+      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
99
+      .infoBoxOneRight {
100
+        display: flex;
101
+        align-items: center;
102
+        p {
103
+          width: 13.75rem;
104
+          white-space: nowrap;
105
+          text-overflow: ellipsis;
106
+          overflow: hidden;
107
+          word-break: break-all;
108
+          text-align: right;
109
+        }
110
+        .arrow {
111
+          margin-left: 0.75rem;
112
+          color: #9f9f9f;
113
+        }
114
+      }
115
+    }
116
+  }
117
+}
118
+</style>

+ 120 - 0
src/pages/my/organizationInfo.vue Bestand weergeven

@@ -0,0 +1,120 @@
1
+<template>
2
+  <div class="page_organizationInfo">
3
+    <div class="organizationInfoTitle">
4
+      <i class="iconfont icon-zuojiantou jiantou"></i>
5
+      <span class="titleName">组织信息</span>
6
+    </div>
7
+    <div class="organizeBox">
8
+      <div class="organizeBoxOne">
9
+        <div class="organizeBoxOneLeft">
10
+          <img src="../../assets/images/m01.png" alt />
11
+          <p>酷医云演示中心</p>
12
+        </div>
13
+        <van-icon class="arrow" name="arrow" />
14
+      </div>
15
+      <div class="organizeTip">我在该团队的信息</div>
16
+      <div class="organizeBoxTwo">
17
+        <div>名字</div>
18
+        <div class="organizeBoxTwoTxt">欧巧漫</div>
19
+      </div>
20
+      <div class="organizeBoxTwo">
21
+        <div>电话</div>
22
+        <div class="organizeBoxTwoTxt">18680319337</div>
23
+      </div>
24
+      <div class="organizeBoxTwo">
25
+        <div>角色</div>
26
+        <div class="rolebox">
27
+          <div class="roleboxBtn">护士</div>
28
+          <div class="roleboxBtn">医生</div>
29
+        </div>
30
+      </div>
31
+      <div class="organizeBoxTwo">
32
+        <div>职位</div>
33
+        <div class="organizeBoxTwoTxt">主治医生</div>
34
+      </div>
35
+    </div>
36
+  </div>
37
+</template>
38
+
39
+<style lang="scss" scoped>
40
+.page_organizationInfo {
41
+  height: 100%;
42
+  overflow-y: auto;
43
+  background: #fafafa;
44
+  .organizationInfoTitle {
45
+    background: #fff;
46
+    padding: 0 1.125rem;
47
+    height: 3.125rem;
48
+    display: flex;
49
+    align-items: center;
50
+  }
51
+  .jiantou {
52
+    font-size: 1.5rem;
53
+    font-weight: 600;
54
+    margin-right: 7rem;
55
+  }
56
+  .titleName {
57
+    font-size: 1.125rem;
58
+    font-weight: 600;
59
+  }
60
+  .organizeBox {
61
+    margin-top: 1rem;
62
+    > div:last-child {
63
+      border: none;
64
+    }
65
+    .organizeBoxOne {
66
+      display: flex;
67
+      align-items: center;
68
+      justify-content: space-between;
69
+      padding: 0 0.875rem;
70
+      height: 4.5rem;
71
+      background: #fff;
72
+      .organizeBoxOneLeft {
73
+        display: flex;
74
+        align-items: center;
75
+        img {
76
+          width: 3rem;
77
+          height: 3rem;
78
+          margin-right: 0.75rem;
79
+        }
80
+      }
81
+      .arrow {
82
+        color: #9f9f9f;
83
+      }
84
+    }
85
+    .organizeTip {
86
+      height: 1.875rem;
87
+      line-height: 1.875rem;
88
+      padding-left: 0.875rem;
89
+      font-size: 0.75rem;
90
+      color: #8d8d8d;
91
+    }
92
+    .organizeBoxTwo {
93
+      display: flex;
94
+      align-items: center;
95
+      justify-content: space-between;
96
+      height: 2.8125rem;
97
+      background: #fff;
98
+      padding: 0 0.875rem;
99
+      border-bottom: 1px solid #ccc;
100
+      .organizeBoxTwoTxt {
101
+        color: #8d8d8d;
102
+      }
103
+      .rolebox {
104
+        display: flex;
105
+        align-items: center;
106
+      }
107
+      .roleboxBtn {
108
+        padding: 0.5rem 0.75rem;
109
+        background: rgba(51, 138, 251, 0.1);
110
+        border: 1px solid rgba(51, 138, 251, 1);
111
+        border-radius: 0.3125rem;
112
+        text-align: center;
113
+        margin-left: 0.375rem;
114
+        color: #338afb;
115
+        font-size: 0.875rem;
116
+      }
117
+    }
118
+  }
119
+}
120
+</style>

+ 15 - 54
src/pages/patients/addPatient.vue Bestand weergeven

@@ -9,12 +9,7 @@
9 9
     </van-sticky>
10 10
     <div class="basicTitle">基本信息</div>
11 11
     <div class="basicBox">
12
-      <van-field
13
-        v-model="patientForm.name"
14
-        required
15
-        label="姓名"
16
-        placeholder="请输入"
17
-      />
12
+      <van-field v-model="patientForm.name" required label="姓名" placeholder="请输入" />
18 13
       <van-field
19 14
         label="性别"
20 15
         v-model="patientForm.sex"
@@ -24,8 +19,8 @@
24 19
         readonly
25 20
         @click="show = true"
26 21
       />
27
-      <van-popup v-model="show" position="bottom" :style="{ height: '30%' }">
28
-        <van-picker :columns="columns" @change="onChange" />
22
+      <van-popup v-model="show" position="bottom" :style="{ height: '40%' }">
23
+        <van-picker :columns="columns" show-toolbar @change="onChange" />
29 24
       </van-popup>
30 25
       <van-field
31 26
         v-model="patientForm.idCard"
@@ -34,13 +29,7 @@
34 29
         @blur="checkIdCardNo"
35 30
         placeholder="请输入"
36 31
       />
37
-      <van-field
38
-        v-model="patientForm.birthday"
39
-        required
40
-        label="出生日期"
41
-        readonly
42
-        placeholder="请输入"
43
-      />
32
+      <van-field v-model="patientForm.birthday" required label="出生日期" readonly placeholder="请输入" />
44 33
       <van-field
45 34
         v-model="patientForm.phone"
46 35
         type="tel"
@@ -67,20 +56,8 @@
67 56
     <div v-show="bloodShow">
68 57
       <div class="basicTitle">血透信息</div>
69 58
       <div class="xtBox">
70
-        <van-field
71
-          v-model="patientForm.dialysis"
72
-          center
73
-          clearable
74
-          required
75
-          label="透析号"
76
-        >
77
-          <van-button
78
-            slot="button"
79
-            size="small"
80
-            type="info"
81
-            @click="generatedialysisno"
82
-            >自动生成</van-button
83
-          >
59
+        <van-field v-model="patientForm.dialysis" center clearable required label="透析号">
60
+          <van-button slot="button" size="small" type="info" @click="generatedialysisno">自动生成</van-button>
84 61
         </van-field>
85 62
 
86 63
         <van-field
@@ -92,12 +69,8 @@
92 69
           placeholder="请选择"
93 70
           @click="show10 = true"
94 71
         />
95
-        <van-popup
96
-          v-model="show10"
97
-          position="bottom"
98
-          :style="{ height: '30%' }"
99
-        >
100
-          <van-picker :columns="columns3" @change="onChangeOne" />
72
+        <van-popup v-model="show10" position="bottom" :style="{ height: '40%' }">
73
+          <van-picker :columns="columns3" show-toolbar @change="onChangeOne" />
101 74
         </van-popup>
102 75
 
103 76
         <van-field
@@ -109,8 +82,8 @@
109 82
           placeholder="请选择"
110 83
           @click="show9 = true"
111 84
         />
112
-        <van-popup v-model="show9" position="bottom" :style="{ height: '30%' }">
113
-          <van-picker :columns="columns4" @change="onChangeTwo" />
85
+        <van-popup v-model="show9" position="bottom" :style="{ height: '40%' }">
86
+          <van-picker :columns="columns4" show-toolbar @change="onChangeTwo" />
114 87
         </van-popup>
115 88
 
116 89
         <van-cell>
@@ -171,11 +144,7 @@
171 144
     <div v-show="slowShow">
172 145
       <div class="basicTitle">慢病信息</div>
173 146
       <div class="xtBox">
174
-        <van-field
175
-          v-model="patientForm.requipmentId"
176
-          label="设备ID"
177
-          placeholder="请输入"
178
-        />
147
+        <van-field v-model="patientForm.requipmentId" label="设备ID" placeholder="请输入" />
179 148
 
180 149
         <van-cell>
181 150
           <!-- 使用 title 插槽来自定义标题 -->
@@ -242,12 +211,8 @@
242 211
           placeholder="请选择"
243 212
           @click="show14 = true"
244 213
         />
245
-        <van-popup
246
-          v-model="show14"
247
-          position="bottom"
248
-          :style="{ height: '30%' }"
249
-        >
250
-          <van-picker :columns="patientType" @change="onChangeSix" />
214
+        <van-popup v-model="show14" position="bottom" :style="{ height: '40%' }">
215
+          <van-picker :columns="patientType" show-toolbar @change="onChangeSix" />
251 216
         </van-popup>
252 217
         <van-field
253 218
           label="治疗方式"
@@ -257,12 +222,8 @@
257 222
           placeholder="请选择"
258 223
           @click="show13 = true"
259 224
         />
260
-        <van-popup
261
-          v-model="show13"
262
-          position="bottom"
263
-          :style="{ height: '30%' }"
264
-        >
265
-          <van-picker :columns="treatmentMethod" @change="onChangeSeven" />
225
+        <van-popup v-model="show13" position="bottom" :style="{ height: '40%' }">
226
+          <van-picker :columns="treatmentMethod" show-toolbar @change="onChangeSeven" />
266 227
         </van-popup>
267 228
       </div>
268 229
     </div>

+ 20 - 71
src/pages/patients/editPatient.vue Bestand weergeven

@@ -9,12 +9,7 @@
9 9
     </van-sticky>
10 10
     <div class="basicTitle">基本信息</div>
11 11
     <div class="basicBox">
12
-      <van-field
13
-        v-model="patientForm.name"
14
-        required
15
-        label="姓名"
16
-        placeholder="请输入"
17
-      />
12
+      <van-field v-model="patientForm.name" required label="姓名" placeholder="请输入" />
18 13
       <van-field
19 14
         label="性别"
20 15
         v-model="patientForm.sex"
@@ -24,8 +19,8 @@
24 19
         readonly
25 20
         @click="show = true"
26 21
       />
27
-      <van-popup v-model="show" position="bottom" :style="{ height: '30%' }">
28
-        <van-picker :columns="columns" @change="onChange" />
22
+      <van-popup v-model="show" position="bottom" :style="{ height: '40%' }">
23
+        <van-picker :columns="columns" show-toolbar @change="onChange" />
29 24
       </van-popup>
30 25
       <van-field
31 26
         v-model="patientForm.idCard"
@@ -34,35 +29,17 @@
34 29
         @blur="checkIdCardNo"
35 30
         placeholder="请输入"
36 31
       />
37
-      <van-field
38
-        v-model="patientForm.birthday"
39
-        required
40
-        label="出生日期"
41
-        readonly
42
-        placeholder="请输入"
43
-      />
44
-      <van-field
45
-        v-model="patientForm.phone"
46
-        type="tel"
47
-        required
48
-        label="手机号"
49
-        placeholder="请输入"
50
-      />
32
+      <van-field v-model="patientForm.birthday" required label="出生日期" readonly placeholder="请输入" />
33
+      <van-field v-model="patientForm.phone" type="tel" required label="手机号" placeholder="请输入" />
51 34
       <van-cell>
52 35
         <!-- 使用 title 插槽来自定义标题 -->
53 36
         <template slot="title">
54 37
           <span class="custom-title">患者类型</span>
55 38
           <div style="width:60%;margin-left:2rem">
56 39
             <van-checkbox-group v-model="result">
57
-              <van-checkbox name="1" shape="square" @click="changeMode"
58
-                >血透患者</van-checkbox
59
-              >
60
-              <van-checkbox name="2" shape="square" @click="changeMode"
61
-                >慢病患者</van-checkbox
62
-              >
63
-              <van-checkbox name="3" shape="square" @click="changeMode"
64
-                >会员患者</van-checkbox
65
-              >
40
+              <van-checkbox name="1" shape="square" @click="changeMode">血透患者</van-checkbox>
41
+              <van-checkbox name="2" shape="square" @click="changeMode">慢病患者</van-checkbox>
42
+              <van-checkbox name="3" shape="square" @click="changeMode">会员患者</van-checkbox>
66 43
             </van-checkbox-group>
67 44
           </div>
68 45
         </template>
@@ -71,20 +48,8 @@
71 48
     <div v-show="bloodShow">
72 49
       <div class="basicTitle">血透信息</div>
73 50
       <div class="xtBox">
74
-        <van-field
75
-          v-model="patientForm.dialysis"
76
-          center
77
-          clearable
78
-          required
79
-          label="透析号"
80
-        >
81
-          <van-button
82
-            slot="button"
83
-            size="small"
84
-            type="info"
85
-            @click="generatedialysisno"
86
-            >自动生成</van-button
87
-          >
51
+        <van-field v-model="patientForm.dialysis" center clearable required label="透析号">
52
+          <van-button slot="button" size="small" type="info" @click="generatedialysisno">自动生成</van-button>
88 53
         </van-field>
89 54
         <van-field
90 55
           label="患者来源"
@@ -95,8 +60,8 @@
95 60
           placeholder="请选择"
96 61
           @click="show3 = true"
97 62
         />
98
-        <van-popup v-model="show3" position="bottom" :style="{ height: '30%' }">
99
-          <van-picker :columns="columns2" @change="onChange1" />
63
+        <van-popup v-model="show3" position="bottom" :style="{ height: '40%' }">
64
+          <van-picker :columns="columns2" show-toolbar @change="onChange1" />
100 65
         </van-popup>
101 66
         <van-field
102 67
           label="留治状态"
@@ -107,8 +72,8 @@
107 72
           placeholder="请选择"
108 73
           @click="show4 = true"
109 74
         />
110
-        <van-popup v-model="show4" position="bottom" :style="{ height: '30%' }">
111
-          <van-picker :columns="columns4" @change="onChange2" />
75
+        <van-popup v-model="show4" position="bottom" :style="{ height: '40%' }">
76
+          <van-picker :columns="columns4" show-toolbar @change="onChange2" />
112 77
         </van-popup>
113 78
 
114 79
         <van-cell>
@@ -160,11 +125,7 @@
160 125
     <div v-show="slowShow">
161 126
       <div class="basicTitle">慢病信息</div>
162 127
       <div class="xtBox">
163
-        <van-field
164
-          v-model="patientForm.requipmentId"
165
-          label="设备ID"
166
-          placeholder="请输入"
167
-        />
128
+        <van-field v-model="patientForm.requipmentId" label="设备ID" placeholder="请输入" />
168 129
 
169 130
         <van-cell>
170 131
           <!-- 使用 title 插槽来自定义标题 -->
@@ -212,11 +173,7 @@
212 173
           placeholder="请选择"
213 174
           @click="show12 = true"
214 175
         />
215
-        <van-popup
216
-          v-model="show12"
217
-          position="bottom"
218
-          :style="{ height: '40%' }"
219
-        >
176
+        <van-popup v-model="show12" position="bottom" :style="{ height: '40%' }">
220 177
           <van-datetime-picker
221 178
             v-model="currentDate"
222 179
             type="date"
@@ -234,12 +191,8 @@
234 191
           placeholder="请选择"
235 192
           @click="show14 = true"
236 193
         />
237
-        <van-popup
238
-          v-model="show14"
239
-          position="bottom"
240
-          :style="{ height: '30%' }"
241
-        >
242
-          <van-picker :columns="patientType" @change="onChangeSix" />
194
+        <van-popup v-model="show14" position="bottom" :style="{ height: '40%' }">
195
+          <van-picker :columns="patientType" show-toolbar @change="onChangeSix" />
243 196
         </van-popup>
244 197
         <van-field
245 198
           label="治疗方式"
@@ -249,12 +202,8 @@
249 202
           placeholder="请选择"
250 203
           @click="show13 = true"
251 204
         />
252
-        <van-popup
253
-          v-model="show13"
254
-          position="bottom"
255
-          :style="{ height: '30%' }"
256
-        >
257
-          <van-picker :columns="treatmentMethod" @change="onChangeSeven" />
205
+        <van-popup v-model="show13" position="bottom" :style="{ height: '40%' }">
206
+          <van-picker :columns="treatmentMethod" show-toolbar @change="onChangeSeven" />
258 207
         </van-popup>
259 208
       </div>
260 209
     </div>

+ 18 - 0
src/pages/shop/index.vue Bestand weergeven

@@ -0,0 +1,18 @@
1
+<template>
2
+  <div class="page_shop">
3
+    <iframe
4
+      src="http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&wxref=mp.weixin.qq.com#wechat_redirect"
5
+    ></iframe>
6
+  </div>
7
+</template>
8
+
9
+
10
+<style lang="scss" scoped>
11
+.page_shop {
12
+  height: 100%;
13
+  iframe {
14
+    height: 100%;
15
+    width: 100%;
16
+  }
17
+}
18
+</style>

+ 149 - 119
src/router/index.js Bestand weergeven

@@ -1,210 +1,240 @@
1
-import Vue from 'vue'
2
-import Router from 'vue-router'
1
+import Vue from "vue";
2
+import Router from "vue-router";
3 3
 
4
-Vue.use(Router)
4
+Vue.use(Router);
5 5
 
6 6
 export default new Router({
7
-  routes: [{
8
-      path: '/',
9
-      name: 'Home',
10
-      component: () => import('@/pages/home/verifyToken')
7
+  routes: [
8
+    {
9
+      path: "/",
10
+      name: "Home",
11
+      component: () => import("@/pages/home/verifyToken")
11 12
     },
12 13
     {
13
-      path: '/login',
14
-      name: 'Home',
15
-      component: () => import('@/pages/home/login')
14
+      path: "/login",
15
+      name: "Home",
16
+      component: () => import("@/pages/home/login")
16 17
     },
17 18
     {
18
-      path: '/nopassword',
19
-      name: 'Home',
20
-      component: () => import('@/pages/home/noPassword')
19
+      path: "/nopassword",
20
+      name: "Home",
21
+      component: () => import("@/pages/home/noPassword")
21 22
     },
22 23
     {
23
-      path: '/setname',
24
-      name: 'Home',
25
-      component: () => import('@/pages/home/register/name')
24
+      path: "/setname",
25
+      name: "Home",
26
+      component: () => import("@/pages/home/register/name")
26 27
     },
27 28
     {
28
-      path: '/register',
29
-      name: 'Home',
30
-      component: () => import('@/pages/home/register/register')
29
+      path: "/register",
30
+      name: "Home",
31
+      component: () => import("@/pages/home/register/register")
31 32
     },
32 33
     {
33
-      path: '/join',
34
-      name: 'Home',
35
-      component: () => import('@/pages/home/noJoinedGroup')
34
+      path: "/join",
35
+      name: "Home",
36
+      component: () => import("@/pages/home/noJoinedGroup")
36 37
     },
37 38
     {
38
-      path: '/forget',
39
-      name: 'Home',
40
-      component: () => import('@/pages/home/forgetPassword')
39
+      path: "/forget",
40
+      name: "Home",
41
+      component: () => import("@/pages/home/forgetPassword")
41 42
     },
42 43
     {
43
-      path: '/createorg',
44
-      name: 'Home',
45
-      component: () => import('@/pages/home/createOrg')
44
+      path: "/createorg",
45
+      name: "Home",
46
+      component: () => import("@/pages/home/createOrg")
46 47
     },
47 48
     // 首页
48 49
     {
49
-      path: '/myIndex',
50
-      name: 'myIndex',
51
-      component: () => import('@/pages/home/index'),
52
-      children: [{
53
-          path: '/homeIndex',
54
-          component: () => import('@/pages/homeIndex/index.vue')
50
+      path: "/myIndex",
51
+      name: "myIndex",
52
+      component: () => import("@/pages/home/index"),
53
+      children: [
54
+        {
55
+          path: "/homeIndex",
56
+          component: () => import("@/pages/homeIndex/index.vue")
55 57
         },
56 58
         // 我的
57 59
         {
58
-          path: '/newMy',
59
-          name: 'newMy',
60
-          component: () => import('@/pages/my/index')
60
+          path: "/newMy",
61
+          name: "newMy",
62
+          component: () => import("@/pages/my/index")
63
+        },
64
+        // 商城
65
+        {
66
+          path: "/shop",
67
+          name: "shop",
68
+          component: () => import("@/pages/shop/index")
61 69
         }
62 70
       ]
63 71
     },
64 72
     // 患者中心
65 73
     {
66
-      path: '/patients',
67
-      name: 'patients',
68
-      component: () => import('@/pages/patientManagement/patientManagement')
74
+      path: "/patients",
75
+      name: "patients",
76
+      component: () => import("@/pages/patientManagement/patientManagement")
69 77
     },
70 78
     // 新增病人
71 79
     {
72
-      path: '/addPatints',
73
-      name: 'addpatients',
74
-      component: () => import('@/pages/patients/addPatient')
80
+      path: "/addPatints",
81
+      name: "addpatients",
82
+      component: () => import("@/pages/patients/addPatient")
75 83
     },
76 84
     // 全部病程
77 85
     {
78
-      path: '/coursedetail',
79
-      name: 'coursedetail',
80
-      component: () => import('@/pages/allCourseManagement/index')
86
+      path: "/coursedetail",
87
+      name: "coursedetail",
88
+      component: () => import("@/pages/allCourseManagement/index")
81 89
     },
82 90
     // 全部干体重
83 91
     {
84
-      path: '/dryweight',
85
-      name: 'dryweight',
86
-      component: () => import('@/pages/allDryWeight/index')
92
+      path: "/dryweight",
93
+      name: "dryweight",
94
+      component: () => import("@/pages/allDryWeight/index")
87 95
     },
88 96
     // 基本信息
89 97
     {
90
-      path: '/editPatient',
91
-      name: 'editPatient',
92
-      component: () => import('@/pages/patients/editPatient')
98
+      path: "/editPatient",
99
+      name: "editPatient",
100
+      component: () => import("@/pages/patients/editPatient")
93 101
     },
94 102
     // 全部排班
95 103
     {
96
-      path: '/editScheduling',
97
-      name: 'editscheduling',
98
-      component: () => import('@/pages/allScheduling/index')
99
-
104
+      path: "/editScheduling",
105
+      name: "editscheduling",
106
+      component: () => import("@/pages/allScheduling/index")
100 107
     },
101 108
     // 全部透后宣教
102 109
     {
103
-      path: '/editEducation',
104
-      name: 'editeducation',
105
-      component: () => import('@/pages/allEducation/index')
106
-
110
+      path: "/editEducation",
111
+      name: "editeducation",
112
+      component: () => import("@/pages/allEducation/index")
107 113
     },
108 114
     // 全部抢救记录
109 115
     {
110
-      path: '/rescuerecord',
111
-      name: 'rescuerecord',
112
-      component: () => import('@/pages/allRescue/index')
113
-
116
+      path: "/rescuerecord",
117
+      name: "rescuerecord",
118
+      component: () => import("@/pages/allRescue/index")
114 119
     },
115 120
     //
116 121
     {
117
-      path: '/patientdetail',
118
-      name: 'patientdetail',
119
-      component: () => import('@/pages/doctorAdvice/index')
122
+      path: "/patientdetail",
123
+      name: "patientdetail",
124
+      component: () => import("@/pages/doctorAdvice/index")
120 125
     },
121 126
     // 搜索
122 127
     {
123
-      path: '/search',
124
-      name: 'search',
125
-      component: () => import('@/pages/search/index')
128
+      path: "/search",
129
+      name: "search",
130
+      component: () => import("@/pages/search/index")
131
+    },
132
+    // 我的信息
133
+    {
134
+      path: "/myInfo",
135
+      name: "myInfo",
136
+      component: () => import("@/pages/my/myInfo")
137
+    },
138
+    // 组织信息
139
+    {
140
+      path: "/organizationInfo",
141
+      name: "organizationInfo",
142
+      component: () => import("@/pages/my/organizationInfo")
143
+    },
144
+    // 意见反馈
145
+    {
146
+      path: "/feedBack",
147
+      name: "feedBack",
148
+      component: () => import("@/pages/my/feedBack")
149
+    },
150
+    // 关于我们
151
+    {
152
+      path: "/about",
153
+      name: "about",
154
+      component: () => import("@/pages/my/aboutUs")
126 155
     },
156
+
127 157
     // 全部长期透析记录
128 158
 
129 159
     {
130
-      path: '/alllongdialysis',
131
-      name: 'longdialysis',
132
-      component: () => import('@/pages/allLongDialysis/index')
160
+      path: "/alllongdialysis",
161
+      name: "longdialysis",
162
+      component: () => import("@/pages/allLongDialysis/index")
133 163
     },
134 164
     {
135
-      path: '/product',
136
-      name: 'Product',
137
-      component: () => import('@/pages/product/index')
165
+      path: "/product",
166
+      name: "Product",
167
+      component: () => import("@/pages/product/index")
138 168
     },
139 169
     {
140
-      path: '/main',
141
-      name: 'main',
142
-      component: () => import('@/pages/main/index')
170
+      path: "/main",
171
+      name: "main",
172
+      component: () => import("@/pages/main/index")
143 173
     },
144 174
     {
145
-      path: '/details',
146
-      name: 'details',
147
-      component: () => import('@/pages/main/DetailsPage')
175
+      path: "/details",
176
+      name: "details",
177
+      component: () => import("@/pages/main/DetailsPage")
148 178
     },
149 179
     {
150
-      path: '/monitoring',
151
-      name: 'monitorPage',
152
-      component: () => import('@/pages/monitoring/index')
180
+      path: "/monitoring",
181
+      name: "monitorPage",
182
+      component: () => import("@/pages/monitoring/index")
153 183
     },
154 184
     {
155
-      path: '/my',
156
-      name: 'my',
157
-      component: () => import('@/pages/personal/index')
185
+      path: "/my",
186
+      name: "my",
187
+      component: () => import("@/pages/personal/index")
158 188
     },
159 189
     {
160
-      path: '/advice',
161
-      name: 'doctorAdvice',
162
-      component: () => import('@/pages/advice/index')
190
+      path: "/advice",
191
+      name: "doctorAdvice",
192
+      component: () => import("@/pages/advice/index")
163 193
     },
164 194
     {
165
-      path: '/EditPersonal',
166
-      name: 'EditPersonal',
167
-      component: () => import('@/pages/personal/EditPersonal')
195
+      path: "/EditPersonal",
196
+      name: "EditPersonal",
197
+      component: () => import("@/pages/personal/EditPersonal")
168 198
     },
169 199
     {
170
-      path: '/ElectronicSignature',
171
-      name: 'ElectronicSignature',
172
-      component: () => import('@/pages/personal/ElectronicSignature')
200
+      path: "/ElectronicSignature",
201
+      name: "ElectronicSignature",
202
+      component: () => import("@/pages/personal/ElectronicSignature")
173 203
     },
174 204
     {
175
-      path: '/Print',
176
-      name: 'Print',
177
-      component: () => import('@/pages/main/PrintIndex')
205
+      path: "/Print",
206
+      name: "Print",
207
+      component: () => import("@/pages/main/PrintIndex")
178 208
     },
179 209
     {
180
-      path: '/add_urgent_schedule',
181
-      name: 'AddUrgentSchedule',
182
-      component: () => import('@/pages/main/add_urgent_schedule')
210
+      path: "/add_urgent_schedule",
211
+      name: "AddUrgentSchedule",
212
+      component: () => import("@/pages/main/add_urgent_schedule")
183 213
     },
184 214
     {
185
-      path: '/Prints',
186
-      name: 'Prints',
187
-      component: () => import('@/pages/main/Print')
215
+      path: "/Prints",
216
+      name: "Prints",
217
+      component: () => import("@/pages/main/Print")
188 218
     },
189 219
     {
190
-      path: '/forgetPassword',
191
-      name: 'forgetPassword',
192
-      component: () => import('@/pages/personal/ForgetPassword')
220
+      path: "/forgetPassword",
221
+      name: "forgetPassword",
222
+      component: () => import("@/pages/personal/ForgetPassword")
193 223
     },
194 224
     {
195
-      path: '/changePassword',
196
-      name: 'changePassword',
197
-      component: () => import('@/pages/personal/ChangePassword')
225
+      path: "/changePassword",
226
+      name: "changePassword",
227
+      component: () => import("@/pages/personal/ChangePassword")
198 228
     },
199 229
     {
200
-      path: '/privacy',
201
-      name: 'privacy',
202
-      component: () => import('@/pages/privacy/index')
230
+      path: "/privacy",
231
+      name: "privacy",
232
+      component: () => import("@/pages/privacy/index")
203 233
     },
204 234
     {
205
-      path: '/userAgreement',
206
-      name: 'userAgreement',
207
-      component: () => import('@/pages/userAgreement/index')
235
+      path: "/userAgreement",
236
+      name: "userAgreement",
237
+      component: () => import("@/pages/userAgreement/index")
208 238
     }
209 239
   ]
210
-})
240
+});