diff --git a/src/pages/regulatoryRepository/standardForComments/index.vue b/src/pages/regulatoryRepository/standardForComments/index.vue index 9dec62b78..a13958301 100644 --- a/src/pages/regulatoryRepository/standardForComments/index.vue +++ b/src/pages/regulatoryRepository/standardForComments/index.vue @@ -61,7 +61,7 @@ label="类别" align="center"> @@ -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) diff --git a/src/router/index.js b/src/router/index.js index 87204de87..0c919fc82 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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: '' } }, {