fuliqi
2024-07-09 fc757b7e8dd314e0ea58de4b3605eb4bf9d68364
src/views/system/data-manage/data-detail/index.vue
@@ -129,7 +129,7 @@
<script>
import { listPlatform, getPlatform, delPlatform, addPlatform, updatePlatform } from "@/api/platform/vehicle-data-monitor";
import { tableColumn } from "./list";
import { videoData, carData, faceData, equipment } from "./list";
import store from '@/store';
export default {
@@ -185,7 +185,10 @@
    next();
  },
  created() {
    this.tableHead = tableColumn[0].columns;
    if (this.$route.query.type === '1') this.tableHead = videoData[this.$route.query.index].columns;
    if (this.$route.query.type === '2') this.tableHead = carData[this.$route.query.index].columns;
    if (this.$route.query.type === '3') this.tableHead = faceData[this.$route.query.index].columns;
    if (this.$route.query.type === '4') this.tableHead = equipment[this.$route.query.index].columns;
    this.getList();
  },
  methods: {