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

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

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

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

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