|
|
@ -6,17 +6,6 @@ |
|
|
|
<ElTabs v-model="activeName" @tab-click="handleClickTabs" class="tabs"> |
|
|
|
<ElTabPane label="基本信息" name="first"> |
|
|
|
<Descriptions :list="list" :data="data" style="gap: 18px"> |
|
|
|
<template #content-deviceState> |
|
|
|
<!-- <img |
|
|
|
:src=" |
|
|
|
require(`./images/${ |
|
|
|
data.deviceState == 1 ? 'online' : 'offline' |
|
|
|
}.jpg`) |
|
|
|
" |
|
|
|
width="18" |
|
|
|
/> --> |
|
|
|
{{ DeviceTypeEnum[data.deviceState] || "-" }} |
|
|
|
</template> |
|
|
|
</Descriptions> |
|
|
|
</ElTabPane> |
|
|
|
<ElTabPane label="设备参数" name="second">设备参数</ElTabPane> |
|
|
@ -44,10 +33,9 @@ import Button from "@screen/components/Buttons/Button.vue"; |
|
|
|
import Descriptions from "@screen/components/Descriptions.vue"; |
|
|
|
import BroadcastReleases from "./components/BroadcastReleases.vue"; |
|
|
|
import Video from "@screen/components/Video"; |
|
|
|
const DeviceTypeEnum = { |
|
|
|
0: "异常", |
|
|
|
1: "正常", |
|
|
|
}; |
|
|
|
|
|
|
|
import { DeviceTypeEnum } from "@screen/utils/enum.js"; |
|
|
|
|
|
|
|
import { |
|
|
|
getRoadInfoByStakeMark, |
|
|
|
getOrganizationName, |
|
|
|