南昌市物联网技防平台-前端
Administrator
2021-03-19 6d9d2b76637534e541c1ac3ca3f5a0b780302bc9
健康码跳转
3 files modified
23 ■■■■■ changed files
src/router/views/index.js 16 ●●●● patch | view | raw | blame | history
src/views/healthcode/healthcode.vue 3 ●●●●● patch | view | raw | blame | history
src/views/home/home.vue 4 ●●●● patch | view | raw | blame | history
src/router/views/index.js
@@ -101,8 +101,7 @@
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '@/views/Video/video')
  }
    , {
        }, {
    path: 'history/:historyId',
    name: '设备历史',
    meta: {
@@ -210,6 +209,19 @@
      component: () =>
        import( /* webpackChunkName: "views" */ '@/views/policeTracking/policeTracking')
    }]
    }, {
        path: '/healthcode',
        component: Layout,
        redirect: '/healthcode/healthcodePage',
        children: [{
            path: 'healthcodePage',
            name: '健康码',
            meta: {
                i18n: 'healthcode'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/healthcode/healthcode')
        }]
  }
src/views/healthcode/healthcode.vue
@@ -198,9 +198,6 @@
          this.loading = false;
          this.selectionClear();
        });
      },
      handleHealthcode(row) {
        this.$router.push({ path: `/healthcode/healthcode/${row.deviceNumber}` });
      }
    }
  };
src/views/home/home.vue
@@ -32,9 +32,9 @@
          path: `/real/history/000000000003`
        });
      },
      handleStartHealthcode(){
      handleStartHealthcode(data){
        this.$router.push({
          path: `/healthcode/healthcode/1`
          path: `/healthcode/healthcodePage?status=`+data.status+'&type='+data.type
        });
      }