diff --git a/src/pages/regulatoryRepository/standardForComments/index.vue b/src/pages/regulatoryRepository/standardForComments/index.vue index 02911a309..ae12aa135 100644 --- a/src/pages/regulatoryRepository/standardForComments/index.vue +++ b/src/pages/regulatoryRepository/standardForComments/index.vue @@ -282,14 +282,14 @@ export default { }, // 点击查看 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', params: { - id: item.id, - pageType: 'INLAND_STAND' + id: item.id } }) - window.open(routeUrl.href, '_blank') }, oldPreview (item) { sessionStorage.setItem('accessRow', JSON.stringify(item)) diff --git a/src/router/index.js b/src/router/index.js index eac358835..c20d91851 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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', name: 'Details', @@ -2397,31 +2422,6 @@ const routes = [ 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', name: 'standInvolveProjectTwo',