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