Browse Source

大屏两个echart

master
x_ying 2 years ago
parent
commit
84ee86a1a3
  1. 6
      src/views/environmentalScreen/index.vue

6
src/views/environmentalScreen/index.vue

@ -187,7 +187,7 @@
<span class="right-top-line" /> <span class="right-top-line" />
<span class="left-bottom-line" /> <span class="left-bottom-line" />
<h3><i class="iconfont icon-zhenglishi" />档案借阅</h3> <h3><i class="iconfont icon-zhenglishi" />档案借阅</h3>
<div class="chart-wrapper">
<div class="chart-wrapper" style="height: calc(100% - 40px);">
<lend-across :lend-data="lendData" /> <lend-across :lend-data="lendData" />
</div> </div>
</div> </div>
@ -195,7 +195,7 @@
<span class="right-top-line" /> <span class="right-top-line" />
<span class="left-bottom-line" /> <span class="left-bottom-line" />
<h3><i class="iconfont icon-zhenglishi" />整理室</h3> <h3><i class="iconfont icon-zhenglishi" />整理室</h3>
<div v-if="typeData.length !== 0" class="chart-wrapper">
<div v-if="typeData.length !== 0" class="chart-wrapper" style="height: calc(100% - 40px);">
<type-pie :type-data="typeData" /> <type-pie :type-data="typeData" />
</div> </div>
<div v-else class="empty-main"> <div v-else class="empty-main">
@ -220,6 +220,7 @@ import Video from '@/views/storeManage/warehouse3D/module/video'
import data1 from './data1.json' import data1 from './data1.json'
import WarehouseWarning from '@/views/components/WarehouseWarning' import WarehouseWarning from '@/views/components/WarehouseWarning'
import SecurityDoor from '@/views/components/SecurityDoor' import SecurityDoor from '@/views/components/SecurityDoor'
import { statisticsCrud } from '@/views/system/archiveStatistics/mixins/statistics'
const lineChartData = { const lineChartData = {
readRoomData: { readRoomData: {
temperatureData: [16, 12, 15, 11, 20, 16, 15, 22], temperatureData: [16, 12, 15, 11, 20, 16, 15, 22],
@ -239,6 +240,7 @@ export default {
lendAcross, lendAcross,
typePie typePie
}, },
mixins: [statisticsCrud],
data() { data() {
return { return {
nowDate: '', nowDate: '',

Loading…
Cancel
Save