[WIP] Фикс багов и скролла страницы медкартотчек

This commit is contained in:
megavrilinvv
2023-07-28 12:38:32 +03:00
parent e808c23288
commit e1c2dccce6
5 changed files with 54 additions and 48 deletions

View File

@@ -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;