| | |
| | | */ |
| | | |
| | | import React from "react"; |
| | | import { Input, Button, message, Breadcrumb } from "antd"; |
| | | import { Input, Button, message, Breadcrumb, Row, Col } from "antd"; |
| | | import moment from "moment"; |
| | | import BusDetailView from "../view/BusDetailView"; |
| | | import LineView from "../view/LineView"; |
| | |
| | | <BusDetailView> |
| | | <div> |
| | | <LineView title="举报信息" style="14vh" lineHeight="34px"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <td className="table-vaule1">举报对象</td> |
| | | <td className="table-vaule2">{detail.tipoffObject}</td> |
| | | <td className="table-vaule1">发生地</td> |
| | | <td className="table-vaule2">{detail.tipoffAddress}</td> |
| | | </tr> |
| | | <tr> |
| | | <td className="table-vaule3">举报类型</td> |
| | | <td className="table-vaule4">{businessType(detail.tipoffType)}</td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <td className="table-vaule1">具体事项</td> |
| | | <td className="table-vaule2">{detail.tipoffContent}</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <Row> |
| | | <Col span={6}>举报对象</Col> |
| | | <Col span={6}>{detail.tipoffObject}</Col> |
| | | <Col span={6}>发生地</Col> |
| | | <Col span={6}>{detail.tipoffAddress}</Col> |
| | | </Row> |
| | | <Row> |
| | | <Col span={6}>举报类型</Col> |
| | | <Col span={6}>{businessType(detail.businessType)}</Col> |
| | | </Row> |
| | | <Row> |
| | | <Col span={6}>具体事项</Col> |
| | | <Col span={6}>{detail.tipoffContent}</Col> |
| | | </Row> |
| | | </LineView> |
| | | |
| | | <LineView title="举报人信息" style="14vh" lineHeight="34px"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <td className="table-vaule1">姓名</td> |
| | | <td className="table-vaule2">{detail.createrName}</td> |
| | | <td className="table-vaule3">手机号码</td> |
| | | <td className="table-vaule4">{detail.createrMobile}</td> |
| | | </tr> |
| | | <tr> |
| | | <td className="table-vaule1">联系地址</td> |
| | | <td className="table-vaule2">{detail.createrAddress}</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <Row> |
| | | <Col span={6}>姓名</Col> |
| | | <Col span={6}>{detail.createrName}</Col> |
| | | <Col span={6}>手机号码</Col> |
| | | <Col span={6}>{detail.createrMobile}</Col> |
| | | </Row> |
| | | <Row> |
| | | <Col span={6}>联系地址</Col> |
| | | <Col span={6}>{detail.createrAddress}</Col> |
| | | </Row> |
| | | </LineView> |
| | | |
| | | </div> |
| | |
| | | { |
| | | detail.tipoffResult ? |
| | | <LineView title="回复记录" style="15vh"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <td className="table-vaule1">回复人</td> |
| | | <td className="table-vaule2">{detail.handlerName}</td> |
| | | <td className="table-vaule3">回复时间</td> |
| | | <td className="table-vaule4">{moment(detail.handleTime).format('YYYY/MM/DD HH:mm:ss')}</td> |
| | | </tr> |
| | | <tr> |
| | | <td className="table-vaule1">回复内容</td> |
| | | <td className="table-vaule2">{detail.tipoffResult}</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <Row> |
| | | <Col span={6}>回复人</Col> |
| | | <Col span={6}>{detail.handlerName}</Col> |
| | | <Col span={6}>回复时间</Col> |
| | | <Col span={6}>{moment(detail.handleTime).format('YYYY/MM/DD HH:mm:ss')}</Col> |
| | | </Row> |
| | | <Row> |
| | | <Col span={6}>回复内容</Col> |
| | | <Col span={6}>{detail.tipoffResult}</Col> |
| | | </Row> |
| | | </LineView> |
| | | : null} |
| | | { |
| | | flag == "do" ? |
| | | (detail.status == 1 ? ( |
| | | <LineView title="回复" lineHeight="50px"> |
| | | {/* <Row> |
| | | <Col span={6}>回复内容</Col> |
| | | <Col span={12}> <TextArea |
| | | placeholder="请输入回复内容" |
| | | autosize={{ minRows: 2, maxRows: 6 }} |
| | | onChange={({ target: { value } }) => this.onInputChange({ target: { name: 'result', value } })} |
| | | /></Col> |
| | | </Row> */} |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | |
| | | } |
| | | } |
| | | |
| | | //业务类型,1:未检举报,2:知识产权举报,3: |
| | | function businessType(type) { |
| | | switch (type) { |
| | | case 1: |