修改bug 海外库,高级检索之后,点击下面的页码,会把目前标准库所有的数据展示出来(企业标准库也这样、法规清单里的高级查询也这样)
This commit is contained in:
@@ -1812,6 +1812,8 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
seniorQuery: false, // 是否为高级查询
|
||||
seniorQueryForm: {},
|
||||
// 人员树形和部门树形参数
|
||||
nodeList: [],
|
||||
nodeList2: [],
|
||||
@@ -3146,6 +3148,13 @@ export default {
|
||||
},
|
||||
// 点击搜索按钮
|
||||
searchBtnClick() {
|
||||
if (this.seniorQuery === true) {
|
||||
this.standCommonlySearch.page = 1
|
||||
this.seniorQuery = false
|
||||
}
|
||||
for (let key in this.sarStandardsSearch) {
|
||||
this.sarStandardsSearch[key] = ''
|
||||
}
|
||||
this.getDomesticStandardTable()
|
||||
},
|
||||
// 搜索
|
||||
@@ -3190,6 +3199,8 @@ export default {
|
||||
item.page = 1
|
||||
this.standCommonlySearch.page = 1
|
||||
this.standCommonlySearch.sarStandardsSearch = JSON.stringify(item) || ''
|
||||
this.seniorQuery = true
|
||||
this.seniorQueryForm = item
|
||||
this.getDomesticStandardTable(item)
|
||||
},
|
||||
// 清空搜索框
|
||||
@@ -3883,13 +3894,23 @@ export default {
|
||||
// 分页点击后方法
|
||||
pageChange(page) {
|
||||
this.standCommonlySearch.page = page
|
||||
this.getDomesticStandardTable()
|
||||
if (this.seniorQuery === false) {
|
||||
this.getDomesticStandardTable()
|
||||
} else {
|
||||
this.seniorQueryForm.page = page
|
||||
this.getDomesticStandardTable(this.seniorQueryForm)
|
||||
}
|
||||
},
|
||||
// 分页每页显示数改变后方法
|
||||
pageSizeChange(pageSize) {
|
||||
this.standCommonlySearch.pageSize = pageSize
|
||||
this.standCommonlySearch.page = 1
|
||||
this.getDomesticStandardTable()
|
||||
if (this.seniorQuery === false) {
|
||||
this.getDomesticStandardTable()
|
||||
} else {
|
||||
this.seniorQueryForm.page = page
|
||||
this.getDomesticStandardTable(this.seniorQueryForm)
|
||||
}
|
||||
},
|
||||
/**
|
||||
* // 分页查询标准
|
||||
@@ -4031,9 +4052,9 @@ export default {
|
||||
this.advanceSearchMapping[key] = ''
|
||||
}
|
||||
//情况基本字段
|
||||
for (let key in this.sarStandardsSearch) {
|
||||
this.sarStandardsSearch[key] = ''
|
||||
}
|
||||
// for (let key in this.sarStandardsSearch) {
|
||||
// this.sarStandardsSearch[key] = ''
|
||||
// }
|
||||
},
|
||||
// 查询处于游离态的标准
|
||||
selectConfiguraStand() {
|
||||
|
||||
Reference in New Issue
Block a user