XMLWAN пре 2 година
родитељ
комит
a1b17f124d
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/xt_pages/dialysis/details/dialog/finish_dialog.vue

+ 2 - 2
src/xt_pages/dialysis/details/dialog/finish_dialog.vue Прегледај датотеку

256
         ParamsQuery["nurse"] = this.form.nurse_id;
256
         ParamsQuery["nurse"] = this.form.nurse_id;
257
         ParamsQuery["end_time"] = this.end_time;
257
         ParamsQuery["end_time"] = this.end_time;
258
         ParamsQuery["mode"] = "2"
258
         ParamsQuery["mode"] = "2"
259
-        ParamsQuery["puncture_point_haematoma"] = this.form.puncture_point_haematoma
259
+        ParamsQuery["puncture_point_haematoma"] = paseInt(this.form.puncture_point_haematoma)
260
         ParamsQuery["internal_fistula"] = this.form.internal_fistula
260
         ParamsQuery["internal_fistula"] = this.form.internal_fistula
261
         ParamsQuery["catheter"] = this.form.catheter
261
         ParamsQuery["catheter"] = this.form.catheter
262
         ParamsQuery["cruor"] = this.form.cruor
262
         ParamsQuery["cruor"] = this.form.cruor
284
       submit: function() {
284
       submit: function() {
285
         this.loading = true
285
         this.loading = true
286
         let mode = "1"
286
         let mode = "1"
287
-        finishDialysis(this.patient_id,this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.end_time, this.form.nurse_id,mode,this.form.puncture_point_haematoma,this.form.internal_fistula,this.form.catheter,this.form.cruor).then(rs => {
287
+        finishDialysis(this.patient_id,this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.end_time, this.form.nurse_id,mode,parseInt(this.form.puncture_point_haematoma),this.form.internal_fistula,this.form.catheter,this.form.cruor).then(rs => {
288
           this.loading = false
288
           this.loading = false
289
           var resp = rs.data
289
           var resp = rs.data
290
           if (resp.state == 1) {
290
           if (resp.state == 1) {