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