From 899cae1e37617bd499535f6bd6142e61f07cb2c8 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 3 Nov 2021 12:58:14 +0800 Subject: [PATCH] feat: There is no way the,Laws --- .../foreignRegulationsDatabase/index.vue | 70 +++++++++---------- 1 file changed, 33 insertions(+), 37 deletions(-) diff --git a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue index 25e3b968a..d53518a6f 100644 --- a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue +++ b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue @@ -240,7 +240,7 @@ - - + + @@ -695,9 +695,10 @@ - - + + + + + + - - - - - - { // this.$message({ @@ -3499,17 +3506,8 @@ // this.$refs['configEnterPriseForm'].resetFields() // this.selectConfiguraStand() // }) - this.sarConfigStandSearch.standCode = '' - this.sarConfigStandSearch.standName = '' - this.sarConfigStandSearch.standSort = '' - this.sarConfigStandSearch.standGenera = '' - this.sarConfigStandSearch.standSubclass = '' - this.sarConfigStandSearch.classifyCode = '' - this.sarConfigStandSearch.synopsis = '' - this.sarConfigStandSearch.quoteStand = '' - this.sarConfigStandSearch.replaceStandNum = '' - this.sarConfigStandSearch.responsibleUnit = '' - this.sarConfigStandSearch.orgName = '' + this.sarConfigStandSearch.lawsNumber='' + this.sarConfigStandSearch.numberName='' this.configPage = 1 this.sarConfigStandSearch.page = 1 this.selectConfiguraStand() @@ -3539,7 +3537,7 @@ // 查询处于游离态的标准 selectConfiguraStand () { // this.sarConfigStandSearch.menuId = 'others' - this.$http.get('lawss/sarLawsInfo/Page', this.sarConfigStandSearch, { + this.$http.get('lawss/sarLawsInfo/page', this.sarConfigStandSearch, { _this: this, loading: 'configLoading' }, res => { @@ -3558,10 +3556,8 @@ if (nodeId !== undefined) { this.lawsStandInfoSearch.menuId = nodeId } - if (this.lawsStandInfoSearch.menuId == null || this.lawsStandInfoSearch.menuId === '') { - if (this.countRootId === 1) { - this.lawsStandInfoSearch.menuId = this.parentNode.id - } + if ( (this.lawsStandInfoSearch.menuId == null || this.lawsStandInfoSearch.menuId === '') && this.selectSarMenu.id) { + this.lawsStandInfoSearch.menuId = this.selectSarMenu.id } // this.SarExportSearchEo = item === null || item === undefined || item === '' ? this.lawsStandInfoSearch : item if (!item) {