Browse Source

keep-alive 修改

V1.0
PLUTO 2 years ago
parent
commit
7b8818ccac
  1. 2
      src/views/dataBoard/satisfactionEval/dissatisfied/index.vue
  2. 2
      src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/index.vue
  3. 2
      src/views/dataBoardMain/main-content.vue

2
src/views/dataBoard/satisfactionEval/dissatisfied/index.vue

@ -91,7 +91,7 @@ import Pagination from "@/views/dataBoard/satisfactionEval/components/Pagination
import DissatisfiedDetail from "./detail.vue";
export default {
name: "dissatisfied",
name: "dissatisfiedPage",
components: { Breadcrumb, DissatisfiedDetail, Pagination },
data() {
return {

2
src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/index.vue

@ -79,7 +79,7 @@ export default {
loading: true,
};
},
mounted() {
activated() {
this.title = this.$route.query.title;
let searchParams = JSON.parse(this.$route.query.searchParams);
console.log(searchParams);

2
src/views/dataBoardMain/main-content.vue

@ -5,7 +5,7 @@
<template v-if="tabIsIframe($router.currentRoute.meta.iframeURL)">
<iframe :src="$router.currentRoute.meta.iframeURL + '?token=' + token + '&customerId=' + customerId" ref="iframe" class="m-iframe" id="iframe" width="100%" height="100%" frameborder="0" scrolling="yes" :style="{ height: $store.state.fixed1920.height - 100 + 'px' }" />
</template>
<keep-alive v-show="!tabIsIframe($router.currentRoute.meta.iframeURL)" :exclude="['homeDetails', 'dissatisfied']">
<keep-alive v-show="!tabIsIframe($router.currentRoute.meta.iframeURL)" :exclude="['homeDetails', 'dissatisfiedPage']">
<router-view ref="reloadPage" @changeCustomerName="changeCustomerName" />
</keep-alive>
</template>

Loading…
Cancel
Save