Merge branch '19-design-bugs' into 'master'
Фикс багов дизайна Closes #19 See merge request astra/astra-frontend!506
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
iconLeft
|
iconLeft
|
||||||
)
|
)
|
||||||
template(v-slot:iconLeft)
|
template(v-slot:iconLeft)
|
||||||
q-icon(name="app:icon-search", size="20px", style="color: var(--font-grey-color)")
|
q-icon.icon(name="app:search", size="20px", style="color: var(--font-grey-color)")
|
||||||
.field.flex.flex-col.overflow-y-scroll(:class="{'filed-category': findSelected(selected?.id)}")
|
.field.flex.flex-col.overflow-y-scroll(:class="{'filed-category': findSelected(selected?.id)}")
|
||||||
.flex.items-center(v-for="benefit in benefitData", :key="benefit.id")
|
.flex.items-center(v-for="benefit in benefitData", :key="benefit.id")
|
||||||
q-item(tag="label", :style="{alignItems: benefit.name.length > 28 ? 'start' : 'center'}")
|
q-item(tag="label", :style="{alignItems: benefit.name.length > 28 ? 'start' : 'center'}")
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
@click="saveCategories(selected)"
|
@click="saveCategories(selected)"
|
||||||
)
|
)
|
||||||
.right-side.flex.px-10.font-bold.relative
|
.right-side.flex.px-10.font-bold.relative
|
||||||
q-icon(name="app:icon-cancel").text-sm.absolute.top-4.right-4.cursor-pointer(@click="closeModalCategories")
|
q-icon(name="app:cancel").text-sm.absolute.top-4.right-4.cursor-pointer(@click="closeModalCategories")
|
||||||
.flex.gap-y-6.flex-col.w-full(v-if="selected?.id && selected?.name !== 'Без льготы'")
|
.flex.gap-y-6.flex-col.w-full(v-if="selected?.id && selected?.name !== 'Без льготы'")
|
||||||
.right-header.flex
|
.right-header.flex
|
||||||
span.text-6xl {{selected?.name}}
|
span.text-6xl {{selected?.name}}
|
||||||
@@ -185,6 +185,9 @@ export default {
|
|||||||
.grey-color
|
.grey-color
|
||||||
color: var(--font-grey-color)
|
color: var(--font-grey-color)
|
||||||
|
|
||||||
|
.icon :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
|
|
||||||
.q-item
|
.q-item
|
||||||
padding: 0
|
padding: 0
|
||||||
min-height: 40px
|
min-height: 40px
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
round,
|
round,
|
||||||
padding="2px 0 0 0"
|
padding="2px 0 0 0"
|
||||||
)
|
)
|
||||||
q-icon(name="app:ok", size="20px")
|
q-icon.icon(name="app:ok", size="40px")
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -118,4 +118,7 @@ export default {
|
|||||||
min-height: 400px
|
min-height: 400px
|
||||||
height: 100%
|
height: 100%
|
||||||
border-radius: 50%
|
border-radius: 50%
|
||||||
|
|
||||||
|
.icon :deep(path)
|
||||||
|
fill: var(--default-white)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -54,19 +54,22 @@
|
|||||||
dense,
|
dense,
|
||||||
@click="nextWeek"
|
@click="nextWeek"
|
||||||
)
|
)
|
||||||
.h-10.p-1.flex.items-center.justify-between.bg-secondary.rounded.text-grey-color.ml-52
|
.h-10.p-1.flex.items-center.justify-between.bg-secondary.rounded.text-grey-color.ml-52.border
|
||||||
q-btn-toggle(
|
q-btn-toggle(
|
||||||
v-model="value",
|
v-model="value",
|
||||||
:options="displayTypesList",
|
:options="displayTypesList",
|
||||||
no-caps,
|
no-caps,
|
||||||
toggle-color="light-blue-4",
|
|
||||||
padding="0px"
|
padding="0px"
|
||||||
)
|
)
|
||||||
template(v-slot:one)
|
template(v-slot:one)
|
||||||
.w-12.h-8.flex.items-center.justify-center
|
.w-12.h-8.flex.items-center.justify-center.rounded(
|
||||||
|
:class="{'active-toggle': value === 'expanded'}"
|
||||||
|
)
|
||||||
date-switcher-svg(name-svg="expanded", :active="value === 'expanded'")
|
date-switcher-svg(name-svg="expanded", :active="value === 'expanded'")
|
||||||
template(v-slot:two)
|
template(v-slot:two)
|
||||||
.w-12.h-8.flex.items-center.justify-center
|
.w-12.h-8.flex.items-center.justify-center.rounded(
|
||||||
|
:class="{'active-toggle': value === 'collapsed'}"
|
||||||
|
)
|
||||||
date-switcher-svg(name-svg="compressed", :active="value === 'collapsed'")
|
date-switcher-svg(name-svg="compressed", :active="value === 'collapsed'")
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -199,6 +202,12 @@ export default {
|
|||||||
|
|
||||||
.calendar-icon :deep(path)
|
.calendar-icon :deep(path)
|
||||||
fill: var(--font-dark-blue-color)
|
fill: var(--font-dark-blue-color)
|
||||||
|
|
||||||
|
.active-toggle
|
||||||
|
background: var(--btn-blue-color)
|
||||||
|
|
||||||
|
.border-toggle
|
||||||
|
border: 1px solid var(--gray-secondary)
|
||||||
</style>
|
</style>
|
||||||
<style lang="sass">
|
<style lang="sass">
|
||||||
.q-field--outlined.q-field--readonly .q-field__control:before
|
.q-field--outlined.q-field--readonly .q-field__control:before
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
padding="0",
|
padding="0",
|
||||||
@click="(e) => addNewAllergy(e)"
|
@click="(e) => addNewAllergy(e)"
|
||||||
)
|
)
|
||||||
q-icon(name="app:icon-plus", size="12px", left)
|
q-icon.icon(name="app:plus", size="24px", left)
|
||||||
span Добавить
|
span Добавить
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -158,7 +158,9 @@ export default {
|
|||||||
.label-field
|
.label-field
|
||||||
color: var(--font-grey-color)
|
color: var(--font-grey-color)
|
||||||
.on-left
|
.on-left
|
||||||
margin-right: 10px
|
margin-right: 4px
|
||||||
.q-btn :deep(.q-ripple)
|
.q-btn :deep(.q-ripple)
|
||||||
display: none
|
display: none
|
||||||
|
.icon :deep(path)
|
||||||
|
fill: var(--btn-blue-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
rounded,
|
rounded,
|
||||||
@click="removeImage(data?.dataKey, field?.key)"
|
@click="removeImage(data?.dataKey, field?.key)"
|
||||||
)
|
)
|
||||||
q-icon(name="app:icon-cancel", size="8px")
|
q-icon.icon-cancel(name="app:cancel", size="8px")
|
||||||
.replace-photo.font-medium.text-base.cursor-pointer(
|
.replace-photo.font-medium.text-base.cursor-pointer(
|
||||||
v-if="isEdit",
|
v-if="isEdit",
|
||||||
@click="openModal(data.dataKey)",
|
@click="openModal(data.dataKey)",
|
||||||
@@ -370,6 +370,8 @@ export default {
|
|||||||
min-width: 302px
|
min-width: 302px
|
||||||
.icon-copy .cursor
|
.icon-copy .cursor
|
||||||
cursor: pointer !important
|
cursor: pointer !important
|
||||||
|
.icon-cancel :deep(path)
|
||||||
|
fill: var(--default-white)
|
||||||
.q-badge
|
.q-badge
|
||||||
padding: 4px
|
padding: 4px
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
@click="removeImage(insurance?.insuranceKey, field?.key)",
|
@click="removeImage(insurance?.insuranceKey, field?.key)",
|
||||||
rounded
|
rounded
|
||||||
)
|
)
|
||||||
q-icon(name="app:icon-cancel", size="8px")
|
q-icon.icon-cancel(name="app:cancel", size="8px")
|
||||||
.replace-photo.font-medium.text-base.cursor-pointer(
|
.replace-photo.font-medium.text-base.cursor-pointer(
|
||||||
v-if="isEdit",
|
v-if="isEdit",
|
||||||
@click="changeModal(insurance.insuranceKey)"
|
@click="changeModal(insurance.insuranceKey)"
|
||||||
@@ -44,15 +44,15 @@
|
|||||||
v-model="basic[photoId][field.key]"
|
v-model="basic[photoId][field.key]"
|
||||||
:confirm-upload="confirmChangePhoto"
|
:confirm-upload="confirmChangePhoto"
|
||||||
)
|
)
|
||||||
.flex.h-10.relative(
|
.category.flex.h-10.relative.gap-x-2(v-else-if="field.type === 'select'")
|
||||||
v-else-if="field.type === 'select'",
|
.category-select.flex.items-center.change.px-4.rounded {{selectCategory(basic[insurance.insuranceKey][field.key])}}
|
||||||
@click="openModalCategories"
|
q-btn.change.flex.w-7.h-9.rounded-md(
|
||||||
|
v-if="isEdit",
|
||||||
|
@click="showModalCategories = true",
|
||||||
|
dense,
|
||||||
|
padding="8px"
|
||||||
)
|
)
|
||||||
q-field.items-center.categories(
|
q-icon.icon(name="app:folder", size="24px")
|
||||||
:style="{cursor: isEdit ? 'pointer' : 'default'}",
|
|
||||||
:readonly="!isEdit",
|
|
||||||
outlined
|
|
||||||
) {{selectCategory(basic[insurance.insuranceKey][field.key])}}
|
|
||||||
base-modal(
|
base-modal(
|
||||||
default-padding,
|
default-padding,
|
||||||
hide-header,
|
hide-header,
|
||||||
@@ -84,9 +84,9 @@
|
|||||||
:type="field.type",
|
:type="field.type",
|
||||||
size="M"
|
size="M"
|
||||||
)
|
)
|
||||||
q-icon.my-auto.text-lg.label-field.cursor-pointer(
|
q-icon.my-auto.text-lg.label-field.cursor-pointer.copy(
|
||||||
size="18px",
|
size="18px",
|
||||||
name="app:icon-copy",
|
name="app:copy",
|
||||||
v-if="checkCopiedFields(field.key, basic[insurance.insuranceKey])",
|
v-if="checkCopiedFields(field.key, basic[insurance.insuranceKey])",
|
||||||
@click="copyValue(basic[insurance.insuranceKey][field.key])"
|
@click="copyValue(basic[insurance.insuranceKey][field.key])"
|
||||||
)
|
)
|
||||||
@@ -134,8 +134,8 @@ export default {
|
|||||||
initDataBasic: "getBasicData",
|
initDataBasic: "getBasicData",
|
||||||
}),
|
}),
|
||||||
...mapState({
|
...mapState({
|
||||||
basic: (state) => state.medical.basicData,
|
basic: (state) => state.medical?.basicData,
|
||||||
benefitData: (state) => state.medical.benefitData,
|
benefitData: (state) => state.medical?.benefitData,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -176,9 +176,6 @@ export default {
|
|||||||
closeModalCategories() {
|
closeModalCategories() {
|
||||||
this.showModalCategories = false;
|
this.showModalCategories = false;
|
||||||
},
|
},
|
||||||
openModalCategories() {
|
|
||||||
if (this.isEdit) this.showModalCategories = true;
|
|
||||||
},
|
|
||||||
checkChangeInput() {
|
checkChangeInput() {
|
||||||
this.isCheckChange =
|
this.isCheckChange =
|
||||||
JSON.stringify(this.initDataBasic) !== JSON.stringify(this.basic)
|
JSON.stringify(this.initDataBasic) !== JSON.stringify(this.basic)
|
||||||
@@ -363,14 +360,6 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
showModalCategories: {
|
|
||||||
immediate: true,
|
|
||||||
handler(newVal) {
|
|
||||||
if (newVal) this.$store.dispatch("getBenefitData");
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -415,27 +404,25 @@ export default {
|
|||||||
.delete
|
.delete
|
||||||
background-color: var(--btn-red-color)
|
background-color: var(--btn-red-color)
|
||||||
|
|
||||||
|
.category
|
||||||
|
width: 324px
|
||||||
|
|
||||||
.categories :deep(.q-field__control)
|
.category-select
|
||||||
height: 40px
|
min-width: 276px
|
||||||
color: var(--font-dark-blue-color)
|
|
||||||
padding: 0 16px
|
|
||||||
background: var(--bg-light-grey) !important
|
|
||||||
&:before
|
|
||||||
border: none !important
|
|
||||||
transition: none
|
|
||||||
&:after
|
|
||||||
border: none !important
|
|
||||||
transition: none
|
|
||||||
transform: none !important
|
|
||||||
|
|
||||||
.categories :deep(.q-field__native)
|
.icon :deep(path)
|
||||||
font-weight: 500
|
fill: var(--font-grey-color)
|
||||||
font-size: 16px
|
|
||||||
line-height: normal
|
.icon-cancel :deep(path)
|
||||||
color: var(--font-dark-blue-color)
|
fill: var(--default-white)
|
||||||
padding: 8px 0
|
|
||||||
background: var(--bg-light-grey) !important
|
.copy :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
|
|
||||||
|
.change
|
||||||
|
background: var(--bg-light-grey)
|
||||||
|
color: var(--font-grey-color)
|
||||||
|
border: 1px solid var(--gray-secondary)
|
||||||
|
|
||||||
.q-field--outlined.q-field--readonly :deep(.q-field__control)
|
.q-field--outlined.q-field--readonly :deep(.q-field__control)
|
||||||
background: var(--bg-light-grey) !important
|
background: var(--bg-light-grey) !important
|
||||||
|
|||||||
@@ -27,19 +27,19 @@
|
|||||||
icon-left
|
icon-left
|
||||||
)
|
)
|
||||||
template(v-slot:iconLeft)
|
template(v-slot:iconLeft)
|
||||||
q-icon(name="app:search", size="20px", style="color: var(--font-grey-color)")
|
q-icon.icon-grey(name="app:search", size="20px" )
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn(
|
||||||
icon="filter_alt",
|
:style="{width: '40px', height: '40px'}",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
|
q-icon.icon-grey(name="app:filter", size="24px")
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn(
|
||||||
icon="app:sort-number",
|
:style="{width: '40px', height: '40px'}",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
|
q-icon.icon-grey(name="app:sort-number", size="24px")
|
||||||
.field.flex.flex-col.overflow-y-scroll.gap-y-1(v-if="data.results.diseases")
|
.field.flex.flex-col.overflow-y-scroll.gap-y-1(v-if="data.results.diseases")
|
||||||
.letter.flex.items-center.font-bold.text-base Некоторые инфекционные и паразитарные болезни
|
.letter.flex.items-center.font-bold.text-base Некоторые инфекционные и паразитарные болезни
|
||||||
.checkbox.flex.gap-x-2.items-center(v-for="disease in data.results.diseases")
|
.checkbox.flex.gap-x-2.items-center(v-for="disease in data.results.diseases")
|
||||||
@@ -171,4 +171,7 @@ export default {
|
|||||||
|
|
||||||
.search :deep(.q-field__prepend)
|
.search :deep(.q-field__prepend)
|
||||||
padding-right: 6px
|
padding-right: 6px
|
||||||
|
|
||||||
|
.icon-grey :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -42,19 +42,19 @@
|
|||||||
size="M",
|
size="M",
|
||||||
)
|
)
|
||||||
template(v-slot:iconLeft)
|
template(v-slot:iconLeft)
|
||||||
q-icon(name="app:search", size="20px", style="color: var(--font-grey-color)")
|
q-icon.icon-grey(name="app:search", size="20px" )
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn(
|
||||||
icon="filter_alt",
|
:style="{width: '40px', height: '40px'}",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
|
q-icon.icon-grey(name="app:filter", size="24px")
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn(
|
||||||
icon="app:sort-number",
|
:style="{width: '40px', height: '40px'}",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
|
q-icon.icon-grey(name="app:sort-number", size="24px")
|
||||||
.field.flex.flex-col.overflow-y-scroll
|
.field.flex.flex-col.overflow-y-scroll
|
||||||
.checkbox.flex.flex-col(v-for="complaint in textSorting(data.results.tags)")
|
.checkbox.flex.flex-col(v-for="complaint in textSorting(data.results.tags)")
|
||||||
.letter.flex.items-center.font-bold.justify-center {{ complaint.sym }}
|
.letter.flex.items-center.font-bold.justify-center {{ complaint.sym }}
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
width="40px",
|
width="40px",
|
||||||
@click="showModal = true",
|
@click="showModal = true",
|
||||||
)
|
)
|
||||||
q-icon(name="app:plus", size="16px")
|
q-icon.icon-white(name="app:plus", size="24px")
|
||||||
base-modal(v-model="showModal", title="Создание тега", modal-padding)
|
base-modal(v-model="showModal", title="Создание тега", modal-padding)
|
||||||
tag-creation-form(:close-modal="closeModal", :create-tag="createTag")
|
tag-creation-form(:close-modal="closeModal", :create-tag="createTag")
|
||||||
.flex.gap-x-20.w-full(v-if="change || fillInspection")
|
.flex.gap-x-20.w-full(v-if="change || fillInspection")
|
||||||
@@ -365,4 +365,10 @@ export default {
|
|||||||
&::placeholder
|
&::placeholder
|
||||||
color: var(--font-grey-color)
|
color: var(--font-grey-color)
|
||||||
opacity: 1
|
opacity: 1
|
||||||
|
|
||||||
|
.icon-grey :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
|
|
||||||
|
.icon-white :deep(path)
|
||||||
|
fill: var(--default-white)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -25,19 +25,19 @@
|
|||||||
size="M"
|
size="M"
|
||||||
)
|
)
|
||||||
template(v-slot:iconLeft)
|
template(v-slot:iconLeft)
|
||||||
q-icon(name="app:search", size="20px", style="color: var(--font-grey-color)")
|
q-icon.icon-grey(name="app:search", size="20px" )
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn(
|
||||||
icon="filter_alt",
|
:style="{width: '40px', height: '40px'}",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
|
q-icon.icon-grey(name="app:filter", size="24px")
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn(
|
||||||
icon="app:sort-number",
|
:style="{width: '40px', height: '40px'}",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
|
q-icon.icon-grey(name="app:sort-number", size="24px")
|
||||||
.field.flex.flex-col.overflow-y-scroll(v-if="data.results.tags")
|
.field.flex.flex-col.overflow-y-scroll(v-if="data.results.tags")
|
||||||
.checkbox.flex.flex-col(v-for="complaint in textSorting(data.results.tags)")
|
.checkbox.flex.flex-col(v-for="complaint in textSorting(data.results.tags)")
|
||||||
.letter.flex.items-center.font-bold.justify-center {{ complaint.sym }}
|
.letter.flex.items-center.font-bold.justify-center {{ complaint.sym }}
|
||||||
@@ -54,12 +54,12 @@
|
|||||||
width="40px",
|
width="40px",
|
||||||
@click="showModal = true",
|
@click="showModal = true",
|
||||||
)
|
)
|
||||||
q-icon(name="app:plus", size="16px")
|
q-icon.icon-white(name="app:plus", size="24px")
|
||||||
base-modal(v-model="showModal", title="Создание тега", modal-padding)
|
base-modal(v-model="showModal", title="Создание тега", modal-padding)
|
||||||
tag-creation-form(:close-modal="closeModal", :create-tag="createTag")
|
tag-creation-form(:close-modal="closeModal", :create-tag="createTag")
|
||||||
.flex(v-if="data.title === 'Осмотр полости рта' && (fillInspection || change)", :style="{color: 'var(--btn-blue-color)'}")
|
.flex(v-if="data.title === 'Осмотр полости рта' && (fillInspection || change)", :style="{color: 'var(--btn-blue-color)'}")
|
||||||
q-btn(no-caps, flat, padding="2px 4px")
|
q-btn(no-caps, flat, padding="2px 4px")
|
||||||
q-icon(left, name="app:plus", size="12px")
|
q-icon.icon-blue(left, name="app:plus", size="24px")
|
||||||
span.font-medium Добавить описание зуба
|
span.font-medium Добавить описание зуба
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -175,6 +175,8 @@ export default {
|
|||||||
cursor: pointer
|
cursor: pointer
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
background: var(--bg-light-grey)
|
background: var(--bg-light-grey)
|
||||||
|
&:hover
|
||||||
|
background: var(--border-light-grey-color)
|
||||||
|
|
||||||
.field
|
.field
|
||||||
margin-right: -10px
|
margin-right: -10px
|
||||||
@@ -214,7 +216,7 @@ export default {
|
|||||||
.q-btn :deep(.q-ripple)
|
.q-btn :deep(.q-ripple)
|
||||||
display: none
|
display: none
|
||||||
.on-left
|
.on-left
|
||||||
margin-right: 8px
|
margin-right: 4px
|
||||||
|
|
||||||
.input :deep(.q-field__native)
|
.input :deep(.q-field__native)
|
||||||
font-weight: 500
|
font-weight: 500
|
||||||
@@ -228,4 +230,13 @@ export default {
|
|||||||
|
|
||||||
.search :deep(.q-field__prepend)
|
.search :deep(.q-field__prepend)
|
||||||
padding-right: 6px
|
padding-right: 6px
|
||||||
|
|
||||||
|
.icon-grey :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
|
|
||||||
|
.icon-white :deep(path)
|
||||||
|
fill: var(--default-white)
|
||||||
|
|
||||||
|
.icon-blue :deep(path)
|
||||||
|
fill: var(--btn-blue-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -18,16 +18,15 @@
|
|||||||
anchor="bottom left",
|
anchor="bottom left",
|
||||||
self="top left"
|
self="top left"
|
||||||
)
|
)
|
||||||
|
.tag.item.flex.py-2.px-4.items-center.cursor-pointer.w-full.gap-x-2(
|
||||||
|
@click="addCategory"
|
||||||
|
)
|
||||||
|
span Добавить категорию
|
||||||
.menu-wrapper.flex.flex-col.h-40.overflow-y-auto
|
.menu-wrapper.flex.flex-col.h-40.overflow-y-auto
|
||||||
.options.flex(v-for="item in options")
|
.options.flex(v-for="item in options")
|
||||||
.item.flex.py-2.px-4.items-center.cursor-pointer(
|
.item.flex.py-2.px-4.items-center.cursor-pointer(
|
||||||
@click="selected(item.label)"
|
@click="selected(item.label)"
|
||||||
) {{item.label}}
|
) {{item.label}}
|
||||||
.tag.item.flex.py-2.px-4.items-center.cursor-pointer.w-full.gap-x-2(
|
|
||||||
@click="addCategory"
|
|
||||||
)
|
|
||||||
q-icon(name="app:icon-plus", size="10px",)
|
|
||||||
span Добавить категорию
|
|
||||||
.flex.flex-col(class="gap-x-1.5")
|
.flex.flex-col(class="gap-x-1.5")
|
||||||
base-input(
|
base-input(
|
||||||
v-model="model.tag",
|
v-model="model.tag",
|
||||||
|
|||||||
@@ -36,16 +36,16 @@
|
|||||||
.toogle.flex.flex-toogle.h-10.p-1.rounded.absolute
|
.toogle.flex.flex-toogle.h-10.p-1.rounded.absolute
|
||||||
q-btn.w-12.h-full.rounded(
|
q-btn.w-12.h-full.rounded(
|
||||||
size="12px",
|
size="12px",
|
||||||
:style="{'backgroundColor': !isShowSecondView ? 'var(--bg-aqua-blue)' : 'var(--bg-light-grey)'}",
|
:style="{'backgroundColor': !isShowSecondView ? 'var(--btn-blue-color)' : 'var(--bg-light-grey)'}",
|
||||||
@click="()=>{ isShowSecondView=false }",
|
@click="()=>{ isShowSecondView=false }",
|
||||||
)
|
)
|
||||||
img(:src="teeth")
|
q-icon.tooth(:class="{'tooth-active': !isShowSecondView}", name="app:tooth-outline", size="24px")
|
||||||
q-btn.w-12.h-full.rounded(
|
q-btn.w-12.h-full.rounded(
|
||||||
size="12px",
|
size="12px",
|
||||||
:style="{'backgroundColor': isShowSecondView ? 'var(--bg-aqua-blue)' : 'var(--bg-light-grey)'}",
|
:style="{'backgroundColor': isShowSecondView ? 'var(--btn-blue-color)' : 'var(--bg-light-grey)'}",
|
||||||
@click="()=>{isShowSecondView=true }",
|
@click="()=>{isShowSecondView=true }",
|
||||||
)
|
)
|
||||||
img(:src="teeth_2")
|
q-icon.tooth(:class="{'tooth-active': isShowSecondView}", name="app:tooth", size="22px")
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -119,4 +119,10 @@ export default {
|
|||||||
background-color: var(--bg-light-grey)
|
background-color: var(--bg-light-grey)
|
||||||
top: 16px
|
top: 16px
|
||||||
right: 24px
|
right: 24px
|
||||||
|
|
||||||
|
.tooth :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
|
|
||||||
|
.tooth-active :deep(path)
|
||||||
|
fill: var(--default-white)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -9,14 +9,14 @@
|
|||||||
.flex.font-bold.text-6xl {{elem.label}}
|
.flex.font-bold.text-6xl {{elem.label}}
|
||||||
.flex.gap-x-4
|
.flex.gap-x-4
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn.btn(
|
||||||
icon="print",
|
icon="app:printer",
|
||||||
size="20px",
|
size="20px",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
||||||
padding="0"
|
padding="0"
|
||||||
)
|
)
|
||||||
.button
|
.button
|
||||||
q-btn(
|
q-btn.btn(
|
||||||
icon="app:basket",
|
icon="app:basket",
|
||||||
size="20px",
|
size="20px",
|
||||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
||||||
@@ -204,4 +204,7 @@ export default {
|
|||||||
cursor: pointer
|
cursor: pointer
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
background: var(--bg-light-grey)
|
background: var(--bg-light-grey)
|
||||||
|
|
||||||
|
.btn :deep(path)
|
||||||
|
fill: var(--font-grey-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.base-info-wrapper.w-full.flex.gap-x-2.flex-1
|
.base-info-wrapper.w-full.flex.gap-x-2.flex-1.font-medium.text-m
|
||||||
medical-sidebar(v-model="currentMenuItem")
|
medical-sidebar(v-model="currentMenuItem")
|
||||||
component(
|
component(
|
||||||
v-if="currentMenuItem",
|
v-if="currentMenuItem",
|
||||||
@@ -49,4 +49,5 @@ export default {
|
|||||||
.base-info-wrapper
|
.base-info-wrapper
|
||||||
height: 80.4%
|
height: 80.4%
|
||||||
max-height: calc(100% - 190px - 8px)
|
max-height: calc(100% - 190px - 8px)
|
||||||
|
color: var(--font-dark-blue-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
padding="0",
|
padding="0",
|
||||||
@click="addNewConfidant"
|
@click="addNewConfidant"
|
||||||
)
|
)
|
||||||
q-icon(name="app:icon-plus", size="12px", left)
|
q-icon.icon(name="app:plus", size="24px", left)
|
||||||
span Добавить контакт
|
span Добавить контакт
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -46,7 +46,9 @@ export default {
|
|||||||
&::-webkit-scrollbar
|
&::-webkit-scrollbar
|
||||||
width: 0
|
width: 0
|
||||||
.on-left
|
.on-left
|
||||||
margin-right: 10px
|
margin-right: 4px
|
||||||
.q-btn :deep(.q-ripple)
|
.q-btn :deep(.q-ripple)
|
||||||
display: none
|
display: none
|
||||||
|
.icon :deep(path)
|
||||||
|
fill: var(--btn-blue-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
name="app:edit",
|
name="app:edit",
|
||||||
v-if="!isEdit && !noEditBtn",
|
v-if="!isEdit && !noEditBtn",
|
||||||
@click="openEdit",
|
@click="openEdit",
|
||||||
size="20"
|
size="20px"
|
||||||
)
|
)
|
||||||
.flex.w-full.gap-11px.items-center.justify-between(v-else)
|
.flex.w-full.gap-11px.items-center.justify-between(v-else)
|
||||||
span.font-bold.text-base.whitespace-nowrap {{title}}
|
span.font-bold.text-base.whitespace-nowrap {{title}}
|
||||||
@@ -30,13 +30,13 @@
|
|||||||
:style="{color: 'var(--btn-blue-color)'}"
|
:style="{color: 'var(--btn-blue-color)'}"
|
||||||
)
|
)
|
||||||
base-button(type="secondary", width="142px")
|
base-button(type="secondary", width="142px")
|
||||||
img.mr-2(:src="layers")
|
q-icon.sample.mr-2(name="app:sample", size="20px")
|
||||||
span.text-smm.font-medium Шаблоны
|
span.text-smm.font-medium Шаблоны
|
||||||
.flex.w-fit.gap-10px.items-center.delete-button.cursor-pointer(
|
.flex.w-fit.gap-10px.items-center.delete-button.cursor-pointer(
|
||||||
v-if="!isEdit && titleDelete && deleteItem",
|
v-if="!isEdit && titleDelete && deleteItem",
|
||||||
@click="deleteItem"
|
@click="deleteItem"
|
||||||
)
|
)
|
||||||
q-icon(name="app:basket" size="20")
|
q-icon(name="app:basket" size="20px")
|
||||||
span.text-smm.font-medium {{ titleDelete }}
|
span.text-smm.font-medium {{ titleDelete }}
|
||||||
slot
|
slot
|
||||||
.flex.h-fit.w-fit.gap-2(v-if="isEdit && buttonsPresence")
|
.flex.h-fit.w-fit.gap-2(v-if="isEdit && buttonsPresence")
|
||||||
@@ -134,4 +134,6 @@ export default {
|
|||||||
transition: 0.3s ease
|
transition: 0.3s ease
|
||||||
.medical-form-move
|
.medical-form-move
|
||||||
transition: 0.3s ease
|
transition: 0.3s ease
|
||||||
|
.sample :deep(path)
|
||||||
|
fill: var(--btn-blue-color)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.patient-info.pt-4.pr-6.flex.flex-col.justify-between.rounded
|
.patient-info.pt-4.pr-6.flex.flex-col.justify-between.rounded.font-medium.text-m
|
||||||
.ml-6.flex.justify-between
|
.ml-6.flex.justify-between
|
||||||
q-breadcrumbs
|
q-breadcrumbs
|
||||||
template(v-slot:separator)
|
template(v-slot:separator)
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
:style="{color: 'var(--font-dark-blue-color)', 'line-height': '135%'}",
|
:style="{color: 'var(--font-dark-blue-color)', 'line-height': '135%'}",
|
||||||
) {{patientName}}
|
) {{patientName}}
|
||||||
q-chip(
|
q-chip(
|
||||||
|
v-if="priority?.text",
|
||||||
square,
|
square,
|
||||||
text-color="white",
|
text-color="white",
|
||||||
:style="{height: '20px', background: priority?.color, padding: '2px 8px'}",
|
:style="{height: '20px', background: priority?.color, padding: '2px 8px'}",
|
||||||
|
|||||||
Reference in New Issue
Block a user