总览状态添加日志默认10条

This commit is contained in:
熊丽君
2022-02-18 14:39:57 +08:00
parent a66a0425bd
commit d0bedefdf8
2 changed files with 6 additions and 2 deletions

View File

@ -100,7 +100,7 @@
></el-table-column>
<el-table-column label="车辆状态" align="center">
<template slot-scope="scope">
{{ scope.row.distance > 10 ? "离开" : "进入" }}工房
{{ scope.row.status == 0 ? "离开" : "进入" }}工房
</template>
</el-table-column>
<el-table-column

View File

@ -125,6 +125,7 @@ import vueSeamlessScroll from "vue-seamless-scroll";
import { mapList } from "@/api/vehicleMent/map";
import { bigPicList } from "@/api/vehicleMent/journal";
import { readerCardList } from "@/api/vehicleMent/reader";
import { journalList } from "@/api/vehicleMent/journal";
export default {
name: "tab1",
components: {
@ -244,7 +245,7 @@ export default {
// if (data.isLocationUpdate) {
// this.setDataList(data.isLocationUpdate);
// }
// }, 1000);
// }, 5000);
},
close: function () {
console.log("socket已经关闭");
@ -290,6 +291,9 @@ export default {
});
this.loading = false;
this.getUrl();
journalList({ pageNum: 1, pageSize: 10 }).then((response) => {
this.scrollList1 = response.rows;
});
});
// bigPicList().then((response) => {
// this.vehicleList = response.data;