|
|
@ -12,13 +12,14 @@ function Detail() {
|
|
|
|
const navigate = useNavigate();
|
|
|
|
const navigate = useNavigate();
|
|
|
|
const { GRI_SN, RefNo, CII_SN } = useParams();
|
|
|
|
const { GRI_SN, RefNo, CII_SN } = useParams();
|
|
|
|
const { feedbackStore, authStore } = useStore();
|
|
|
|
const { feedbackStore, authStore } = useStore();
|
|
|
|
const { feedbackRate, feedbackReview, feedbackImages, feedbackInfo } = feedbackStore;
|
|
|
|
const { feedbackReview, feedbackImages, feedbackInfo, feedbackServiceRate: feedbackRate } = feedbackStore;
|
|
|
|
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();
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
useEffect(() => {
|
|
|
|
console.info("Detail.useEffect: " + GRI_SN);
|
|
|
|
console.info("Detail.useEffect: " + GRI_SN);
|
|
|
|
|
|
|
|
feedbackStore.getFeedbackDetail(authStore.login.travelAgencyId, GRI_SN);
|
|
|
|
feedbackStore.getCustomerFeedbackDetail(authStore.login.travelAgencyId, GRI_SN, CII_SN);
|
|
|
|
feedbackStore.getCustomerFeedbackDetail(authStore.login.travelAgencyId, GRI_SN, CII_SN);
|
|
|
|
feedbackStore.getFeedbackImages(authStore.login.travelAgencyId, GRI_SN);
|
|
|
|
feedbackStore.getFeedbackImages(authStore.login.travelAgencyId, GRI_SN);
|
|
|
|
feedbackStore.getFeedbackInfo(authStore.login.travelAgencyId, GRI_SN).then(v => {
|
|
|
|
feedbackStore.getFeedbackInfo(authStore.login.travelAgencyId, GRI_SN).then(v => {
|
|
|
@ -82,7 +83,7 @@ function Detail() {
|
|
|
|
<Row gutter={16}>
|
|
|
|
<Row gutter={16}>
|
|
|
|
<Col span={4}></Col>
|
|
|
|
<Col span={4}></Col>
|
|
|
|
<Col span={18}>
|
|
|
|
<Col span={18}>
|
|
|
|
<Card type="inner" title={<Title level={4}>Post Survey {RefNo} for {cityName}</Title>}>
|
|
|
|
<Card type="inner" title={<Title level={4}>Post Survey {RefNo} in {cityName}</Title>}>
|
|
|
|
<Form labelCol={{ span: 5 }}>
|
|
|
|
<Form labelCol={{ span: 5 }}>
|
|
|
|
<Divider orientation="left">How satisfied were you with your tour guide?</Divider>
|
|
|
|
<Divider orientation="left">How satisfied were you with your tour guide?</Divider>
|
|
|
|
{HWO_Guide.map(ele => (
|
|
|
|
{HWO_Guide.map(ele => (
|
|
|
|