Commit e365a850d3bda3a793b0d96c724368e6d0388bb5

Authored by loveumiko
1 parent 26414a91

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

@@ -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,