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