Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Pad_New

csx 4 years ago
parent
commit
124a4c8002

+ 2 - 2
config/dev.env.js View File

@@ -4,8 +4,8 @@ const prodEnv = require('./prod.env')
4 4
 
5 5
 module.exports = merge(prodEnv, {
6 6
   NODE_ENV: '"development"',
7
-  //BASE_API: '"https://api.xt.kuyicloud.com"'
8
-  BASE_API: '"http://localhost:9531"'
7
+  BASE_API: '"https://api.xt.kuyicloud.com"'
8
+  // BASE_API: '"http://localhost:9531"'
9 9
   //BASE_API: '"http://localhost:9529"'
10 10
   //http://api.xt.test.sgjyun.com http://localhost:9529
11 11
   // BASE_API: '"http://api.xt.test.sgjyun.com"'

+ 1 - 1
config/prod.env.js View File

@@ -2,7 +2,7 @@
2 2
 module.exports = {
3 3
   NODE_ENV: '"production"',
4 4
   BASE_API: '"http://new_mobile.xt.api.sgjyun.com"'
5
-  //  BASE_API: '"https://api.xt.kuyicloud.com"'
5
+  // BASE_API: '"https://api.xt.kuyicloud.com"'
6 6
   // BASE_API:'"http://localhost:9529"',
7 7
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
8 8
   // http://api.xt.test.sgjyun.com

+ 24 - 4
src/api/patient/patient.js View File

@@ -478,6 +478,19 @@ export function getAllDoctor(params) {
478 478
   })
479 479
 }
480 480
 
481
+export function GetAllProjectNameByDate(date, patientid) {
482
+  const params = {
483
+    date: date,
484
+    patientid: patientid
485
+  }
486
+  console.log('params', params)
487
+  return request({
488
+    url: '/m/api/patient/getallprojectname',
489
+    method: 'Get',
490
+    params: params
491
+  })
492
+}
493
+
481 494
 export function getAllInspection(params) {
482 495
   return request({
483 496
     url: '/m/api/patient/getallinspection',
@@ -764,12 +777,11 @@ export function saveName(id, name) {
764 777
   })
765 778
 }
766 779
 
767
-export function saveNameTwo(id, name) {
768
-  console.log('id', id)
769
-  console.log('name', name)
780
+export function saveNameTwo(id, name, orgid) {
770 781
   const params = {
771 782
     id: id,
772
-    name: name
783
+    name: name,
784
+    orgid: orgid
773 785
   }
774 786
   return request({
775 787
     url: '/m/api/patient/savenametwo',
@@ -903,3 +915,11 @@ export function getMyInformationFour(params) {
903 915
     params: params
904 916
   })
905 917
 }
918
+
919
+export function submitForm(params) {
920
+  return request({
921
+    url: '/m/api/patient/sumitform',
922
+    method: 'Get',
923
+    params: params
924
+  })
925
+}

BIN
src/assets/images/activeBanner.png View File


BIN
src/assets/images/activeIcon_03.png View File


BIN
src/assets/images/apply.png View File


BIN
src/assets/images/ercode.png View File


BIN
src/assets/images/goods_03.png View File


BIN
src/assets/images/goods_07.png View File


BIN
src/assets/images/goods_09.png View File


BIN
src/assets/images/true.png View File


+ 183 - 0
src/pages/home/active.vue View File

@@ -0,0 +1,183 @@
1
+<template>
2
+    <div class="page_active">
3
+        <div class="activeBox">
4
+            <div class="activeTitleBox">
5
+                <div class="activeTitle">
6
+                    <img src="../../assets/images/activeIcon_03.png" alt="">
7
+                    <p>活 动 详 情</p>
8
+                </div>
9
+            </div>
10
+            <div class="activeOne">
11
+                <div class="activeTipBox">
12
+                    <div class="activeTip"></div>
13
+                    <p>活动介绍</p>
14
+                </div>
15
+                <div class="activeTxt">
16
+                    注册酷医云系统并体验系统即可获得<span>价值69元的精美礼品一份(多功能补水仪/多功能加湿器/保温杯套装)</span>
17
+                </div>  
18
+            </div>
19
+            <div class="activeOne">
20
+                <div class="activeTipBox">
21
+                    <div class="activeTip"></div>
22
+                    <p>参与对象</p>
23
+                </div>
24
+                <div class="activeTxt">
25
+                    民营透析中心<span>医护人员</span>
26
+                </div>  
27
+            </div>
28
+            <div class="activeOne">
29
+                <div class="activeTipBox">
30
+                    <div class="activeTip"></div>
31
+                    <p>活动主题</p>
32
+                </div>
33
+                <div class="activeTxt">
34
+                    自春节以来,新冠肺炎疫情肆虐。疫期,民营透析中心在医护紧缺的情况下,仍辛苦坚守阵地,为透析患者提供服务,逆行并开辟透析患者生命之路。基于此情况,酷医云决定向广大民营透析机构/单位进行疫期致敬回馈活动,为每一家民营透析机构
35
+                    <span>赠送一份价值69元的精美礼品</span>
36
+                </div>  
37
+            </div>
38
+            <div class="activeOne">
39
+                <div class="activeTipBox">
40
+                    <div class="activeTip"></div>
41
+                    <p>领取精美礼品满足条件</p>
42
+                </div>
43
+                <div class="activeTxt">
44
+                    <p>1.未使用酷医云系统的新用户机构,注册酷医云账号并完善账号信息</p>
45
+                    <p>2.注册医护必须为民营透析中心的医护</p>
46
+                    <p>3.每家机构有且仅有一位医护代表参与领取,先注册先得</p>
47
+                    <p class="litle">*以上解释权归酷医云所有,谢谢配合</p>
48
+                    <p class="big">价值69元精美礼品(三选一)</p>
49
+                    <img src="../../assets/images/goods_03.png" alt="">
50
+                    <img src="../../assets/images/goods_07.png" alt="">
51
+                    <img src="../../assets/images/goods_09.png" alt="">
52
+                    
53
+                </div>  
54
+            </div>
55
+            <div class="join" @click="toActiveForm">我 要 报 名</div>
56
+            <div class="joinImg" @click="toActiveForm"><img src="../../assets/images/apply.png" alt=""></div>
57
+        </div>
58
+    </div>
59
+</template>
60
+
61
+<script>
62
+export default {
63
+    methods:{
64
+        toActiveForm(){
65
+            this.$router.push({ path: "/activeForm" });
66
+        }
67
+    }
68
+}
69
+</script>
70
+
71
+<style lang="scss" scoped>
72
+.page_active{
73
+    // overflow-y: auto;
74
+    background: url("https://images.shengws.com/2020/4/23/admin_avatar_1587638028661.png") no-repeat;
75
+    background-size:100%;
76
+    height:90rem;
77
+    position: relative;
78
+    .activeBox{
79
+        position: absolute;
80
+        left: 1.4375rem;
81
+        top: 10rem;
82
+        width:20.625rem;
83
+        height:72.375rem;
84
+        background:rgba(255,255,255,1);
85
+        box-shadow:0px 0px 44px 0px rgba(173,198,238,0.68);
86
+        opacity:0.9;
87
+        border-radius:15px;
88
+        // margin: 10rem auto 0;
89
+    }
90
+    .activeTitleBox{
91
+        
92
+        display: flex;
93
+        align-items: center;
94
+        justify-content: space-around;
95
+    }
96
+    .activeTitle{
97
+        margin: 1.5rem auto;
98
+        display: flex;
99
+        align-items: center;
100
+        img{
101
+            width: 1.5rem;
102
+            height: 1.5rem;
103
+            margin-right: 1rem;
104
+        }
105
+        p{
106
+            color: #1979F4;
107
+            font-size: 1.375rem;
108
+            font-weight: 600;
109
+        }
110
+    }
111
+    .activeOne{
112
+        .activeTipBox{
113
+            display: flex;
114
+            align-items: center;
115
+            .activeTip{
116
+                width:.3125rem;
117
+                height:.625rem;
118
+                background:linear-gradient(0deg,rgba(26,121,244,1),rgba(123,186,250,1));
119
+                border-radius:.125rem;
120
+                margin-left: .9375rem;
121
+                margin-right: .5rem;
122
+            }
123
+            p{
124
+                font-size: .9375rem;
125
+                font-weight:bold;
126
+            }
127
+        }
128
+        .activeTxt{
129
+            width: 17.75rem;
130
+            font-size: .875rem;
131
+            color: #242D39;
132
+            margin: .625rem 0 1.875rem 1.75rem;
133
+            line-height: 1.5rem;
134
+            span{
135
+                color: #FD543A;
136
+                font-weight: bold;
137
+            }
138
+            .litle{
139
+                font-size: .75rem;
140
+                color: #FD543A;
141
+            }
142
+            .big{
143
+               font-size: 1.125rem;
144
+               color: #FD543A;
145
+               font-weight: bold;
146
+               margin-top: .375rem;
147
+            }
148
+            img{
149
+                width:17.5rem;
150
+                height:7.75rem;
151
+                background:rgba(158,119,108,1);
152
+                border-radius:5px;
153
+                margin-top: .625rem;
154
+            }
155
+            .attention{
156
+                font-size: .9375rem;
157
+                font-weight: bold;
158
+            }
159
+        }
160
+    }
161
+    .join{
162
+        height: 3.75rem;
163
+        line-height: 3.75rem;
164
+        text-align: center;
165
+        color: #fff;
166
+        width: 18.75rem;
167
+        margin: 1.625rem auto .625rem;
168
+        background: #1B97FF;
169
+        border-radius: 1.875rem;
170
+        font-weight: 600;
171
+        font-size: 1.25rem;
172
+    }
173
+    .joinImg{
174
+        position: fixed;
175
+        bottom: 3.75rem;
176
+        right: .625rem;
177
+        img{
178
+            width: 5rem;
179
+            height: 5rem;
180
+        }
181
+    }
182
+}
183
+</style>

+ 356 - 0
src/pages/home/activeForm.vue View File

@@ -0,0 +1,356 @@
1
+<template>
2
+    <div class="page_activeForm">
3
+        <van-sticky>
4
+            <div class="activeFormTitle">
5
+                <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
6
+                <span class="titleName">活动报名表</span>
7
+            </div>
8
+        </van-sticky>
9
+        
10
+        <div class="formBox">
11
+            <div class="attentionBox">
12
+                <p class="attention">注意</p>
13
+                <p>*本次活动免费赠送且包邮,请正确填写您的个人资料,工作人员将在<span>1-3</span>天内通过电话或微信方式联系您并核对信息,尽快为您安排发货</p>
14
+                <span>*提交信息成功即可扫码加入活动微信交流群</span>
15
+                <p>*标有<span>*</span>的栏目必须填写;</p>
16
+                <p>有问题请联系客服微信:<span>kuyicloud</span></p>
17
+                <p class="litle">以上解释权归酷医云所有,敬请留意</p>
18
+            </div>
19
+            <van-field v-model="form.name" label="收件姓名" required placeholder="请填写"/>
20
+            <van-field v-model="form.mobile" label="收件手机" required placeholder="请填写"/>
21
+            <van-field v-model="form.address" label="收件地址" required placeholder="请填写"/>
22
+            <van-field v-model="form.position" label="您的职务" required placeholder="请填写"/>
23
+            <van-field v-model="form.hospital_name" label="医院名称" required placeholder="请填写"/>
24
+            <div class="formOne">
25
+                <div class="formTitle"><span style="color:#ee0a24">*</span>目前医院/机构是否正在使用透析管理系统</div>
26
+                <van-radio-group v-model="radio">
27
+                    <van-radio name="1">有</van-radio>
28
+                    <van-radio name="2">无</van-radio>
29
+                </van-radio-group>
30
+            </div>
31
+            <van-field v-model="form.system_name" placeholder="请填写系统名称"/>
32
+            <div class="formOne">
33
+                <div class="formTitle"><span style="color:#ee0a24">*</span>是否考虑使用酷医云免费透析管理系统</div>
34
+                <van-radio-group v-model="radioOne">
35
+                    <van-radio name="1">是</van-radio>
36
+                    <van-radio name="2">否</van-radio>
37
+                </van-radio-group>
38
+            </div>
39
+            <div class="formOne">
40
+                <div class="formTitle"><span style="color:#ee0a24">*</span>除酷医云免费使用的透析管理系统外,您还想了解酷医云系统其他哪些服务板块?(多选) </div>
41
+                <van-checkbox-group v-model="result">
42
+                    <van-checkbox name="1">慢病管理</van-checkbox>
43
+                    <van-checkbox name="2">营销管理</van-checkbox>
44
+                    <van-checkbox name="3">分销商城</van-checkbox>
45
+                    <van-checkbox name="4">医护培训</van-checkbox>
46
+                    <van-checkbox name="5">供应链</van-checkbox>
47
+                    <van-checkbox name="6">其他</van-checkbox>
48
+                </van-checkbox-group>
49
+                <p style="color:#ccc">请填写其他(30个字以内)</p>
50
+                <div class="textareaBox">
51
+                    <van-field v-model="form.other_remark" rows="3" type="textarea" maxlength="30" />
52
+                </div>
53
+            </div>
54
+            <div class="formTwo">
55
+                <div class="formTitle"><span style="color:#ee0a24">*</span>请选择以下礼品(任选其一)</div>
56
+                <van-radio-group v-model="resultTwo">
57
+                    <van-radio name="1">保湿纳米喷雾补水仪</van-radio>
58
+                    <van-radio name="2">车载加湿器</van-radio>
59
+                    <van-radio name="3">商务保温杯套装</van-radio>
60
+                </van-radio-group>
61
+                <p>其他留言(200个字以内)</p>
62
+                <div class="textareaBox2">
63
+                    <van-field v-model="form.other_message" rows="5" type="textarea" maxlength="200" />
64
+                </div>
65
+            </div>
66
+        </div>
67
+        <div class="submit" @click="submitForm">提 交</div>
68
+    </div>
69
+</template>
70
+
71
+<script>
72
+import { submitForm } from "@/api/patient/patient";
73
+export default {
74
+  data() {
75
+    return {
76
+      radio: "0",
77
+      radioOne: "0",
78
+      resultTwo: [],
79
+      result: [],
80
+      form: {
81
+        name: "",
82
+        mobile: "",
83
+        address: "",
84
+        position: "",
85
+        hospital_name: "",
86
+        is_user: 0,
87
+        is_think: 0,
88
+        other_mode: 0,
89
+        gift: 0,
90
+        other_remark: "",
91
+        other_message: "",
92
+        system_name: ""
93
+      }
94
+    };
95
+  },
96
+  methods: {
97
+    submitForm() {
98
+      if (this.form.name == "") {
99
+        this.$toast("收件姓名不能为空");
100
+        return false;
101
+      }
102
+      if (this.form.mobile == "") {
103
+        this.$toast("收件手机不能为空");
104
+        return false;
105
+      }
106
+      if (this.form.address == "") {
107
+        this.$toast("收件地址不能为空");
108
+        return false;
109
+      }
110
+      if (this.form.position == "") {
111
+        this.$toast("您的职务不能为空");
112
+        return false;
113
+      }
114
+      if (this.form.hospital_name == "") {
115
+        this.$toast("医院名称不能为空");
116
+        return false;
117
+      }
118
+      if (this.radio == "0") {
119
+        this.$toast("目前医院/机构是否正在使用透析管理系统不能为空");
120
+        return false;
121
+      }
122
+      if (this.radioOne == "0") {
123
+        this.$toast("是否考虑使用酷医云免费透析管理系统不能为空");
124
+        return false;
125
+      }
126
+      if (this.result.length == 0) {
127
+        this.$toast("是否考虑使用酷医云免费透析管理系统不能为空");
128
+        return false;
129
+      }
130
+      if (this.resultTwo.length == 0) {
131
+        this.$toast("请选择以下礼品不能为空");
132
+        return false;
133
+      }
134
+      if (this.radio == "1") {
135
+        this.form.is_user = 1;
136
+      }
137
+      if (this.radio == "2") {
138
+        this.form.is_user = 2;
139
+      }
140
+      if (this.radioOne == "1") {
141
+        this.form.is_think = 1;
142
+      }
143
+      if (this.radioOne == "2") {
144
+        this.form.is_think = 2;
145
+      }
146
+      if (this.resultTwo == "1") {
147
+        this.form.gift = 1;
148
+      }
149
+      if (this.resultTwo == "2") {
150
+        this.form.gift = 2;
151
+      }
152
+      if (this.resultTwo == "3") {
153
+        this.form.gift = 3;
154
+      }
155
+      var result = this.result.join(",");
156
+      console.log("result", result);
157
+      const params = {
158
+        name: this.form.name,
159
+        mobile: this.form.mobile,
160
+        address: this.form.address,
161
+        position: this.form.position,
162
+        hospitalName: this.form.hospital_name,
163
+        systemName: this.form.system_name,
164
+        isUser: this.form.is_user,
165
+        isThink: this.form.is_think,
166
+        result: result,
167
+        otherRemark: this.form.other_remark,
168
+        otherMessage: this.form.other_message,
169
+        gift: this.form.gift
170
+      };
171
+      console.log("params", params);
172
+      submitForm(params).then(response => {
173
+        if (response.data.state === 1) {
174
+          var table = response.data.data.table;
175
+          this.$router.push({ path: "/activeSuccess" });
176
+        } else {
177
+          this.$toast("您已提交过信息,请勿重复提交");
178
+        }
179
+      });
180
+    }
181
+  }
182
+};
183
+</script>
184
+
185
+<style lang="scss" scoped>
186
+.page_activeForm {
187
+  height: 100%;
188
+  overflow-y: auto;
189
+  background: #eaf4fe;
190
+  .activeFormTitle {
191
+    background: #fff;
192
+    height: 3.125rem;
193
+    line-height: 3.125rem;
194
+    display: flex;
195
+    align-items: center;
196
+  }
197
+
198
+  .jiantou {
199
+    margin-left: 1.25rem;
200
+    font-size: 1.5rem;
201
+    font-weight: 600;
202
+    margin-right: 6.2rem;
203
+  }
204
+
205
+  .titleName {
206
+    font-size: 1.125rem;
207
+    font-weight: 600;
208
+  }
209
+    .formBox{
210
+        width:21rem;
211
+        height:97rem;
212
+        background:rgba(255,255,255,1);
213
+        border-radius:15px;
214
+        margin: .875rem auto;
215
+
216
+    }
217
+    .attentionBox{
218
+        font-size: .875rem;
219
+        color: #242D39;
220
+        padding: 0 .625rem;
221
+        line-height: 1.5rem;
222
+        span{
223
+            color: #FD543A;
224
+            font-weight: bold;
225
+        }
226
+        .litle{
227
+            font-size: .75rem;
228
+            color: #FD543A;
229
+        }
230
+        .attention{
231
+            font-size: .9375rem;
232
+            font-weight: bold;
233
+            color: #FD543A;
234
+        }
235
+    }
236
+    .formOne{
237
+        font-size: 1.0625rem;
238
+        margin-left: .5rem;
239
+        padding: 1.5rem 0;
240
+        border-bottom: 0.0625rem solid #e5e5e5;
241
+        .formTitle{
242
+            margin: 0 0 1.5rem;
243
+        }
244
+    }
245
+    .formTwo{
246
+        font-size: 1.0625rem;
247
+        margin-left: .5rem;
248
+        padding: 1.5rem 0;
249
+        .formTitle{
250
+            margin: 0 0 1.5rem;
251
+        }
252
+    }
253
+    .submit{
254
+        height: 3.75rem;
255
+        line-height: 3.75rem;
256
+        text-align: center;
257
+        color: #fff;
258
+        width: 18.75rem;
259
+        margin: 1.625rem auto .625rem;
260
+        background: #1B97FF;
261
+        border-radius: 1.875rem;
262
+        font-weight: 600;
263
+        font-size: 1.25rem;
264
+    }
265
+}
266
+::-webkit-scrollbar {
267
+  width: 0;
268
+}
269
+</style>
270
+
271
+<style lang="scss">
272
+.page_activeForm {
273
+  .van-cell {
274
+    height: 4rem;
275
+    font-size: 1.0625rem;
276
+    color: #000;
277
+    margin-bottom: 1px;
278
+  }
279
+  .van-field__label {
280
+    display: flex;
281
+    align-items: center;
282
+  }
283
+  .van-field__value {
284
+    display: flex;
285
+    align-items: center;
286
+  }
287
+  .van-cell:not(:last-child)::after {
288
+    border-bottom: 1px solid #e5e5e5;
289
+  }
290
+  .van-cell--required::before {
291
+    top: 1.2rem;
292
+    font-size: 1rem;
293
+  }
294
+  .formOne {
295
+    .van-radio-group {
296
+      display: flex;
297
+    }
298
+    .van-radio {
299
+      margin-right: 1.875rem;
300
+    }
301
+  }
302
+
303
+  .van-checkbox-group {
304
+    display: flex;
305
+    flex-wrap: wrap;
306
+    .van-checkbox {
307
+      width: 50%;
308
+      margin-bottom: 1.125rem;
309
+    }
310
+  }
311
+
312
+  .textareaBox {
313
+    padding-left: 0;
314
+    margin-right: 0.875rem;
315
+    margin-top: 0.625rem;
316
+    height: 6.25rem;
317
+    background: #f6f6f6;
318
+    border-radius: 5px;
319
+    .van-cell {
320
+      padding: 0;
321
+    }
322
+    .van-cell__value {
323
+      background: #f6f6f6;
324
+    }
325
+    .van-field__body {
326
+      width: 100%;
327
+      textarea {
328
+        width: 100%;
329
+      }
330
+    }
331
+  }
332
+  .formTwo {
333
+    .van-radio {
334
+      margin-bottom: 1.125rem;
335
+    }
336
+  }
337
+    .textareaBox2{
338
+        margin-top: .625rem;
339
+        margin-right: .875rem;
340
+        border-radius:5px;
341
+         .van-cell{
342
+            height: 7.5rem;
343
+            padding: 0;
344
+        }
345
+        .van-cell__value{
346
+            background: #F6F6F6;
347
+        }
348
+        .van-field__body{
349
+            width: 100%;
350
+            textarea{
351
+                width: 100%;
352
+            }
353
+        }
354
+    }
355
+}
356
+</style>

+ 90 - 0
src/pages/home/activeSuccess.vue View File

@@ -0,0 +1,90 @@
1
+<template>
2
+    <div class="page_activeSuccess">
3
+        <van-sticky>
4
+            <div class="activeSuccessTitle">
5
+                <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
6
+                <span class="titleName">活动报名表</span>
7
+            </div>
8
+        </van-sticky>
9
+        <div class="successBox">
10
+            <div class="successImg">
11
+                <img src="../../assets/images/true.png" alt="">
12
+                <p>提交成功</p>
13
+            </div>
14
+        </div>
15
+        <div class="msgBox">
16
+            <p>您已完成填写,</p>
17
+            <p>工作人员将通过电话或微信联系您并进行信息审核。</p>
18
+            <img src="../../assets/images/ercode.png" alt="">
19
+            <p>欢迎扫码加入</p>
20
+            <p>【酷医云民营血透医护交流群二】微信群,</p>
21
+            <p>了解行业热点,获取知识!</p>
22
+        </div>
23
+        <div class="ercode">微信识别二维码,即可进群</div>
24
+    </div>
25
+</template>
26
+
27
+
28
+<style lang="scss" scoped>
29
+.page_activeSuccess{
30
+    .activeSuccessTitle{
31
+        background: #fff;
32
+        height: 3.125rem;
33
+        line-height: 3.125rem;
34
+        display: flex;
35
+        align-items: center;
36
+    }
37
+
38
+    .jiantou {
39
+        margin-left: 1.25rem;
40
+        font-size: 1.5rem;
41
+        font-weight: 600;
42
+        margin-right: 6.2rem;
43
+    }
44
+
45
+    .titleName {
46
+        font-size: 1.125rem;
47
+        font-weight: 600;
48
+    }
49
+    .successImg{
50
+        margin-top: 3.125rem;
51
+        img{
52
+            width: 6.25rem;
53
+            height: 6.25rem;
54
+            margin: 0 auto;
55
+            display: block;
56
+        }
57
+        p{
58
+            font-size: 1.5rem;
59
+            text-align: center;
60
+            margin-top: .625rem;
61
+        }
62
+    }
63
+    .msgBox{
64
+        font-size: .875rem;
65
+        color: #858585;
66
+        margin-top: 1.25rem;
67
+        p{
68
+            text-align: center;
69
+            line-height: 1.25rem;
70
+        }
71
+        img{
72
+            width: 9.375rem;
73
+            height: 9.375rem;
74
+            margin: 1rem auto .5rem;
75
+            display: block;
76
+        }
77
+    }
78
+    .ercode{
79
+        width:14.5rem;
80
+        height:2.5rem;
81
+        line-height: 2.5rem;
82
+        text-align: center;
83
+        background:rgba(25,121,244,1);
84
+        border-radius:20px;
85
+        color: #fff;
86
+        margin: 1.875rem auto;
87
+    }
88
+}
89
+
90
+</style>

+ 8 - 6
src/pages/home/index.vue View File

@@ -82,12 +82,12 @@
82 82
             <div>首页</div>
83 83
           </van-tabbar-item>
84 84
         </router-link>
85
-        <!--<router-link to="/study">-->
86
-          <!--<van-tabbar-item>-->
87
-            <!--<i class="iconfont icon-jishiben iconOne"></i>-->
88
-            <!--<div>学习</div>-->
89
-          <!--</van-tabbar-item>-->
90
-        <!--</router-link>-->
85
+        <router-link to="/active">
86
+          <van-tabbar-item>
87
+            <i class="iconfont icon-jishiben iconOne"></i>
88
+            <div>致敬医护</div>
89
+          </van-tabbar-item>
90
+        </router-link>
91 91
         <!--<router-link to="/service">-->
92 92
           <!--<van-tabbar-item>-->
93 93
             <!--<i class="iconfont icon-fuwu2 iconOne"></i>-->
@@ -148,6 +148,8 @@ export default {
148 148
      if (currenttabbar === 'homeIndex') {
149 149
       this.active = 0
150 150
     } else if (currenttabbar === 'newMy') {
151
+      this.active = 2
152
+    } else if (currenttabbar === 'active') {
151 153
       this.active = 1
152 154
     }
153 155
   }

+ 57 - 93
src/pages/main/dialog/AssessmentDialog.vue View File

@@ -65,8 +65,6 @@
65 65
           </div>
66 66
         </div>
67 67
 
68
-
69
-
70 68
         <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">
71 69
           <h2 class="name">透析机型号</h2>
72 70
           <div class="content">
@@ -103,7 +101,6 @@
103 101
           </div>
104 102
         </div>
105 103
 
106
-
107 104
         <div class="line"></div>
108 105
         <div class="item" v-if="isShow('收缩压')">
109 106
           <h2 class="name">收缩压(mmHg)</h2>
@@ -153,10 +150,10 @@
153 150
         </div>
154 151
 
155 152
         <div
156
-          @click="showSubMenu('blood_access_opera')"
153
+          @click="showSubMenu('vascular_access_desc')"
157 154
           class="item"
158
-          ref="blood_access_opera"
159
-          v-if="isShow('血管通路操作')"
155
+          ref="vascular_access_desc"
156
+          v-if="isShow('血管通路')"
160 157
         >
161 158
           <h2 class="name">血管通路</h2>
162 159
           <div class="content">
@@ -166,7 +163,6 @@
166 163
         </div>
167 164
         <div class="line"></div>
168 165
 
169
-
170 166
         <div
171 167
           @click="showSubMenu('blood_access_part')"
172 168
           class="item"
@@ -223,8 +219,6 @@
223 219
           </div>
224 220
         </div>
225 221
 
226
-
227
-
228 222
         <div
229 223
           @click="showSubMenu('internal_fistula_skin')"
230 224
           class="item"
@@ -238,7 +232,6 @@
238 232
           </div>
239 233
         </div>
240 234
 
241
-
242 235
         <div
243 236
           @click="showSubMenu('venous_catheterization')"
244 237
           class="item"
@@ -276,7 +269,6 @@
276 269
           </div>
277 270
         </div>
278 271
 
279
-
280 272
         <div
281 273
           @click="showSubMenu('puncture_needle')"
282 274
           class="item"
@@ -313,7 +305,6 @@
313 305
           </div>
314 306
         </div>
315 307
 
316
-
317 308
         <div @click="showSubMenu('skin')" class="item" ref="skin" v-if="isShow('皮肤')">
318 309
           <h2 class="name">皮肤</h2>
319 310
           <div class="content">
@@ -322,9 +313,6 @@
322 313
           </div>
323 314
         </div>
324 315
 
325
-
326
-
327
-
328 316
         <div
329 317
           @click="showSubMenu('complication')"
330 318
           class="item"
@@ -364,7 +352,6 @@
364 352
           </div>
365 353
         </div>
366 354
 
367
-
368 355
         <div
369 356
           @click="showSubMenu('emergency_treatment')"
370 357
           class="item"
@@ -388,8 +375,6 @@
388 375
           </div>
389 376
         </div>
390 377
 
391
-
392
-
393 378
         <div class="item" v-if="this.$store.getters.user.template_info.template_id == 6">
394 379
           <h2 class="name">透前净体重(kg)</h2>
395 380
           <div class="content">
@@ -402,14 +387,6 @@
402 387
           </div>
403 388
         </div>
404 389
 
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413 390
         <div
414 391
           @click="showSubMenu('hemorrhage')"
415 392
           class="item"
@@ -429,14 +406,6 @@
429 406
           </div>
430 407
         </div>
431 408
 
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440 409
         <div
441 410
           @click="showSubMenu('dialysis_interphase')"
442 411
           class="item"
@@ -450,12 +419,8 @@
450 419
           </div>
451 420
         </div>
452 421
 
453
-
454 422
         <div class="line"></div>
455 423
 
456
-
457
-
458
-
459 424
 <!--        <div-->
460 425
 <!--          @click="showSubMenu('blood_access_internal_fistula')"-->
461 426
 <!--          class="item"-->
@@ -469,13 +434,6 @@
469 434
 <!--          </div>-->
470 435
 <!--        </div>-->
471 436
 
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479 437
 <!--        <div-->
480 438
 <!--          @click="showSubMenu('venous_catheterization_part')"-->
481 439
 <!--          class="item"-->
@@ -492,8 +450,6 @@
492 450
 <!--          </div>-->
493 451
 <!--        </div>-->
494 452
 
495
-
496
-
497 453
         <div
498 454
           @click="showSubMenu('ductus_arantii')"
499 455
           class="item"
@@ -514,8 +470,6 @@
514 470
           </div>
515 471
         </div>
516 472
 
517
-
518
-
519 473
         <div
520 474
           class="item"
521 475
           v-if="isShow('感染')"
@@ -550,7 +504,6 @@
550 504
           </div>
551 505
         </div>
552 506
 
553
-
554 507
         <div class="item" ref="skin_other" v-if="isShow('其他皮肤情况')">
555 508
           <h2 class="name">其他皮肤情况</h2>
556 509
           <div class="content">
@@ -602,7 +555,7 @@ import { Toast } from "vant";
602 555
 import { getDataConfig } from "@/utils/data";
603 556
 import DryWeightMenu from "./subMenu/dryWeightMenu";
604 557
 
605
-import request from '@/utils/request'
558
+import request from "@/utils/request";
606 559
 
607 560
 export default {
608 561
   name: "PrescriptionDialog",
@@ -625,8 +578,8 @@ export default {
625 578
   },
626 579
   data() {
627 580
     return {
628
-      showTxt:"",
629
-      hasPermission:true,
581
+      showTxt: "",
582
+      hasPermission: true,
630 583
       propDryForm: {
631 584
         weight: 0,
632 585
         doctor: []
@@ -730,7 +683,8 @@ export default {
730 683
         }
731 684
       },
732 685
       deep: true,
733
-      immediate: true
686
+      immediate: true,
687
+      data: []
734 688
     }
735 689
   },
736 690
   methods: {
@@ -1055,13 +1009,13 @@ export default {
1055 1009
           this.propForm.click_ref = "blood_access_part";
1056 1010
           break;
1057 1011
 
1058
-        case "blood_access_opera":
1012
+        case "vascular_access_desc":
1059 1013
           this.isHasOther = 2;
1060 1014
           this.propForm.isShowOther = 1;
1061 1015
 
1062 1016
           this.propForm.type = 7;
1063 1017
           this.isShowDialog = false;
1064
-          this.propForm.title = "血管通路操作";
1018
+          this.propForm.title = "血管通路";
1065 1019
           this.visibility = true;
1066 1020
           this.propForm.list = [];
1067 1021
           this.propForm.optionList = getDataConfig(
@@ -1070,7 +1024,7 @@ export default {
1070 1024
           );
1071 1025
           this.propForm.isMultiple = 1;
1072 1026
           this.propForm.selectId = this.formValue.blood_access_part_opera_id;
1073
-          this.propForm.click_ref = "blood_access_opera";
1027
+          this.propForm.click_ref = "vascular_access_desc";
1074 1028
           break;
1075 1029
 
1076 1030
         case "internal_fistula":
@@ -1491,7 +1445,7 @@ export default {
1491 1445
     QueryPartById: function(val) {
1492 1446
       let vascular_access_part_name = "";
1493 1447
       let vascular_access = getDataConfig("hemodialysis", "vascular_access");
1494
-
1448
+      console.log("vascular_access", vascular_access);
1495 1449
       for (let i = 0; i < vascular_access.length; i++) {
1496 1450
         if (vascular_access[i].id == val) {
1497 1451
           vascular_access_part_name = vascular_access[i].name;
@@ -1621,41 +1575,51 @@ export default {
1621 1575
           break;
1622 1576
       }
1623 1577
     },
1624
-    getPermission(){
1625
-      request.get("/m/api/permission/get",{
1626
-        params:{
1627
-          create_url:"/m/api/assessmentbefore/commit?mode=1",
1628
-          modify_url:"/m/api/assessmentbefore/commit?mode=2",
1629
-          modify_other_url:"/m/api/assessmentbefore/commit?mode=3",
1630
-          module:3
1631
-        }
1632
-      }).then(res => {
1633
-        console.log(res)
1634
-        console.log("透前",this.patient_prop)
1635
-        console.log("透前",this.predialysis)
1636
-        if(res.data.state == 0){
1637
-          this.hasPermission = false
1638
-        }else if(res.data.state == 1){
1639
-          if(this.predialysis.id != "" && this.predialysis.creater != 0){//有数据
1640
-            if(this.predialysis.creater == this.$store.getters.user.admin.id){//创建人是自己
1641
-              if(res.data.data.is_has_modify == false){
1642
-                this.hasPermission = false
1643
-                this.showTxt = "你没有修改透前评估权限"
1578
+    getPermission() {
1579
+      request
1580
+        .get("/m/api/permission/get", {
1581
+          params: {
1582
+            create_url: "/m/api/assessmentbefore/commit?mode=1",
1583
+            modify_url: "/m/api/assessmentbefore/commit?mode=2",
1584
+            modify_other_url: "/m/api/assessmentbefore/commit?mode=3",
1585
+            module: 3
1586
+          }
1587
+        })
1588
+        .then(res => {
1589
+          console.log(res);
1590
+          console.log("透前", this.patient_prop);
1591
+          console.log("透前", this.predialysis);
1592
+          if (res.data.state == 0) {
1593
+            this.hasPermission = false;
1594
+          } else if (res.data.state == 1) {
1595
+            if (this.predialysis.id != "" && this.predialysis.creater != 0) {
1596
+              // 有数据
1597
+              if (
1598
+                this.predialysis.creater == this.$store.getters.user.admin.id
1599
+              ) {
1600
+                // 创建人是自己
1601
+                if (res.data.data.is_has_modify == false) {
1602
+                  this.hasPermission = false;
1603
+                  this.showTxt = "你没有修改透前评估权限";
1604
+                }
1605
+              } else {
1606
+                // 创建人不是自己
1607
+                if (res.data.data.is_has_modify_other == false) {
1608
+                  this.hasPermission = false;
1609
+                  this.showTxt = "你没有修改他人透前评估权限";
1610
+                }
1644 1611
               }
1645
-            }else{//创建人不是自己
1646
-              if(res.data.data.is_has_modify_other == false){
1647
-                this.hasPermission = false
1648
-                this.showTxt = "你没有修改他人透前评估权限"
1612
+            } else if (
1613
+              this.predialysis.id == "" ||
1614
+              this.predialysis.creater == 0
1615
+            ) {
1616
+              if (res.data.data.is_has_create == false) {
1617
+                this.hasPermission = false;
1618
+                this.showTxt = "你没有新增透前评估权限";
1649 1619
               }
1650 1620
             }
1651
-          }else if(this.predialysis.id == "" || this.predialysis.creater == 0){
1652
-            if(res.data.data.is_has_create  == false){
1653
-              this.hasPermission = false
1654
-              this.showTxt = "你没有新增透前评估权限"
1655
-            }
1656 1621
           }
1657
-        }
1658
-      })
1622
+        });
1659 1623
     }
1660 1624
   },
1661 1625
   components: {
@@ -1663,7 +1627,7 @@ export default {
1663 1627
     CheckBoxSubMenu
1664 1628
   },
1665 1629
   created() {
1666
-    this.getPermission()
1630
+    this.getPermission();
1667 1631
 
1668 1632
     var date = this.$route.query && this.$route.query.date;
1669 1633
     date *= 1000;
@@ -1692,8 +1656,6 @@ export default {
1692 1656
         this.last_predialysis["additional_weight"].toString()
1693 1657
       );
1694 1658
 
1695
-
1696
-
1697 1659
       this.$set(
1698 1660
         this.formValue,
1699 1661
         "internal_fistula",
@@ -1757,6 +1719,8 @@ export default {
1757 1719
       }
1758 1720
     }
1759 1721
     this.hemorrhage_state = this.formValue.is_hemorrhage == 0;
1722
+    this.data = getDataConfig("hemodialysis", "vascular_access_desc");
1723
+    console.log("投前评估", this.data);
1760 1724
   }
1761 1725
 };
1762 1726
 </script>
@@ -1772,7 +1736,7 @@ export default {
1772 1736
   border: none;
1773 1737
   border-bottom: 1px #e5e5e5 solid;
1774 1738
 }
1775
-.warnTxt{
1739
+.warnTxt {
1776 1740
   font-size: 0.5rem;
1777 1741
   height: 1rem;
1778 1742
   line-height: 1rem;

+ 2 - 2
src/pages/main/dialog/ComputerDialog.vue View File

@@ -505,8 +505,8 @@
505 505
         request.get("/m/api/permission/get",{
506 506
           params:{
507 507
             create_url:"/m/api/dialysis/start?mode=1",
508
-            modify_url:"/m/api/dialysis/start?mode=2",
509
-            modify_other_url:"/m/api/dialysis/start?mode=3",
508
+            modify_url:"/m/api/startOrder/edit?mode=2",
509
+            modify_other_url:"/m/api/startOrder/edit?mode=3",
510 510
             module:0
511 511
           }
512 512
         }).then(res => {

File diff suppressed because it is too large
+ 1964 - 1896
src/pages/main/dialog/PrescriptionDialog.vue


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


+ 3 - 3
src/pages/main/template/DialysisPrintOrderTwo.vue View File

@@ -1315,18 +1315,18 @@ export default {
1315 1315
         }
1316 1316
         this.check = response.data.data.check;
1317 1317
         this.predialysis = response.data.data.PredialysisEvaluation;
1318
-        //console.log("透前评估", this.predialysis);
1318
+        // console.log("透前评估", this.predialysis);
1319 1319
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1320 1320
           this.predialysis.blood_access_part_opera_id
1321 1321
         );
1322
-         var  afterdialysis = response.data.data.AssessmentAfterDislysis
1322
+        var afterdialysis = response.data.data.AssessmentAfterDislysis;
1323 1323
         if (afterdialysis.complications_index === undefined) {
1324 1324
           afterdialysis.disequilibrium_syndrome = 1;
1325 1325
         }
1326 1326
         if (afterdialysis.complications_index != undefined) {
1327 1327
           afterdialysis.disequilibrium_syndrome = 2;
1328 1328
         }
1329
-        this.afterdialysis = afterdialysis
1329
+        this.afterdialysis = afterdialysis;
1330 1330
         this.operators = response.data.data.operators;
1331 1331
         this.dialysisOrder =
1332 1332
           response.data.data.dialysisOrder === null

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

@@ -187,11 +187,11 @@
187 187
           <span class="content">{{blood_access}}</span>
188 188
           <span class="unit"></span>
189 189
         </li>
190
-        <li v-if="isShow('实际超滤量')">
191
-          <label>实际超滤量: </label>
192
-          <span class="content">{{ultrafiltration != '0'? ultrafiltration:''}}</span>
193
-          <span class="unit">{{ultrafiltration != '0'?"L":""}}</span>
194
-        </li>
190
+<!--        <li v-if="isShow('实际超滤量')">-->
191
+<!--          <label>实际超滤量2: </label>-->
192
+<!--          <span class="content">{{ultrafiltration != '0'? ultrafiltration:''}}</span>-->
193
+<!--          <span class="unit">{{ultrafiltration != '0'?"L":""}}</span>-->
194
+<!--        </li>-->
195 195
         <li v-if="isShow('目标KT/V')">
196 196
           <label>目标KT/V: </label>
197 197
           <span class="content">{{target_ktv != '0'? target_ktv:''}}</span>

+ 0 - 12
src/pages/my/index.vue View File

@@ -293,27 +293,15 @@ export default {
293 293
     console.log("creator", creator);
294 294
     if (creator === 0) {
295 295
       var adminid = this.$store.getters.user.admin.id;
296
-      // console.log("创建者id", adminid);
297 296
       this.getMyInformationThree(adminid);
298 297
       this.adminid = 0;
299
-      // console.log("ids", adminid);
300 298
       var adminid = this.$store.getters.user.admin.id;
301 299
       this.ids = adminid;
302 300
       return false;
303 301
     }
304 302
     if (creator !== 0) {
305
-      // this.getMyOrgInformation(creator);
306 303
       this.getMyInformationFour();
307
-      // this.adminid = creator;
308
-      // this.ids = creator;
309 304
     }
310
-
311
-    // console.log("创建者ID", this.creator);
312
-    //  this.adminid = adminid;
313
-    //  this.getMyInformation(adminid);
314
-    //  this.getMyOrganazition(adminid);
315
-    //   this.getMyInforName(adminid);
316
-    //   this.creator = this.$store.getters.user.org.creator;
317 305
   }
318 306
 };
319 307
 </script>

+ 15 - 9
src/pages/my/modifyingName.vue View File

@@ -20,12 +20,13 @@ export default {
20 20
       admin_user_id: 0,
21 21
       readonly: true,
22 22
       ids: 0,
23
-      id: 0
23
+      id: 0,
24
+      orgid: 0
24 25
     };
25 26
   },
26 27
   methods: {
27
-    getMyInforName(id) {
28
-      getMyInforName(id).then(response => {
28
+    getMyInforName(id, orgid) {
29
+      getMyInforName(id, orgid).then(response => {
29 30
         if (response.data.state === 1) {
30 31
           var username = response.data.data.Username;
31 32
           console.log("编辑姓名", username);
@@ -72,19 +73,24 @@ export default {
72 73
         });
73 74
       }
74 75
       if (creator !== 0) {
75
-        this.id = creator;
76
-        saveNameTwo(this.id, this.name).then(response => {
77
-          var role = response.data.data.role;
78
-          this.$router.push("/myInfo?id=" + creator);
79
-        });
76
+        saveNameTwo(this.admin_user_id, this.name, this.orgid).then(
77
+          response => {
78
+            var role = response.data.data.role;
79
+            this.$router.push(
80
+              "/myInfo?id=" + this.admin_user_id + "&orgid=" + this.orgid
81
+            );
82
+          }
83
+        );
80 84
       }
81 85
     }
82 86
   },
83 87
   created() {
84 88
     setRem();
85 89
     var id = this.$route.query.id;
86
-    this.getMyInforName(id);
87 90
     this.admin_user_id = id;
91
+    var orgid = this.$route.query.orgid;
92
+    this.orgid = orgid;
93
+    this.getMyInforName(id, orgid);
88 94
   }
89 95
 };
90 96
 </script>

+ 3 - 1
src/pages/my/myInfo.vue View File

@@ -129,7 +129,9 @@ export default {
129 129
       );
130 130
     },
131 131
     editName() {
132
-      this.$router.push("/editname?id=" + this.admin_user_id);
132
+      this.$router.push(
133
+        "/editname?id=" + this.admin_user_id + "&orgid=" + this.orgid
134
+      );
133 135
     },
134 136
     onConfirm(value) {
135 137
       if (value === "男") {

+ 2 - 1
src/pages/my/organizationInfo.vue View File

@@ -85,7 +85,8 @@ export default {
85 85
           // console.log("names", names);
86 86
           var arr = [];
87 87
           arr = names.split(",");
88
-          this.Names = arr;
88
+          var arr2 = [...new Set(arr)];
89
+          this.Names = arr2;
89 90
 
90 91
           var admin = response.data.data.admin;
91 92
           // console.log("admin", admin);

+ 21 - 7
src/pages/patientCenter/allCheck/index.vue View File

@@ -71,6 +71,7 @@
71 71
 
72 72
 <script>
73 73
 import {
74
+  GetAllProjectNameByDate,
74 75
   getAllInspection,
75 76
   getPatientName,
76 77
   getInspectionDetail
@@ -91,16 +92,28 @@ export default {
91 92
       date: "",
92 93
       activeTwo: 0,
93 94
       patientid: 0,
94
-      data: []
95
+      data: [],
96
+      projectName: []
95 97
     };
96 98
   },
97 99
   methods: {
100
+    GetAllProjectNameByDate(date, patientid) {
101
+      GetAllProjectNameByDate(date, patientid).then(response => {
102
+        if (response.data.state === 1) {
103
+          var projectName = response.data.data.projectName;
104
+          // console.log("projectName", projectName);
105
+          this.projectName = projectName;
106
+          this.checkdata = projectName;
107
+        }
108
+      });
109
+    },
110
+
98 111
     getAllInspection() {
99 112
       getAllInspection().then(response => {
100 113
         if (response.data.state === 1) {
101 114
           var inspection = response.data.data.inspection;
102
-          // console.log("inspection", inspection);
103
-          this.checkdata = inspection;
115
+          // console.log("inspection什么意思", inspection);
116
+          // this.checkdata = inspection;
104 117
           this.data = inspection;
105 118
           this.getInspection(this.patientid, this.date);
106 119
         }
@@ -127,13 +140,14 @@ export default {
127 140
       getInspectionDetail(patientid, date, this.project_id).then(response => {
128 141
         if (response.data.state === 1) {
129 142
           var InspectionDetail = response.data.data.InspectionDetail;
143
+          // console.log("数据是", InspectionDetail);
130 144
           this.InspectionDetail = InspectionDetail;
131 145
         }
132 146
       });
133 147
     },
134 148
     getInspection(patientid, date) {
135 149
       if (this.active === 0) {
136
-        this.project_id = this.data[0].project_id;
150
+        this.project_id = this.projectName[0].project_id;
137 151
       }
138 152
       getInspectionDetail(patientid, date, this.project_id).then(response => {
139 153
         if (response.data.state === 1) {
@@ -163,6 +177,7 @@ export default {
163 177
     this.activeTwo = parseInt(this.$route.query.active);
164 178
     setRem();
165 179
     setHeight();
180
+    this.GetAllProjectNameByDate(date, patientid);
166 181
     this.getAllInspection();
167 182
     this.getPatientName(patientid);
168 183
   }
@@ -243,7 +258,7 @@ export default {
243 258
           text-align: center;
244 259
           font-size: 0.75rem;
245 260
         }
246
-        p{
261
+        p {
247 262
           width: 33.3%;
248 263
           // text-align: center;
249 264
           font-size: 0.75rem;
@@ -265,7 +280,7 @@ export default {
265 280
 </style>
266 281
 
267 282
 <style lang="scss">
268
-.page_allCheck{
283
+.page_allCheck {
269 284
   .van-tab--active {
270 285
     font-size: 1rem;
271 286
     color: #000;
@@ -273,5 +288,4 @@ export default {
273 288
     flex-basis: 26% !important;
274 289
   }
275 290
 }
276
-
277 291
 </style>

+ 1 - 1
src/pages/personal/ElectronicSignature.vue View File

@@ -135,7 +135,7 @@ export default {
135 135
       middleAry: [],
136 136
       // 配置参数
137 137
       config: {
138
-        lineWidth: 3,
138
+        lineWidth: 6,
139 139
         lineColor: "#000",
140 140
         shadowBlur: 1,
141 141
         fillStyle: "#fff"

+ 18 - 1
src/router/index.js View File

@@ -62,9 +62,26 @@ export default new Router({
62 62
           name: 'newMy',
63 63
           component: () => import('@/pages/my/index')
64 64
         },
65
-        
65
+        // 活动
66
+        {
67
+          path: '/active',
68
+          name: 'active',
69
+          component: () => import('@/pages/home/active')
70
+        },
66 71
       ]
67 72
     },
73
+    // 活动报名表
74
+    {
75
+      path: '/activeForm',
76
+      name: 'activeForm',
77
+      component: () => import('@/pages/home/activeForm')
78
+    },
79
+    // 活动报名表成功
80
+    {
81
+      path: '/activeSuccess',
82
+      name: 'activeSuccess',
83
+      component: () => import('@/pages/home/activeSuccess')
84
+    },
68 85
     // 商城
69 86
     {
70 87
       path: '/shop',

+ 4 - 1
src/styles/style.scss View File

@@ -759,7 +759,7 @@ body {
759 759
 .CheckBox .van-checkbox__label {
760 760
   width: 94%;
761 761
   font-size: 0.45rem;
762
-
762
+  line-height: 1.25rem !important;
763 763
   @media only screen and (max-width: 812px) {
764 764
     width: 90%;
765 765
   }
@@ -1157,3 +1157,6 @@ body {
1157 1157
   line-height: 24px;
1158 1158
   text-align: center;
1159 1159
 }
1160
+.van-checkbox__label{
1161
+  line-height: 1.25rem;
1162
+}