liuyg
2021-05-08 5d2a9ac396db80259275ab71d93d8f678168c78e
隐藏导航 刷新保持
3 files modified
1 files added
77 ■■■■ changed files
src/components/real-popup/kongbai.vue 13 ●●●●● patch | view | raw | blame | history
src/components/real-popup/main.vue 12 ●●●●● patch | view | raw | blame | history
src/page/crumbsL/crumbsL.vue 24 ●●●●● patch | view | raw | blame | history
src/router/views/index.js 28 ●●●● patch | view | raw | blame | history
src/components/real-popup/kongbai.vue
New file
@@ -0,0 +1,13 @@
<template>
  <div>过度</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
src/components/real-popup/main.vue
@@ -562,7 +562,17 @@
          }).then((resdata) => {});
          //   that.onLoad(that.page, that.query);
          if (t == "办结") {
            location.reload();
            // location.reload();
            that.$router.push({
              path: "/real-popup/kongbai",
              query: that.form,
            });
            setTimeout(() => {
              that.$router.push({
              path: "/realTimePolice/real",
            });
            }, 10);
          } else {
            that.$router.push({
              path: "/policeTracking/track",
src/page/crumbsL/crumbsL.vue
@@ -19,14 +19,16 @@
      </div>
    </div>
    <div class="weather">
      <div class="gaizi"></div>
      <iframe
      class="weatherif"
        class="weatherif"
        width="480"
        height="30"
        :src="urlData"
        scrolling="no"
      ></iframe>
    </div>
    <!-- <router-view></router-view> -->
  </div>
</template>
@@ -37,7 +39,7 @@
  //面包屑解决方案,此方法只适用于面包屑与路由显示顺序一致,例如path:01/02/03 面包屑也是01/02/03
  data() {
    return {
      urlData: '',
      urlData: "",
      //手动配置项:breadListIm为路由与面包屑名称对应关系,breadLoadName为面包屑组件路由
      upName: {
        监控台: "welcomeData",
@@ -78,7 +80,7 @@
    };
  },
  created() {
    this.urlData="/weather/index.html"
    this.urlData = "/weather/index.html";
  },
  methods: {
    loadChange(states) {
@@ -86,10 +88,9 @@
      if (this.isrf) {
        //刷新读取localStorage
        this.breadListLast = JSON.parse(localStorage.getItem("crumbsl"));
        this.$store.commit(
          "SET_SHOWDATAL",
          localStorage.getItem("crumbslname")
        );
        var b = localStorage.getItem("crumbslname") == "false" ? false : true;
        console.log(b, typeof b, Boolean(b), 65343);
        this.$store.commit("SET_SHOWDATAL", b);
      } else {
        //关闭重写
        var path = this.$route.path,
@@ -384,9 +385,16 @@
  }
  .weather {
    right: 10px;
    .weatherif{
    .weatherif {
      border: transparent;
    }
  }
}
.gaizi {
  width: 500px;
  height: 30px;
  background: transparent;
  position: absolute;
  right: 0;
}
</style>
src/router/views/index.js
@@ -416,20 +416,20 @@
            import( /* webpackChunkName: "views" */ '@/views/report/announcementReport')
    }]
},
// {
//     path: '/dataL',
//     redirect: '/dataL/homeL',
//     component: Layout,
//     children: [{
//         path: 'homeL',
//         name: '首页',
//         meta: {
//             i18n: 'report'
//         },
//         component: () =>
//             import( /* webpackChunkName: "views" */ '@/views/dataL/homeL')
//     }]
// },
{
    path: '/real-popup',
    redirect: '/real-popup/kongbai',
    component: Layout,
    children: [{
        path: 'kongbai',
        name: '首页',
        meta: {
            i18n: 'report'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/components/real-popup/kongbai')
    }]
},