| | |
| | | <div class="dashboard-grid"> |
| | | <section class="dashboard-panel chart-panel"> |
| | | <div class="panel-head"> |
| | | <h3>装备故障总体分析</h3> |
| | | <h3>设备故障总体分析</h3> |
| | | <span>上方柱状图 / 下方统计</span> |
| | | </div> |
| | | <div ref="overviewChart" class="chart-box"></div> |
| | |
| | | <div class="panel-head"><h3>常用功能</h3></div> |
| | | <div class="quick-list"> |
| | | <button @click="$router.push('/fault/report')"><i class="el-icon-edit-outline"></i><span>故障上报</span></button> |
| | | <button @click="$router.push('/fault/review')"><i class="el-icon-s-check"></i><span>XCB助理审核</span></button> |
| | | <button @click="$router.push('/fault/review')"><i class="el-icon-s-check"></i><span>rk_XCB助理审核</span></button> |
| | | <button @click="$router.push('/fault/dispatch')"><i class="el-icon-s-promotion"></i><span>一键派单</span></button> |
| | | <button @click="$router.push('/fault/completion')"><i class="el-icon-finished"></i><span>完工处理</span></button> |
| | | <button @click="$router.push('/acceptance/application')"><i class="el-icon-document-checked"></i><span>验收申请</span></button> |
| | |
| | | |
| | | <section class="dashboard-panel"> |
| | | <div class="panel-head"> |
| | | <h3>按X号统计</h3> |
| | | <span>按X号汇总当前任务和完工状态</span> |
| | | <h3>按rk_X号统计</h3> |
| | | <span>按rk_X号汇总当前任务和完工状态</span> |
| | | </div> |
| | | <el-table :data="xStats" border size="small"> |
| | | <el-table-column prop="xNo" label="X号" width="64"></el-table-column> |
| | | <el-table-column prop="xNo" label="rk_X号" width="64"></el-table-column> |
| | | <el-table-column prop="currentStatus" label="当前状态" width="110"> |
| | | <template slot-scope="{ row }"><el-tag size="mini" type="info">{{ row.currentStatus }}</el-tag></template> |
| | | </el-table-column> |
| | | <el-table-column prop="berth" label="停靠泊位" width="120"></el-table-column> |
| | | <el-table-column prop="team" label="TD" min-width="130"></el-table-column> |
| | | <el-table-column prop="team" label="rk_TD" min-width="130"></el-table-column> |
| | | <el-table-column prop="total" label="工程总数" align="center"></el-table-column> |
| | | <el-table-column prop="cancelled" label="销项总数" align="center"></el-table-column> |
| | | <el-table-column prop="major" label="重大故障" align="center"></el-table-column> |
| | |
| | | return [ |
| | | { label: '工程总数', value: this.overview.engineeringTotal || 0, note: '当前故障任务' }, |
| | | { label: '重大故障', value: this.overview.majorFault || 0, note: '需重点关注' }, |
| | | { label: '涉H统计', value: this.overview.hRelated || 0, note: '敏感标识任务' }, |
| | | { label: '涉rk_H统计', value: this.overview.hRelated || 0, note: '敏感标识任务' }, |
| | | { label: '未完工', value: this.overview.unfinished || 0, note: '派工单口径' }, |
| | | { label: '完工待试验', value: this.overview.waitTest || 0, note: '待试验工单' }, |
| | | { label: '已完工', value: this.overview.completed || 0, note: '可进入验收' } |