Commit 1c436ba4833b07d251d0560fcb809804dbe1146c

Authored by fengwotao
1 parent dcd11373

feat: 针对GBT28181,设备列表详情里新增部分字段显示

... ... @@ -201,6 +201,12 @@ export interface DeviceRecord {
201 201 isPublic?: boolean;
202 202 };
203 203 ifShowClass?: Boolean;
  204 + sip?: {
  205 + cameraCode: string;
  206 + localIp: string;
  207 + manufacturer: string;
  208 + streamMode: string;
  209 + };
204 210 }
205 211
206 212 export interface DeviceModelOfMatterAttrs {
... ...
... ... @@ -84,6 +84,22 @@ export const descSchema = (emit: EmitType): DescItem[] => {
84 84 },
85 85 },
86 86 {
  87 + field: 'deviceInfo.sip.cameraCode',
  88 + label: '设备编号',
  89 + },
  90 + {
  91 + field: 'deviceInfo.sip.localIp',
  92 + label: '地址',
  93 + },
  94 + {
  95 + field: 'deviceInfo.sip.manufacturer',
  96 + label: '厂家',
  97 + },
  98 + {
  99 + field: 'deviceInfo.sip.streamMode',
  100 + label: '流传输模式',
  101 + },
  102 + {
87 103 field: 'description',
88 104 label: '描述',
89 105 // span: 2,
... ...
... ... @@ -13,7 +13,7 @@ enum ChannelStatusEnum {
13 13 export const configColumns: BasicColumn[] = [
14 14 {
15 15 title: '通道编号',
16   - dataIndex: 'cameraCode',
  16 + dataIndex: 'channelId',
17 17 },
18 18 {
19 19 title: '通道名称',
... ...