Browse Source

统一设备箱、远端机高度

develop
wangsixiang 3 months ago
parent
commit
7b0050b854
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/index.vue
  2. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/index.vue
  3. 11
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/RemoteMachine.vue
  4. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/SmartDevice.vue

6
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/index.vue

@ -4,14 +4,14 @@
<div class="RemoteMachine">
<ElTabs v-model="activeName" class="tabs">
<ElTabPane label="基本信息" name="first">
<ElTabPane label="基本信息" name="first" style="height: 195px">
<!-- {{ dialogData }} -->
<Descriptions :list="list" :data="data" style="gap: 18px" />
</ElTabPane>
<ElTabPane label="设备参数" name="second">
<ElTabPane label="设备参数" name="second" style="height: 150px">
<DeviceParams disabled :dialogData="dialogData" />
</ElTabPane>
<ElTabPane label="在线率统计" name="third">
<ElTabPane label="在线率统计" name="third" style="height: 150px">
<LineChart v-if="activeName === 'third'" :productId="dialogData.id" style="height: 180px" />
</ElTabPane>
</ElTabs>

6
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/index.vue

@ -4,14 +4,14 @@
<div class="SmartDevice">
<ElTabs v-model="activeName" class="tabs">
<ElTabPane label="基本信息" name="first">
<ElTabPane label="基本信息" name="first" style="height: 195px">
<!-- {{ dialogData }} -->
<Descriptions :list="list" :data="data" style="gap: 18px" />
</ElTabPane>
<ElTabPane label="设备参数" name="second">
<ElTabPane label="设备参数" name="second" style="height: 150px">
<DeviceParams disabled :dialogData="dialogData" />
</ElTabPane>
<ElTabPane label="在线率统计" name="third">
<ElTabPane label="在线率统计" name="third" style="height: 150px">
<LineChart
v-if="activeName === 'third'"
:productId="dialogData.id"

11
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/RemoteMachine.vue

@ -1,18 +1,17 @@
<template>
<Dialog v-model="visibleModel" title="远端机" width="470px" >
<Video class="video-stream" :camId="camId" img="远端机" />
<div class="RemoteMachine">
<Video class="video-stream" :camId="camId" img="远端机" />
<ElTabs v-model="activeName" class="tabs">
<ElTabPane label="基本信息" name="first">
<ElTabPane label="基本信息" name="first" style="height: 195px">
<!-- {{ dialogData }} -->
<Descriptions :list="list" :data="data" style="gap: 18px" />
</ElTabPane>
<ElTabPane label="设备参数" name="second">
<ElTabPane label="设备参数" name="second" style="height: 150px">
<DeviceParams disabled :dialogData="dialogData" />
</ElTabPane>
<ElTabPane label="在线率统计" name="third">
<LineChart v-if="activeName === 'third'" :productId="dialogData.id" style="height: 180px" />
<ElTabPane label="在线率统计" name="third" style="height: 150px">
<LineChart v-if="activeName === 'third'" :productId="dialogData.id" />
</ElTabPane>
</ElTabs>
</div>

6
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/SmartDevice.vue

@ -5,14 +5,14 @@
<div class="SmartDevice">
<ElTabs v-model="activeName" class="tabs">
<ElTabPane label="基本信息" name="first">
<ElTabPane label="基本信息" name="first" style="height: 195px">
<!-- {{ dialogData }} -->
<Descriptions :list="list" :data="data" style="gap: 18px" />
</ElTabPane>
<ElTabPane label="设备参数" name="second">
<ElTabPane label="设备参数" name="second" style="height: 150px">
<DeviceParams disabled :dialogData="dialogData" />
</ElTabPane>
<ElTabPane label="在线率统计" name="third">
<ElTabPane label="在线率统计" name="third" style="height: 150px">
<LineChart
v-if="activeName === 'third'"
:productId="dialogData.id"

Loading…
Cancel
Save