Add application workflow and lead analytics
This commit is contained in:
@@ -30,6 +30,12 @@ function blankForm() {
|
||||
url: "",
|
||||
status: "applied",
|
||||
notes: "",
|
||||
salaryRange: "",
|
||||
workArrangement: "",
|
||||
applicationSource: "",
|
||||
resumeVersion: "",
|
||||
requisitionId: "",
|
||||
contactRole: "",
|
||||
// Logging an application on the day you send it is the common case, so the
|
||||
// date defaults to today rather than landing null and ageing as unknown.
|
||||
appliedAt: today(),
|
||||
@@ -48,6 +54,12 @@ async function createApplication() {
|
||||
location: form.value.location || undefined,
|
||||
url: form.value.url || undefined,
|
||||
notes: form.value.notes || undefined,
|
||||
salaryRange: form.value.salaryRange || undefined,
|
||||
workArrangement: form.value.workArrangement || undefined,
|
||||
applicationSource: form.value.applicationSource || undefined,
|
||||
resumeVersion: form.value.resumeVersion || undefined,
|
||||
requisitionId: form.value.requisitionId || undefined,
|
||||
contactRole: form.value.contactRole || undefined,
|
||||
appliedAt: form.value.appliedAt
|
||||
? new Date(form.value.appliedAt).toISOString()
|
||||
: undefined,
|
||||
@@ -109,6 +121,12 @@ async function createApplication() {
|
||||
<span>Notes</span>
|
||||
<textarea v-model="form.notes" class="input" rows="2" />
|
||||
</label>
|
||||
<label class="field af-span-2"><span>Salary / range</span><input v-model="form.salaryRange" class="input" placeholder="£60-70k" /></label>
|
||||
<label class="field af-span-2"><span>Work arrangement</span><input v-model="form.workArrangement" class="input" placeholder="Hybrid" /></label>
|
||||
<label class="field af-span-2"><span>Application source</span><input v-model="form.applicationSource" class="input" placeholder="LinkedIn" /></label>
|
||||
<label class="field af-span-2"><span>Resume version</span><input v-model="form.resumeVersion" class="input" placeholder="CV 2026-10" /></label>
|
||||
<label class="field af-span-2"><span>Requisition ID</span><input v-model="form.requisitionId" class="input" /></label>
|
||||
<label class="field af-span-2"><span>Contact / referral role</span><input v-model="form.contactRole" class="input" placeholder="Hiring manager" /></label>
|
||||
<div class="af-actions af-span-6">
|
||||
<button v-if="closable" type="button" class="btn" @click="emit('close')">
|
||||
Cancel
|
||||
|
||||
Reference in New Issue
Block a user