修改三期优化点
This commit is contained in:
+15
-11
@@ -55,9 +55,9 @@
|
||||
<span>{{$t('informationCategory')}}</span>
|
||||
</div>
|
||||
<j-dict-select-tag class="box-input" v-model="queryParam.information_category"
|
||||
:placeholder="$t('PleaseSelect')+$t('informationCategory')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'information_category'"/>
|
||||
:placeholder="$t('PleaseSelect')+$t('informationCategory')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'information_category'"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<span style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user