From a7e6bb3f59c43e19db931d25095346d480b019d2 Mon Sep 17 00:00:00 2001 From: Andrei Duvakin Date: Thu, 20 Feb 2025 16:56:21 +0500 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20=D1=81?= =?UTF-8?q?=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83=D1=80=D1=83=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=B0=D0=BD=D0=B8=D1=86=20=D0=BD=D0=B0=D0=B1=D0=BE=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=BB=D0=B8=D0=BD=D0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-app/src/AppRouter.jsx | 4 +- web-app/src/components/sets/SetListCard.jsx | 0 web-app/src/layouts/LensesLayout.jsx | 44 +++++++++++++++++++++ web-app/src/layouts/MainLayout.jsx | 2 +- web-app/src/pages/SetLensesPage.jsx | 8 ++++ 5 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 web-app/src/components/sets/SetListCard.jsx create mode 100644 web-app/src/layouts/LensesLayout.jsx create mode 100644 web-app/src/pages/SetLensesPage.jsx diff --git a/web-app/src/AppRouter.jsx b/web-app/src/AppRouter.jsx index 39ff9e8..de9d263 100644 --- a/web-app/src/AppRouter.jsx +++ b/web-app/src/AppRouter.jsx @@ -4,7 +4,7 @@ import LoginPage from "./pages/LoginPage.jsx"; import MainLayout from "./layouts/MainLayout.jsx"; import PatientsPage from "./pages/PatientsPage.jsx"; import HomePage from "./pages/HomePage.jsx"; -import LensPage from "./pages/LensesPage.jsx"; +import LensesLayout from "./layouts/LensesLayout.jsx"; const AppRouter = () => ( @@ -14,7 +14,7 @@ const AppRouter = () => ( }> }> }/> - }/> + }/> }/> diff --git a/web-app/src/components/sets/SetListCard.jsx b/web-app/src/components/sets/SetListCard.jsx new file mode 100644 index 0000000..e69de29 diff --git a/web-app/src/layouts/LensesLayout.jsx b/web-app/src/layouts/LensesLayout.jsx new file mode 100644 index 0000000..49fcdb5 --- /dev/null +++ b/web-app/src/layouts/LensesLayout.jsx @@ -0,0 +1,44 @@ +import {useState, useEffect} from "react"; +import { + Input, + Select, + List, + FloatButton, + Row, + Col, + Spin, + Button, + Form, + InputNumber, + Card, Grid, notification, Tabs +} from "antd"; +import LensesPage from "../pages/LensesPage.jsx"; +import {FolderViewOutlined, SwitcherOutlined} from "@ant-design/icons"; + +const {Option} = Select; + +const items = [ + { + key: '1', + label: 'Линзы', + children: , + icon: + }, + { + key: '2', + label: 'Наборы линз', + children: '1233', + icon: + } +] + +const LensesLayout = () => { + return ( + + ); +}; + +export default LensesLayout; \ No newline at end of file diff --git a/web-app/src/layouts/MainLayout.jsx b/web-app/src/layouts/MainLayout.jsx index 0784e97..03459b4 100644 --- a/web-app/src/layouts/MainLayout.jsx +++ b/web-app/src/layouts/MainLayout.jsx @@ -27,7 +27,7 @@ const MainLayout = () => { getItem("Главная", "/", ), getItem("Приёмы", "/appointments", ), getItem("Выдачи линз", "/dispensing", ), - getItem("Линзы", "/lenses", ), + getItem("Линзы и наборы", "/lenses", ), getItem("Пациенты", "/patients", ), getItem("Рассылки", "/mailing", ), {type: "divider"}, diff --git a/web-app/src/pages/SetLensesPage.jsx b/web-app/src/pages/SetLensesPage.jsx new file mode 100644 index 0000000..9ae4bd9 --- /dev/null +++ b/web-app/src/pages/SetLensesPage.jsx @@ -0,0 +1,8 @@ + + + +const SetLensesPage = () => { + +}; + +export default SetLensesPage; \ No newline at end of file