|
@ -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: |
|
|