Adjust teamer profile form to changes in backend
This commit is contained in:
@@ -26,15 +26,18 @@
|
|||||||
<span class="ml-2">{{ jobProfile.title }}</span>
|
<span class="ml-2">{{ jobProfile.title }}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<h4 class="mb-2">Sonstiges</h4>
|
<h4 class="mb-2">Buszustiege</h4>
|
||||||
<div class="flex flex-col space-y-1 pb-4">
|
<div class="flex flex-col space-y-1 pb-4">
|
||||||
<label class="flex items-center">
|
<label class="flex items-center"
|
||||||
|
v-for="pickup of pickups" :key="pickup.id">
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
class="border-zinc-400 focus:border-zinc-800 ring-0 focus:ring-0 text-ep-secondary sbw:text-sbw-secondary"
|
class="border-zinc-400 focus:border-zinc-800 ring-0 focus:ring-0 text-ep-secondary sbw:text-sbw-secondary"
|
||||||
v-model="userData.wantsToLead"/>
|
v-model="userData.pickups"
|
||||||
<span class="ml-2">Ich möchte eine Fahrtenleitung übernehmen</span>
|
:value="pickup.id"/>
|
||||||
|
<span class="ml-2">{{ pickup.name }}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<h4 class="mb-2">Sonstiges</h4>
|
||||||
<form-group label="Status">
|
<form-group label="Status">
|
||||||
<select id="status" v-model="userData.seniority" class="border-zinc-400 focus:border-zinc-800 ring-0 focus:ring-0 mt-1 w-full">
|
<select id="status" v-model="userData.seniority" class="border-zinc-400 focus:border-zinc-800 ring-0 focus:ring-0 mt-1 w-full">
|
||||||
<option v-for="status in this.status" :value="status.value">{{ status.label }}</option>
|
<option v-for="status in this.status" :value="status.value">{{ status.label }}</option>
|
||||||
@@ -98,7 +101,8 @@
|
|||||||
],
|
],
|
||||||
abilities: [],
|
abilities: [],
|
||||||
timeFrames: [],
|
timeFrames: [],
|
||||||
jobProfiles: []
|
jobProfiles: [],
|
||||||
|
pickups: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -108,9 +112,9 @@
|
|||||||
abilities: this.userData.abilities,
|
abilities: this.userData.abilities,
|
||||||
jobProfiles: this.userData.jobProfiles,
|
jobProfiles: this.userData.jobProfiles,
|
||||||
availableTimeFrames: this.userData.availableTimeFrames,
|
availableTimeFrames: this.userData.availableTimeFrames,
|
||||||
|
pickups: this.userData.pickups,
|
||||||
jacketSize: this.userData.jacketSize,
|
jacketSize: this.userData.jacketSize,
|
||||||
seniority: this.userData.seniority,
|
seniority: this.userData.seniority,
|
||||||
wantsToLead: this.userData.wantsToLead,
|
|
||||||
monthLong: this.userData.monthLong,
|
monthLong: this.userData.monthLong,
|
||||||
notes: this.userData.notes,
|
notes: this.userData.notes,
|
||||||
};
|
};
|
||||||
@@ -159,6 +163,7 @@
|
|||||||
this.abilities = data.abilities
|
this.abilities = data.abilities
|
||||||
this.timeFrames = data.timeFrames
|
this.timeFrames = data.timeFrames
|
||||||
this.jobProfiles = data.jobProfiles
|
this.jobProfiles = data.jobProfiles
|
||||||
|
this.pickups = data.pickups
|
||||||
})
|
})
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
|
|||||||
@@ -50,10 +50,6 @@ Encore
|
|||||||
config.shippedProposals = true
|
config.shippedProposals = true
|
||||||
config.useBuiltIns = 'usage'
|
config.useBuiltIns = 'usage'
|
||||||
config.corejs = 3
|
config.corejs = 3
|
||||||
})
|
|
||||||
.configureWatchOptions(function (options) {
|
|
||||||
options.poll = 500;
|
|
||||||
options.ignored = /node_modules|vendor|fileadmin/;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const EpThemeConfig = Encore.getWebpackConfig();
|
const EpThemeConfig = Encore.getWebpackConfig();
|
||||||
@@ -95,10 +91,6 @@ Encore
|
|||||||
})
|
})
|
||||||
.configureBabel(function (babelConfig) {
|
.configureBabel(function (babelConfig) {
|
||||||
babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ]
|
babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ]
|
||||||
})
|
|
||||||
.configureWatchOptions(function (options) {
|
|
||||||
options.poll = 500;
|
|
||||||
options.ignored = /node_modules/;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const EpEventsConfig = Encore.getWebpackConfig();
|
const EpEventsConfig = Encore.getWebpackConfig();
|
||||||
|
|||||||
Reference in New Issue
Block a user