dev #160
@ -1,19 +1,19 @@
|
|||||||
div(v-for="(e, idx) in journey_data.main", :key="idx")
|
div(v-for="(e, idx) in journey.data.main", :key="idx")
|
||||||
.bg-dark.text-white(v-if="journey_step_data.section == idx")
|
.bg-dark.text-white(v-if="journey.sel_leg == idx")
|
||||||
.container.section
|
.container.section
|
||||||
.row.text-center
|
.row.text-center
|
||||||
.input.col-sm-2
|
.input.col-sm-2
|
||||||
input(v-model="journey_data.main[idx].title")
|
input(v-model="journey.leg_get(idx).title")
|
||||||
.input.col-sm-2
|
.input.col-sm-2
|
||||||
input(
|
input(
|
||||||
placeholder="Day title",
|
placeholder="Day title",
|
||||||
v-model="journey_data.main[idx].step_title[journey_step_data.day]"
|
v-model="journey.leg_get(idx).step_title[journey.sel_day]"
|
||||||
)
|
)
|
||||||
.col-sm-3
|
.col-sm-3
|
||||||
.right.input.col-sm-2
|
.right.input.col-sm-2
|
||||||
input(
|
input(
|
||||||
disabled="",
|
disabled="",
|
||||||
:value="active_date() + ' (' + journey_step_data.day + ')'"
|
:value="journey.date_sel() + ' (' + journey.sel_day + ')'"
|
||||||
)
|
)
|
||||||
.row
|
.row
|
||||||
.col-9.col-ssm-12
|
.col-9.col-ssm-12
|
||||||
@ -21,21 +21,21 @@ div(v-for="(e, idx) in journey_data.main", :key="idx")
|
|||||||
.col-3.col-ssm-12
|
.col-3.col-ssm-12
|
||||||
.row.text-center
|
.row.text-center
|
||||||
div
|
div
|
||||||
label Date Range ({{ step_len(idx) }})
|
label Date Range ({{ journey.leg_len(idx) }})
|
||||||
.input.text-dark
|
.input.text-dark
|
||||||
date-picker(
|
date-picker(
|
||||||
:lang="lang",
|
:lang="lang",
|
||||||
v-model="journey_data.main[idx].dateRange",
|
v-model="journey.data.main[idx].date_range",
|
||||||
range="",
|
range="",
|
||||||
format="ddd D MMM",
|
format="ddd D MMM",
|
||||||
placeholder="Date Range",
|
placeholder="Date Range",
|
||||||
v-on:change="update_date(idx)"
|
v-on:change="journey.date_update(idx)"
|
||||||
)
|
)
|
||||||
.row.text-center
|
.row.text-center
|
||||||
div
|
div
|
||||||
label Hotel
|
label Hotel
|
||||||
multiselect#ajax(
|
multiselect#ajax(
|
||||||
v-model="journey_data.main[idx].hotel",
|
v-model="journey.data.main[idx].hotel",
|
||||||
label="sname",
|
label="sname",
|
||||||
track-by="place_id",
|
track-by="place_id",
|
||||||
placeholder="Type to search",
|
placeholder="Type to search",
|
||||||
@ -54,7 +54,7 @@ div(v-for="(e, idx) in journey_data.main", :key="idx")
|
|||||||
div
|
div
|
||||||
label Restoration
|
label Restoration
|
||||||
multiselect#ajax(
|
multiselect#ajax(
|
||||||
v-model="journey_data.main[idx].places.restaurants",
|
v-model="journey.data.main[idx].places.restaurants",
|
||||||
label="sname",
|
label="sname",
|
||||||
track-by="place_id",
|
track-by="place_id",
|
||||||
placeholder="Type to search",
|
placeholder="Type to search",
|
||||||
@ -74,7 +74,7 @@ div(v-for="(e, idx) in journey_data.main", :key="idx")
|
|||||||
div
|
div
|
||||||
label Activities
|
label Activities
|
||||||
multiselect#ajax(
|
multiselect#ajax(
|
||||||
v-model="journey_data.main[idx].places.activities",
|
v-model="journey.data.main[idx].places.activities",
|
||||||
label="sname",
|
label="sname",
|
||||||
track-by="place_id",
|
track-by="place_id",
|
||||||
placeholder="Type to search",
|
placeholder="Type to search",
|
||||||
@ -95,7 +95,7 @@ div(v-for="(e, idx) in journey_data.main", :key="idx")
|
|||||||
label Notes
|
label Notes
|
||||||
.input.text-dark(style="width: 100%")
|
.input.text-dark(style="width: 100%")
|
||||||
textarea-autosize.text-small(
|
textarea-autosize.text-small(
|
||||||
v-model="journey_data.main[idx].notes",
|
v-model="journey.data.main[idx].notes",
|
||||||
placeholder="Notes",
|
placeholder="Notes",
|
||||||
:min-height="30",
|
:min-height="30",
|
||||||
:max-height="350"
|
:max-height="350"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user