|
@@ -1,5 +1,42 @@
|
|
<template>
|
|
<template>
|
|
<div class="view-home">
|
|
<div class="view-home">
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="24" style="margin-bottom: 15px">
|
|
|
|
+ <Card title="飞机状态" class="air">
|
|
|
|
+ <template slot="content">
|
|
|
|
+ <div class="airStatus">
|
|
|
|
+ <div class="firstRow">
|
|
|
|
+ <div v-for="item of 10" :key="item" class="cell">
|
|
|
|
+ <el-image style="width: 80px; height: 80px" :src="imgUrl"></el-image>
|
|
|
|
+ <div class="info">
|
|
|
|
+ <p>轰0101</p>
|
|
|
|
+ <span class="success-state">健康 </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="secondRow">
|
|
|
|
+ <div v-for="item of 10" :key="item" class="cell">
|
|
|
|
+ <el-image style="width: 80px; height: 80px" :src="imgUrl"></el-image>
|
|
|
|
+ <div class="info">
|
|
|
|
+ <p>轰0101</p>
|
|
|
|
+ <span class="warning-state">故障 </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </Card>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="24" style="margin-bottom: 15px">
|
|
|
|
+ <Card title="维修状态">
|
|
|
|
+ <template slot="content">
|
|
|
|
+ <LTable ref="table" :defaultFetch="true" :columns="columns" :dataSource="tableData" :options="options" :fetch="fetchTableData" class="tabl-box" />
|
|
|
|
+ </template>
|
|
|
|
+ </Card>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="12" style="margin-bottom: 15px">
|
|
<el-col :span="12" style="margin-bottom: 15px">
|
|
<Card title="历年任务">
|
|
<Card title="历年任务">
|
|
@@ -74,7 +111,8 @@ export default {
|
|
setTopOptions,
|
|
setTopOptions,
|
|
bottomLeftOptions,
|
|
bottomLeftOptions,
|
|
bottomCenterOptions,
|
|
bottomCenterOptions,
|
|
- bottomRightOptions
|
|
|
|
|
|
+ bottomRightOptions,
|
|
|
|
+ imgUrl: require('@/assets/images/飞机.png')
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|