| | |
| | | <template> |
| | | <basic-container> |
| | | <div class="chart"> |
| | | <DeviceChart1 /> |
| | | <DeviceChart2 /> |
| | | <DeviceChart3 /> |
| | | </div> |
| | | <el-form ref="queryParamsRef" :model="searchParams" class="ztzf-page-history-search"> |
| | | <el-form-item label="名称" prop="deviceName"> |
| | | <el-input |
| | |
| | | import { blobDownload, dateRangeFormat, getDictLabel, formatDateToSlash } from '@ztzf/utils' |
| | | import DeviceTrackDiaLog from '@/views/basicManage/deviceStock/DeviceTrackDiaLog.vue' |
| | | import DeviceScrapDiaLog from '@/views/basicManage/deviceStock/DeviceScrapDiaLog.vue' |
| | | import DeviceChart1 from '@/views/basicManage/deviceStock/DeviceChart1.vue' |
| | | import DeviceChart2 from '@/views/basicManage/deviceStock/DeviceChart2.vue' |
| | | import DeviceChart3 from '@/views/basicManage/deviceStock/DeviceChart3.vue' |
| | | |
| | | const initSearchParams = () => ({ |
| | | deviceName: '', // 设备名称 |
| | |
| | | getDeptTreeFun() |
| | | }) |
| | | </script> |
| | | <style scoped lang="scss"></style> |
| | | <style scoped lang="scss"> |
| | | .chart { |
| | | width: 100%; |
| | | height: 234px; |
| | | display: flex; |
| | | :deep() { |
| | | * { |
| | | box-sizing: border-box; |
| | | } |
| | | .deviceChart { |
| | | |
| | | height: 100%; |
| | | background: rgba(26, 26, 42, 0.3); |
| | | border-radius: 10px 10px 10px 10px; |
| | | position: relative; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 10px; |
| | | |
| | | .titleBg { |
| | | font-weight: 400; |
| | | font-size: 18px; |
| | | color: #ffffff; |
| | | font-family: PangMen, serif; |
| | | padding-left: 22px; |
| | | } |
| | | .chartBox { |
| | | width: 100%; |
| | | height: 0; |
| | | flex-grow: 1; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |