Commit dcd11373676ae3d417ce0f81c3242f959ade4ed5

Authored by xp.Huang
2 parents 26414a91 e365a850

Merge branch 'fix/device-gbt-play' into 'main_dev'

fix: 修复视频通道gbt播放接口错误和视频配置批量新增没有清空值

See merge request yunteng/thingskit-front!1214
@@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
3 v-bind="$attrs" 3 v-bind="$attrs"
4 @register="registerDrawer" 4 @register="registerDrawer"
5 showFooter 5 showFooter
  6 + :destroy-on-close="true"
6 title="新增GBT28181" 7 title="新增GBT28181"
7 width="30%" 8 width="30%"
8 @ok="handleSubmit" 9 @ok="handleSubmit"
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 setModalProps({ loading: true, loadingTip: '视频加载中...' }); 68 setModalProps({ loading: true, loadingTip: '视频加载中...' });
69 // getStreamingPlayUrl 69 // getStreamingPlayUrl
70 let result: any = null; 70 let result: any = null;
71 - if (record.accessMode === AccessMode.GBT28181) { 71 + if (record.accessMode === AccessMode.GBT28181 || ifShowGBT) {
72 result = await getVideoControlStart({ 72 result = await getVideoControlStart({
73 deviceId: params?.deviceId ? params?.deviceId : record?.deviceId, 73 deviceId: params?.deviceId ? params?.deviceId : record?.deviceId,
74 channelId: params?.channelNo ? params?.channelNo : record?.channelId, 74 channelId: params?.channelNo ? params?.channelNo : record?.channelId,