| | |
| | | <template> |
| | | <div class="home-container"> |
| | | <el-scrollbar height="100%"> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <div class="grid-content topInfo"> |
| | |
| | | </el-col> |
| | | <el-col :span="12" class="topBtns"> |
| | | <div class="grid-content topInfo"> |
| | | <div style="margin-right: 20px"><el-button type="primary" plain>查询历史</el-button></div> |
| | | <div><el-button type="primary" @click="dialogChartsVisible = true">查看统计图表</el-button></div> |
| | | <div style="margin-right: 20px"><el-button type="primary" plain size="default">查询历史</el-button></div> |
| | | <div><el-button type="primary" @click="dialogChartsVisible = true" size="default">查看统计图表</el-button></div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <el-table-column prop="high" label="高处" /> |
| | | <el-table-column prop="block" label="盲板抽堵" width="180" /> |
| | | <el-table-column prop="tempUse" label="临时用电" width="180" /> |
| | | <el-table-column fixed label="操作"> |
| | | <el-table-column fixed="right" label="操作"> |
| | | <template #default> |
| | | <el-button link type="primary" size="small">操作</el-button> |
| | | </template> |
| | |
| | | </el-row> |
| | | <div ref="myChart" style="width: 100%;height:400px;"></div> |
| | | </el-dialog> |
| | | </el-scrollbar> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | <style scoped lang="scss"> |
| | | $homeNavLengh: 8; |
| | | .home-container { |
| | | height: 100%; |
| | | background: #fff; |
| | | overflow: hidden; |
| | | padding: 20px 40px; |
| | | padding: 40px; |
| | | .el-row{ |
| | | margin-bottom: 20px; |
| | | } |