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

Loading…
Cancel
Save