diff --git a/src/main.jsx b/src/main.jsx index f65faa8..4b86cb3 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -46,7 +46,7 @@ const router = createBrowserRouter([ { path: "account/change-password", element: }, { path: "account/profile", element: }, { path: "feedback", element: }, - { path: "feedback/:GRI_SN", element: }, + { path: "feedback/:GRI_SN/:RefNo", element: }, { path: "notice", element: }, { path: "notice/:CCP_BLID", element: }, { path: "invoice",element:}, diff --git a/src/views/feedback/Detail.jsx b/src/views/feedback/Detail.jsx index 6fe5070..6de7453 100644 --- a/src/views/feedback/Detail.jsx +++ b/src/views/feedback/Detail.jsx @@ -2,7 +2,7 @@ import { useParams, useNavigate } from "react-router-dom"; import { useEffect } from "react"; import { observer } from "mobx-react"; import { toJS, runInAction } from "mobx"; -import { Row, Col, Space, Button, Divider, Form, Typography, Rate, Radio, Upload, Input, App } from "antd"; +import { Row, Col, Space, Button, Divider, Form, Typography, Rate, Radio, Upload, Input, App, Card } from "antd"; import { useStore } from "../../stores/StoreContext.js"; import { PlusOutlined } from "@ant-design/icons"; const { Title, Text, Paragraph } = Typography; @@ -10,7 +10,7 @@ import * as config from "@/config"; function Detail() { const navigate = useNavigate(); - const { GRI_SN } = useParams(); + const { GRI_SN,RefNo } = useParams(); const { feedbackStore, authStore } = useStore(); const { feedbackRate, feedbackReview, feedbackImages, feedbackInfo } = feedbackStore; const desc = ["none", "Unacceptable", "Poor", "Fair", "Very Good", "Excellent"]; @@ -72,7 +72,7 @@ function Detail() { - Post Survey - Albee221228017 + - - + Feedback from local agent}> +
+ + +
+ +
Upload photos
+
+
+
+ + + + + + +
+
diff --git a/src/views/feedback/Index.jsx b/src/views/feedback/Index.jsx index 7624832..817e738 100644 --- a/src/views/feedback/Index.jsx +++ b/src/views/feedback/Index.jsx @@ -11,7 +11,7 @@ const feedbackListColumns = [ { title: "Ref.No", dataIndex: "EOI_Group_Name", - render: (text, record) => {text}, + render: (text, record) => {text}, }, { title: "Arrival Date",