28169 3 месяцев назад
Родитель
Сommit
a2966229a3
1 измененных файлов: 4 добавлений и 2 удалений
  1. 4 2
      src/xt_pages/charging/charging_cz.vue

+ 4 - 2
src/xt_pages/charging/charging_cz.vue Просмотреть файл

180
 
180
 
181
       },
181
       },
182
       savePatentCount(){
182
       savePatentCount(){
183
-         
184
         var params = {
183
         var params = {
185
           patient_id:this.patient_id,
184
           patient_id:this.patient_id,
186
           hd_count:this.hd_count,
185
           hd_count:this.hd_count,
191
           
190
           
192
         }
191
         }
193
        savePatentCount(params).then(response=>{
192
        savePatentCount(params).then(response=>{
194
-
193
+          if(response.data.state == 1){
194
+             var patientInCount = response.data.data.patientInCount
195
+             this.newcz_show = false
196
+          }
195
        }) 
197
        }) 
196
       }
198
       }
197
      
199