| | |
| | | <template> |
| | | <div class="inspection-main"> |
| | | <div class="inspection-content" style="height:100%"> |
| | | <p style="font-size: 16px;padding:19.5px 0px">检测项目统计</p> |
| | | <!-- <p style="font-size: 16px;padding:19.5px 0px">检测项目统计</p> --> |
| | | <el-row :gutter="20"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> |
| | | <div class="inspection-card inspection-head"> |
| | | <div class="inspection-head-left"> |
| | | <h4>今日项目接收</h4> |
| | |
| | | <img src="../../../static/img/daliy-0.svg" alt="" srcset=""> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> |
| | | <div class="inspection-card inspection-head"> |
| | | <div class="inspection-head-left"> |
| | | <h4>今日项目完成</h4> |
| | |
| | | <img src="../../../static/img/daliy-1.svg" alt="" srcset=""> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> |
| | | <div class="inspection-card inspection-head"> |
| | | <div class="inspection-head-left"> |
| | | <h4>今日项目剩余</h4> |
| | |
| | | <img src="../../../static/img/daliy-2.svg" alt="" srcset=""> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> |
| | | <div class="inspection-card inspection-head" style="flex-direction: column;padding-bottom: 5px;"> |
| | | <h4 style="margin-bottom: 5px;">今日项目合格率</h4> |
| | | <echart-module :id="'inspection-qualified'" :config="chartConfig2" :datas="chartData2" style="align-self: center;"></echart-module> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> |
| | | <div class="inspection-card inspection-head" style="flex-direction: column;padding-bottom: 5px;"> |
| | | <h4 style="margin-bottom: 5px;">今日项目完成率</h4> |
| | | <echart-module :id="'inspection-complete'" :config="chartConfig3" :datas="chartData3" style="align-self: center;"></echart-module> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> |
| | | <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> |
| | | <div class="inspection-card inspection-head" style="flex-direction: column;padding-bottom: 5px;"> |
| | | <h4 style="margin-bottom: 5px;">今日项目延期率</h4> |
| | | <echart-module :id="'inspection-extension'" :config="chartConfig4" :datas="chartData4" style="align-self: center;"></echart-module> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 30px;"> |
| | | <div class="inspection-card chart-box"> |
| | | <el-row :gutter="20" style="height: calc(100% - 170px);"> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 16px; height: 100%;"> |
| | | <div class="inspection-card chart-box" style="height: 100%;"> |
| | | <h4>近10日项目接收量</h4> |
| | | <echart-module :id="'inspection-left'" :config="chartConfig0" :datas="chartData0"></echart-module> |
| | | <echart-module :id="'inspection-left'" :config="chartConfig0" :datas="chartData0" style="height: calc(100% - 32px);"></echart-module> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 30px;"> |
| | | <div class="inspection-card chart-box"> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 16px;height: 100%;"> |
| | | <div class="inspection-card chart-box" style="height: 100%;"> |
| | | <h4>近10日实际完成项目与接收项目对比</h4> |
| | | <echart-module :id="'inspection-right'" :config="chartConfig1" :datas="chartData1"></echart-module> |
| | | <echart-module :id="'inspection-right'" :config="chartConfig1" :datas="chartData1" style="height: calc(100% - 32px);"></echart-module> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | data(){ |
| | | return{ |
| | | chartConfig0:{ |
| | | height: '435px', |
| | | height: '', |
| | | isLoading:true, |
| | | type:'line' |
| | | }, |
| | |
| | | ] |
| | | }, |
| | | chartConfig1:{ |
| | | height: '435px', |
| | | height: '', |
| | | isLoading:true, |
| | | type:'bar' |
| | | }, |
| | |
| | | ] |
| | | }, |
| | | chartConfig2:{ |
| | | height: '118px', |
| | | height: '103px', |
| | | width:'140px', |
| | | isLoading:true, |
| | | type:'pie' |
| | |
| | | ] |
| | | }, |
| | | chartConfig3:{ |
| | | height: '118px', |
| | | height: '103px', |
| | | width:'140px', |
| | | isLoading:true, |
| | | type:'pie' |
| | |
| | | ] |
| | | }, |
| | | chartConfig4:{ |
| | | height: '118px', |
| | | height: '103px', |
| | | width:'140px', |
| | | isLoading:true, |
| | | type:'pie' |
| | |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | | } |
| | | .inspection-content{ |
| | | padding: 20px 0; |
| | | box-sizing: border-box; |
| | | } |
| | | .inspection-card{ |
| | | width: 100%; |
| | | background: #FFFFFF; |
| | |
| | | font-weight: bold; |
| | | font-size: 28px; |
| | | display: inline-block; |
| | | margin-bottom: 30px; |
| | | margin-bottom: 16px; |
| | | } |
| | | |
| | | .inspection-head-left .inspection-head-left-info{ |
| | |
| | | } |
| | | |
| | | .chart-box{ |
| | | padding: 30px 24px; |
| | | padding: 16px 24px; |
| | | box-sizing: border-box; |
| | | } |
| | | |