Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
Repair-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaiwat
Repair-app
Commits
a7286e74
Commit
a7286e74
authored
Feb 11, 2022
by
chaiwat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Page AddRepair Dashboard
parent
48558b81
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
337 additions
and
53 deletions
+337
-53
footer.jsx
src/Layouts/Footer/footer.jsx
+0
-0
tabHeader.jsx
src/Layouts/Header/tabHeader.jsx
+0
-0
menuDashboard.jsx
src/Layouts/Menu/menuDashboard.jsx
+15
-20
menulist.jsx
src/Layouts/Menu/menulist.jsx
+8
-0
VerticalLayout.jsx
src/Layouts/VerticalLayout.jsx
+20
-13
index.less
src/assets/less/index.less
+1
-0
index.less
src/assets/less/pages/dashboard/index.less
+40
-0
Routers.jsx
src/router/Routers.jsx
+88
-15
Pages.jsx
src/router/routes/Pages.jsx
+8
-3
index.js
src/services/index.js
+22
-2
agriculture.jsx
...oards/repairDashboard/repairAdd/component/agriculture.jsx
+0
-0
car.jsx
...ew/Dashboards/repairDashboard/repairAdd/component/car.jsx
+0
-0
motorcycle.jsx
...boards/repairDashboard/repairAdd/component/motorcycle.jsx
+0
-0
brand.json
...view/Dashboards/repairDashboard/repairAdd/data/brand.json
+44
-0
index.jsx
src/view/Dashboards/repairDashboard/repairAdd/index.jsx
+91
-0
No files found.
src/Layouts/footer.jsx
→
src/Layouts/
Footer/
footer.jsx
View file @
a7286e74
File moved
src/Layouts/tabHeader.jsx
→
src/Layouts/
Header/
tabHeader.jsx
View file @
a7286e74
File moved
src/Layouts/
mu
nuDashboard.jsx
→
src/Layouts/
Menu/me
nuDashboard.jsx
View file @
a7286e74
...
@@ -13,10 +13,11 @@ import {
...
@@ -13,10 +13,11 @@ import {
CommentOutlined
,
CommentOutlined
,
SettingOutlined
,
SettingOutlined
,
LogoutOutlined
,
LogoutOutlined
,
DollarOutlined
,
}
from
"@ant-design/icons"
;
}
from
"@ant-design/icons"
;
// import services
// import services
import
{
sendLogout
}
from
"../services"
;
import
{
sendLogout
}
from
"../
../
services"
;
const
{
Sider
}
=
Layout
;
const
{
Sider
}
=
Layout
;
const
{
SubMenu
}
=
Menu
;
const
{
SubMenu
}
=
Menu
;
...
@@ -29,7 +30,7 @@ export default function App() {
...
@@ -29,7 +30,7 @@ export default function App() {
};
};
const
handleLogout
=
()
=>
{
const
handleLogout
=
()
=>
{
console
.
log
(
"test Logout"
);
//
console.log("test Logout");
sendLogout
();
sendLogout
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
window
.
location
.
reload
(
false
);
window
.
location
.
reload
(
false
);
...
@@ -38,7 +39,13 @@ export default function App() {
...
@@ -38,7 +39,13 @@ export default function App() {
return
(
return
(
<>
<>
<
div
style=
{
{
mixHeight
:
360
,
overflowY
:
"scroll"
}
}
>
<
div
style=
{
{
mixHeight
:
360
,
backgroundColor
:
"#001529"
,
overflowY
:
"scroll"
,
}
}
>
<
Sider
<
Sider
theme=
"dark"
theme=
"dark"
collapsible
collapsible
...
@@ -71,22 +78,6 @@ export default function App() {
...
@@ -71,22 +78,6 @@ export default function App() {
</
Menu
.
Item
>
</
Menu
.
Item
>
</
SubMenu
>
</
SubMenu
>
<
SubMenu
key=
"sub1"
icon=
{
<
UnorderedListOutlined
/>
}
title=
"จัดการงานซ่อม"
>
<
Menu
.
Item
key=
"2"
icon=
{
<
OrderedListOutlined
/>
}
>
<
Link
to=
{
"/dashboard/all-repair"
}
>
รายการซ่อม
</
Link
>
</
Menu
.
Item
>
<
Menu
.
Item
key=
"3"
icon=
{
<
AppstoreAddOutlined
/>
}
>
<
Link
to=
{
"/dashboard/add-detail"
}
>
เพิ่มการซ่อม
</
Link
>
</
Menu
.
Item
>
<
Menu
.
Item
key=
"4"
icon=
{
<
ToolOutlined
/>
}
>
<
Link
to=
{
"/dashboard/status"
}
>
สถานะการซ่อม
</
Link
>
</
Menu
.
Item
>
</
SubMenu
>
<
SubMenu
key=
"sub2"
icon=
{
<
TeamOutlined
/>
}
title=
"จัดการลูกค้า"
>
<
SubMenu
key=
"sub2"
icon=
{
<
TeamOutlined
/>
}
title=
"จัดการลูกค้า"
>
<
Menu
.
Item
key=
"5"
icon=
{
<
UserAddOutlined
/>
}
>
<
Menu
.
Item
key=
"5"
icon=
{
<
UserAddOutlined
/>
}
>
<
Link
to=
{
"/dashboard/add-member"
}
>
ลงทะเบียนลูกค้า
</
Link
>
<
Link
to=
{
"/dashboard/add-member"
}
>
ลงทะเบียนลูกค้า
</
Link
>
...
@@ -99,6 +90,10 @@ export default function App() {
...
@@ -99,6 +90,10 @@ export default function App() {
</
Menu
.
Item
>
</
Menu
.
Item
>
</
SubMenu
>
</
SubMenu
>
<
Menu
.
Item
key=
"10"
icon=
{
<
DollarOutlined
/>
}
>
<
Link
to=
{
"/dashboard/payment"
}
>
การชำระเงิน
</
Link
>
</
Menu
.
Item
>
<
Menu
.
Item
key=
"8"
icon=
{
<
SettingOutlined
/>
}
>
<
Menu
.
Item
key=
"8"
icon=
{
<
SettingOutlined
/>
}
>
<
Link
to=
{
"/dashboard/setting"
}
>
ตั้งค่าบัญชี
</
Link
>
<
Link
to=
{
"/dashboard/setting"
}
>
ตั้งค่าบัญชี
</
Link
>
</
Menu
.
Item
>
</
Menu
.
Item
>
...
@@ -109,7 +104,7 @@ export default function App() {
...
@@ -109,7 +104,7 @@ export default function App() {
<
Menu
.
Item
<
Menu
.
Item
onClick=
{
handleLogout
}
onClick=
{
handleLogout
}
key=
"1
0
"
key=
"1
1
"
icon=
{
<
LogoutOutlined
/>
}
icon=
{
<
LogoutOutlined
/>
}
>
>
ออกจากระบบ
ออกจากระบบ
...
...
src/Layouts/menulist.jsx
→
src/Layouts/
Menu/
menulist.jsx
View file @
a7286e74
...
@@ -24,6 +24,13 @@ export default function App() {
...
@@ -24,6 +24,13 @@ export default function App() {
return
(
return
(
<>
<>
<
div
style=
{
{
mixHeight
:
360
,
backgroundColor
:
"#001529"
,
overflowY
:
"scroll"
,
}
}
>
<
Sider
<
Sider
theme=
"dark"
theme=
"dark"
collapsible
collapsible
...
@@ -56,6 +63,7 @@ export default function App() {
...
@@ -56,6 +63,7 @@ export default function App() {
</
Menu
.
Item
>
</
Menu
.
Item
>
</
Menu
>
</
Menu
>
</
Sider
>
</
Sider
>
</
div
>
</>
</>
);
);
}
}
src/Layouts/VerticalLayout.jsx
View file @
a7286e74
...
@@ -4,13 +4,10 @@ import { useHistory } from "react-router-dom";
...
@@ -4,13 +4,10 @@ import { useHistory } from "react-router-dom";
import
{
Layout
}
from
"antd"
;
import
{
Layout
}
from
"antd"
;
// import Component
// import Component
import
HeaderTap
from
"./tabHeader"
;
import
HeaderTap
from
"./
Header/
tabHeader"
;
import
MenuList
from
"./menulist"
;
import
MenuList
from
"./
Menu/
menulist"
;
import
MenuDashboard
from
'./munuDashboard'
import
MenuDashboard
from
"./Menu/menuDashboard"
;
//import
// import Login from "../view/Login";
// import RegistionPage from "../view/Registion";
const
{
Content
,
Footer
}
=
Layout
;
const
{
Content
,
Footer
}
=
Layout
;
...
@@ -23,16 +20,15 @@ export default function VerticalLayout(props) {
...
@@ -23,16 +20,15 @@ export default function VerticalLayout(props) {
useEffect
(()
=>
{
useEffect
(()
=>
{
// console.log("local", localStorage.getItem("user"));
// console.log("local", localStorage.getItem("user"));
setChechLocal
(
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)))
setChechLocal
(
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)))
;
},
[]);
},
[]);
if
(
checkLocal
===
null
)
{
if
(
checkLocal
===
null
)
{
history
.
push
(
"/"
)
history
.
push
(
"/"
)
;
}
else
{
}
else
{
history
.
push
(
"/dashboard"
)
history
.
push
(
"/dashboard"
)
;
}
}
// console.log(checkLocal);
// console.log(checkLocal);
return
(
return
(
...
@@ -68,7 +64,6 @@ export default function VerticalLayout(props) {
...
@@ -68,7 +64,6 @@ export default function VerticalLayout(props) {
</
Layout
>
</
Layout
>
</
Layout
>
</
Layout
>
)
:
(
)
:
(
<>
<
Layout
<
Layout
style=
{
{
style=
{
{
minHeight
:
"93vh"
,
minHeight
:
"93vh"
,
...
@@ -77,8 +72,20 @@ export default function VerticalLayout(props) {
...
@@ -77,8 +72,20 @@ export default function VerticalLayout(props) {
}
}
}
}
>
>
<
MenuDashboard
/>
<
MenuDashboard
/>
<
Layout
className=
"site-layout"
>
<
Content
style=
{
{
margin
:
"1vh 1vh"
}
}
>
<
div
className=
"site-layout-background"
style=
{
{
mixHeight
:
360
,
overflowY
:
"scroll"
}
}
>
{
children
}
</
div
>
</
Content
>
<
Footer
className=
"footer"
>
<
p
>
Final Project ©2021 Developed by Chaiwat Singkibut
</
p
>
</
Footer
>
</
Layout
>
</
Layout
>
</
Layout
>
</>
)
}
)
}
</>
</>
);
);
...
...
src/assets/less/index.less
View file @
a7286e74
...
@@ -4,3 +4,4 @@
...
@@ -4,3 +4,4 @@
@import "pages/getstartes.less";
@import "pages/getstartes.less";
@import "pages/register.less";
@import "pages/register.less";
@import "pages/reported.less";
@import "pages/reported.less";
@import "pages/dashboard/index.less";
src/assets/less/pages/dashboard/index.less
0 → 100644
View file @
a7286e74
.div-content-repairadd {
border: 1px solid #333;
height: auto;
padding: 0 5% 5% 5%;
margin: 0 5% 5% 5%;
// background-color: #a3b4c8;
}
.main-select-repair {
padding: 10px;
// border: 1px solid #333;
// box-shadow: 1px 3px #001529;
}
.div-content-main {
// border: 1px solid #333;
}
.main-content-repair {
padding: 10px;
// border: 1px solid #333;
height: auto;
// display: flex;
}
.div-select {
border: 1px solid #333;
}
.div-select-flex {
display: flex;
}
.test-box {
border: 1px solid #333;
}
\ No newline at end of file
src/router/Routers.jsx
View file @
a7286e74
import
React
from
"react"
;
// import React, { useEffect, useState } from "react";
// Router
// Router
import
{
BrowserRouter
as
AppRouter
,
Route
,
Switch
}
from
"react-router-dom"
;
import
{
BrowserRouter
as
AppRouter
,
// import Ecommerce from "../view/Dashboards/ecommerce";
Route
,
Switch
,
// import HeaderTap from "../Layouts/tabHeader";
}
from
"react-router-dom"
;
// import MenuList from "../Layouts/menulist";
//import
// import Login from "../view/Login";
// import RegistionPage from "../view/Registion";
// Routes
// Routes
import
{
Routes
}
from
"./routes"
;
import
{
Routes
}
from
"./routes"
;
...
@@ -16,23 +13,31 @@ import { Routes } from "./routes";
...
@@ -16,23 +13,31 @@ import { Routes } from "./routes";
// Layouts
// Layouts
import
VerticalLayout
from
"../Layouts/VerticalLayout"
;
import
VerticalLayout
from
"../Layouts/VerticalLayout"
;
import
FullLayout
from
"../Layouts/FullLayout"
;
import
FullLayout
from
"../Layouts/FullLayout"
;
// import DashboardLayout from "../Layouts/DashboardLayout";
// Components
// Components
import
ProtectedRoute
from
"../ProtectdRoute"
;
import
ProtectedRoute
from
"../ProtectdRoute"
;
// import { Layout } from "antd";
export
default
function
Routers
()
{
// const history = useHistory();
// const [checkLocal, setChechLocal] = useState(null);
// useEffect(() => {
// console.log("local", localStorage.getItem("user") === null);
// setChechLocal(JSON.parse(localStorage.getItem("user")));
// }, []);
// const { Content, Footer } = Layout;
export
default
function
Routers
()
{
// Default Layout
// Default Layout
const
DefaultLayout
=
null
;
// FullLayout or VerticalLayout
const
DefaultLayout
=
null
;
// FullLayout or VerticalLayout
// All of the available layouts
// All of the available layouts
const
Layouts
=
{
VerticalLayout
,
FullLayout
};
const
Layouts
=
{
VerticalLayout
,
FullLayout
};
// Return Filtered Array of Routes & Paths
// const LayoutsDashboard = { DashboardLayout, FullLayout };
// Return Filtered Array of Routes & Paths for default page
const
LayoutRoutesAndPaths
=
(
layout
)
=>
{
const
LayoutRoutesAndPaths
=
(
layout
)
=>
{
const
LayoutRoutes
=
[];
const
LayoutRoutes
=
[];
const
LayoutPaths
=
[];
const
LayoutPaths
=
[];
...
@@ -48,8 +53,27 @@ export default function Routers() {
...
@@ -48,8 +53,27 @@ export default function Routers() {
return
{
LayoutRoutes
,
LayoutPaths
};
return
{
LayoutRoutes
,
LayoutPaths
};
};
};
// Return Filtered Array of Routes & Paths for dashboard page
// const LayoutRoutesAndPathsDashboard = (layout) => {
// const LayoutRoutes2 = [];
// const LayoutPaths2 = [];
// if (Routes) {
// // Checks if Route layout or Default layout matches current layout
// Routes.filter(
// (route) =>
// (route.layout === layout || DefaultLayout === layout) &&
// (LayoutRoutes2.push(route), LayoutPaths2.push(route.path))
// );
// }
// return { LayoutRoutes2, LayoutPaths2 };
// };
// Return Route to Render
// Return Route to Render
const
ResolveRoutes
=
()
=>
{
const
ResolveRoutes
=
()
=>
{
return
Object
.
keys
(
Layouts
).
map
((
layout
,
index
)
=>
{
return
Object
.
keys
(
Layouts
).
map
((
layout
,
index
)
=>
{
const
{
LayoutRoutes
,
LayoutPaths
}
=
LayoutRoutesAndPaths
(
layout
);
const
{
LayoutRoutes
,
LayoutPaths
}
=
LayoutRoutesAndPaths
(
layout
);
const
LayoutTag
=
Layouts
[
layout
];
const
LayoutTag
=
Layouts
[
layout
];
...
@@ -74,9 +98,58 @@ export default function Routers() {
...
@@ -74,9 +98,58 @@ export default function Routers() {
});
});
};
};
// Return Route to Render
// const ResolveRoutesDash = () => {
// console.log("local2", checkLocal);
// return Object.keys(LayoutsDashboard).map((layout, index) => {
// const { LayoutRoutes2, LayoutPaths2 } =
// LayoutRoutesAndPathsDashboard(layout);
// const LayoutTag = LayoutsDashboard[layout];
// return (
// <Route path={LayoutPaths2} key={index}>
// <LayoutTag>
// <Switch>
// {LayoutRoutes2.map((route) => {
// return (
// <ProtectedRoute
// key={route.path}
// path={route.path}
// exact
// component={route.component}
// />
// );
// })}
// </Switch>
// </LayoutTag>
// </Route>
// );
// });
// };
// let ContentMain;
// const Resolve = () => {
// // {checkLocal === null ? ResolveRoutes() : ResolveRoutesDash()}
// return (
// <>
// {checkLocal === null ? <ResolveRoutes /> : <ResolveRoutesDash />}
// </>
// )
// }
// if (checkLocal === null) {
// history.push("/");
// } else {
// history.push("/dashboard/add-detail");
// }
return
(
return
(
<
AppRouter
>
<
AppRouter
>
<
Switch
>
{
ResolveRoutes
()
}
</
Switch
>
<
Switch
>
{
ResolveRoutes
()
}
</
Switch
>
</
AppRouter
>
</
AppRouter
>
);
);
}
}
src/router/routes/Pages.jsx
View file @
a7286e74
...
@@ -54,9 +54,14 @@ const PagesRoutes = [
...
@@ -54,9 +54,14 @@ const PagesRoutes = [
// pages 404
// pages 404
{
{
path
:
'/pages/error-404'
,
path
:
'/dashboard'
,
component
:
lazy
(()
=>
import
(
'../../view/Errors/404/index'
)),
component
:
lazy
(()
=>
import
(
'../../view/Dashboards/repairDashboard/repairAdd/index'
)),
layout
:
'FullLayout'
,
layout
:
'VerticalLayout'
,
},
{
path
:
'/dashboard/add-detail'
,
component
:
lazy
(()
=>
import
(
'../../view/Dashboards/repairDashboard/repairAdd/index'
)),
layout
:
'VerticalLayout'
,
},
},
];
];
...
...
src/services/index.js
View file @
a7286e74
...
@@ -31,8 +31,8 @@ export const sendLogin = (data) => {
...
@@ -31,8 +31,8 @@ export const sendLogin = (data) => {
// logout
// logout
export
const
sendLogout
=
()
=>
{
export
const
sendLogout
=
()
=>
{
return
localStorage
.
removeItem
(
"user"
)
return
localStorage
.
removeItem
(
"user"
)
;
}
}
;
// get list All garage
// get list All garage
export
const
FetchGarageAll
=
()
=>
{
export
const
FetchGarageAll
=
()
=>
{
...
@@ -47,3 +47,23 @@ export const FetchGarageAll = () => {
...
@@ -47,3 +47,23 @@ export const FetchGarageAll = () => {
})
})
);
);
};
};
// Fetch Thai Address API
export
const
FetchThaiAddress
=
()
=>
{
return
axios
.
get
(
"https://thaiaddressapi-thaikub.herokuapp.com/v1/thailand/provinces"
)
.
then
((
response
)
=>
response
.
data
)
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
};
// get Thai Address API
export
const
FetchMemberTel
=
()
=>
{
return
axios
.
get
(
process
.
env
.
REACT_APP_SECRET_API
+
"/member/all"
)
.
then
((
response
)
=>
response
.
data
)
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
};
src/view/Dashboards/repairDashboard/repairAdd/component/agriculture.jsx
0 → 100644
View file @
a7286e74
This diff is collapsed.
Click to expand it.
src/view/Dashboards/repairDashboard/repairAdd/component/car.jsx
0 → 100644
View file @
a7286e74
This diff is collapsed.
Click to expand it.
src/view/Dashboards/repairDashboard/repairAdd/component/motorcycle.jsx
0 → 100644
View file @
a7286e74
This diff is collapsed.
Click to expand it.
src/view/Dashboards/repairDashboard/repairAdd/data/brand.json
0 → 100644
View file @
a7286e74
{
"type"
:
{
"moto"
:
[
"Honda ฮอนด้า"
,
"Yamaha ยามาฮ่า"
,
"Harley-Davidson"
,
"Kawasaki"
,
"Suzuki ซูซูกิ"
,
"GPX จีพีเอ็กซ์"
,
"Royal Enfield"
,
"Vespa"
,
"Ducati ดูคาติ"
,
"BMW บีเอ็มดับเบิลยู"
,
"Ducati ดูคาติ"
,
"Jeep จี๊ป"
,
"Benelli"
,
"MV Agusta"
],
"car"
:
[
"Honda"
,
"Isuzu"
,
"Suzuki"
,
"Mitsubishi"
,
"Nissan"
,
"Toyota"
,
"Mazda"
,
"Ford"
,
"Aston Martin"
,
"Lamborghini"
,
"Audi"
,
"Mercedes-Benz"
,
"Subaru"
,
"Volvo"
,
"BMW"
,
"Hyundai"
,
"MG"
,
"Mini"
,
"Chevrolet"
,
"Maserati"
,
"Thairung"
]
}
}
\ No newline at end of file
src/view/Dashboards/repairDashboard/repairAdd/index.jsx
View file @
a7286e74
import
React
,
{
useEffect
,
useState
}
from
"react"
;
import
{
Row
,
Col
,
Typography
,
Select
}
from
"antd"
;
// import Component
import
Car
from
"./component/car"
;
import
Agriculture
from
"./component/agriculture"
;
import
Motorcycle
from
"./component/motorcycle"
;
const
{
Title
,
Text
}
=
Typography
;
const
{
Option
}
=
Select
;
export
default
function
App
()
{
const
[
typeSelect
,
setTypeSelect
]
=
useState
();
const
[
checkLocal
,
setChechLocal
]
=
useState
(
null
);
useEffect
(()
=>
{
// console.log("local", localStorage.getItem("user"));
setChechLocal
(
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)));
},
[]);
let
MainContent
;
if
(
typeSelect
===
"รถยนต์"
)
{
MainContent
=
<
Car
typeSelect=
{
typeSelect
}
checkLocal=
{
checkLocal
}
/>;
}
else
if
(
typeSelect
===
"รถจักรยานยนต์"
)
{
MainContent
=
(
<
Motorcycle
typeSelect=
{
typeSelect
}
checkLocal=
{
checkLocal
}
/>
);
}
else
if
(
typeSelect
===
"อุปกรณ์การเกษตร"
)
{
MainContent
=
(
<
Agriculture
typeSelect=
{
typeSelect
}
checkLocal=
{
checkLocal
}
/>
);
}
else
{
MainContent
=
null
;
}
return
(
<>
<
Row
>
<
Col
span=
{
24
}
className=
"box-text-title"
>
<
Title
level=
{
4
}
>
เพิ่มการซ่อม
</
Title
>
</
Col
>
<
Col
span=
{
24
}
>
<
div
className=
"div-content-repairadd"
>
<
Col
className=
"main-select-repair"
>
<
Title
level=
{
5
}
>
ประเภทของอุปกรณ์
</
Title
>
<
Row
>
<
Col
xs=
{
{
span
:
1
,
offset
:
1
}
}
lg=
{
{
span
:
4
,
offset
:
2
}
}
></
Col
>
<
Col
xs=
{
{
span
:
19
,
offset
:
1
}
}
lg=
{
{
span
:
8
,
offset
:
2
}
}
>
<
div
className=
"div-select"
>
<
Select
allowClear
style=
{
{
width
:
"100%"
}
}
placeholder=
"กรุณาเลือกประเภท"
onChange=
{
(
e
)
=>
{
setTypeSelect
(
e
);
}
}
>
<
Option
value=
"รถยนต์"
>
รถยนต์
</
Option
>
<
Option
value=
"รถจักรยานยนต์"
>
รถจักรยานยนต์
</
Option
>
<
Option
value=
"อุปกรณ์การเกษตร"
>
อุปกรณ์การเกษตร
</
Option
>
</
Select
>
</
div
>
</
Col
>
<
Col
xs=
{
{
span
:
1
,
offset
:
1
}
}
lg=
{
{
span
:
4
,
offset
:
2
}
}
></
Col
>
</
Row
>
</
Col
>
<
div
style=
{
{
display
:
'flex'
,
marginTop
:
'10px'
}
}
>
<
Title
style=
{
{
color
:
"red"
}
}
level=
{
5
}
>
หมายเหตุ :
</
Title
>
<
Text
>
ในการเพิ่มการซ่อมเเต่ละครั้งลูกค้าจำเป็นต้องสมัครสมาชิกก่อนทุกครั้ง
</
Text
>
</
div
>
{
MainContent
}
</
div
>
</
Col
>
</
Row
>
</>
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment