[WIP] Правка модалки времени

This commit is contained in:
megavrilinvv
2023-07-31 13:43:25 +03:00
parent 16f2394eec
commit d0c1cccd10
2 changed files with 37 additions and 8 deletions

View File

@@ -40,7 +40,7 @@
q-btn.change.flex.w-7.h-7.rounded-md(@click="isShowTime = true", dense, padding="4px 4px")
q-icon.icon(name="app:time", size="20px")
base-modal(v-model="isShowTime", title="Время", modal-padding)
base-time-modal(:times="times", :close-modal-time="closeModalTime")
base-time-modal(:times="times", :close-modal-time="closeModalTime", :data="data")
.flex.h-14.gap-x-3.items-center.text-smm
.text.font-semibold Медкарта:
.flex.gap-x-1
@@ -72,6 +72,16 @@ export default {
currentDate: moment().clone(),
isShowTime: false,
times: { from: "8:30", to: "10:30" },
data: [
{
start: "8:00",
end: "8:30",
},
{
start: "11:30",
end: "12:00",
},
],
};
},
methods: {