|
|
@ -10,14 +10,14 @@ import qs from "qs"; |
|
|
|
|
|
|
|
|
|
|
|
const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition, pepProjectId, |
|
|
|
selected, setSelected, setIfBulk, setConfirm, genre, setGenre, query, setQuery, tableData, setTableData, location, user }) => { |
|
|
|
selected, setSelected, setIfBulk, setConfirm, genre, setGenre, query, setQuery, tableData, setTableData, location, user, statusId, setStatusId }) => { |
|
|
|
const { problem } = actions |
|
|
|
|
|
|
|
const [count, setCount] = useState(0) // |
|
|
|
const [checkAll, setCheckAll] = useState(true) //查询 |
|
|
|
const api = useRef(); |
|
|
|
const search = useRef({ |
|
|
|
state: '', keywordTarget: '', keyword: '', kindId: '', groupUnitId: '', |
|
|
|
state: '', keywordTarget: '', keyword: '', kindId: '', groupUnitId: '', statusId: '', |
|
|
|
errType: '', confirmState: '', onlineState: '', sustainTimeStart: '', sustainTimeEnd: '' |
|
|
|
}) |
|
|
|
const kindName = useRef() |
|
|
@ -153,6 +153,11 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
setGenre(res.payload.data.map(v => ({ name: v.kind, value: v.id }))) |
|
|
|
} |
|
|
|
}) |
|
|
|
dispatch(problem.getAlarmVideoExceptionStatusId()).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
setStatusId(res.payload.data.map(v => ({ name: v.describe, value: v.statusId }))) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}, []) |
|
|
|
|
|
|
@ -326,6 +331,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
keywordTarget: v.keywordTarget, |
|
|
|
keyword: v.keyword, |
|
|
|
kindId: v.kindId, |
|
|
|
statusId: v.statusId, |
|
|
|
groupUnitId: v.groupUnitId, |
|
|
|
errType: v.errType, |
|
|
|
confirmState: v.confirmState, |
|
|
@ -349,6 +355,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
keywordTarget: v.keywordTarget, |
|
|
|
keyword: v.keyword, |
|
|
|
kindId: v.kindId, |
|
|
|
statusId: v.statusId, |
|
|
|
groupUnitId: v.groupUnitId, |
|
|
|
errType: v.errType, |
|
|
|
confirmState: v.confirmState, |
|
|
|