Merge branch 'UC-206' into 'master'
WIP Исправлены найденные baseInputs See merge request andrusyakka/urban-couscous!236
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
--btn-blue-color-4: rgba(65, 105, 225, 0.8)
|
--btn-blue-color-4: rgba(65, 105, 225, 0.8)
|
||||||
--bg-btn-icons-color: rgba(215, 217, 255, 0.6)
|
--bg-btn-icons-color: rgba(215, 217, 255, 0.6)
|
||||||
--font-grey-color: #9294a7
|
--font-grey-color: #9294a7
|
||||||
|
--font-grey-color-0: #85858b
|
||||||
--border-light-grey-color: #d3d4dc
|
--border-light-grey-color: #d3d4dc
|
||||||
--row-overlay-color: #f5f6ff
|
--row-overlay-color: #f5f6ff
|
||||||
--default-shadow: 4px 4px 8px rgba(9, 10, 21, 0.1), -4px -4px 8px rgba(9, 10, 21, 0.1)
|
--default-shadow: 4px 4px 8px rgba(9, 10, 21, 0.1), -4px -4px 8px rgba(9, 10, 21, 0.1)
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex.flex-col.gap-y-2
|
.flex.flex-col.gap-y-2
|
||||||
.label.font-semibold.text-sm.opacity-40(v-if="label") {{ label }}
|
.font-semibold.text-sm.opacity-40(
|
||||||
|
v-if="label",
|
||||||
|
:class="labelClass"
|
||||||
|
) {{ label }}
|
||||||
.base-select.flex.justify-between.items-center.py-9px.px-4.gap-4.cursor-pointer.relative(
|
.base-select.flex.justify-between.items-center.py-9px.px-4.gap-4.cursor-pointer.relative(
|
||||||
ref="select",
|
ref="select",
|
||||||
@click="open = !open",
|
@click="open = !open",
|
||||||
@@ -46,6 +49,7 @@ export default {
|
|||||||
center: Boolean,
|
center: Boolean,
|
||||||
label: String,
|
label: String,
|
||||||
textStyle: String,
|
textStyle: String,
|
||||||
|
labelStyle: String,
|
||||||
},
|
},
|
||||||
emits: ["update:modelValue"],
|
emits: ["update:modelValue"],
|
||||||
data() {
|
data() {
|
||||||
@@ -71,6 +75,15 @@ export default {
|
|||||||
"text-base": true,
|
"text-base": true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
labelClass() {
|
||||||
|
return this.labelStyle
|
||||||
|
? {
|
||||||
|
[this.labelStyle]: true,
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
"text-sm": true,
|
||||||
|
};
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickItem(id, label) {
|
clickItem(id, label) {
|
||||||
@@ -108,7 +121,7 @@ export default {
|
|||||||
overflow-y: auto
|
overflow-y: auto
|
||||||
.placeholder
|
.placeholder
|
||||||
color: #090A15
|
color: #090A15
|
||||||
opacity: 0.5
|
opacity: 0.4
|
||||||
text-overflow: ellipsis
|
text-overflow: ellipsis
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
.item
|
.item
|
||||||
|
|||||||
@@ -1,12 +1,17 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex.flex-col.gap-y-2
|
.flex.flex-col.gap-y-2
|
||||||
.label.font-semibold.text-sm.opacity-40(v-if="label") {{ label }}
|
.label.font-semibold.text-sm.opacity-40(
|
||||||
|
v-if="label",
|
||||||
|
:class="labelClass"
|
||||||
|
) {{ label }}
|
||||||
.input-wrapper.flex.gap-x-2.px-4.box-border.py-10px(
|
.input-wrapper.flex.gap-x-2.px-4.box-border.py-10px(
|
||||||
:class="{'border-none': borderNone, 'border-error': borderError }"
|
:class="{'border-none': borderNone, 'border-error': borderError }"
|
||||||
:style="{'background-color': disabled && 'var(--bg-disable-grey-color)'}"
|
:style="{'background-color': disabled && 'var(--bg-disable-grey-color)'}"
|
||||||
)
|
)
|
||||||
input.input.w-full.outline-0.not-italic(
|
input.input.w-full.outline-0.not-italic(
|
||||||
v-model="value",
|
v-model="value",
|
||||||
|
:style="{'color': disabled && 'var(--font-grey-color-0)'}",
|
||||||
|
:class="textClass",
|
||||||
:placeholder="placeholder",
|
:placeholder="placeholder",
|
||||||
:disabled="disabled",
|
:disabled="disabled",
|
||||||
:type="type"
|
:type="type"
|
||||||
@@ -34,6 +39,8 @@ export default {
|
|||||||
borderError: Boolean,
|
borderError: Boolean,
|
||||||
disabled: Boolean,
|
disabled: Boolean,
|
||||||
label: String,
|
label: String,
|
||||||
|
textStyle: String,
|
||||||
|
labelStyle: String,
|
||||||
},
|
},
|
||||||
emits: ["update:modelValue"],
|
emits: ["update:modelValue"],
|
||||||
computed: {
|
computed: {
|
||||||
@@ -45,6 +52,24 @@ export default {
|
|||||||
this.$emit("update:modelValue", value);
|
this.$emit("update:modelValue", value);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
textClass() {
|
||||||
|
return this.textStyle
|
||||||
|
? {
|
||||||
|
[this.textStyle]: true,
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
"text-base": true,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
labelClass() {
|
||||||
|
return this.labelStyle
|
||||||
|
? {
|
||||||
|
[this.labelStyle]: true,
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
"text-sm": true,
|
||||||
|
};
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex.flex-col.gap-y-2
|
.flex.flex-col.gap-y-2
|
||||||
.label(v-if="!!label") {{label}}
|
.label(v-if="!!label") {{label}}
|
||||||
.field
|
.field(:class="{'placeholder-color': !modelValue}")
|
||||||
input(
|
input(
|
||||||
v-model="value",
|
v-model="value",
|
||||||
type="date",
|
type="date",
|
||||||
@@ -52,10 +52,11 @@ export default {
|
|||||||
&::-webkit-calendar-picker-indicator
|
&::-webkit-calendar-picker-indicator
|
||||||
opacity: 0
|
opacity: 0
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
|
|
||||||
.label
|
.label
|
||||||
font-weight: 600
|
font-weight: 600
|
||||||
font-size: 14px
|
font-size: 14px
|
||||||
line-height: 16px
|
line-height: 16px
|
||||||
opacity: 0.4
|
opacity: 0.4
|
||||||
|
.placeholder-color
|
||||||
|
color: var(--font-grey-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,7 +1,13 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
|
.flex.flex-col.gap-y-2
|
||||||
|
.font-semibold.opacity-40(
|
||||||
|
v-if="label",
|
||||||
|
:class="labelClass"
|
||||||
|
) {{ label }}
|
||||||
.base-select(
|
.base-select(
|
||||||
@click="invertOpen",
|
@click="invertOpen",
|
||||||
:class="{'open': open && !disable, 'border-none': borderNone}",
|
:class="{'open': open && !disable, 'border-none': borderNone}",
|
||||||
|
:style="{'background-color': disable && 'var(--bg-disable-grey-color)'}"
|
||||||
ref="select"
|
ref="select"
|
||||||
)
|
)
|
||||||
.placeholder(
|
.placeholder(
|
||||||
@@ -37,6 +43,8 @@ export default {
|
|||||||
placeholderOpacity: Boolean,
|
placeholderOpacity: Boolean,
|
||||||
disable: Boolean,
|
disable: Boolean,
|
||||||
textStyle: String,
|
textStyle: String,
|
||||||
|
labelStyle: String,
|
||||||
|
label: String,
|
||||||
},
|
},
|
||||||
emits: ["update:modelValue"],
|
emits: ["update:modelValue"],
|
||||||
data() {
|
data() {
|
||||||
@@ -62,6 +70,15 @@ export default {
|
|||||||
"text-base": true,
|
"text-base": true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
labelClass() {
|
||||||
|
return this.labelStyle
|
||||||
|
? {
|
||||||
|
[this.labelStyle]: true,
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
"text-sm": true,
|
||||||
|
};
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickItem(id) {
|
clickItem(id) {
|
||||||
@@ -80,6 +97,7 @@ export default {
|
|||||||
<style scoped lang="sass">
|
<style scoped lang="sass">
|
||||||
.base-select
|
.base-select
|
||||||
width: 100%
|
width: 100%
|
||||||
|
height: 40px
|
||||||
border: 1.5px solid #D3D4DC
|
border: 1.5px solid #D3D4DC
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
padding: 9px 16px
|
padding: 9px 16px
|
||||||
|
|||||||
@@ -523,8 +523,8 @@ export default {
|
|||||||
schedules: [
|
schedules: [
|
||||||
{
|
{
|
||||||
date: elem.date,
|
date: elem.date,
|
||||||
end_time: elem.end_time.slice(0, elem.end_time.length - 3),
|
end_time: elem.end_time?.slice(0, elem.end_time.length - 3),
|
||||||
start_time: elem.start_time.slice(
|
start_time: elem.start_time?.slice(
|
||||||
0,
|
0,
|
||||||
elem.start_time.length - 3
|
elem.start_time.length - 3
|
||||||
),
|
),
|
||||||
@@ -536,8 +536,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
foundedElem.schedules.push({
|
foundedElem.schedules.push({
|
||||||
date: elem.date,
|
date: elem.date,
|
||||||
end_time: elem.end_time.slice(0, elem.end_time.length - 3),
|
end_time: elem.end_time?.slice(0, elem.end_time.length - 3),
|
||||||
start_time: elem.start_time.slice(0, elem.start_time.length - 3),
|
start_time: elem.start_time?.slice(0, elem.start_time.length - 3),
|
||||||
status: elem.status,
|
status: elem.status,
|
||||||
id: elem.id,
|
id: elem.id,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,55 +1,54 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex.flex-col.gap-y-4
|
.flex.flex-col.gap-y-4
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
base-select(
|
||||||
.text-info.text-xxs.font-semibold Город
|
|
||||||
base-select.select.text-sm(
|
|
||||||
disable,
|
disable,
|
||||||
textStyle="text-sm",
|
textStyle="text-sm",
|
||||||
|
labelStyle="text-xxs",
|
||||||
placeholder="Введите город",
|
placeholder="Введите город",
|
||||||
v-model="dopeAddress.city",
|
v-model="dopeAddress.city",
|
||||||
:style="{backgroundColor: 'var(--bg-disable-grey-color)'}"
|
label="Город"
|
||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
base-input(
|
||||||
.text-info.text-xxs.font-semibold Область
|
|
||||||
base-input.text-sm.input-info(
|
|
||||||
disabled,
|
disabled,
|
||||||
placeholder="Введите область",
|
placeholder="Введите область",
|
||||||
|
labelStyle="text-xxs",
|
||||||
|
textStyle="text-sm",
|
||||||
v-model="dopeAddress.region",
|
v-model="dopeAddress.region",
|
||||||
:style="{backgroundColor: 'var(--bg-disable-grey-color)'}"
|
label="Область"
|
||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
base-input(
|
||||||
.text-info.text-xxs.font-semibold Улица
|
|
||||||
base-input.text-sm.input-info(
|
|
||||||
disabled,
|
disabled,
|
||||||
placeholder="Введите улицу",
|
placeholder="Введите улицу",
|
||||||
|
labelStyle="text-xxs",
|
||||||
|
textStyle="text-sm",
|
||||||
v-model="dopeAddress.street",
|
v-model="dopeAddress.street",
|
||||||
:style="{backgroundColor: 'var(--bg-disable-grey-color)'}"
|
label="Улица"
|
||||||
)
|
)
|
||||||
.flex.gap-x-4
|
.flex.gap-x-4
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
base-input(
|
||||||
.text-info.text-xxs.font-semibold Дом
|
|
||||||
base-input.text-sm.input-info(
|
|
||||||
disabled,
|
disabled,
|
||||||
placeholder="Дом",
|
placeholder="Дом",
|
||||||
|
label="Дом"
|
||||||
v-model="dopeAddress.house",
|
v-model="dopeAddress.house",
|
||||||
:style="{backgroundColor: 'var(--bg-disable-grey-color)'}"
|
labelStyle="text-xxs",
|
||||||
|
textStyle="text-sm",
|
||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
base-input(
|
||||||
.text-info.text-xxs.font-semibold Квартира
|
|
||||||
base-input.text-sm.input-info(
|
|
||||||
disabled,
|
disabled,
|
||||||
placeholder="Квартира",
|
placeholder="Квартира",
|
||||||
|
label="Квартира",
|
||||||
v-model="dopeAddress.flat",
|
v-model="dopeAddress.flat",
|
||||||
:style="{backgroundColor: 'var(--bg-disable-grey-color)'}"
|
labelStyle="text-xxs",
|
||||||
|
textStyle="text-sm",
|
||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
base-input(
|
||||||
.text-info.text-xxs.font-semibold Индекс
|
|
||||||
base-input.text-sm.input-info(
|
|
||||||
disabled,
|
disabled,
|
||||||
v-mask="'######'",
|
v-mask="'######'",
|
||||||
placeholder="000000",
|
placeholder="000000",
|
||||||
|
label="Индекс",
|
||||||
v-model="dopeAddress.index",
|
v-model="dopeAddress.index",
|
||||||
:style="{backgroundColor: 'var(--bg-disable-grey-color)'}"
|
labelStyle="text-xxs",
|
||||||
|
textStyle="text-sm",
|
||||||
)
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -69,12 +68,3 @@ export default {
|
|||||||
directives: { mask },
|
directives: { mask },
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped>
|
|
||||||
.input-info
|
|
||||||
color: var(--font-dark-blue-color)
|
|
||||||
.text-info
|
|
||||||
color: var(--font-grey-color)
|
|
||||||
.select
|
|
||||||
height: 40px
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -1,53 +1,43 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex-col
|
.flex.flex-col.gap-y-6
|
||||||
span.font-bold Общая информация
|
span.font-bold Общая информация
|
||||||
.flex-col
|
base-custom-select(
|
||||||
.flex-col.my-6
|
|
||||||
.counter.font-semibold.text-smm Категория
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
placeholder="Категория договора",
|
placeholder="Категория договора",
|
||||||
v-model="category",
|
v-model="category",
|
||||||
:items="categories",
|
:items="categories",
|
||||||
|
label="Категория"
|
||||||
)
|
)
|
||||||
.flex.justify-between.w-full.gap-4
|
.flex.justify-between.gap-4
|
||||||
base-input-date(
|
base-input-date.w-48(
|
||||||
v-model="signedDate",
|
v-model="signedDate",
|
||||||
label="Дата подписания"
|
label="Дата подписания"
|
||||||
)
|
)
|
||||||
base-input-date(
|
base-input-date.w-48(
|
||||||
v-model="startDate",
|
v-model="startDate",
|
||||||
label="Начало оказания услуг"
|
label="Начало оказания услуг"
|
||||||
)
|
)
|
||||||
base-input-date(
|
base-input-date.w-48(
|
||||||
v-model="endDate",
|
v-model="endDate",
|
||||||
label="Окончание оказания услуг"
|
label="Окончание оказания услуг"
|
||||||
)
|
)
|
||||||
|
base-custom-select(
|
||||||
.flex-col.w-full.my-6
|
|
||||||
.font-semibold.text-smm Исполнитель
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
placeholder="Поручить",
|
placeholder="Поручить",
|
||||||
v-model="employee",
|
v-model="employee",
|
||||||
:items="employees",
|
:items="employees",
|
||||||
|
label="Исполнитель"
|
||||||
)
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BaseButton from "@/components/base/BaseButton";
|
|
||||||
import BaseStepper from "@/components/base/BaseStepper";
|
import BaseStepper from "@/components/base/BaseStepper";
|
||||||
import BaseSelect from "@/components/base/BaseSelect";
|
|
||||||
import BaseInputDate from "@/components/base/BaseInputDate";
|
import BaseInputDate from "@/components/base/BaseInputDate";
|
||||||
import BaseInput from "@/components/base/BaseInput";
|
|
||||||
import BaseCustomSelect from "@/components/base/BaseCustomSelect.vue";
|
import BaseCustomSelect from "@/components/base/BaseCustomSelect.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AgreementCommon",
|
name: "AgreementCommon",
|
||||||
components: {
|
components: {
|
||||||
BaseButton,
|
|
||||||
BaseStepper,
|
BaseStepper,
|
||||||
BaseSelect,
|
|
||||||
BaseInputDate,
|
BaseInputDate,
|
||||||
BaseInput,
|
|
||||||
BaseCustomSelect,
|
BaseCustomSelect,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -72,5 +62,3 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped></style>
|
|
||||||
|
|||||||
@@ -1,81 +1,72 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex-col
|
.flex.flex-col.gap-y-6
|
||||||
.flex-col
|
|
||||||
.font-semibold.text-smm ФИО пациента
|
|
||||||
base-input(
|
base-input(
|
||||||
:width-input="200",
|
label="ФИО пациента",
|
||||||
v-model="patient.full_name"
|
v-model="patient.full_name"
|
||||||
)
|
)
|
||||||
.flex
|
.flex.justify-between
|
||||||
.flex-col
|
base-custom-select.w-80(
|
||||||
.font-semibold.text-smm Документ, удостоверяющий личность
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
placeholder="Тип документа",
|
placeholder="Тип документа",
|
||||||
v-model="patient.doc_type",
|
v-model="patient.doc_type",
|
||||||
:items="patentIdentityDocumentTypes",
|
:items="patentIdentityDocumentTypes",
|
||||||
|
label="Документ, удостоверяющий личность"
|
||||||
)
|
)
|
||||||
.flex-col
|
|
||||||
.font-semibold.text-smm Серия и номер
|
|
||||||
base-input(
|
base-input(
|
||||||
v-model="patient.seriesAndNumber",
|
v-model="patient.seriesAndNumber",
|
||||||
disabled,
|
disabled,
|
||||||
|
v-mask="'#### ######'"
|
||||||
|
label="Серия и номер"
|
||||||
)
|
)
|
||||||
.flex
|
.flex.justify-between
|
||||||
.flex-col
|
base-input.w-80(
|
||||||
.font-semibold.text-smm Телефон
|
v-model="patient.address",
|
||||||
base-custom-select.select.text-sm(
|
label="Адрес"
|
||||||
v-model="patient.phone",
|
|
||||||
:items="patentIdentityDocumentTypes",
|
|
||||||
)
|
)
|
||||||
.flex-col
|
|
||||||
.font-semibold.text-smm Адрес
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
v-model="patient.phone",
|
|
||||||
:items="patentIdentityDocumentTypes"
|
|
||||||
)
|
|
||||||
.flex-col
|
|
||||||
.font-semibold.text-smm ФИО Заказчика
|
|
||||||
base-input(
|
base-input(
|
||||||
:width-input="200",
|
v-model="patient.phone",
|
||||||
v-model="patient.full_name"
|
v-mask="'+7 (###) ###-##-##'",
|
||||||
|
label="Телефон"
|
||||||
)
|
)
|
||||||
.flex
|
base-input(
|
||||||
.flex-col
|
v-model="patient.full_name"
|
||||||
.font-semibold.text-smm Документ, удостоверяющий личность
|
label="ФИО Заказчика",
|
||||||
base-custom-select.select.text-sm(
|
)
|
||||||
|
.flex.justify-between
|
||||||
|
base-custom-select.w-80(
|
||||||
placeholder="Тип документа",
|
placeholder="Тип документа",
|
||||||
v-model="patient.doc_type",
|
v-model="patient.doc_type",
|
||||||
:items="patentIdentityDocumentTypes",
|
:items="patentIdentityDocumentTypes",
|
||||||
|
label="Документ, удостоверяющий личность"
|
||||||
)
|
)
|
||||||
.flex-col
|
|
||||||
.font-semibold.text-smm Серия и номер
|
|
||||||
base-input(
|
base-input(
|
||||||
v-model="patient.seriesAndNumber",
|
v-model="patient.seriesAndNumber",
|
||||||
disabled,
|
disabled,
|
||||||
|
v-mask="'#### ######'"
|
||||||
|
label="Серия и номер"
|
||||||
)
|
)
|
||||||
.flex
|
.flex.justify-between
|
||||||
.flex-col
|
base-input.w-80(
|
||||||
.font-semibold.text-smm Телефон
|
v-model="patient.address",
|
||||||
base-custom-select.select.text-sm(
|
label="Адрес"
|
||||||
v-model="patient.phone",
|
|
||||||
:items="patentIdentityDocumentTypes",
|
|
||||||
)
|
)
|
||||||
.flex-col
|
base-input(
|
||||||
.font-semibold.text-smm Адрес
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
v-model="patient.phone",
|
v-model="patient.phone",
|
||||||
:items="patentIdentityDocumentTypes" )
|
v-mask="'+7 (###) ###-##-##'",
|
||||||
|
label="Телефон"
|
||||||
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BaseInput from "@/components/base/BaseInput";
|
import BaseInput from "@/components/base/BaseInput";
|
||||||
import BaseCustomSelect from "@/components/base/BaseCustomSelect.vue";
|
import BaseCustomSelect from "@/components/base/BaseCustomSelect.vue";
|
||||||
|
import { mask } from "vue-the-mask";
|
||||||
export default {
|
export default {
|
||||||
name: "AgreementPerson",
|
name: "AgreementPerson",
|
||||||
components: {
|
components: {
|
||||||
BaseInput,
|
BaseInput,
|
||||||
BaseCustomSelect,
|
BaseCustomSelect,
|
||||||
},
|
},
|
||||||
|
directives: { mask },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
patient: {
|
patient: {
|
||||||
@@ -85,10 +76,8 @@ export default {
|
|||||||
label: "",
|
label: "",
|
||||||
},
|
},
|
||||||
seriesAndNumber: "2354 125423",
|
seriesAndNumber: "2354 125423",
|
||||||
phone: {
|
phone: "",
|
||||||
id: null,
|
address: "",
|
||||||
label: "",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,62 +1,41 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.flex-col
|
.flex.flex-col.gap-y-6
|
||||||
span.font-bold Общая информация
|
span.font-bold Общая информация
|
||||||
.flex-col
|
base-custom-select(
|
||||||
.flex-col.my-6
|
|
||||||
.counter.font-semibold.text-smm Категория
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
placeholder="Категория договора",
|
placeholder="Категория договора",
|
||||||
v-model="category",
|
v-model="category",
|
||||||
:items="categories",
|
:items="categories",
|
||||||
|
label="Категория"
|
||||||
)
|
)
|
||||||
.flex.w-full.my-6
|
.flex.gap-x-4
|
||||||
.flex-col
|
base-input-date.w-48(
|
||||||
.font-semibold.text-smm Дата подписания
|
v-model="signedDate",
|
||||||
.input-date.flex.h-10.justify-center
|
label="Дата подписания"
|
||||||
base-input-date(
|
|
||||||
:width-input="200",
|
|
||||||
v-model="signedDate"
|
|
||||||
)
|
)
|
||||||
.flex-col
|
base-input-date.w-48(
|
||||||
.font-semibold.text-smm Начало оказания услуг
|
v-model="startDate",
|
||||||
.input-date.flex.h-10.justify-center
|
label="Начало оказания услуг"
|
||||||
base-input-date(
|
|
||||||
:width-input="200",
|
|
||||||
v-model="startDate"
|
|
||||||
)
|
)
|
||||||
.flex-col
|
base-input-date.w-48(
|
||||||
.font-semibold.text-smm Окончание оказания услуг
|
v-model="endDate",
|
||||||
.input-date.flex.h-10.justify-center
|
label="Окончание оказания услуг"
|
||||||
base-input-date(
|
|
||||||
:width-input="200",
|
|
||||||
v-model="endDate"
|
|
||||||
)
|
)
|
||||||
|
base-custom-select(
|
||||||
.flex-col.w-full.my-6
|
|
||||||
.font-semibold.text-smm Исполнитель
|
|
||||||
base-custom-select.select.text-sm(
|
|
||||||
placeholder="Поручить",
|
placeholder="Поручить",
|
||||||
v-model="employee",
|
v-model="employee",
|
||||||
:items="employees",
|
:items="employees",
|
||||||
|
label="Исполнитель"
|
||||||
)
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BaseButton from "@/components/base/BaseButton";
|
|
||||||
import BaseStepper from "@/components/base/BaseStepper";
|
|
||||||
import BaseSelect from "@/components/base/BaseSelect";
|
|
||||||
import BaseInputDate from "@/components/base/BaseInputDate";
|
import BaseInputDate from "@/components/base/BaseInputDate";
|
||||||
import BaseInput from "@/components/base/BaseInput";
|
|
||||||
import BaseCustomSelect from "@/components/base/BaseCustomSelect.vue";
|
import BaseCustomSelect from "@/components/base/BaseCustomSelect.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AgreementServices",
|
name: "AgreementServices",
|
||||||
components: {
|
components: {
|
||||||
BaseButton,
|
|
||||||
BaseStepper,
|
|
||||||
BaseSelect,
|
|
||||||
BaseInputDate,
|
BaseInputDate,
|
||||||
BaseInput,
|
|
||||||
BaseCustomSelect,
|
BaseCustomSelect,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -10,34 +10,35 @@
|
|||||||
v-model="gender",
|
v-model="gender",
|
||||||
)
|
)
|
||||||
.flex.gap-x-4
|
.flex.gap-x-4
|
||||||
.flex.flex-col.gap-y-2
|
.input
|
||||||
.counter.font-semibold.text-smm Дата рождения
|
base-input-date(label="Дата рождения")
|
||||||
base-input-date.input-date.h-10(:width-input="277")
|
.input
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm СНИЛС
|
|
||||||
base-input(
|
base-input(
|
||||||
:width-input="277",
|
|
||||||
placeholder="000–000–000 00",
|
placeholder="000–000–000 00",
|
||||||
v-mask="'###-###-### ##'"
|
v-mask="'###-###-### ##'",
|
||||||
|
label="СНИЛС"
|
||||||
)
|
)
|
||||||
.flex.flex-col.gap-y-6
|
.flex.flex-col.gap-y-6
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm Адрес регистрации
|
|
||||||
base-input(:width-input="277", placeholder="Введите полный адрес")
|
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm Фактический адрес места жительства
|
|
||||||
base-input(:width-input="277", placeholder="Введите полный адрес")
|
|
||||||
.flex.gap-x-4
|
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm Номер телефона
|
|
||||||
base-input(
|
base-input(
|
||||||
:width-input="277",
|
label="Адрес регистрации",
|
||||||
|
placeholder="Введите полный адрес"
|
||||||
|
)
|
||||||
|
base-input(
|
||||||
|
label="Фактический адрес места жительства",
|
||||||
|
placeholder="Введите полный адрес"
|
||||||
|
)
|
||||||
|
.flex.gap-x-4
|
||||||
|
.input
|
||||||
|
base-input(
|
||||||
|
label="Номер телефона",
|
||||||
placeholder="+7 (915) 644–92–23",
|
placeholder="+7 (915) 644–92–23",
|
||||||
v-mask="'+7 (###) ###-##-##'"
|
v-mask="'+7 (###) ###-##-##'"
|
||||||
)
|
)
|
||||||
.flex.flex-col.gap-y-2
|
.input
|
||||||
.counter.font-semibold.text-smm Email
|
base-input(
|
||||||
base-input(:width-input="277", placeholder="user@yandex.ru")
|
label="Email",
|
||||||
|
placeholder="user@yandex.ru"
|
||||||
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -79,10 +80,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped>
|
<style lang="sass" scoped>
|
||||||
.input-date
|
.input
|
||||||
border: 1.5px solid var(--border-light-grey-color)
|
width: 277px
|
||||||
border-radius: 4px
|
|
||||||
|
|
||||||
.counter
|
|
||||||
color: var(--font-grey-color)
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -4,19 +4,22 @@
|
|||||||
span.font-bold Паспортные данные
|
span.font-bold Паспортные данные
|
||||||
.flex.flex-col.gap-y-6
|
.flex.flex-col.gap-y-6
|
||||||
.flex.gap-x-4
|
.flex.gap-x-4
|
||||||
.flex.flex-col.gap-y-2
|
.input
|
||||||
.counter.font-semibold.text-smm Серия и номер
|
base-input(
|
||||||
base-input(:width-input="277", placeholder="0000 000000")
|
label="Серия и номер",
|
||||||
.flex.flex-col.gap-y-2
|
placeholder="0000 000000"
|
||||||
.counter.font-semibold.text-smm Дата выдачи
|
)
|
||||||
base-input-date.input-date.h-10(:width-input="277")
|
.input
|
||||||
|
base-input-date(label="Дата выдачи")
|
||||||
.flex.flex-col.gap-y-6
|
.flex.flex-col.gap-y-6
|
||||||
.flex.flex-col.gap-y-2
|
base-input(
|
||||||
.counter.font-semibold.text-smm Кем выдан
|
label="Кем выдан",
|
||||||
base-input(:width-input="277", placeholder="Точно как в паспорте")
|
placeholder="Точно как в паспорте"
|
||||||
.flex.flex-col.gap-y-2
|
)
|
||||||
.counter.font-semibold.text-smm Страховая оганизация
|
base-input(
|
||||||
base-input(:width-input="277", placeholder="Введите название организации")
|
label="Страховая оганизация",
|
||||||
|
placeholder="Введите название организации"
|
||||||
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -37,10 +40,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped>
|
<style lang="sass" scoped>
|
||||||
.input-date
|
.input
|
||||||
border: 1.5px solid var(--border-light-grey-color)
|
width: 277px
|
||||||
border-radius: 4px
|
|
||||||
|
|
||||||
.counter
|
|
||||||
color: var(--font-grey-color)
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -4,23 +4,23 @@
|
|||||||
.flex.flex-col.gap-y-6
|
.flex.flex-col.gap-y-6
|
||||||
span.font-bold Полис
|
span.font-bold Полис
|
||||||
.flex.gap-x-6
|
.flex.gap-x-6
|
||||||
.flex.flex-col.gap-y-2
|
.input
|
||||||
.counter.font-semibold.text-smm Серия и номер полиса ОМС
|
|
||||||
base-input(:width-input="277", placeholder="0000 000000")
|
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm Серия и номер полиса ДМС
|
|
||||||
base-input(:width-input="277", placeholder="0000 000000")
|
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm Код категории льготы
|
|
||||||
base-input(:width-input="277", placeholder="000")
|
|
||||||
.flex.flex-col.gap-y-6
|
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm К кому обращаться в случае необходимости
|
|
||||||
base-input.w-full(placeholder="ФИО*")
|
|
||||||
.flex.flex-col.gap-y-2
|
|
||||||
.counter.font-semibold.text-smm Номер телефона
|
|
||||||
base-input(
|
base-input(
|
||||||
:width-input="277",
|
label="Серия и номер полиса ОМС",
|
||||||
|
placeholder="0000 000000"
|
||||||
|
)
|
||||||
|
.input
|
||||||
|
base-input(
|
||||||
|
label="Серия и номер полиса ДМС",
|
||||||
|
placeholder="0000 000000"
|
||||||
|
)
|
||||||
|
base-input(label="Код категории льготы", placeholder="000")
|
||||||
|
base-input(
|
||||||
|
label="К кому обращаться в случае необходимости",
|
||||||
|
placeholder="ФИО*"
|
||||||
|
)
|
||||||
|
base-input(
|
||||||
|
label="Номер телефона",
|
||||||
placeholder="+7 (915) 644–92–23"
|
placeholder="+7 (915) 644–92–23"
|
||||||
)
|
)
|
||||||
</template>
|
</template>
|
||||||
@@ -40,10 +40,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped>
|
<style lang="sass" scoped>
|
||||||
.input-date
|
.input
|
||||||
border: 1.5px solid var(--border-light-grey-color)
|
width: 277px
|
||||||
border-radius: 4px
|
|
||||||
|
|
||||||
.counter
|
|
||||||
color: var(--font-grey-color)
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user