diff --git a/code/VideoAccess-VCMP/web/client/assets/images/background/location.png b/code/VideoAccess-VCMP/web/client/assets/images/background/location.png new file mode 100644 index 0000000..233c472 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/background/location.png differ diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx index e69de29..e4a64fb 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/nvrModal.jsx @@ -0,0 +1,85 @@ +import React, { useState } from 'react' +import { Modal, Button,Form,Row,Col,Divider } from '@douyinfe/semi-ui'; + +function nvrModal(props){ + const [visible, setVisible] = useState(false); + function showDialog() {//打开弹框 + setVisible(true); + } + function handleOk() {//点击弹框确定 + setVisible(false); + } + function handleAfterClose(){//在关闭之后 + console.log('after'); + } + function handleCancel() {//点击弹框取消 + setVisible(false); + } + return ( + <> +
{props.modalName}
+ =1.16.0 + onCancel={handleCancel} + > +
+
console.log(values)}> + + + + + + + + + + + + + Semi + 轻颜相机 + 今日头条 + + + + +
+ +
+ +
+
+
+
+ + ); +} + +export default nvrModal \ No newline at end of file diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx index 46c2683..da7951b 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx @@ -2,49 +2,51 @@ import React, { useEffect } from "react"; import { connect } from "react-redux"; import { Card } from "@douyinfe/semi-ui"; import "../style.less"; +import NvrModal from "../components/nvrModal" const NvrHeader = (props) => { const { dispatch, actions, user, loading } = props; return ( <> - {/*
*/} -