update:保留侧边栏
This commit is contained in:
@@ -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
@@ -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: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user