[WIP] Фикс багов и скролла страницы медкартотчек
This commit is contained in:
@@ -9,10 +9,7 @@
|
||||
)
|
||||
img(:src="arrow")
|
||||
.form.flex.p-4
|
||||
base-button(
|
||||
width="100%",
|
||||
@click="createForm",
|
||||
)
|
||||
base-button(width="100%", @click="createForm")
|
||||
q-icon.plus(name="app:plus", size="24px", left)
|
||||
span Создать запись
|
||||
.flex.flex-col.gap-y-px
|
||||
@@ -51,17 +48,10 @@
|
||||
placeholder="Найти пациента...",
|
||||
:width="160"
|
||||
size="S",
|
||||
:iconLeft="!foundPerson",
|
||||
iconRight
|
||||
icon-left
|
||||
)
|
||||
template(v-slot:iconLeft)
|
||||
q-icon.input-icon(name="app:search", size="16px")
|
||||
template(v-slot:iconRight)
|
||||
q-icon.cursor-pointer.input-icon(
|
||||
@click="copyValue(foundPerson)"
|
||||
name="app:copy",
|
||||
size="16px"
|
||||
)
|
||||
q-btn.ml-2(
|
||||
@click="sortPerson(elem.data)",
|
||||
:class="sortingClass",
|
||||
@@ -74,7 +64,7 @@
|
||||
)
|
||||
.flex.items-center.gap-x-2
|
||||
.all-icon.flex.items-center.justify-center
|
||||
q-icon.icon-patients(name="app:patients", size="24px")
|
||||
q-icon.icon-patients(name="app:patients", size="24px")
|
||||
.flex.flex-col.font-medium
|
||||
.text-smm Все
|
||||
.grey-color.text.text-xsx {{ elem.data?.length + " пациентов" }}
|
||||
|
||||
@@ -74,17 +74,10 @@
|
||||
placeholder="Найти пациента...",
|
||||
:width="160"
|
||||
size="S",
|
||||
:iconLeft="!foundPerson",
|
||||
iconRight
|
||||
icon-left
|
||||
)
|
||||
template(v-slot:iconLeft)
|
||||
q-icon.input-icon(name="app:search", size="16px")
|
||||
template(v-slot:iconRight)
|
||||
q-icon.cursor-pointer.input-icon(
|
||||
@click="copyValue(foundPerson)"
|
||||
name="app:copy",
|
||||
size="16px"
|
||||
)
|
||||
q-btn.ml-2(
|
||||
@click="sortPerson(patientsData)",
|
||||
:style="{width: '32px', height: '32px', border: '1px solid var(--gray-secondary)'}",
|
||||
@@ -195,9 +188,6 @@ export default {
|
||||
"green-color": priority === 3,
|
||||
};
|
||||
},
|
||||
copyValue(text) {
|
||||
navigator.clipboard.writeText(text);
|
||||
},
|
||||
checkPerson(index, arr) {
|
||||
arr.map((e) => {
|
||||
if (e.id === index) e.check = !e.check;
|
||||
|
||||
Reference in New Issue
Block a user