From 4ede260f0ecb7f9d7e7707c74e44038ae1d3219b Mon Sep 17 00:00:00 2001
From: sunFlower <787203167@qq.com>
Date: Thu, 29 Sep 2022 14:19:50 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E6=9C=9F=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=E7=82=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/standardDecompositionSheet.vue | 26 +++++++++++--------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/standardDecompositionSheet.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/standardDecompositionSheet.vue
index b96b40da0..7390426d6 100644
--- a/jero-web/src/views/businessSupport/technologyAssessment/components/standardDecompositionSheet.vue
+++ b/jero-web/src/views/businessSupport/technologyAssessment/components/standardDecompositionSheet.vue
@@ -55,9 +55,9 @@
{{$t('informationCategory')}}
+ :placeholder="$t('PleaseSelect')+$t('informationCategory')"
+ :type="'select'"
+ :triggerChange="false" :dictCode="'information_category'"/>
@@ -136,7 +136,7 @@
confirmLoading: false,
selectedRowKeys: [],
sarFileSplitInfoList: [],
- informationCategoryList:[],
+ informationCategoryList: [],
url: {
list: '/split/sarFileSplitItems/getSplitItemsByPage'
},
@@ -244,14 +244,18 @@
}
},
searchQuery() {
- this.pageNo = 1
- this.replacePage()
+ if (this.queryParam.info_id) {
+ this.pageNo = 1
+ this.replacePage()
+ }
},
searchReset() {
- this.pageNo = 1
this.queryParam = {}
this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : ''
- this.replacePage()
+ if (this.queryParam.info_id) {
+ this.pageNo = 1
+ this.replacePage()
+ }
},
onChange(page, pageSize) {
this.pageNo = page
@@ -270,15 +274,15 @@
let pageNo = JSON.parse(JSON.stringify(this.pageNo))
let pageSize = JSON.parse(JSON.stringify(this.pageSize))
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
- if (queryParam.technology_territory && queryParam.technology_territory.length > 0){
+ if (queryParam.technology_territory && queryParam.technology_territory.length > 0) {
queryParam.technology_territory = queryParam.technology_territory.join(',')
}
let query = {
pageNo: pageNo + '',
pageSize: pageSize + '',
info_id: this.queryParam.info_id,
- technology_territory:queryParam.technology_territory,
- information_category:queryParam.information_category,
+ technology_territory: queryParam.technology_territory,
+ information_category: queryParam.information_category,
menu_id: ''
}
this.loading = true