feige
2023-06-06 a85494cc5769c3dab7f210c012fba1c45103e779
修改了不会重复页面的一些bug
11个文件已修改
153 ■■■■ 已修改文件
ruoyi-ui/src/router/index.js 85 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/store/modules/tagsView.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/bignote/familyeventInfo.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/clean/cleanInfo.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/collection/collectionInfo.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/contacts/contactsInfo.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/device/equipmentInfo.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/doctor/doctorInfo.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/economy/economyInfo.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/note/propertyInfo.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/pet/petInfo.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/router/index.js
@@ -124,7 +124,7 @@
        path: 'propertyInfo/:id(\\d+)',
        component: () => import('@/views/note/propertyInfo'),
        name: 'propertyInfo',
        meta: { title: '家庭资产查询详情', activeMenu: '/familymodel/zfProperty' }
        meta: { title: '家庭资产详细信息', activeMenu: '/familymodel/zfProperty' }
      }
    ]
  },
@@ -141,7 +141,7 @@
        path: 'familyeventInfo/:id(\\d+)',
        component: () => import('@/views/bignote/familyeventInfo'),
        name: 'familyeventInfo',
        meta: { title: '家大事记查询详情',activeMenu: '/familymodel/zfEvent'}
        meta: { title: '家大事记详细信息',activeMenu: '/familymodel/zfEvent'}
      }
    ]
  },
@@ -158,7 +158,7 @@
          path: 'contactsInfo/:id(\\d+)',
          component: () => import('@/views/contacts/contactsInfo'),
          name: 'contactsInfo',
          meta: { title: '通讯录查询详情',activeMenu: '/familymodel/zfContact'}
          meta: { title: '通讯录详细信息',activeMenu: '/familymodel/zfContact'}
        }
      ]
    },
@@ -175,24 +175,7 @@
        path: 'equipmentInfo/:id(\\d+)',
        component: () => import('@/views/device/equipmentInfo'),
        name: 'equipmentInfo',
        meta: { title: '家庭设备查询详情',activeMenu: '/familymodel/zfDevice'}
      }
    ]
  },
  //藏心密语
  {
    path: '/self/secret',
    component: Layout,
    // permissions: [],
    hidden: true,
    permissions: ['self:secret:info'],
    children: [
      {
        path: 'secretInfo/:id(\\d+)',
        component: () => import('@/views/secret/secretInfo'),
        name: 'secretInfo',
        meta: { title: '隐私详情',activeMenu: '/self/zsecret'}
        meta: { title: '家庭设备详细信息',activeMenu: '/familymodel/zfDevice'}
      }
    ]
  },
@@ -209,7 +192,7 @@
        path: 'economyInfo/:id(\\d+)',
        component: () => import('@/views/economy/economyInfo'),
        name: 'economyInfo',
        meta: { title: '家庭收支台账查询详情',activeMenu: '/familymodel/zfEconomy'}
        meta: { title: '家庭收支台账详细信息',activeMenu: '/familymodel/zfEconomy'}
      }
    ]
  },
@@ -226,7 +209,7 @@
        path: 'cleanInfo/:id(\\d+)',
        component: () => import('@/views/clean/cleanInfo'),
        name: 'cleanInfo',
        meta: { title: '保洁收纳查询详情',activeMenu: '/familymodel/zfClean'}
        meta: { title: '保洁收纳详细信息',activeMenu: '/familymodel/zfClean'}
      }
    ]
  },
@@ -243,7 +226,7 @@
        path: 'collectionInfo/:id(\\d+)',
        component: () => import('@/views/collection/collectionInfo'),
        name: 'collectionInfo',
        meta: { title: '收藏与荣誉查询详情',activeMenu: '/familymodel/zfCollection'}
        meta: { title: '收藏与荣誉详细信息',activeMenu: '/familymodel/zfCollection'}
      }
    ]
  },
@@ -261,7 +244,7 @@
        path: 'petInfo/:pid(\\d+)',
        component: () => import('@/views/pet/petInfo'),
        name: 'petInfo',
        meta: { title: '备忘录',activeMenu: '/familymodel/zfPetNote'}
        meta: { title: '魅宠详细信息',activeMenu: '/familymodel/zfPetNote'}
      }
    ]
  },
@@ -277,7 +260,7 @@
        path: 'doctorInfo/:id(\\d+)',
        component: () => import('@/views/doctor/doctorInfo'),
        name: 'doctorInfo',
        meta: { title: '就医记录查询详情',activeMenu: '/familymodel/zfDoctor'}
        meta: { title: '就医记录详细信息',activeMenu: '/familymodel/zfDoctor'}
      }
    ]
  },
