|
@@ -56,11 +56,17 @@
|
|
<el-table-column label="Carline" prop="Carline" :filters="filters"></el-table-column>
|
|
<el-table-column label="Carline" prop="Carline" :filters="filters"></el-table-column>
|
|
<el-table-column label="Market" prop="Market" :filters="filters"></el-table-column>
|
|
<el-table-column label="Market" prop="Market" :filters="filters"></el-table-column>
|
|
<el-table-column label="SW" prop="MU_SW"></el-table-column>
|
|
<el-table-column label="SW" prop="MU_SW"></el-table-column>
|
|
- <el-table-column label="Status" prop="status" :filters="filters"></el-table-column>
|
|
|
|
|
|
+ <el-table-column label="Status" :filters="filters">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div v-if="scope.row.status == 'ready'" style="background: #95d475;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
|
+ <div v-if="scope.row.status == 'running'" style="background: #eebe77;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
|
+ <div v-if="scope.row.status == 'error'" style="background: #f89898;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="Action">
|
|
<el-table-column label="Action">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button type="primary" circle></el-button>
|
|
|
|
- <el-button type="success" circle></el-button>
|
|
|
|
|
|
+ <span class="bench-action-1"></span>
|
|
|
|
+ <span class="bench-action-2"></span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -203,4 +209,30 @@ th .cell {
|
|
height: 68px !important;
|
|
height: 68px !important;
|
|
border-bottom: 1px solid #fff;
|
|
border-bottom: 1px solid #fff;
|
|
}
|
|
}
|
|
|
|
+.bench-status {
|
|
|
|
+ width: 74px;
|
|
|
|
+ height: 32px;
|
|
|
|
+ border-radius: 60px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ line-height: 32px;
|
|
|
|
+}
|
|
|
|
+.bench-action-1 {
|
|
|
|
+ background-image: url('../../../../images/screen.png');
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ background-position: center;
|
|
|
|
+ width: 32px;
|
|
|
|
+ height: 32px;
|
|
|
|
+ display: inline-block;
|
|
|
|
+}
|
|
|
|
+.bench-action-2 {
|
|
|
|
+ background-image: url('../../../../images/more.png');
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ background-position: center;
|
|
|
|
+ width: 32px;
|
|
|
|
+ height: 32px;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ margin-left: 15px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|