Quellcode durchsuchen

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

csx vor 4 Jahren
Ursprung
Commit
124a4c8002

+ 2 - 2
config/dev.env.js Datei anzeigen

4
 
4
 
5
 module.exports = merge(prodEnv, {
5
 module.exports = merge(prodEnv, {
6
   NODE_ENV: '"development"',
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
   //BASE_API: '"http://localhost:9529"'
9
   //BASE_API: '"http://localhost:9529"'
10
   //http://api.xt.test.sgjyun.com http://localhost:9529
10
   //http://api.xt.test.sgjyun.com http://localhost:9529
11
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
11
   // BASE_API: '"http://api.xt.test.sgjyun.com"'

+ 1 - 1
config/prod.env.js Datei anzeigen

2
 module.exports = {
2
 module.exports = {
3
   NODE_ENV: '"production"',
3
   NODE_ENV: '"production"',
4
   BASE_API: '"http://new_mobile.xt.api.sgjyun.com"'
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
   // BASE_API:'"http://localhost:9529"',
6
   // BASE_API:'"http://localhost:9529"',
7
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
7
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
8
   // http://api.xt.test.sgjyun.com
8
   // http://api.xt.test.sgjyun.com

+ 24 - 4
src/api/patient/patient.js Datei anzeigen

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
 export function getAllInspection(params) {
494
 export function getAllInspection(params) {
482
   return request({
495
   return request({
483
     url: '/m/api/patient/getallinspection',
496
     url: '/m/api/patient/getallinspection',
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
   const params = {
781
   const params = {
771
     id: id,
782
     id: id,
772
-    name: name
783
+    name: name,
784
+    orgid: orgid
773
   }
785
   }
774
   return request({
786
   return request({
775
     url: '/m/api/patient/savenametwo',
787
     url: '/m/api/patient/savenametwo',
903
     params: params
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 Datei anzeigen


BIN
src/assets/images/activeIcon_03.png Datei anzeigen


BIN
src/assets/images/apply.png Datei anzeigen


BIN
src/assets/images/ercode.png Datei anzeigen


BIN
src/assets/images/goods_03.png Datei anzeigen


BIN
src/assets/images/goods_07.png Datei anzeigen


BIN
src/assets/images/goods_09.png Datei anzeigen


BIN
src/assets/images/true.png Datei anzeigen


+ 183 - 0
src/pages/home/active.vue Datei anzeigen

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 Datei anzeigen

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 Datei anzeigen

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 Datei anzeigen

82
             <div>首页</div>
82
             <div>首页</div>
83
           </van-tabbar-item>
83
           </van-tabbar-item>
84
         </router-link>
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
         <!--<router-link to="/service">-->
91
         <!--<router-link to="/service">-->
92
           <!--<van-tabbar-item>-->
92
           <!--<van-tabbar-item>-->
93
             <!--<i class="iconfont icon-fuwu2 iconOne"></i>-->
93
             <!--<i class="iconfont icon-fuwu2 iconOne"></i>-->
148
      if (currenttabbar === 'homeIndex') {
148
      if (currenttabbar === 'homeIndex') {
149
       this.active = 0
149
       this.active = 0
150
     } else if (currenttabbar === 'newMy') {
150
     } else if (currenttabbar === 'newMy') {
151
+      this.active = 2
152
+    } else if (currenttabbar === 'active') {
151
       this.active = 1
153
       this.active = 1
152
     }
154
     }
153
   }
155
   }

+ 57 - 93
src/pages/main/dialog/AssessmentDialog.vue Datei anzeigen

65
           </div>
65
           </div>
66
         </div>
66
         </div>
67
 
67
 
68
-
69
-
70
         <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">
68
         <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">
71
           <h2 class="name">透析机型号</h2>
69
           <h2 class="name">透析机型号</h2>
72
           <div class="content">
70
           <div class="content">
103
           </div>
101
           </div>
104
         </div>
102
         </div>
105
 
103
 
106
-
107
         <div class="line"></div>
104
         <div class="line"></div>
108
         <div class="item" v-if="isShow('收缩压')">
105
         <div class="item" v-if="isShow('收缩压')">
109
           <h2 class="name">收缩压(mmHg)</h2>
106
           <h2 class="name">收缩压(mmHg)</h2>
153
         </div>
150
         </div>
154
 
151
 
155
         <div
152
         <div
156
-          @click="showSubMenu('blood_access_opera')"
153
+          @click="showSubMenu('vascular_access_desc')"
157
           class="item"
154
           class="item"
158
-          ref="blood_access_opera"
159
-          v-if="isShow('血管通路操作')"
155
+          ref="vascular_access_desc"
156
+          v-if="isShow('血管通路')"
160
         >
157
         >
161
           <h2 class="name">血管通路</h2>
158
           <h2 class="name">血管通路</h2>
162
           <div class="content">
159
           <div class="content">
166
         </div>
163
         </div>
167
         <div class="line"></div>
164
         <div class="line"></div>
168
 
165
 
169
-
170
         <div
166
         <div
171
           @click="showSubMenu('blood_access_part')"
167
           @click="showSubMenu('blood_access_part')"
172
           class="item"
168
           class="item"
223
           </div>
219
           </div>
224
         </div>
220
         </div>
225
 
221
 
226
-
227
-
228
         <div
222
         <div
229
           @click="showSubMenu('internal_fistula_skin')"
223
           @click="showSubMenu('internal_fistula_skin')"
230
           class="item"
224
           class="item"
238
           </div>
232
           </div>
239
         </div>
233
         </div>
240
 
234
 
241
-
242
         <div
235
         <div
243
           @click="showSubMenu('venous_catheterization')"
236
           @click="showSubMenu('venous_catheterization')"
244
           class="item"
237
           class="item"
276
           </div>
269
           </div>
277
         </div>
270
         </div>
278
 
271
 
279
-
280
         <div
272
         <div
281
           @click="showSubMenu('puncture_needle')"
273
           @click="showSubMenu('puncture_needle')"
282
           class="item"
274
           class="item"
313
           </div>
305
           </div>
314
         </div>
306
         </div>
315
 
307
 
316
-
317
         <div @click="showSubMenu('skin')" class="item" ref="skin" v-if="isShow('皮肤')">
308
         <div @click="showSubMenu('skin')" class="item" ref="skin" v-if="isShow('皮肤')">
318
           <h2 class="name">皮肤</h2>
309
           <h2 class="name">皮肤</h2>
319
           <div class="content">
310
           <div class="content">
322
           </div>
313
           </div>
323
         </div>
314
         </div>
324
 
315
 
325
-
326
-
327
-
328
         <div
316
         <div
329
           @click="showSubMenu('complication')"
317
           @click="showSubMenu('complication')"
330
           class="item"
318
           class="item"
364
           </div>
352
           </div>
365
         </div>
353
         </div>
366
 
354
 
367
-
368
         <div
355
         <div
369
           @click="showSubMenu('emergency_treatment')"
356
           @click="showSubMenu('emergency_treatment')"
370
           class="item"
357
           class="item"
388
           </div>
375
           </div>
389
         </div>
376
         </div>
390
 
377
 
391
-
392
-
393
         <div class="item" v-if="this.$store.getters.user.template_info.template_id == 6">
378
         <div class="item" v-if="this.$store.getters.user.template_info.template_id == 6">
394
           <h2 class="name">透前净体重(kg)</h2>
379
           <h2 class="name">透前净体重(kg)</h2>
395
           <div class="content">
380
           <div class="content">
402
           </div>
387
           </div>
403
         </div>
388
         </div>
404
 
389
 
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
         <div
390
         <div
414
           @click="showSubMenu('hemorrhage')"
391
           @click="showSubMenu('hemorrhage')"
415
           class="item"
392
           class="item"
429
           </div>
406
           </div>
430
         </div>
407
         </div>
431
 
408
 
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
         <div
409
         <div
441
           @click="showSubMenu('dialysis_interphase')"
410
           @click="showSubMenu('dialysis_interphase')"
442
           class="item"
411
           class="item"
450
           </div>
419
           </div>
451
         </div>
420
         </div>
452
 
421
 
453
-
454
         <div class="line"></div>
422
         <div class="line"></div>
455
 
423
 
456
-
457
-
458
-
459
 <!--        <div-->
424
 <!--        <div-->
460
 <!--          @click="showSubMenu('blood_access_internal_fistula')"-->
425
 <!--          @click="showSubMenu('blood_access_internal_fistula')"-->
461
 <!--          class="item"-->
426
 <!--          class="item"-->
469
 <!--          </div>-->
434
 <!--          </div>-->
470
 <!--        </div>-->
435
 <!--        </div>-->
471
 
436
 
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479
 <!--        <div-->
437
 <!--        <div-->
480
 <!--          @click="showSubMenu('venous_catheterization_part')"-->
438
 <!--          @click="showSubMenu('venous_catheterization_part')"-->
481
 <!--          class="item"-->
439
 <!--          class="item"-->
492
 <!--          </div>-->
450
 <!--          </div>-->
493
 <!--        </div>-->
451
 <!--        </div>-->
494
 
452
 
495
-
496
-
497
         <div
453
         <div
498
           @click="showSubMenu('ductus_arantii')"
454
           @click="showSubMenu('ductus_arantii')"
499
           class="item"
455
           class="item"
514
           </div>
470
           </div>
515
         </div>
471
         </div>
516
 
472
 
517
-
518
-
519
         <div
473
         <div
520
           class="item"
474
           class="item"
521
           v-if="isShow('感染')"
475
           v-if="isShow('感染')"
550
           </div>
504
           </div>
551
         </div>
505
         </div>
552
 
506
 
553
-
554
         <div class="item" ref="skin_other" v-if="isShow('其他皮肤情况')">
507
         <div class="item" ref="skin_other" v-if="isShow('其他皮肤情况')">
555
           <h2 class="name">其他皮肤情况</h2>
508
           <h2 class="name">其他皮肤情况</h2>
556
           <div class="content">
509
           <div class="content">
602
 import { getDataConfig } from "@/utils/data";
555
 import { getDataConfig } from "@/utils/data";
603
 import DryWeightMenu from "./subMenu/dryWeightMenu";
556
 import DryWeightMenu from "./subMenu/dryWeightMenu";
604
 
557
 
605
-import request from '@/utils/request'
558
+import request from "@/utils/request";
606
 
559
 
607
 export default {
560
 export default {
608
   name: "PrescriptionDialog",
561
   name: "PrescriptionDialog",
625
   },
578
   },
626
   data() {
579
   data() {
627
     return {
580
     return {
628
-      showTxt:"",
629
-      hasPermission:true,
581
+      showTxt: "",
582
+      hasPermission: true,
630
       propDryForm: {
583
       propDryForm: {
631
         weight: 0,
584
         weight: 0,
632
         doctor: []
585
         doctor: []
730
         }
683
         }
731
       },
684
       },
732
       deep: true,
685
       deep: true,
733
-      immediate: true
686
+      immediate: true,
687
+      data: []
734
     }
688
     }
735
   },
689
   },
736
   methods: {
690
   methods: {
1055
           this.propForm.click_ref = "blood_access_part";
1009
           this.propForm.click_ref = "blood_access_part";
1056
           break;
1010
           break;
1057
 
1011
 
1058
-        case "blood_access_opera":
1012
+        case "vascular_access_desc":
1059
           this.isHasOther = 2;
1013
           this.isHasOther = 2;
1060
           this.propForm.isShowOther = 1;
1014
           this.propForm.isShowOther = 1;
1061
 
1015
 
1062
           this.propForm.type = 7;
1016
           this.propForm.type = 7;
1063
           this.isShowDialog = false;
1017
           this.isShowDialog = false;
1064
-          this.propForm.title = "血管通路操作";
1018
+          this.propForm.title = "血管通路";
1065
           this.visibility = true;
1019
           this.visibility = true;
1066
           this.propForm.list = [];
1020
           this.propForm.list = [];
1067
           this.propForm.optionList = getDataConfig(
1021
           this.propForm.optionList = getDataConfig(
1070
           );
1024
           );
1071
           this.propForm.isMultiple = 1;
1025
           this.propForm.isMultiple = 1;
1072
           this.propForm.selectId = this.formValue.blood_access_part_opera_id;
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
           break;
1028
           break;
1075
 
1029
 
1076
         case "internal_fistula":
1030
         case "internal_fistula":
1491
     QueryPartById: function(val) {
1445
     QueryPartById: function(val) {
1492
       let vascular_access_part_name = "";
1446
       let vascular_access_part_name = "";
1493
       let vascular_access = getDataConfig("hemodialysis", "vascular_access");
1447
       let vascular_access = getDataConfig("hemodialysis", "vascular_access");
1494
-
1448
+      console.log("vascular_access", vascular_access);
1495
       for (let i = 0; i < vascular_access.length; i++) {
1449
       for (let i = 0; i < vascular_access.length; i++) {
1496
         if (vascular_access[i].id == val) {
1450
         if (vascular_access[i].id == val) {
1497
           vascular_access_part_name = vascular_access[i].name;
1451
           vascular_access_part_name = vascular_access[i].name;
1621
           break;
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
   components: {
1625
   components: {
1663
     CheckBoxSubMenu
1627
     CheckBoxSubMenu
1664
   },
1628
   },
1665
   created() {
1629
   created() {
1666
-    this.getPermission()
1630
+    this.getPermission();
1667
 
1631
 
1668
     var date = this.$route.query && this.$route.query.date;
1632
     var date = this.$route.query && this.$route.query.date;
1669
     date *= 1000;
1633
     date *= 1000;
1692
         this.last_predialysis["additional_weight"].toString()
1656
         this.last_predialysis["additional_weight"].toString()
1693
       );
1657
       );
1694
 
1658
 
1695
-
1696
-
1697
       this.$set(
1659
       this.$set(
1698
         this.formValue,
1660
         this.formValue,
1699
         "internal_fistula",
1661
         "internal_fistula",
1757
       }
1719
       }
1758
     }
1720
     }
1759
     this.hemorrhage_state = this.formValue.is_hemorrhage == 0;
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
 </script>
1726
 </script>
1772
   border: none;
1736
   border: none;
1773
   border-bottom: 1px #e5e5e5 solid;
1737
   border-bottom: 1px #e5e5e5 solid;
1774
 }
1738
 }
1775
-.warnTxt{
1739
+.warnTxt {
1776
   font-size: 0.5rem;
1740
   font-size: 0.5rem;
1777
   height: 1rem;
1741
   height: 1rem;
1778
   line-height: 1rem;
1742
   line-height: 1rem;

+ 2 - 2
src/pages/main/dialog/ComputerDialog.vue Datei anzeigen

505
         request.get("/m/api/permission/get",{
505
         request.get("/m/api/permission/get",{
506
           params:{
506
           params:{
507
             create_url:"/m/api/dialysis/start?mode=1",
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
             module:0
510
             module:0
511
           }
511
           }
512
         }).then(res => {
512
         }).then(res => {

Datei-Diff unterdrückt, da er zu groß ist
+ 1964 - 1896
src/pages/main/dialog/PrescriptionDialog.vue


Datei-Diff unterdrückt, da er zu groß ist
+ 741 - 742
src/pages/main/dialog/ThorougDialog.vue


+ 3 - 3
src/pages/main/template/DialysisPrintOrderTwo.vue Datei anzeigen

1315
         }
1315
         }
1316
         this.check = response.data.data.check;
1316
         this.check = response.data.data.check;
1317
         this.predialysis = response.data.data.PredialysisEvaluation;
1317
         this.predialysis = response.data.data.PredialysisEvaluation;
1318
-        //console.log("透前评估", this.predialysis);
1318
+        // console.log("透前评估", this.predialysis);
1319
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1319
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1320
           this.predialysis.blood_access_part_opera_id
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
         if (afterdialysis.complications_index === undefined) {
1323
         if (afterdialysis.complications_index === undefined) {
1324
           afterdialysis.disequilibrium_syndrome = 1;
1324
           afterdialysis.disequilibrium_syndrome = 1;
1325
         }
1325
         }
1326
         if (afterdialysis.complications_index != undefined) {
1326
         if (afterdialysis.complications_index != undefined) {
1327
           afterdialysis.disequilibrium_syndrome = 2;
1327
           afterdialysis.disequilibrium_syndrome = 2;
1328
         }
1328
         }
1329
-        this.afterdialysis = afterdialysis
1329
+        this.afterdialysis = afterdialysis;
1330
         this.operators = response.data.data.operators;
1330
         this.operators = response.data.data.operators;
1331
         this.dialysisOrder =
1331
         this.dialysisOrder =
1332
           response.data.data.dialysisOrder === null
1332
           response.data.data.dialysisOrder === null

+ 5 - 5
src/pages/main/today/dialysisPrescription.vue Datei anzeigen

187
           <span class="content">{{blood_access}}</span>
187
           <span class="content">{{blood_access}}</span>
188
           <span class="unit"></span>
188
           <span class="unit"></span>
189
         </li>
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
         <li v-if="isShow('目标KT/V')">
195
         <li v-if="isShow('目标KT/V')">
196
           <label>目标KT/V: </label>
196
           <label>目标KT/V: </label>
197
           <span class="content">{{target_ktv != '0'? target_ktv:''}}</span>
197
           <span class="content">{{target_ktv != '0'? target_ktv:''}}</span>

+ 0 - 12
src/pages/my/index.vue Datei anzeigen

293
     console.log("creator", creator);
293
     console.log("creator", creator);
294
     if (creator === 0) {
294
     if (creator === 0) {
295
       var adminid = this.$store.getters.user.admin.id;
295
       var adminid = this.$store.getters.user.admin.id;
296
-      // console.log("创建者id", adminid);
297
       this.getMyInformationThree(adminid);
296
       this.getMyInformationThree(adminid);
298
       this.adminid = 0;
297
       this.adminid = 0;
299
-      // console.log("ids", adminid);
300
       var adminid = this.$store.getters.user.admin.id;
298
       var adminid = this.$store.getters.user.admin.id;
301
       this.ids = adminid;
299
       this.ids = adminid;
302
       return false;
300
       return false;
303
     }
301
     }
304
     if (creator !== 0) {
302
     if (creator !== 0) {
305
-      // this.getMyOrgInformation(creator);
306
       this.getMyInformationFour();
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
 </script>
307
 </script>

+ 15 - 9
src/pages/my/modifyingName.vue Datei anzeigen

20
       admin_user_id: 0,
20
       admin_user_id: 0,
21
       readonly: true,
21
       readonly: true,
22
       ids: 0,
22
       ids: 0,
23
-      id: 0
23
+      id: 0,
24
+      orgid: 0
24
     };
25
     };
25
   },
26
   },
26
   methods: {
27
   methods: {
27
-    getMyInforName(id) {
28
-      getMyInforName(id).then(response => {
28
+    getMyInforName(id, orgid) {
29
+      getMyInforName(id, orgid).then(response => {
29
         if (response.data.state === 1) {
30
         if (response.data.state === 1) {
30
           var username = response.data.data.Username;
31
           var username = response.data.data.Username;
31
           console.log("编辑姓名", username);
32
           console.log("编辑姓名", username);
72
         });
73
         });
73
       }
74
       }
74
       if (creator !== 0) {
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
   created() {
87
   created() {
84
     setRem();
88
     setRem();
85
     var id = this.$route.query.id;
89
     var id = this.$route.query.id;
86
-    this.getMyInforName(id);
87
     this.admin_user_id = id;
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
 </script>
96
 </script>

+ 3 - 1
src/pages/my/myInfo.vue Datei anzeigen

129
       );
129
       );
130
     },
130
     },
131
     editName() {
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
     onConfirm(value) {
136
     onConfirm(value) {
135
       if (value === "男") {
137
       if (value === "男") {

+ 2 - 1
src/pages/my/organizationInfo.vue Datei anzeigen

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

+ 21 - 7
src/pages/patientCenter/allCheck/index.vue Datei anzeigen

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

+ 1 - 1
src/pages/personal/ElectronicSignature.vue Datei anzeigen

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

+ 18 - 1
src/router/index.js Datei anzeigen

62
           name: 'newMy',
62
           name: 'newMy',
63
           component: () => import('@/pages/my/index')
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
       path: '/shop',
87
       path: '/shop',

+ 4 - 1
src/styles/style.scss Datei anzeigen

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