diff --git a/src/pages/config/pages/standLawsAttrManage/index.vue b/src/pages/config/pages/standLawsAttrManage/index.vue index 70bf0b03e..609f9bc4f 100644 --- a/src/pages/config/pages/standLawsAttrManage/index.vue +++ b/src/pages/config/pages/standLawsAttrManage/index.vue @@ -381,16 +381,25 @@ export default { }, goNuwPage (item) { this.$store.commit('setDetailMap', this.$route.path) - this.$router.push({ - name: 'StandLawsAttrDetails', - params: { - id: item.id, - dictionaryName: item.dictionaryName, - dictionType: item.dictionType, - isRelate: item.isRelate, - relateDicId: item.relateDicId - } - }) + const params = { + id: item.id, + dictionaryName: item.dictionaryName, + dictionType: item.dictionType, + isRelate: item.isRelate, + relateDicId: item.relateDicId + } + if(item.dictionType && item.dictionType === 'TREE'){ + this.$router.push({ + name: 'standLawsAttrTreeDetails', + params: params + }) + }else { + this.$router.push({ + name: 'StandLawsAttrDetails', + params: params + }) + } + }, handleSelectone (data) { this.selectedList = [] diff --git a/src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue b/src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue new file mode 100644 index 000000000..3e4fdc683 --- /dev/null +++ b/src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue @@ -0,0 +1,1249 @@ + + + + + + diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 5dca0201d..5f6b2bc7a 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -76,12 +76,12 @@
- 新增 + + + + + + + import('@/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails'), + meta: { + requireAuth: true, + parentPath: '/standLawsAttrManage', + title: '标准法规属性管理详情页' + } + }, { path: '/attributeCustom', name: 'AttributeCustom',