Merge branch 'feature/создание-договора' into 'master'
Косметические правки See merge request andrusyakka/urban-couscous!220
This commit is contained in:
@@ -1,25 +1,32 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.wrap.flex.flex-col.gap-y-6
|
.flex.flex-col.gap-y-6
|
||||||
.flex.flex.flex-col.gap-y-9
|
.flex.flex-col.gap-y-6
|
||||||
span.font-bold.text-xl Договор
|
span.font-bold.text-xl Договор
|
||||||
|
.flex.self-center
|
||||||
base-stepper(
|
base-stepper(
|
||||||
:steps="steps",
|
:steps="steps",
|
||||||
:currentStep="currentStep"
|
:currentStep="currentStep"
|
||||||
)
|
)
|
||||||
component(v-bind:is="currentTabComponent")
|
component(v-bind:is="currentTabComponent")
|
||||||
.flex.gap-6
|
.flex.justify-between
|
||||||
.flex.flex-col.gap-2
|
.flex
|
||||||
base-button(
|
base-button(
|
||||||
:size="40",
|
:size="40",
|
||||||
@click="prevStep",
|
@click="prevStep",
|
||||||
v-if="currentStep !== 0"
|
v-if="currentStep !== 0",
|
||||||
|
outlined,
|
||||||
) Назад
|
) Назад
|
||||||
.flex.flex-col.gap-2
|
.flex
|
||||||
base-button(
|
base-button(
|
||||||
:size="40",
|
:size="40",
|
||||||
@click="nextStep",
|
@click="nextStep",
|
||||||
v-if="currentStep < steps.length-1"
|
v-if="currentStep < steps.length-1",
|
||||||
) Далее
|
) Далее
|
||||||
|
base-button(
|
||||||
|
:size="40",
|
||||||
|
@click="finish",
|
||||||
|
v-if="currentStep === steps.length-1"
|
||||||
|
) Завершить
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -38,7 +45,6 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isService: true,
|
|
||||||
currentStep: 0,
|
currentStep: 0,
|
||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
@@ -53,6 +59,12 @@ export default {
|
|||||||
value: "Пациент",
|
value: "Пациент",
|
||||||
component: "agreement-person",
|
component: "agreement-person",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
label: "2",
|
||||||
|
value: "Пациент",
|
||||||
|
component: "agreement-person",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -68,8 +80,7 @@ export default {
|
|||||||
prevStep() {
|
prevStep() {
|
||||||
this.currentStep -= 1;
|
this.currentStep -= 1;
|
||||||
},
|
},
|
||||||
|
finish() {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped></style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user