Browse Source

导出实操

release_0.0.2
yuan_yi 3 years ago
parent
commit
377503cbcb
  1. 10
      code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx

10
code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx

@ -60,7 +60,7 @@ const CameraHeader = (props) => {
equipmentGetCamera();
}, [query, search]);
function equipmentGetCamera() {
function equipmentGetCamera () {
dispatch(equipmentWarehouse.getCamera({ ...query, ...search }));
}
@ -184,7 +184,7 @@ const CameraHeader = (props) => {
];
//
function attribute(data) {
function attribute (data) {
const arr = localStorage.getItem(CAMERAS)
? JSON.parse(localStorage.getItem(CAMERAS))
: [];
@ -313,7 +313,7 @@ const CameraHeader = (props) => {
}
//station
function station(first, whole, name) {
function station (first, whole, name) {
return (
<Popover
key="updateTime"
@ -598,7 +598,7 @@ const CameraHeader = (props) => {
style={{ width: 18, height: 18 }}
/>
</Button>
<SimpleFileDownButton src="nvr/export"/>
<SimpleFileDownButton src="nvr/export" />
</div>
</div>
<Skeleton
@ -687,7 +687,7 @@ const CameraHeader = (props) => {
);
};
function mapStateToProps(state) {
function mapStateToProps (state) {
const { auth, global, members, equipmentWarehouseCamera } = state;
return {
loading:

Loading…
Cancel
Save