xiangpei
2024-08-15 e24b649d64849e87f79303f3f2284291ee3507af
src/views/system/data-manage/data-detail/index.vue
@@ -103,7 +103,7 @@
</template>
<script>
import { listPlatform, getPlatform, delPlatform, addPlatform, updatePlatform } from "@/api/platform/vehicle-data-monitor";
import { dataCenter } from "@/api/platform/data-center";
import { videoData, carData, faceData, equipment } from "./list";
import store from '@/store';
@@ -165,8 +165,6 @@
      let data = videoData.table.filter(item => item.index === this.$route.query.index)[0]
      this.tableHead = data.columns;
      this.cardList = data.card;
      console.log(data, "aaa")
      console.log(this.cardList, "ddd")
    };
    if (this.$route.query.type === '2') {
      let data = carData.table.filter(item => item.index === this.$route.query.index)[0]
@@ -183,14 +181,14 @@
      this.tableHead = data.columns;
      this.cardList = data.card;
    }
    this.getList();
    this.getList(this.$route.query.url);
  },
  methods: {
    /** 查询卡口过车数据一致性列表 */
    getList() {
    getList(url) {
      this.loading = true;
      listPlatform(this.queryParams).then(response => {
        this.platformList = response.rows;
      dataCenter(url, this.queryParams).then(response => {
        this.platformList = response.data;
        this.total = response.total;
        this.loading = false;
      });
@@ -219,7 +217,7 @@
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
      this.getList(this.$route.query.url);
    },
    /** 重置按钮操作 */
    resetQuery() {