update:保留侧边栏

This commit is contained in:
youyuzihan
2021-06-02 23:42:06 +08:00
parent 00ad1e9b9b
commit 59d9fc8c7d
2 changed files with 19 additions and 8 deletions
@@ -61,7 +61,7 @@
label="类别"
align="center">
<template slot-scope="scope">
<a @click="oldPreview(scope.row)" class="table-jump">{{ scope.row.oldStandNum }}</a>
<a class="table-jump" @click.stop="oldPreview(scope.row)">{{ scope.row.oldStandNum }}</a>
</template>
</el-table-column>
@@ -291,15 +291,25 @@ export default {
window.open(routeUrl.href, '_blank')
},
oldPreview (item) {
let routeUrl = this.$router.resolve({
sessionStorage.setItem('accessRow', JSON.stringify(item))
this.$store.commit('setDetailMap', this.$route.path)
this.$router.push({
name: 'categoryDetails',
params: {
id: item.id,
pageType: 'INLAND_STAND'
id: item.id
}
})
window.open(routeUrl.href, '_blank')
},
// oldPreview (item) {
// let routeUrl = this.$router.resolve({
// name: 'categoryDetails',
// params: {
// id: item.id,
// pageType: 'INLAND_STAND'
// }
// })
// window.open(routeUrl.href, '_self')
// },
// handlePreview (params) {
// if (params.compareType === '条款比对') {
// this.$store.commit('setDetailMap', this.$route.path)
+4 -3
View File
@@ -2410,15 +2410,16 @@ const routes = [
}
},
{
path: '/categoryDetails/:id/:pageType',
path: '/categoryDetails/:id',
name: 'categoryDetails',
component: () =>
import('@/pages/details/categoryDetails/index'),
meta: {
requireAuth: true,
parentPath: '/standardForComments',
title: '管理征求意见',
isBoolean: true,
menuId: ''
// isBoolean: true,
// menuId: ''
}
},
{