42 ? 42 : vcmp_videoplay * 0.12 < 30 ? 30 : vcmp_videoplay * 0.12}px`, background: videoStyle == 'true' ? '#467ACD' : '#00000026', maxHeight: 42, minHeight: 30,
+ height: '12%', lineHeight: `${vcmp_videoplay * 0.12 > 42 ? 42 : vcmp_videoplay * 0.12 < 30 ? 30 : vcmp_videoplay * 0.12}px`, background: videoStyle == 'true' ? '#467ACD' : '#000000FF', maxHeight: 42, minHeight: 30,
position: 'absolute', width: '100%', zIndex: 80,
color: '#fff'
}}>
@@ -99,7 +98,7 @@ const VideoHeader = ({ operationState, changeSelectState, setProcessDisX, name,
- {content ? : ""}
+ {content ? : ""}
diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/sideSheet.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/sideSheet.jsx
index c4c6a32..10081f5 100644
--- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/sideSheet.jsx
+++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/sideSheet.jsx
@@ -152,6 +152,7 @@ function SideSheets (props) {
useEffect(() => {
+
const domProject = document.getElementById("project_information");
if (domProject && projectScrollbar) {
projectScrollbar.update();
diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx
index e0dbdda..47b964e 100644
--- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx
+++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx
@@ -223,9 +223,10 @@ const CameraHeader = (props) => {
type: row.type,
serialNo: row.serialNo,
yingshiToken: row.secretYingshi?.token,
- playUrlSd: `ezopen://open.ys7.com/${row.serialNo}/${row.channelNo || '1'}.live`,
- playUrlHd:`ezopen://open.ys7.com/${row.serialNo}/${row.channelNo || '1'}.hd.live`,
- replayUrl:`ezopen://open.ys7.com/${row.serialNo}/${row.channelNo || '1'}.hd.local.rec`,
+ channelNo: row.channelNo || 1,
+ // playUrlSd: `ezopen://open.ys7.com/${row.serialNo}/${row.channelNo || 1}.live`,
+ // playUrlHd: `ezopen://open.ys7.com/${row.serialNo}/${row.channelNo || 1}.hd.live`,
+ // replayUrl: `ezopen://open.ys7.com/${row.serialNo}/${row.channelNo || 1}.hd.local.rec`,
content: data,
})
} else {
diff --git a/code/VideoAccess-VCMP/web/client/src/sections/journaling/components/videoScreen.jsx b/code/VideoAccess-VCMP/web/client/src/sections/journaling/components/videoScreen.jsx
new file mode 100644
index 0000000..40ed2ab
--- /dev/null
+++ b/code/VideoAccess-VCMP/web/client/src/sections/journaling/components/videoScreen.jsx
@@ -0,0 +1,91 @@
+import React, { useEffect } from 'react';
+import { connect } from 'react-redux';
+import { TreeSelect, Tree } from '@douyinfe/semi-ui';
+
+
+const VideoScreen = (props) => {
+
+ const treeData = [{
+ label: '全部',
+ value: '全部',
+ key: '0',
+ children: [{
+ label: '公司',
+ value: '公司',
+ key: '0-1',
+ children: [
+ {
+ label: '大门',
+ value: '大门',
+ key: '0-1-1',
+ }, {
+ label: '机房',
+ value: '机房',
+ key: '0-1-2',
+ }, {
+ label: '后门',
+ value: '后门',
+ key: '0-1-3',
+ },
+ ]
+ }, {
+ label: '外部',
+ value: '外部',
+ key: '0-2',
+ children: [
+ {
+ label: '门口',
+ value: '门口',
+ key: '0-2-1',
+ },
+ ]
+ }]
+ }]
+
+
+
+ return (
+ <>
+ {/* 头部标题及搜索 */}
+
智慧小蓝视频融合监管中心
+
+
+
查询:
+ {
+ console.log(e)
+ }}
+ />
+
+
+
+
+
+
+
+
+
+
+ >
+ )
+}
+
+function mapStateToProps (state) {
+ const { auth } = state;
+ return {
+ user: auth.user,
+ };
+}
+
+export default connect(mapStateToProps)(VideoScreen)
diff --git a/code/VideoAccess-VCMP/web/client/src/sections/journaling/containers/journalingCenter.jsx b/code/VideoAccess-VCMP/web/client/src/sections/journaling/containers/journalingCenter.jsx
index f0a4de2..031d612 100644
--- a/code/VideoAccess-VCMP/web/client/src/sections/journaling/containers/journalingCenter.jsx
+++ b/code/VideoAccess-VCMP/web/client/src/sections/journaling/containers/journalingCenter.jsx
@@ -1,20 +1,27 @@
import React, { useEffect } from 'react';
import { connect } from 'react-redux';
import { Coming } from '$components'
+import VideoScreen from '../components/videoScreen'
+
+
import '../style.less'
const JournalingCenter = (props) => {
- return (
-
- )
+ return (
+ //
+ <>
+
+ >
+
+ )
}
function mapStateToProps (state) {
- const { auth } = state;
- return {
- user: auth.user,
- };
+ const { auth } = state;
+ return {
+ user: auth.user,
+ };
}
export default connect(mapStateToProps)(JournalingCenter);
diff --git a/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx b/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx
index 3ccc443..2d87595 100644
--- a/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx
+++ b/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx
@@ -11,7 +11,7 @@ const VideoPlayCross = (props) => {
const viideoData = useRef(videoParams)
useEffect(() => {
- console.log(props);
+ // console.log(props);
if (props.location.search) {
decodeURIComponent(props.location.search)
const params = qs.parse(props.location.search.slice(1))
diff --git a/code/VideoAccess-VCMP/web/package.json b/code/VideoAccess-VCMP/web/package.json
index 3b213ad..4a567e9 100644
--- a/code/VideoAccess-VCMP/web/package.json
+++ b/code/VideoAccess-VCMP/web/package.json
@@ -7,7 +7,7 @@
"test": "mocha",
"start-vite": "cross-env NODE_ENV=developmentVite npm run start-params",
"start": "cross-env NODE_ENV=development npm run start-params",
- "start-params": "node server -p 5000 -u http://10.8.30.34:4000 --apiVcmpUrl http://localhost:4000 --apiAuthUrl http://10.8.30.34:4200 --apiAnxinyunUrl http://10.8.30.34:4100 --iotAuthWeb http://localhost:5200 --iotVideoServer http://221.230.55.27:8081",
+ "start-params": "node server -p 5000 -u http://localhost:4000 --apiVcmpUrl http://localhost:4000 --apiAuthUrl http://localhost:4200 --apiAnxinyunUrl http://localhost:4100 --iotAuthWeb http://localhost:5200 --iotVideoServer http://221.230.55.27:8081",
"deploy": "export NODE_ENV=production&& npm run build && node server",
"build-dev": "cross-env NODE_ENV=development&&webpack --config webpack.config.js",
"build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js"