|
|
@ -5,7 +5,12 @@ |
|
|
|
<div class="Broadcast"> |
|
|
|
<ElTabs v-model="activeName" @tab-click="handleClickTabs" class="tabs"> |
|
|
|
<ElTabPane label="基本信息" name="first"> |
|
|
|
<Descriptions :list="list" :data="data" style="gap: 18px" /> |
|
|
|
<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> |
|
|
|
</ElTabs> |
|
|
@ -26,6 +31,7 @@ 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" |
|
|
|
import { DeviceTypeEnum } from "@screen/utils/enum.js"; |
|
|
|
|
|
|
|
import { getRoadInfoByStakeMark, getOrganizationName, getProduct } from "@screen/pages/Home/components/RoadAndEvents/utils/httpList.js" |
|
|
|
import { dialogDelayVisible } from "./../mixin" |
|
|
@ -54,6 +60,7 @@ export default { |
|
|
|
brand: "XXX厂家", |
|
|
|
deviceState: "0", |
|
|
|
}, |
|
|
|
DeviceTypeEnum, |
|
|
|
list: [ |
|
|
|
{ |
|
|
|
label: '设备名称', |
|
|
|