Commit 67679db2 authored by huanghaoting's avatar huanghaoting

可视化驾驶舱静态数据展示

parent 80dd6d1a
This diff is collapsed.
......@@ -68,6 +68,7 @@ import $ from 'jquery'
import {JSEncrypt} from 'jsencrypt'
import {WebControl} from '../assets/script/video/web-control.esm.min.js'
import {onActivated, onDeactivated} from 'vue'
import {videoGetVideoTable} from '@/dataJson/videoData/mock.js'
onActivated(() => {
if (route.query.id) {
......@@ -211,12 +212,15 @@ function getStats() {
//从数据库获得监控点信息
function getVideoInfo() {
http.post('/api/video/GetVideoTable').then((result) => {
// http.post('/api/video/GetVideoTable').then((result) => {
//若获得视频列表,则存入
//静态数据
const result = videoGetVideoTable
if (result.data.count > 0) {
VideoInfo.videoList.push.apply(VideoInfo.videoList, result.data.dataTable);
}
})
// })
}
//页面初始化
......
......@@ -67,6 +67,7 @@ import $ from 'jquery'
import { JSEncrypt } from 'jsencrypt'
import { WebControl } from '../assets/script/video/web-control.esm.min.js'
import { onActivated, onDeactivated } from 'vue'
import {videoGetVideoTable} from '@/dataJson/videoData/mock.js'
onActivated(() => {
if (route.query.id) {
......@@ -215,12 +216,14 @@ function getStats() {
//从数据库获得监控点信息
function getVideoInfo() {
http.post('/api/video/GetVideoTable').then((result) => {
// http.post('/api/video/GetVideoTable').then((result) => {
//若获得视频列表,则存入
//静态数据
const result = videoGetVideoTable
if (result.data.count > 0) {
VideoInfo.videoList.push.apply(VideoInfo.videoList, result.data.dataTable);
}
})
// })
}
//页面初始化
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment