西海岸:摄像头提示文字预览视频更改为观看视频

This commit is contained in:
guoyue 2022-10-27 15:04:49 +08:00
parent 3e310fb7ea
commit c1da555ceb
1 changed files with 4 additions and 4 deletions

View File

@ -513,7 +513,7 @@
<!-- 离线 --> <!-- 离线 -->
<a v-if="record.status != 1" class="disabled-text">预览</a> <a v-if="record.status != 1" class="disabled-text">预览</a>
<a-tooltip v-else placement="top"> <a-tooltip v-else placement="top">
<template #title>请申请后在我的申请中预览视频!</template> <template #title>请申请后在我的申请中观看视频!</template>
<a <a
@click=" @click="
openVideo( openVideo(
@ -591,7 +591,7 @@
<template #title> <template #title>
<span>视频预览</span> <span>视频预览</span>
<span style="color: #ff4d4f; margin-left: 10px"> <span style="color: #ff4d4f; margin-left: 10px">
{{ `(请申请后在我的申请中预览视频)` }} {{ `(请申请后在我的申请中观看视频)` }}
</span> </span>
</template> </template>
<template #footer></template> <template #footer></template>
@ -2262,14 +2262,14 @@
if (index) { if (index) {
itemData = selectedList.value[index] itemData = selectedList.value[index]
} }
let msg = '请申请后在我的申请中预览视频!' let msg = '请申请后在我的申请中观看视频!'
if ( if (
(itemData && itemData.status != 1) || (itemData && itemData.status != 1) ||
(rowClickData.value && rowClickData.value.status != 1) (rowClickData.value && rowClickData.value.status != 1)
) { ) {
msg = '当前视频离线不可预览!' msg = '当前视频离线不可预览!'
} else { } else {
msg = '请申请后在我的申请中预览视频!' msg = '请申请后在我的申请中观看视频!'
} }
message.warning(msg) message.warning(msg)
} }