From 83a154103ca10bf6e170341e28df8a1d81d71688 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 3 Nov 2021 15:46:22 +0800 Subject: [PATCH 1/2] feat: There is no way the,Laws --- .../InputForStandardsForLaws.vue | 390 ++++++++++++++++++ .../foreignRegulationsDatabase/index.vue | 10 +- 2 files changed, 395 insertions(+), 5 deletions(-) create mode 100644 src/components/CustomFormComponents/InputForStandardsForLaws.vue diff --git a/src/components/CustomFormComponents/InputForStandardsForLaws.vue b/src/components/CustomFormComponents/InputForStandardsForLaws.vue new file mode 100644 index 000000000..312eb75b1 --- /dev/null +++ b/src/components/CustomFormComponents/InputForStandardsForLaws.vue @@ -0,0 +1,390 @@ + + + + + + 手动查找 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.lawsNumber }} + + + + + + + + + {{ $moment(scope.row.issueTime).format('YYYY-MM-DD') }} + + + + + {{$t('m.dataAcquisition')}} + + + + + + + + + + + + + diff --git a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue index 93d33881c..044cb6584 100644 --- a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue +++ b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue @@ -538,7 +538,7 @@ > - + - + @@ -1277,7 +1277,7 @@ import CustomSelect from '@/components/CustomFormComponents/Select' import CustomDatePick from '@/components/CustomFormComponents/DatePicker' import CustomFile from '@/components/CustomFormComponents/File' - import CustomInputForStandards from '@/components/CustomFormComponents/InputForStandardsForEnterprise' + import CustomInputForStandards from '@/components/CustomFormComponents/InputForStandardsForLaws' import customSelectArray from '@/components/CustomFormComponents/SelectArray' import CustomOrg from '@/components/CustomFormComponents/OrgTree' import CustomSVPPS from '@/components/CustomFormComponents/SVPPS' @@ -3751,7 +3751,7 @@ disabled: false }, { - label: '发布日期', + label: '发文日期', value: 'issue_time', type: 'DATE_PIC_OPTS', disabled: false From d172c99d4983fec69f60b27e696831abd7d05ff8 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 3 Nov 2021 17:36:33 +0800 Subject: [PATCH 2/2] feat: There is no way the,tree --- .../domesticStandardsAndRegulations/index.vue | 4 ---- .../components/EnterpriseStandardDatabase.vue | 4 ---- .../foreignStandardsAndRegulations/index.vue | 6 +----- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 461fd431f..efdb5d22c 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -3077,11 +3077,7 @@ export default { userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { - for (let i in res.data) { - let arr = res.data[i].children - arr.push(arr.shift()) this.treeList = res.data - } } }) }, diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 7f861eec9..e88d0a094 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -2057,11 +2057,7 @@ export default { userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { - for (let i in res.data) { - let arr = res.data[i].children - arr.push(arr.shift()) this.treeList = res.data - } } }) }, diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index c4793f3c6..bc9cfcedd 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2866,11 +2866,7 @@ export default { userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { - for (let i in res.data) { - let arr = res.data[i].children - arr.push(arr.shift()) - this.treeList = res.data - } + this.treeList = res.data } }) },