From aee92eddbe3d51d602e1ef1c6fb21b855f4dff77 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Mon, 20 May 2024 17:10:24 +0300 Subject: [PATCH] part of admin interface --- admin_front/components/FloorplanSvg.vue | 11 ++++- admin_front/pages/plan/index.vue | 64 ++++++++++++++++++------- back/api/views.py | 17 +++++++ 3 files changed, 72 insertions(+), 20 deletions(-) diff --git a/admin_front/components/FloorplanSvg.vue b/admin_front/components/FloorplanSvg.vue index ef5d4b8..2e74808 100644 --- a/admin_front/components/FloorplanSvg.vue +++ b/admin_front/components/FloorplanSvg.vue @@ -40,7 +40,13 @@ const sampling_data = () => { }) paths_array.value = res } -watch(point_array, (newStatus) => { +watch(point_array, () => { + sampling_data() +}) +watch(chunk_size, () => { + sampling_data() +}) +watch(threshold, () => { sampling_data() }) onMounted(() => { @@ -61,7 +67,8 @@ onMounted(() => {