文案修改
This commit is contained in:
@@ -484,7 +484,7 @@ const recognizeTypeMap: Record<number, string> = {
|
||||
1: "电缆表面破损",
|
||||
2: "桥架断裂",
|
||||
3: "隧道积水",
|
||||
4: "墙体裂缝",
|
||||
4: "墙体渗漏",
|
||||
};
|
||||
const recognizeTypeCodeMap = Object.fromEntries(
|
||||
Object.entries(recognizeTypeMap).map(([value, label]) => [label, Number(value)]),
|
||||
@@ -513,7 +513,7 @@ const inspectionActionLoading = ref(false);
|
||||
const lastDispatchTime = ref("");
|
||||
const alertLoading = ref(false);
|
||||
const alertError = ref("");
|
||||
const alertTabs = ["局部高温", "电缆表面破损", "桥架断裂", "隧道积水", "墙体裂缝"] as const;
|
||||
const alertTabs = ["局部高温", "电缆表面破损", "桥架断裂", "隧道积水", "墙体渗漏"] as const;
|
||||
const activeAlertTab = ref<(typeof alertTabs)[number]>("局部高温");
|
||||
const activeCameraMode = ref<"white" | "infrared">("white");
|
||||
const activeDeviceId = ref("");
|
||||
@@ -1636,18 +1636,19 @@ function getStatusClass(status: DeviceItem["status"]) {
|
||||
</div>
|
||||
<div class="video-panel">
|
||||
<div class="video-screen">
|
||||
<video v-if="currentMonitorVideo" ref="monitorVideoRef" :key="currentMonitorVideo"
|
||||
<img src="/image.png" alt="" class="monitor-video">
|
||||
<!-- <video v-if="currentMonitorVideo" ref="monitorVideoRef" :key="currentMonitorVideo"
|
||||
:class="['monitor-video', { infrared: activeCameraMode === 'infrared' }]" autoplay muted
|
||||
playsinline></video>
|
||||
playsinline></video> -->
|
||||
<div class="scan-line"></div>
|
||||
<!-- <div class="video-overlay top-left">实时视频流</div>
|
||||
<div class="video-overlay top-right">
|
||||
{{ activeCameraMode === "white" ? "白光镜头" : "红外镜头" }}
|
||||
</div> -->
|
||||
<div class="video-overlay bottom-left">{{ currentRobot.id }}</div>
|
||||
<div v-if="streamLoading" class="video-empty">视频流连接中...</div>
|
||||
<!-- <div v-if="streamLoading" class="video-empty">视频流连接中...</div>
|
||||
<div v-else-if="streamError" class="video-empty">{{ streamError }}</div>
|
||||
<div v-else-if="!currentMonitorVideo" class="video-empty">当前机器人暂无视频地址</div>
|
||||
<div v-else-if="!currentMonitorVideo" class="video-empty">当前机器人暂无视频地址</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user