From c047fa1a6163ecf6e9d449fdc4842ea306d26bd4 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 02 八月 2024 17:31:20 +0800 Subject: [PATCH] 数据中心详情接口调用 --- src/views/system/data-manage/data-detail/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue index 36b5a3c..a4783ca 100644 --- a/src/views/system/data-manage/data-detail/index.vue +++ b/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'; @@ -183,13 +183,13 @@ 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 => { + dataCenter(url, this.queryParams).then(response => { this.platformList = response.rows; this.total = response.total; this.loading = false; -- Gitblit v1.8.0