Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
911646dd
Commit
911646dd
authored
Sep 16, 2021
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频管理模块
parent
ad97f550
Pipeline
#34702
passed with stages
in 22 minutes 9 seconds
Changes
9
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
80 additions
and
5 deletions
+80
-5
index.js
src/pages/log/omsLog/index.js
+3
-1
AddModal.jsx
src/pages/platformCenter/bsmanager/workOrder/AddModal.jsx
+0
-1
AddModal.jsx
src/pages/platformCenter/videoManager/AddModal.jsx
+0
-0
CheckModal.jsx
src/pages/platformCenter/videoManager/CheckModal.jsx
+0
-0
VideoModal.jsx
src/pages/platformCenter/videoManager/VideoModal.jsx
+44
-0
index.js
src/pages/platformCenter/videoManager/index.js
+0
-0
index.less
src/pages/platformCenter/videoManager/index.less
+14
-2
videoManger.jsx
src/services/platform/videoManger.jsx
+18
-0
api.js
src/services/standingBook/api.js
+1
-1
No files found.
src/pages/log/omsLog/index.js
View file @
911646dd
...
@@ -43,6 +43,7 @@ const OmsLog = () => {
...
@@ -43,6 +43,7 @@ const OmsLog = () => {
title
:
'接口名称'
,
title
:
'接口名称'
,
dataIndex
:
'Function'
,
dataIndex
:
'Function'
,
key
:
'Function'
,
key
:
'Function'
,
ellipsis
:
'true'
,
width
:
200
,
width
:
200
,
// filters: functionNameFilters,
// filters: functionNameFilters,
// onFilter: (value, record) => record.functionName === value,
// onFilter: (value, record) => record.functionName === value,
...
@@ -51,13 +52,14 @@ const OmsLog = () => {
...
@@ -51,13 +52,14 @@ const OmsLog = () => {
title
:
'标签'
,
title
:
'标签'
,
dataIndex
:
'Label'
,
dataIndex
:
'Label'
,
key
:
'Label'
,
key
:
'Label'
,
ellipsis
:
'true'
,
width
:
300
,
width
:
300
,
},
},
{
{
title
:
'操作信息'
,
title
:
'操作信息'
,
dataIndex
:
'ShortInfo'
,
dataIndex
:
'ShortInfo'
,
key
:
'ShortInfo'
,
key
:
'ShortInfo'
,
width
:
90
0
,
width
:
85
0
,
ellipsis
:
'true'
,
ellipsis
:
'true'
,
render
:
record
=>
(
render
:
record
=>
(
<
Tooltip
placement
=
"left"
title
=
{
decodeURI
(
record
)}
>
<
Tooltip
placement
=
"left"
title
=
{
decodeURI
(
record
)}
>
...
...
src/pages/platformCenter/bsmanager/workOrder/AddModal.jsx
View file @
911646dd
...
@@ -586,7 +586,6 @@ const AddModal = props => {
...
@@ -586,7 +586,6 @@ const AddModal = props => {
destroyOnClose
destroyOnClose
okText=
"确认"
okText=
"确认"
cancelText=
"取消"
cancelText=
"取消"
maskClosable=
{
false
}
{
...
props
}
{
...
props
}
onOk=
{
()
=>
onSubmit
()
}
onOk=
{
()
=>
onSubmit
()
}
// confirmLoading={loading}
// confirmLoading={loading}
...
...
src/pages/platformCenter/videoManager/AddModal.jsx
0 → 100644
View file @
911646dd
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/videoManager/CheckModal.jsx
0 → 100644
View file @
911646dd
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/videoManager/VideoModal.jsx
0 → 100644
View file @
911646dd
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Form
,
Modal
,
Row
,
Col
,
Input
,
Select
,
notification
}
from
'antd'
;
const
VideoModal
=
props
=>
{
const
{
callBackSubmit
=
()
=>
{
},
visible
,
onCancel
,
obj
}
=
props
;
// useEffect(()=>{
// getData()
// },[visible])
// const getData =()=>{
// var url = `http://127.0.0.1:8085/web4/video/indexAll.html?ID=${obj.EquipmentCode}&skipCheck=true&name=${obj.Name}&disk=${obj.RecorderName}&site=null`
// let bodyHtml = `<iframe style= {{ border: 0, width: "100%", height: 630,}} src="${url}"/>`;
// let y=document.getElementsByClassName("pp")
// console.log(y)
// let x=document.getElementsByClassName("pp").innerHTML=bodyHtml
// console.log(x)
// // var url = `http://127.0.0.1:8085/web4/video/indexAll.html?ID=${obj.EquipmentCode}&skipCheck=true&name=${obj.Name}&disk=${obj.RecorderName}&site=null`
// // var x = document.getElementsByClassName("pp")
// // var iframe = document.createElement('iframe');
// // console.log(url)
// // iframe.src=url
// // x.appendChild(iframe);
// }
return
(
<
Modal
visible=
{
visible
}
title=
{
obj
.
Name
}
onCancel=
{
onCancel
}
destroyOnClose
width=
"1000px"
maskClosable=
{
false
}
footer=
{
[]
}
>
<
div
className=
"pp"
>
<
iframe
style=
{
{
border
:
0
,
width
:
"100%"
,
height
:
630
,}
}
src=
{
"http://127.0.0.1:8085"
+
`/web4/video/indexAll.html?ID=${obj.EquipmentCode}&skipCheck=true&name=${obj.Name}&disk=${obj.RecorderName}&site=null`
}
/>
</
div
>
</
Modal
>
)
}
export
default
VideoModal
\ No newline at end of file
src/pages/platformCenter/videoManager/index.js
View file @
911646dd
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/videoManager/index.less
View file @
911646dd
.videoManagerContainer{
.videoManagerContainer{
.ant-table-pagination.ant-pagination {
margin: 2px 0;
}
.head{
.head{
padding: 10px;
padding: 10px;
background: white;
background: white;
...
@@ -15,4 +18,14 @@
...
@@ -15,4 +18,14 @@
margin-top: -5px !important;
margin-top: -5px !important;
vertical-align: text-bottom;
vertical-align: text-bottom;
}
}
}
.redText{
\ No newline at end of file
color: red;
}
}
.ant-input[disabled] {
color: rgba(0, 0, 0, 0.5);
}
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
color: rgba(0, 0, 0, 0.5);
}
src/services/platform/videoManger.jsx
0 → 100644
View file @
911646dd
import
{
get
,
post
,
PUBLISH_SERVICE
,
CITY_SERVICE
}
from
'@/services/index'
;
//获取视频配置列表
export
const
GetVideoConfigList
=
param
=>
get
(
`
${
PUBLISH_SERVICE
}
/VideoManager/GetVideoConfigList`
,
param
);
//添加配置
export
const
addInsertVideoConfig
=
data
=>
post
(
`
${
PUBLISH_SERVICE
}
/VideoManager/InsertVideoConfig?type=add`
,
data
);
//修改配置
export
const
editInsertVideoConfig
=
data
=>
post
(
`
${
PUBLISH_SERVICE
}
/VideoManager/InsertVideoConfig?type=edit`
,
data
);
//删除配置
export
const
deleteInsertVideoConfig
=
data
=>
post
(
`
${
PUBLISH_SERVICE
}
/VideoManager/InsertVideoConfig?type=delete`
,
data
);
\ No newline at end of file
src/services/standingBook/api.js
View file @
911646dd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description:
* @Description:
* @Author: leizhe
* @Author: leizhe
* @Date: 2021-07-23 10:42:58
* @Date: 2021-07-23 10:42:58
* @LastEditTime: 2021-09-
01 10:50:55
* @LastEditTime: 2021-09-
16 16:57:48
* @LastEditors: leizhe
* @LastEditors: leizhe
*/
*/
import
{
CITY_SERVICE
,
get
,
PUBLISH_SERVICE
,
post
,
postForm
}
from
'../index'
;
import
{
CITY_SERVICE
,
get
,
PUBLISH_SERVICE
,
post
,
postForm
}
from
'../index'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment