|
@@ -199,9 +199,7 @@
|
|
@click="handleQuery"
|
|
@click="handleQuery"
|
|
>搜索</el-button
|
|
>搜索</el-button
|
|
> -->
|
|
> -->
|
|
- <el-button size="btr" @click="resetQuery"
|
|
|
|
- >重置</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button size="btr" @click="resetQuery">重置</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -298,6 +296,7 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ parseTime(scope.row.date1, "{y}-{m}-{d}") }}</span>
|
|
<span>{{ parseTime(scope.row.date1, "{y}-{m}-{d}") }}</span>
|
|
</template>
|
|
</template>
|
|
|
|
+ <!-- :formatter="vehiclePresence" -->
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- 车辆在位情况1:在位,2:值班,3:出车,4待修 -->
|
|
<!-- 车辆在位情况1:在位,2:值班,3:出车,4待修 -->
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -305,8 +304,14 @@
|
|
align="center"
|
|
align="center"
|
|
prop="status"
|
|
prop="status"
|
|
width="100"
|
|
width="100"
|
|
- :formatter="vehiclePresence"
|
|
|
|
- />
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span v-if="scope.row.status == 1" style="color: #13ce66">在位</span>
|
|
|
|
+ <span v-if="scope.row.status == 2" style="colo: #00eaff">值班</span>
|
|
|
|
+ <span v-if="scope.row.status == 3" style="color: #ff4949">出车</span>
|
|
|
|
+ <span v-if="scope.row.status == 4" style="color: #ffba00">待修</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="所在位置" align="center" prop="position" />
|
|
<el-table-column label="所在位置" align="center" prop="position" />
|
|
<el-table-column
|
|
<el-table-column
|
|
label="是否上牌"
|
|
label="是否上牌"
|
|
@@ -973,6 +978,6 @@ export default {
|
|
color: #bdbdbd4f !important;
|
|
color: #bdbdbd4f !important;
|
|
}
|
|
}
|
|
::v-deep .el-input__inner {
|
|
::v-deep .el-input__inner {
|
|
- border: 1px solid white !important;
|
|
|
|
|
|
+ border: 1px solid white !important;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|