From 7ab713ab85eec0b4f6b6332ddc207a698be3db0f Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 17 七月 2024 09:35:08 +0800 Subject: [PATCH] 运维处理富文本 --- 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