征求意见详情

This commit is contained in:
宋伟佳
2021-06-03 09:28:12 +08:00
parent 7fe17881fd
commit fbf5ccaaae
2 changed files with 29 additions and 29 deletions
@@ -282,14 +282,14 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview (item) { handlePreview (item) {
let routeUrl = this.$router.resolve({ sessionStorage.setItem('accessRow',JSON.stringify(item))
this.$store.commit('setDetailMap',this.$router.path)
this.$router.push({
name: 'consultationDetails', name: 'consultationDetails',
params: { params: {
id: item.id, id: item.id
pageType: 'INLAND_STAND'
} }
}) })
window.open(routeUrl.href, '_blank')
}, },
oldPreview (item) { oldPreview (item) {
sessionStorage.setItem('accessRow', JSON.stringify(item)) sessionStorage.setItem('accessRow', JSON.stringify(item))
+25 -25
View File
@@ -2375,6 +2375,31 @@ const routes = [
}, },
// 详情页 // 详情页
// ************************** 其他详情页 ******************************* // // ************************** 其他详情页 ******************************* //
{
path: '/categoryDetails/:id',
name: 'categoryDetails',
component: () =>
import('@/pages/regulatoryRepository/standardForComments/pags/categoryDetails'),
meta: {
requireAuth: true,
parentPath: '/standardForComments',
title: '管理征求意见',
// isBoolean: true,
// menuId: ''
}
},
{
path: '/consultationDetails/:id/:pageType',
name: 'consultationDetails',
component: () =>
import('@/pages/regulatoryRepository/standardForComments/pags/consultationDetails'),
meta: {
requireAuth: true,
title: '征求意见详情',
// isBoolean: true,
// menuId: ''
}
},
{ {
path: '/details', path: '/details',
name: 'Details', name: 'Details',
@@ -2397,31 +2422,6 @@ const routes = [
menuId: 'SSA6WR4HV8' menuId: 'SSA6WR4HV8'
} }
}, },
{
path: '/consultationDetails/:id/:pageType',
name: 'consultationDetails',
component: () =>
import('@/pages/regulatoryRepository/standardForComments/pags/consultationDetails'),
meta: {
requireAuth: true,
title: '征求意见详情',
isBoolean: true,
menuId: ''
}
},
{
path: '/categoryDetails/:id',
name: 'categoryDetails',
component: () =>
import('@/pages/regulatoryRepository/standardForComments/pags/categoryDetails'),
meta: {
requireAuth: true,
parentPath: '/standardForComments',
title: '管理征求意见',
// isBoolean: true,
// menuId: ''
}
},
{ {
path: '/standInvolveProjectTwo', path: '/standInvolveProjectTwo',
name: 'standInvolveProjectTwo', name: 'standInvolveProjectTwo',