feat(interviews): add preSelectedStage prop to MoveToSheet
This commit is contained in:
parent
6ea2fc5346
commit
dd151f1afc
1 changed files with 4 additions and 3 deletions
|
|
@ -4,8 +4,9 @@ import { STAGE_LABELS, PIPELINE_STAGES } from '../stores/interviews'
|
||||||
import type { PipelineStage } from '../stores/interviews'
|
import type { PipelineStage } from '../stores/interviews'
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
currentStatus: string
|
currentStatus: string
|
||||||
jobTitle: string
|
jobTitle: string
|
||||||
|
preSelectedStage?: PipelineStage
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
|
|
@ -13,7 +14,7 @@ const emit = defineEmits<{
|
||||||
close: []
|
close: []
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const selectedStage = ref<PipelineStage | null>(null)
|
const selectedStage = ref<PipelineStage | null>(props.preSelectedStage ?? null)
|
||||||
const interviewDate = ref('')
|
const interviewDate = ref('')
|
||||||
const rejectionStage = ref('')
|
const rejectionStage = ref('')
|
||||||
const focusIndex = ref(0)
|
const focusIndex = ref(0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue