From bdbe66eac4056c9f963590136118e53477a5e35c Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 8 Jul 2021 13:59:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=95=B0=E6=8D=AE=E5=AD=97=E5=85=B8=20?= =?UTF-8?q?=E6=A0=91=E5=BD=A2=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/standLawsAttrManage/index.vue | 29 +- .../pages/standLawsAttrTreeDetails.vue | 1249 +++++++++++++++++ .../domesticStandardsAndRegulations/index.vue | 12 +- src/router/index.js | 11 + 4 files changed, 1285 insertions(+), 16 deletions(-) create mode 100644 src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue 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',