diff --git a/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx b/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx index 21aefea..4f77d52 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/auth/containers/login.jsx @@ -18,7 +18,7 @@ const Login = props => { useEffect(() => { if (user && user.authorized) { - dispatch(push('/example/e1')); + dispatch(push('/equipmentWarehouse/nvr')); } }, [user]) 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 89c660f..b0c3414 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 @@ -1,10 +1,111 @@ import React, { useEffect } from "react"; import { connect } from "react-redux"; -import { Card } from "@douyinfe/semi-ui"; +import { Button, Form, Input, Row, Table } from "@douyinfe/semi-ui"; import "../style.less"; const NvrHeader = (props) => { const { dispatch, actions, user, loading } = props; + + const screen = { + width: 193, + marginRight: 20, + marginBottom: 16, + color: "rgba(0, 0, 0, 0.65)", + }; + const columns = [ + { + title: "序号", + align: "center", + render: (text, record, index) => { + return index + 1; + }, + }, + { + title: "设备名称", + // dataIndex: "name",/// + align: "center", + width: 200, + render: (text, record, index) => { + return ( +