Browse Source

Merge branch 'update' of http://git.shengws.com:3000/zhangbj/xt_vue

zhengchengwu 5 years ago
parent
commit
24cbcf49b4

+ 3 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -482,12 +482,15 @@
482 482
 
483 483
       var date = this.$route.query && this.$route.query.date;
484 484
       this.record_date = uParseTime(date, '{y}-{m}-{d}');
485
+
486
+           
485 487
     },
486 488
     watch: {
487 489
       isVisibility(val) {
488 490
 
489 491
       },
490 492
       "prescription.id": function () {
493
+        
491 494
         if (this.prescription.id > 0) {
492 495
           for (var index in this.dialysisPrescription) {
493 496
             this.dialysisPrescription[index] = this.prescription[index];

+ 10 - 10
src/xt_pages/home/index.vue View File

@@ -164,7 +164,7 @@ export default {
164 164
         used:'已使用0天',
165 165
         name:'免费版本',
166 166
         desc:'当前为免费版',
167
-        detail:'可管理20位(含)以下患者',
167
+        detail:'可管理100位(含)以下患者',
168 168
         leave:'剩余0天',
169 169
         pay_status:false,
170 170
       },
@@ -229,22 +229,22 @@ export default {
229 229
         case 2:
230 230
           //免费版本不会过期,但有人数限制,免费版,可以管理20位(含)以下患者,当患者数过了20位,系统不能正常使用,达到18位时,要提醒购买,超过60位,要购买专业版
231 231
           pce = 0;
232
-          if(this.patientTotal>60) {
232
+          if(this.patientTotal>200) {
233 233
             leave = "管理患者数已达"+this.patientTotal+"位,请购买专业版";
234 234
             pce = 100;
235
-          }else if(this.patientTotal>20) {
235
+          }else if(this.patientTotal>100) {
236 236
             leave = "管理患者数已达"+this.patientTotal+"位,请购买标准版";
237 237
             pce = 100;
238
-          }else if(this.patientTotal>=18) {
238
+          }else if(this.patientTotal>=90) {
239 239
             leave = "管理患者数已达"+this.patientTotal+"位,建议购买标准版";
240
-            pce = Math.round(this.patientTotal/20*100)
240
+            pce = Math.round(this.patientTotal/100*100)
241 241
           }
242 242
           pce = "width:"+pce+"%";
243 243
           this.subscibeBan={
244 244
             used:'已使用'+used+'天',
245 245
             name:'免费版',
246 246
             desc:'当前为免费版',
247
-            detail:'可管理20位(含)以下患者',
247
+            detail:'可管理100位(含)以下患者',
248 248
             leave:leave,
249 249
             pay_status:leave?true:false,
250 250
             pce:pce,
@@ -279,12 +279,12 @@ export default {
279 279
           if (leaveTime<0){
280 280
             leave = "已经过期";
281 281
             pce = "100";
282
-          } else if(this.patientTotal>60) {
282
+          } else if(this.patientTotal>200) {
283 283
             leave = "管理患者数已达"+this.patientTotal+"位,请购买专业版";
284 284
             pce = "width:100%";
285
-          } else if(this.patientTotal>=58) {
285
+          } else if(this.patientTotal>=190) {
286 286
               leave = "管理患者数已达"+this.patientTotal+"位,建议购买专业版";
287
-              pce = Math.round(this.patientTotal/60*100);
287
+              pce = Math.round(this.patientTotal/200*100);
288 288
           } else {
289 289
             leave = Math.floor(leaveTime/86400);
290 290
             leave = leave>30?"":'剩余'+leave+'天,建议购买标准版';
@@ -296,7 +296,7 @@ export default {
296 296
             used:'已使用'+used+'天',
297 297
             name:'标准版',
298 298
             desc:'当前为标准版',
299
-            detail:'可管理60位(含)以下患者',
299
+            detail:'可管理200位(含)以下患者',
300 300
             leave:leave,
301 301
             pay_status:leave?true:false,
302 302
             pce:pce,

+ 4 - 4
src/xt_pages/service/serviceOrder.vue View File

@@ -49,7 +49,7 @@
49 49
         <li  tag="li" class="items" >
50 50
           <div class="inner">
51 51
             <h2 class="name">免费版</h2>
52
-            <p class="text">最多可管理20位患者</p>
52
+            <p class="text">最多可管理100位患者</p>
53 53
             <span class="price size">免费使用</span>
54 54
             <!-- <span  @click="isSCRMClick = 1" v-if="isSCRMClick == 2" class="buy active">已选购</span> -->
55 55
             <span class="buy active">已开通</span>
@@ -58,8 +58,8 @@
58 58
         <li  tag="li" class="items" >
59 59
           <div class="inner">
60 60
             <h2 class="name">标准版</h2>
61
-            <p class="text">最多可管理60位患者</p>
62
-            <span class="price"><i>¥</i>1998<span class="year">/ 年</span></span>
61
+            <p class="text">最多可管理200位患者</p>
62
+            <span class="price"><i>¥</i>6980<span class="year">/ 年</span></span>
63 63
             <!-- <span  @click="isWxClick = 1" v-if="isWxClick == 2" class="buy active">已选购</span> -->
64 64
             <!-- <span class="buy active">已开通</span> -->
65 65
             <!-- <span @click="selectXt(1)" v-if="isBZClick == 2" class="buy active">已选购</span> -->
@@ -71,7 +71,7 @@
71 71
           <div class="inner">
72 72
             <h2 class="name">专业版</h2>
73 73
             <p class="text">管理的患者数无限制</p>
74
-            <span class="price"><i>¥</i>9998<span class="year">/ 年</span></span>
74
+            <span class="price"><i>¥</i>15800<span class="year">/ 年</span></span>
75 75
             <!-- <span class="price"><i>¥</i>23888<span class="year">/ 年</span></span> -->
76 76
             <!-- <span @click="selectXt(8)" v-if="isXTClick == 2" class="buy active">已选购</span>
77 77
             <span @click="selectXt(8)" v-if="isXTClick == 1" class="buy ">立即选购</span> -->