Browse Source

通道号

release_1.1.2
deartibers 3 years ago
parent
commit
18dd2d085e
  1. 11
      code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/fluoriteCamera.jsx
  2. 2
      code/VideoAccess-VCMP/web/client/src/sections/offline/components/pushModal.jsx

11
code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/fluoriteCamera.jsx

@ -82,9 +82,8 @@ function fluoriteCamera ({ cRef, CameraKind, CameraAbility, cameraData, ashTrue,
labelAlign="left" labelAlign="left"
labelWidth="115px" labelWidth="115px"
onValueChange={(values) => { onValueChange={(values) => {
console.log(values);
// let setting = ["abilityId", "cloudControl", "highDefinition", "kindId", "name", "position", "rtmp", "serialNo",] // let setting = ["abilityId", "cloudControl", "highDefinition", "kindId", "name", "position", "rtmp", "serialNo",]
let setting = ["abilityId", "cloudControl", "highDefinition", "kindId", "name", "position", "serialNo",] let setting = ["abilityId", "cloudControl", "highDefinition", "kindId", "name", "position", "serialNo","channelNo"]
let b = {} let b = {}
setting.map((item) => { setting.map((item) => {
if (values.hasOwnProperty(item)) { if (values.hasOwnProperty(item)) {
@ -110,6 +109,7 @@ function fluoriteCamera ({ cRef, CameraKind, CameraAbility, cameraData, ashTrue,
cloudControl: cameraData.cloudControl || "", cloudControl: cameraData.cloudControl || "",
voice: cameraData.voice || "", voice: cameraData.voice || "",
serialNo: cameraData.serialNo || "", serialNo: cameraData.serialNo || "",
channelNo: cameraData.channelNo || "",
// rtmp: cameraData.rtmp || "", // rtmp: cameraData.rtmp || "",
rtmp: '此处无效 自动生成', rtmp: '此处无效 自动生成',
}} }}
@ -459,6 +459,13 @@ function fluoriteCamera ({ cRef, CameraKind, CameraAbility, cameraData, ashTrue,
style={{ width: 307 }} style={{ width: 307 }}
rules={[{ required: true, message: "请输入设备序列号" }]} rules={[{ required: true, message: "请输入设备序列号" }]}
/> />
{/* 通道号 */}
<Form.Input
field="channelNo"
label="通道号:"
placeholder="请输入通道号"
style={{ width: 307 }}
/>
{/* RTMP地址接入 */} {/* RTMP地址接入 */}
{/* <TextArea {/* <TextArea
style={{ width: 320, height: 90 }} style={{ width: 320, height: 90 }}

2
code/VideoAccess-VCMP/web/client/src/sections/offline/components/pushModal.jsx

@ -550,7 +550,7 @@ function pushModal (props) {
renderSelectedItem={renderSelectedItem} renderSelectedItem={renderSelectedItem}
renderSourceItem={renderSourceItem} renderSourceItem={renderSourceItem}
value={chooseCameraList} value={chooseCameraList}
inputProps={{ placeholder: '搜项目或设备名称或设备编号' }} inputProps={{ placeholder: '搜设备名称或设备编号' }}
onChange={(id, items) => CameraChooseList(id, items)} onChange={(id, items) => CameraChooseList(id, items)}
/> />
<div style={{ margin: '20px -56px 0px', borderTop: '1px solid rgba(0,0,0,0.06)' }}></div> <div style={{ margin: '20px -56px 0px', borderTop: '1px solid rgba(0,0,0,0.06)' }}></div>

Loading…
Cancel
Save