|
|
@ -3,16 +3,16 @@ import { useEffect, useState } from 'react';
|
|
|
|
import { Row, Col, Space, Button, Divider, Form, Typography, Rate, Radio, Upload, Input, App, Card } from 'antd';
|
|
|
|
import { Row, Col, Space, Button, Divider, Form, Typography, Rate, Radio, Upload, Input, App, Card } from 'antd';
|
|
|
|
import { PlusOutlined } from '@ant-design/icons';
|
|
|
|
import { PlusOutlined } from '@ant-design/icons';
|
|
|
|
import * as config from '@/config';
|
|
|
|
import * as config from '@/config';
|
|
|
|
import useAuthStore from '@/stores/Auth';
|
|
|
|
|
|
|
|
import { getFeedbackDetail, getCustomerFeedbackDetail, getFeedbackImages, getFeedbackInfo, removeFeedbackImages, postFeedbackInfo } from '@/stores/Feedback';
|
|
|
|
import { getFeedbackDetail, getCustomerFeedbackDetail, getFeedbackImages, getFeedbackInfo, removeFeedbackImages, postFeedbackInfo } from '@/stores/Feedback';
|
|
|
|
import BackBtn from '@/components/BackBtn';
|
|
|
|
import BackBtn from '@/components/BackBtn';
|
|
|
|
|
|
|
|
import { usingStorage } from '@/hooks/usingStorage';
|
|
|
|
|
|
|
|
|
|
|
|
const { Title, Text, Paragraph } = Typography;
|
|
|
|
const { Title, Text, Paragraph } = Typography;
|
|
|
|
|
|
|
|
|
|
|
|
function Detail() {
|
|
|
|
function Detail() {
|
|
|
|
const navigate = useNavigate();
|
|
|
|
const navigate = useNavigate();
|
|
|
|
const { GRI_SN, RefNo, CII_SN } = useParams();
|
|
|
|
const { GRI_SN, RefNo, CII_SN } = useParams();
|
|
|
|
const [travelAgencyId, token] = useAuthStore((state) => [state.loginUser.travelAgencyId, state.loginUser.token]);
|
|
|
|
const {travelAgencyId, token} = usingStorage();
|
|
|
|
const desc = ['none', 'Unacceptable', 'Poor', 'Fair', 'Very Good', 'Excellent'];
|
|
|
|
const desc = ['none', 'Unacceptable', 'Poor', 'Fair', 'Very Good', 'Excellent'];
|
|
|
|
const { notification } = App.useApp();
|
|
|
|
const { notification } = App.useApp();
|
|
|
|
const [form] = Form.useForm();
|
|
|
|
const [form] = Form.useForm();
|
|
|
|