yq1 1 年間 前
コミット
a578b59ed2
共有2 個のファイルを変更した22 個の追加12 個の削除を含む
  1. 21 11
      src/xt_pages/dialysis/details/index.vue
  2. 1 1
      src/xt_pages/outpatientDoctorStation/template/prinSeven.vue

+ 21 - 11
src/xt_pages/dialysis/details/index.vue ファイルの表示

1306
       width="50%"
1306
       width="50%"
1307
       >
1307
       >
1308
       <div>
1308
       <div>
1309
-         <div >
1309
+         <!-- <div >
1310
           透析频率:
1310
           透析频率:
1311
           <div class="touxipl"></div>
1311
           <div class="touxipl"></div>
1312
-        </div>
1312
+        </div> -->
1313
         <div style="margin: 20px 0;">
1313
         <div style="margin: 20px 0;">
1314
           <div style="border-left: 2px solid #409eff;color: #409eff;padding: 0 10px;">
1314
           <div style="border-left: 2px solid #409eff;color: #409eff;padding: 0 10px;">
1315
             <span>已排详情</span>
1315
             <span>已排详情</span>
3099
       const len = (val.target.innerText).split(' ')
3099
       const len = (val.target.innerText).split(' ')
3100
       console.log("val33333333333333444",len)
3100
       console.log("val33333333333333444",len)
3101
       if(val.target.innerText == '下个月'){
3101
       if(val.target.innerText == '下个月'){
3102
-        this.time_value()
3102
+        this.start_time = moment(this.time_value).startOf('month').format('YYYY-MM-DD')
3103
+        this.end_time = moment(this.time_value).endOf('month').format('YYYY-MM-DD')
3104
+        console.log('gggggggg',this.start_time,this.end_time);
3105
+        this.getPatientDialysisRecordList()
3103
       }else if(val.target.innerText == '上个月'){
3106
       }else if(val.target.innerText == '上个月'){
3104
-        this.time_value()
3107
+        this.start_time = moment(this.time_value).startOf('month').format('YYYY-MM-DD')
3108
+        this.end_time = moment(this.time_value).endOf('month').format('YYYY-MM-DD')
3109
+        console.log('gggggggg',this.start_time,this.end_time);
3110
+        this.getPatientDialysisRecordList()
3105
       }else if(val.target.innerText =='今天'){
3111
       }else if(val.target.innerText =='今天'){
3106
-        this.time_value()
3112
+        this.start_time = moment(this.time_value).startOf('month').format('YYYY-MM-DD')
3113
+        this.end_time = moment(this.time_value).endOf('month').format('YYYY-MM-DD')
3114
+        console.log('gggggggg',this.start_time,this.end_time);
3115
+        this.getPatientDialysisRecordList()
3107
       }else{
3116
       }else{
3108
         // console.log('4444',this.orderList);
3117
         // console.log('4444',this.orderList);
3109
         if(len.length>1){
3118
         if(len.length>1){
3115
           });
3124
           });
3116
           this.history_click = false
3125
           this.history_click = false
3117
         }else{
3126
         }else{
3118
-          this.time_value()
3127
+          this.time_value
3119
         }
3128
         }
3120
         
3129
         
3121
       }
3130
       }
3133
         // this.initData()
3142
         // this.initData()
3134
         this.time_value = newValue
3143
         this.time_value = newValue
3135
         // this.getmonth(this.time_value)
3144
         // this.getmonth(this.time_value)
3136
-        console.log('yyyyyyyyyyy',moment(this.time_value).format('YYYY-MM-DD'),moment(oldValue).format('YYYY-MM-DD'))
3137
-
3138
-        this.start_time = moment(this.time_value).format('YYYY-MM-DD')
3139
-        console.log('rrrrr',this.start_time);
3140
-        this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3145
+        this.start_time = moment(this.time_value).startOf('month').format('YYYY-MM-DD')
3146
+        this.end_time = moment(this.time_value).endOf('month').format('YYYY-MM-DD')
3147
+        // this.start_time =  moment().month(months).startOf('month').format('YYYY-MM-DD')
3148
+        // this.end_time = moment().month(months).endOf('month').format('YYYY-MM-DD')
3149
+        // console.log('rrrrr',this.start_time,this.end_time);
3150
+        // this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3141
       }
3151
       }
3142
     }
3152
     }
3143
   }
3153
   }

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue ファイルの表示

60
             </div>
60
             </div>
61
           </div>
61
           </div>
62
         </div>
62
         </div>
63
-          <div class="prescriptionBox" style="min-height: 400px;">
63
+          <div class="prescriptionBox" style="height: 300px;">
64
             <div class="Rp">Rp:</div>
64
             <div class="Rp">Rp:</div>
65
             <div
65
             <div
66
               class="drugsBox"
66
               class="drugsBox"