|
|
@ -5,7 +5,7 @@ import { toJS } from "mobx";
|
|
|
|
import moment from "moment";
|
|
|
|
import moment from "moment";
|
|
|
|
import { Row, Col, Space, Button, Divider, Form, Typography, Rate, Radio, Modal, Upload, Input } from "antd";
|
|
|
|
import { Row, Col, Space, Button, Divider, Form, Typography, Rate, Radio, Modal, Upload, Input } from "antd";
|
|
|
|
import { useStore } from "../../stores/StoreContext.js";
|
|
|
|
import { useStore } from "../../stores/StoreContext.js";
|
|
|
|
|
|
|
|
import { UploadOutlined } from "@ant-design/icons";
|
|
|
|
const { Title, Text, Paragraph } = Typography;
|
|
|
|
const { Title, Text, Paragraph } = Typography;
|
|
|
|
|
|
|
|
|
|
|
|
function Detail() {
|
|
|
|
function Detail() {
|
|
|
@ -29,6 +29,45 @@ function Detail() {
|
|
|
|
const OtherThoughts = feedbackRate && feedbackRate.OtherThoughts ? feedbackRate.OtherThoughts : "";
|
|
|
|
const OtherThoughts = feedbackRate && feedbackRate.OtherThoughts ? feedbackRate.OtherThoughts : "";
|
|
|
|
const PhotoPermission = feedbackRate && feedbackRate.PhotoPermission && feedbackRate.PhotoPermission == "YES" ? true : false;
|
|
|
|
const PhotoPermission = feedbackRate && feedbackRate.PhotoPermission && feedbackRate.PhotoPermission == "YES" ? true : false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const [fileList, setFileList] = useState([
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uid: "-1",
|
|
|
|
|
|
|
|
name: "image.png",
|
|
|
|
|
|
|
|
status: "done",
|
|
|
|
|
|
|
|
url: "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uid: "-2",
|
|
|
|
|
|
|
|
name: "image.png",
|
|
|
|
|
|
|
|
status: "done",
|
|
|
|
|
|
|
|
url: "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uid: "-3",
|
|
|
|
|
|
|
|
name: "image.png",
|
|
|
|
|
|
|
|
status: "done",
|
|
|
|
|
|
|
|
url: "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uid: "-4",
|
|
|
|
|
|
|
|
name: "image.png",
|
|
|
|
|
|
|
|
status: "done",
|
|
|
|
|
|
|
|
url: "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uid: "-xxx",
|
|
|
|
|
|
|
|
percent: 50,
|
|
|
|
|
|
|
|
name: "image.png",
|
|
|
|
|
|
|
|
status: "uploading",
|
|
|
|
|
|
|
|
url: "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uid: "-5",
|
|
|
|
|
|
|
|
name: "image.png",
|
|
|
|
|
|
|
|
status: "error",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Space direction="vertical" style={{ width: "100%" }}>
|
|
|
|
<Space direction="vertical" style={{ width: "100%" }}>
|
|
|
|
<Row gutter={16}>
|
|
|
|
<Row gutter={16}>
|
|
|
@ -112,21 +151,14 @@ function Detail() {
|
|
|
|
<Form labelCol={{ span: 5 }}>
|
|
|
|
<Form labelCol={{ span: 5 }}>
|
|
|
|
<Divider orientation="left">地接社反馈</Divider>
|
|
|
|
<Divider orientation="left">地接社反馈</Divider>
|
|
|
|
<Form.Item>
|
|
|
|
<Form.Item>
|
|
|
|
<Input.TextArea></Input.TextArea>
|
|
|
|
<Input.TextArea rows={6}></Input.TextArea>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Divider orientation="left">上传照片</Divider>
|
|
|
|
<Divider orientation="left">上传照片</Divider>
|
|
|
|
<Form.Item label="Tour Guide Service">
|
|
|
|
<Form.Item label="Tour Guide Service">
|
|
|
|
<Space>
|
|
|
|
<Space>上传照片</Space>
|
|
|
|
<Rate disabled value={HWO_Guide} />
|
|
|
|
<Upload name="filename" action="https://p9axztuwd7x8a7.mycht.cn/service-fileServer/FileTransfer" headers={{ authorization: "authorization-text" }}>
|
|
|
|
<span className="ant-rate-text">{desc[HWO_Guide]}</span>
|
|
|
|
<Button>Click to Upload</Button>
|
|
|
|
</Space>
|
|
|
|
</Upload>
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item label="Driver's Attitude">
|
|
|
|
|
|
|
|
<Space>
|
|
|
|
|
|
|
|
<Rate disabled value={HWO_Driver} />
|
|
|
|
|
|
|
|
<span className="ant-rate-text">{desc[HWO_Driver]}</span>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
</Form>
|
|
|
|
</Form>
|
|
|
|
</Col>
|
|
|
|
</Col>
|
|
|
|