update:保留侧边栏
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
label="类别"
|
label="类别"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<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>
|
</template>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -291,15 +291,25 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
oldPreview (item) {
|
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',
|
name: 'categoryDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id
|
||||||
pageType: 'INLAND_STAND'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
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) {
|
// handlePreview (params) {
|
||||||
// if (params.compareType === '条款比对') {
|
// if (params.compareType === '条款比对') {
|
||||||
// this.$store.commit('setDetailMap', this.$route.path)
|
// this.$store.commit('setDetailMap', this.$route.path)
|
||||||
|
|||||||
+4
-3
@@ -2410,15 +2410,16 @@ const routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/categoryDetails/:id/:pageType',
|
path: '/categoryDetails/:id',
|
||||||
name: 'categoryDetails',
|
name: 'categoryDetails',
|
||||||
component: () =>
|
component: () =>
|
||||||
import('@/pages/details/categoryDetails/index'),
|
import('@/pages/details/categoryDetails/index'),
|
||||||
meta: {
|
meta: {
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
|
parentPath: '/standardForComments',
|
||||||
title: '管理征求意见',
|
title: '管理征求意见',
|
||||||
isBoolean: true,
|
// isBoolean: true,
|
||||||
menuId: ''
|
// menuId: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user