Pārlūkot izejas kodu

[FE]:修改目录

xiayu3 4 gadi atpakaļ
vecāks
revīzija
21785e6fe3

+ 0 - 1
security-protection-platform/src/modules/videoSurveillance/index.vue

140
    getVideoSurveillanceData (id) {
140
    getVideoSurveillanceData (id) {
141
      this.paramsObj.page = this.videoCurrent
141
      this.paramsObj.page = this.videoCurrent
142
      sysapi.getVideoSurveillanceData({ params: { monitorSceneId: id } }).then(res => {
142
      sysapi.getVideoSurveillanceData({ params: { monitorSceneId: id } }).then(res => {
143
        console.log(res);
144
        this.videoList = res.data.data
143
        this.videoList = res.data.data
145
      })
144
      })
146
    },
145
    },

+ 2 - 2
security-protection-platform/src/routes.js

33
  {
33
  {
34
    path: '/videoSurveillance',
34
    path: '/videoSurveillance',
35
    component: Layout,
35
    component: Layout,
36
    meta: { icon: 'video' },
36
    meta: { title: '视频监控', icon: 'video' },
37
    children: [
37
    children: [
38
      {
38
      {
39
        name: 'videoSurveillance',
39
        name: 'videoSurveillance',
44
      {
44
      {
45
        path: '/videoSurveillance/distinguishRecord',
45
        path: '/videoSurveillance/distinguishRecord',
46
        component: () => import(/* webpackChunkName: "videoSurveillance" */ './modules/videoSurveillance/distinguishRecord'),
46
        component: () => import(/* webpackChunkName: "videoSurveillance" */ './modules/videoSurveillance/distinguishRecord'),
47
        meta: { title: '视频监控', icon: 'video' },
47
        meta: { title: '识别记录', icon: 'video' },
48
        hidden: true
48
        hidden: true
49
      }
49
      }
50
    ]
50
    ]