From dcd42a0ca6dc842ebd3fc5c144d0514d9a63f34f Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 18 七月 2024 15:11:14 +0800
Subject: [PATCH] 考核结果二级页面修改规则bug
---
src/views/system/data-manage/data-detail/index.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue
index ec1d7c2..08d602a 100644
--- a/src/views/system/data-manage/data-detail/index.vue
+++ b/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: {
--
Gitblit v1.8.0