| | |
| | | <template> |
| | | <basic-container> |
| | | <div class="chart"> |
| | | <DeviceChart1 /> |
| | | <DeviceChart2 /> |
| | | <DeviceChart3 /> |
| | | <DeviceChart1 :key="updateKey"/> |
| | | <DeviceChart2 :key="updateKey"/> |
| | | <DeviceChart3 :key="updateKey"/> |
| | | </div> |
| | | |
| | | <el-form ref="queryParamsRef" :model="searchParams" class="command-page-history-search"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <FormDiaLog ref="dialogRef" @success="getList" /> |
| | | <DeviceTrackDiaLog ref="outboundDialogRef" @success="getList" /> |
| | | <DeviceScrapDiaLog ref="scrapDialogRef" @success="getList" /> |
| | | <FormDiaLog ref="dialogRef" @success="successFun" /> |
| | | <DeviceTrackDiaLog ref="outboundDialogRef" @success="successFun" /> |
| | | <DeviceScrapDiaLog ref="scrapDialogRef" @success="successFun" /> |
| | | </basic-container> |
| | | </template> |
| | | |
| | |
| | | { dictKey: 1, dictValue: '已出库' } |
| | | ]) |
| | | |
| | | const updateKey = ref(0) |
| | | function successFun() { |
| | | updateKey.value = updateKey.value + 1 |
| | | getList() |
| | | } |
| | | |
| | | // 获取列表 |
| | | async function getList() { |
| | | const range = dateRangeFormat(dateRange.value) |