Фикс багов
This commit is contained in:
@@ -36,9 +36,10 @@ export default {
|
||||
patient: patientList
|
||||
.find(({ label }) => label === "Пациенты")
|
||||
.data.find(
|
||||
({ time }) =>
|
||||
time.from <= moment().format("HH:MM") &&
|
||||
time.to >= moment().format("HH:MM")
|
||||
(e) =>
|
||||
e.time.from <= moment().format("HH:MM") &&
|
||||
e.time.to >= moment().format("HH:MM") &&
|
||||
e.reception === moment().format("DD.MM.YYYY")
|
||||
),
|
||||
prioritys: [
|
||||
{ name: "Без приоритета", id: 0, class: "none-priority" },
|
||||
@@ -62,7 +63,7 @@ export default {
|
||||
},
|
||||
choiceColor(priority) {
|
||||
return {
|
||||
"grey-color": !priority,
|
||||
"none-priority": !priority,
|
||||
"red-color": priority === 1,
|
||||
"blue-color": priority === 2,
|
||||
"green-color": priority === 3,
|
||||
|
||||
Reference in New Issue
Block a user