From 932a286b2a8a85ff6649aa7cd41fc341242c4d29 Mon Sep 17 00:00:00 2001 From: fanlin Date: Mon, 26 Jul 2021 16:56:04 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E5=9B=BD=E5=86=85=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomFormComponents/InputForStandards.vue | 7 +++++-- .../CustomFormComponents/InputForStandardsForForeign.vue | 9 ++++++--- .../foreignStandardsAndRegulations/index.vue | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/CustomFormComponents/InputForStandards.vue b/src/components/CustomFormComponents/InputForStandards.vue index 2ce3f679f..0afef8433 100644 --- a/src/components/CustomFormComponents/InputForStandards.vue +++ b/src/components/CustomFormComponents/InputForStandards.vue @@ -59,7 +59,7 @@ type="primary" class="common-button-primary" round - @click="getReplaceLawsNumRowFirst"> + @click="getReplaceLawsNumRowFirst(true)"> @@ -217,7 +217,10 @@ export default { this.getReplaceLawsNumRow() }, // 代替政策号 请求数据 - getReplaceLawsNumRowFirst () { + getReplaceLawsNumRowFirst (val) { + if (val) { + this.replaceLawsNumForm.page = '1' + } if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') { this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1 } else { diff --git a/src/components/CustomFormComponents/InputForStandardsForForeign.vue b/src/components/CustomFormComponents/InputForStandardsForForeign.vue index 31d90ad21..08d4408ee 100644 --- a/src/components/CustomFormComponents/InputForStandardsForForeign.vue +++ b/src/components/CustomFormComponents/InputForStandardsForForeign.vue @@ -53,7 +53,7 @@ type="primary" class="common-button-primary" round - @click="getReplaceLawsNumRow"> + @click="getReplaceLawsNumRow(true)"> @@ -126,7 +126,7 @@ @pageChange="pageChangeReplace" @pageSizeChange="pageSizeChangeReplace"> @@ -227,7 +227,10 @@ export default { this.getReplaceLawsNumRow() }, // 代替政策号 请求数据 - getReplaceLawsNumRow () { + getReplaceLawsNumRow (val) { + if (val) { + this.replaceLawsNumForm.page = '1' + } if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') { this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1 } else { diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index c41279e7b..e9d5466b6 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2005,7 +2005,7 @@ export default { item.collectBtn = !item.collectBtn item.cancelCollectBtn = !item.cancelCollectBtn item.collectId = res.data.id - this.$message.success(res.message) + // this.$message.success(res.message) } else { this.$message.warning(res.message) }