Commit 545d13f9 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : Récupération correcte des dates des jalons via l'URL

parent 8d2ed8a3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -409,6 +409,11 @@ export default {
    this.pickerDayRef = this.modelValue ? this.modelValue : moment().format();
    this.realInput = this.modelValue ? moment(this.modelValue).format(this.displayFormat) : "";
    this.initPickerVar();
  },

  updated() {
    this.realInput = this.modelValue ? moment(this.modelValue).format(this.displayFormat) : "";
    this.initPickerVar();
  }
}
</script>
+2 −1
Original line number Diff line number Diff line
@@ -170,7 +170,8 @@ export default {
    },

    handlerChangeDate() {
      let emited = {value3: this.date1 + ',' + this.date2, reload: true};
      console.log("changeDate", this.date1, this.date2);
      let emited = {value3: (this.date1||'') + ',' + (this.date2||''), reload: true};
      this.$emit('filter-update', emited);
    },