|
@ -9,6 +9,7 @@ import Setup from "../components/setup"; |
|
|
import SideSheets from "../components/sideSheet"; |
|
|
import SideSheets from "../components/sideSheet"; |
|
|
import { skeletonScreen } from "../components/skeletonScreen"; |
|
|
import { skeletonScreen } from "../components/skeletonScreen"; |
|
|
import { ReminderBox } from "../../../components/index"; |
|
|
import { ReminderBox } from "../../../components/index"; |
|
|
|
|
|
import { SimpleFileDownButton } from "$components"; |
|
|
|
|
|
|
|
|
export const accessType = [ |
|
|
export const accessType = [ |
|
|
{ name: "萤石云", key: "yingshi" }, |
|
|
{ name: "萤石云", key: "yingshi" }, |
|
@ -451,7 +452,7 @@ const NvrHeader = (props) => { |
|
|
}} |
|
|
}} |
|
|
onClick={() => { |
|
|
onClick={() => { |
|
|
api.current.validate().then((v) => { |
|
|
api.current.validate().then((v) => { |
|
|
setearch(v); |
|
|
setearch({ ...v, limit: 10, page: 0 }); |
|
|
}); |
|
|
}); |
|
|
equipmentGetNvr(); |
|
|
equipmentGetNvr(); |
|
|
}} |
|
|
}} |
|
@ -523,19 +524,7 @@ const NvrHeader = (props) => { |
|
|
style={{ width: 18, height: 18 }} |
|
|
style={{ width: 18, height: 18 }} |
|
|
/> |
|
|
/> |
|
|
</Button> |
|
|
</Button> |
|
|
<a href={`/_api/${ApiTable.getExport}`}> |
|
|
<SimpleFileDownButton src="nvr/export" /> |
|
|
<Button |
|
|
|
|
|
style={{ |
|
|
|
|
|
width: 65, |
|
|
|
|
|
height: 32, |
|
|
|
|
|
background: "#FFFFFF", |
|
|
|
|
|
borderRadius: 3, |
|
|
|
|
|
border: "1px solid #1859C1", |
|
|
|
|
|
}} |
|
|
|
|
|
> |
|
|
|
|
|
导出 |
|
|
|
|
|
</Button> |
|
|
|
|
|
</a> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<Skeleton |
|
|
<Skeleton |
|
|