@@ -293,7 +276,7 @@
        path: 'personInfo/:id(\\d+)',
        component: () => import('@/views/homeRoot/personInfo'),
        name: 'personInfo',
        meta: { title: '个人信息查询详情',activeMenu: '/familymodel/jiagenwang'}
        meta: { title: '个人详细信息',activeMenu: '/familymodel/jiagenwang'}
      }
    ]
  },
@@ -309,7 +292,7 @@
        path: 'getPInfo/:id(\\d+)',
        component: () => import('@/views/genealogy/perInfo'),
        name: 'perInfo',
        meta: { title: '个人信息查询详情',activeMenu: '/familymodel/jiagenwang'}
        meta: { title: '家谱个人详细信息',activeMenu: '/familymodel/jiagenwang'}
      }
    ]
  },
@@ -330,53 +313,7 @@
      }
    ]
  },
//证书、资质
  {
    path: '/self/honor',
    component: Layout,
    hidden: true,
    permissions: ['self:honor:info'],
    children: [
      {
        path: 'honorInfo/:id(\\d+)',
        component: () => import('@/views/honor/honorInfo'),
        name: 'honorInfo',
        meta: { title: '荣誉证书详情',activeMenu: '/self/zHonor'}
      }
    ]
  },
  //修改旅游
  {
    path: '/self/travel',
    component: Layout,
    permissions: ['person:travel:edit'],
    hidden: true,
    children: [
      {
        path: 'edit/:id(\\d+)',
        component: () => import('@/views/travel/edit'),
        name: 'edit',
        meta: { title: '编辑',activeMenu: '/geren/Ztravel'}
      }
    ]
  },
  //查看旅游详情
  {
    path: '/self/travel',
    component: Layout,
    hidden: true,
    permissions: ['person:travel:info'],
    children: [
      {
        path: 'Info/:id',
        component: () => import('@/views/travel/Info'),
        name: 'show',
        meta: { title: '查看详情',activeMenu: '/geren/Ztravel'}
      }
    ]
  },
  {
    path: '/system/role-auth',
    component: Layout,
ruoyi-ui/src/store/modules/tagsView.js
@@ -14,7 +14,7 @@
    )
  },
  ADD_VISITED_VIEW: (state, view) => {
    if (state.visitedViews.some(v => v.path === view.path)) return
    if (state.visitedViews.some(v => v.path === view.path || v.title === view.meta.title)) return
    state.visitedViews.push(
      Object.assign({}, view, {
        title: view.meta.title || 'no-name'
ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -133,7 +133,7 @@
    </el-form>
    <el-dialog  :visible.sync="dialogVisible">
      <img w-full :src="dialogImageUrl" alt="Preview Image" />
      <img w-full :src="dialogImageUrl"    style="width: 700px; height: 700px" alt="Preview Image" />
    </el-dialog>
  </div>
</template>
@@ -221,9 +221,9 @@
      this.$route.meta.title = "修改大事记详细信息";//列表的名称
    }
    else{
      document.title = "查看大事记详细信息";
      this.$route.meta.title = "查看大事记详细信息";//列表的名称
      this.isShow=false
      document.title = "家大事记详细信息";
      this.$route.meta.title = "家大事记详细信息";//列表的名称
      this.isShow=true
    }
    let _this = this
ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -113,7 +113,7 @@
    </el-form>
    <el-dialog  :visible.sync="dialogVisible">
      <img w-full :src="dialogImageUrl" alt="Preview Image" />
      <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" />
    </el-dialog>
  </div>
</template>
@@ -214,8 +214,8 @@
      this.$route.meta.title = "修改保洁收纳详细信息";//列表的名称
    }
    else{
      document.title = "查看保洁收纳详细信息";
      this.$route.meta.title = "查看保洁收纳详细信息";//列表的名称
      document.title = "保洁收纳详细信息";
      this.$route.meta.title = "保洁收纳详细信息";//列表的名称
    }
    let _this = this
ruoyi-ui/src/views/collection/collectionInfo.vue
@@ -195,7 +195,7 @@
    </div>
        <el-dialog  :visible.sync="dialogVisible">
          <img w-full :src="dialogImageUrl" alt="Preview Image" />
          <img w-full :src="dialogImageUrl"    style="width: 700px; height: 700px" alt="Preview Image" />
        </el-dialog>
@@ -328,9 +328,9 @@
      this.$route.meta.title = "修改收藏与荣誉详细信息";//列表的名称
    }
    else{
      document.title = "查看收藏与荣誉详细信息";
      this.$route.meta.title = "查看收藏与荣誉详细信息";//列表的名称
      this.isShow=false
      document.title = "收藏与荣誉详细信息";
      this.$route.meta.title = "收藏与荣誉详细信息";//列表的名称
      this.isShow=true
    }
    let _this = this
ruoyi-ui/src/views/contacts/contactsInfo.vue
@@ -282,8 +282,8 @@
      this.$route.meta.title = "修改通讯录详细信息";//列表的名称
    }
    else{
      document.title = "查看通讯录详细信息";
      this.$route.meta.title = "查看通讯录详细信息";//列表的名称
      document.title = "通讯录详细信息";
      this.$route.meta.title = "通讯录详细信息";//列表的名称
      this.isShow=false
    }
ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -1,7 +1,7 @@
<template>
  <div class="app-container">
    <div class="form-header mt">
      <h4 class="dt h4">家庭设备详情 </h4>
      <h4 class="dt h4">家庭设备详细信息 </h4>
    </div>
    <!-- 名称、时间、购买人、内容、地点、备注 -->
