|
@@ -27,14 +27,14 @@ |
|
@@ -27,14 +27,14 @@ |
27
|
auth: GBT28181_DEVICE_PERMISSION_ENUM.PLAY_SYNC,
|
27
|
auth: GBT28181_DEVICE_PERMISSION_ENUM.PLAY_SYNC,
|
28
|
icon: 'ant-design:play-circle-outlined',
|
28
|
icon: 'ant-design:play-circle-outlined',
|
29
|
onClick: handlePlay.bind(null, record),
|
29
|
onClick: handlePlay.bind(null, record),
|
30
|
- ifShow: record?.status === 'ONLINE', //在线则显示播放按钮
|
30
|
+ ifShow: deviceDetail.isEdge === 0 && record?.status === 'ONLINE', //在线则显示播放按钮,边端同步到云端的视频设备,不能进行点播。
|
31
|
},
|
31
|
},
|
32
|
{
|
32
|
{
|
33
|
label: t('business.stopText'),
|
33
|
label: t('business.stopText'),
|
34
|
auth: GBT28181_DEVICE_PERMISSION_ENUM.STOP,
|
34
|
auth: GBT28181_DEVICE_PERMISSION_ENUM.STOP,
|
35
|
icon: 'ant-design:pause-outlined',
|
35
|
icon: 'ant-design:pause-outlined',
|
36
|
onClick: handleStopPlay.bind(null, record),
|
36
|
onClick: handleStopPlay.bind(null, record),
|
37
|
- ifShow: !!record?.streamId, //通道号存在则显示停止点播按钮
|
37
|
+ ifShow: deviceDetail.isEdge === 0 && !!record?.streamId, //通道号存在则显示停止点播按钮
|
38
|
},
|
38
|
},
|
39
|
]"
|
39
|
]"
|
40
|
/>
|
40
|
/>
|