|
|
@ -3,11 +3,6 @@ import { connect } from "react-redux"; |
|
|
|
import { Button, Form, Modal, Skeleton, Pagination, Table, Tooltip, Toast } from "@douyinfe/semi-ui"; |
|
|
|
import { SkeletonScreen, } from "$components"; |
|
|
|
import moment from "moment"; |
|
|
|
import { validate } from "schema-utils"; |
|
|
|
import { emit } from "superagent"; |
|
|
|
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, statusId, setStatusId }) => { |
|
|
@ -45,6 +40,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
type: v.type ? typeData[v.type] : "", |
|
|
|
confirm: v.confirm, |
|
|
|
confirmAuto: v.confirmAuto, |
|
|
|
projectLocal: v.Project, |
|
|
|
})) |
|
|
|
setCount(tableDatas?.length || 0); |
|
|
|
setTableData(tableDatas) |
|
|
@ -76,6 +72,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
confirm: v.confirmContent, |
|
|
|
camerOnline: v.camerOnline, |
|
|
|
autoRestore: v.autoRestore, |
|
|
|
projectLocal: v.Project, |
|
|
|
})) |
|
|
|
setCount(tableDatas?.length || 0); |
|
|
|
setTableData(tableDatas) |
|
|
@ -109,6 +106,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
alarmType: v.alarmType, |
|
|
|
confirm: v.confirmedContent, |
|
|
|
station: v.StructureLongitude && v.StructureLatitude ? v.StructureLongitude + '. ' + v.StructureLatitude : "", |
|
|
|
projectLocal: v.Project, |
|
|
|
})) |
|
|
|
setTableData(tableDatas) |
|
|
|
} |
|
|
|