@@ -145,7 +145,7 @@
    </el-form>
    <el-dialog  :visible.sync="dialogVisible">
      <img w-full :src="dialogImageUrl" alt="Preview Image" />
      <img w-full :src="dialogImageUrl"    style="width: 700px; height: 700px" alt="Preview Image" />
    </el-dialog>
  </div>
</template>
@@ -247,9 +247,9 @@
      this.$route.meta.title = "修改家庭设备详细信息";//列表的名称
    }
    else{
      document.title = "查看家庭设备详细信息";
      this.$route.meta.title = "查看家庭设备详细信息";//列表的名称
      this.isShow=false
      document.title = "家庭设备详细信息";
      this.$route.meta.title = "家庭设备详细信息";//列表的名称
      this.isShow=true
    }
    let _this = this
ruoyi-ui/src/views/doctor/doctorInfo.vue
@@ -181,7 +181,7 @@
    </el-form>
    </div>
    <el-dialog  :visible.sync="dialogVisible">
      <img w-full :src="dialogImageUrl" alt="Preview Image" />
      <img w-full :src="dialogImageUrl"    style="width: 700px; height: 700px" alt="Preview Image" />
    </el-dialog>
  </div>
</template>
@@ -299,9 +299,9 @@
      this.$route.meta.title = "修改就医记录详细信息";//列表的名称
    }
    else{
      document.title = "查看就医记录详细信息";
      this.$route.meta.title = "查看就医记录详细信息";//列表的名称
      this.isShow=false
      document.title = "就医记录详细信息";
      this.$route.meta.title = "就医记录详细信息";//列表的名称
      this.isShow=true
    }
    let _this = this
ruoyi-ui/src/views/economy/economyInfo.vue
@@ -1,7 +1,7 @@
<template>
  <div class="app-container">
    <div class="form-header mt">
      <h4 class="dt h4">家庭收支台账信息 </h4>
      <h4 class="dt h4">家庭收支台账详细信息 </h4>
    </div>
@@ -242,12 +242,12 @@
      this.btn= jd
      this.dsb = !jd
      this.isShow=true
      document.title = "修改资产详细信息";
      this.$route.meta.title = "修改资产详细信息";//列表的名称
      document.title = "修改家庭收支台账详细信息";
      this.$route.meta.title = "修改家庭收支台账详细信息";//列表的名称
    }
    else{
      document.title = "查看资产详细信息";
      this.$route.meta.title = "查看资产详细信息";//列表的名称
      document.title = "家庭收支台账详细信息";
      this.$route.meta.title = "家庭收支台账详细信息";//列表的名称
      this.isShow=false
    }
ruoyi-ui/src/views/note/propertyInfo.vue
@@ -134,7 +134,7 @@
    </el-form>
    <el-dialog  :visible.sync="dialogVisible">
      <img w-full :src="dialogImageUrl" alt="Preview Image" />
      <img w-full :src="dialogImageUrl"     style="width: 700px; height: 700px" alt="Preview Image" />
    </el-dialog>
  </div>
</template>
@@ -223,9 +223,9 @@
      this.$route.meta.title = "修改资产详细信息";//列表的名称
    }
    else{
      document.title = "查看资产详细信息";
      this.$route.meta.title = "查看资产详细信息";//列表的名称
      this.isShow=false
      document.title = "家庭资产详细信息";
      this.$route.meta.title = "家庭资产详细信息";//列表的名称
      this.isShow=true
    }
    let _this = this
ruoyi-ui/src/views/pet/petInfo.vue
@@ -387,8 +387,8 @@
      this.$route.meta.title = "修改魅宠详细信息";//列表的名称
    }
    else{
      document.title = "查看魅宠详细信息";
      this.$route.meta.title = "查看魅宠详细信息";//列表的名称
      document.title = "魅宠详细信息";
      this.$route.meta.title = "魅宠详细信息";//列表的名称
    }
    let _this = this