|
|
@ -49,61 +49,61 @@ function AuditCheck() { |
|
|
|
title: "记录编号", |
|
|
|
dataIndex: "number_code", |
|
|
|
key: "number_code", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "违规人员名称", |
|
|
|
dataIndex: "inspected_person", |
|
|
|
key: "inspected_person", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "违规类型", |
|
|
|
dataIndex: "type_name", |
|
|
|
key: "type_name", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "稽查员", |
|
|
|
dataIndex: "inspect_person", |
|
|
|
key: "inspect_person", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "所属运营商", |
|
|
|
dataIndex: "operator", |
|
|
|
key: "operator", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "所属路段", |
|
|
|
dataIndex: "road_name", |
|
|
|
key: "road_name", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "上报时间", |
|
|
|
dataIndex: "insert_time", |
|
|
|
key: "insert_time", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "处理人", |
|
|
|
dataIndex: "deal_user", |
|
|
|
key: "deal_user", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "处理时间", |
|
|
|
dataIndex: "deal_time", |
|
|
|
key: "deal_time", |
|
|
|
align:"center" |
|
|
|
align: "center" |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "状态", |
|
|
|
dataIndex: "status", |
|
|
|
key: "status", |
|
|
|
align:"center", |
|
|
|
align: "center", |
|
|
|
render: (text) => { |
|
|
|
return <Tag color="green">{text}</Tag>; |
|
|
|
}, |
|
|
@ -112,7 +112,7 @@ function AuditCheck() { |
|
|
|
title: "操作", |
|
|
|
dataIndex: "address", |
|
|
|
key: "address", |
|
|
|
align:"center", |
|
|
|
align: "center", |
|
|
|
render: (_, record) => { |
|
|
|
return type === 1 ? ( |
|
|
|
<Popover |
|
|
@ -124,23 +124,23 @@ function AuditCheck() { |
|
|
|
textAlign: "center", |
|
|
|
}} |
|
|
|
> |
|
|
|
<Link |
|
|
|
to={{ |
|
|
|
pathname: "/inRoad/AuditDetail", |
|
|
|
search: `?auditId=${record.id}&type=${1}`, |
|
|
|
}} |
|
|
|
> |
|
|
|
处理 |
|
|
|
</Link> |
|
|
|
<Link |
|
|
|
to={{ |
|
|
|
pathname: "/inRoad/AuditDetail", |
|
|
|
search: `?auditId=${record.id}&type=${1}`, |
|
|
|
}} |
|
|
|
> |
|
|
|
处理 |
|
|
|
</Link> |
|
|
|
|
|
|
|
<Link |
|
|
|
to={{ |
|
|
|
pathname: "/inRoad/AuditDetail", |
|
|
|
search: `?auditId=${record.id}&type=${2}`, |
|
|
|
}} |
|
|
|
> |
|
|
|
查看 |
|
|
|
</Link> |
|
|
|
<Link |
|
|
|
to={{ |
|
|
|
pathname: "/inRoad/AuditDetail", |
|
|
|
search: `?auditId=${record.id}&type=${2}`, |
|
|
|
}} |
|
|
|
> |
|
|
|
查看 |
|
|
|
</Link> |
|
|
|
</div> |
|
|
|
} |
|
|
|
> |
|
|
@ -148,14 +148,15 @@ function AuditCheck() { |
|
|
|
</Popover> |
|
|
|
) : ( |
|
|
|
<Button |
|
|
|
type="primary" |
|
|
|
onClick={() => { |
|
|
|
navigate("/inRoad/AuditDetail", { |
|
|
|
state: { auditId: record.id, type: 2 }, |
|
|
|
}); |
|
|
|
}} |
|
|
|
> |
|
|
|
查看 |
|
|
|
<Link |
|
|
|
to={{ |
|
|
|
pathname: "/inRoad/AuditDetail", |
|
|
|
search: `?auditId=${record.id}&type=${2}`, |
|
|
|
}} |
|
|
|
> |
|
|
|
查看 |
|
|
|
</Link> |
|
|
|
</Button> |
|
|
|
); |
|
|
|
}, |
|
|
@ -175,8 +176,8 @@ function AuditCheck() { |
|
|
|
}); |
|
|
|
const [handleTime, setHandleTime] = useState({ |
|
|
|
deal_begin_time: moment().subtract(1, 'days').startOf('day').format('YYYY-MM-DD 00:00:00'), |
|
|
|
deal_end_time:moment().format('YYYY-MM-DD 23:59:59'), |
|
|
|
status:-1 |
|
|
|
deal_end_time: moment().format('YYYY-MM-DD 23:59:59'), |
|
|
|
status: -1 |
|
|
|
}); |
|
|
|
const inputParams = { |
|
|
|
maxLength: 50, |
|
|
@ -209,7 +210,7 @@ function AuditCheck() { |
|
|
|
ajax |
|
|
|
.getProgressData(params) |
|
|
|
.then((res) => { |
|
|
|
if (res.status===20000) { |
|
|
|
if (res.status === 20000) { |
|
|
|
setReusltData({ total_records: res.data.total, data: res.data.list }); |
|
|
|
setLoading(false); |
|
|
|
} |
|
|
@ -274,8 +275,7 @@ function AuditCheck() { |
|
|
|
operator_id: "0", |
|
|
|
report_time: "", |
|
|
|
type_id: "", |
|
|
|
road_name: "", |
|
|
|
status:-1 |
|
|
|
road_name: "" |
|
|
|
}; |
|
|
|
//查询部分 |
|
|
|
function renderSearch(params) { |
|
|
|