diff --git a/src/assets/images/error-img-new.png b/src/assets/images/error-img-new.png new file mode 100644 index 0000000..b00cb93 Binary files /dev/null and b/src/assets/images/error-img-new.png differ diff --git a/src/components/ParkingRecordModal/RecordReviewModal.jsx b/src/components/ParkingRecordModal/RecordReviewModal.jsx index 4abf20f..f8acb97 100644 --- a/src/components/ParkingRecordModal/RecordReviewModal.jsx +++ b/src/components/ParkingRecordModal/RecordReviewModal.jsx @@ -3,7 +3,7 @@ import { Modal, Table, message, Button, Input, Select, Timeline, DatePicker } fr import { RightOutlined, DownOutlined } from "@ant-design/icons"; import VehicleInformation from "./VehicleInformation"; import ajax from "@/services"; -import moment from "moment"; +import moment from "moment";z import "./index.scss"; const { TextArea } = Input; const RecordReviewModal = (props) => { diff --git a/src/pages/InRoadMgm/BusinessMgm/AbnormalParking/ExceptionParkReport/loadable.jsx b/src/pages/InRoadMgm/BusinessMgm/AbnormalParking/ExceptionParkReport/loadable.jsx index 9877b1f..e53ea14 100644 --- a/src/pages/InRoadMgm/BusinessMgm/AbnormalParking/ExceptionParkReport/loadable.jsx +++ b/src/pages/InRoadMgm/BusinessMgm/AbnormalParking/ExceptionParkReport/loadable.jsx @@ -6,6 +6,7 @@ import { } from '@/config/character.config.js' import "./index.scss"; import { SearchOutlined } from '@ant-design/icons'; +import errorImg from '@/assets/images/error-img-new.png' import ajax from '@/services' import moment from "moment"; import { useSessionStorageState } from "ahooks" @@ -62,6 +63,12 @@ function ExceptionParkReport(props) { } return result; } + const handleImgError = (e) => { + let evn = e || event + let img = evn.srcElement ? evn.srcElement : evn.target + img.src = errorImg + } + //列表 const deployListColumns = [ { @@ -486,7 +493,7 @@ function ExceptionParkReport(props) { getDetailPic.map((item, index) => { return (