修改bug 52235 海外库,高级检索之后,点击下面的页码,会把目前标准库所有的数据展示出来(企业标准库也这样、法规清单里的高级查询也这样)
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
v-btn-permission="'967c8b1402459951b5f75fcd1c548665'"
|
v-btn-permission="'967c8b1402459951b5f75fcd1c548665'"
|
||||||
@click="searchBtnClick(standCommonlySearch)">
|
@click="searchBtnClick(standCommonlySearch, 1)">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -3723,9 +3723,9 @@ export default {
|
|||||||
this.getDomesticStandardTable(this.standCommonlySearch)
|
this.getDomesticStandardTable(this.standCommonlySearch)
|
||||||
},
|
},
|
||||||
// 点击搜索按钮
|
// 点击搜索按钮
|
||||||
searchBtnClick(standCommonlySearch) {
|
searchBtnClick(standCommonlySearch, type) {
|
||||||
let item = this.standCommonlySearch
|
let item = this.standCommonlySearch
|
||||||
this.getDomesticStandardTable(item)
|
this.getDomesticStandardTable(item, type)
|
||||||
},
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
getDomesticStandardTableBtn(item) {
|
getDomesticStandardTableBtn(item) {
|
||||||
@@ -3823,7 +3823,7 @@ export default {
|
|||||||
// 高级检索
|
// 高级检索
|
||||||
selectMoreBtn() {
|
selectMoreBtn() {
|
||||||
this.isAdvancedSearch = true
|
this.isAdvancedSearch = true
|
||||||
this.sarStandardsSearch = {}
|
// this.sarStandardsSearch = {}
|
||||||
},
|
},
|
||||||
treeCollapse() {
|
treeCollapse() {
|
||||||
this.sideClose = !this.sideClose
|
this.sideClose = !this.sideClose
|
||||||
@@ -4547,7 +4547,7 @@ export default {
|
|||||||
// 此处需要调用接口,修改个人配置
|
// 此处需要调用接口,修改个人配置
|
||||||
},
|
},
|
||||||
// 分页查询国内标准
|
// 分页查询国内标准
|
||||||
getDomesticStandardTable(item) {
|
getDomesticStandardTable(item, type) {
|
||||||
if (item !== '' && item !== null && item !== undefined) {
|
if (item !== '' && item !== null && item !== undefined) {
|
||||||
item.pageSize = this.$store.getters.userInfo.configContent
|
item.pageSize = this.$store.getters.userInfo.configContent
|
||||||
}
|
}
|
||||||
@@ -4670,6 +4670,9 @@ export default {
|
|||||||
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarStandardsSearch.page !== 1) {
|
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarStandardsSearch.page !== 1) {
|
||||||
this.pageChange(1)
|
this.pageChange(1)
|
||||||
}
|
}
|
||||||
|
if (type === 1) {
|
||||||
|
this.sarStandardsSearch = {}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-btn-permission="'366c89d1c54465faca96aaed26a158b1'"
|
v-btn-permission="'366c89d1c54465faca96aaed26a158b1'"
|
||||||
@click="searchBtnClick(standCommonlySearch)">
|
@click="searchBtnClick(standCommonlySearch, 1)">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -3147,8 +3147,8 @@ export default {
|
|||||||
this.getDomesticStandardTable()
|
this.getDomesticStandardTable()
|
||||||
},
|
},
|
||||||
// 点击搜索按钮
|
// 点击搜索按钮
|
||||||
searchBtnClick() {
|
searchBtnClick(type) {
|
||||||
this.getDomesticStandardTable()
|
this.getDomesticStandardTable(undefined ,type)
|
||||||
},
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
getDomesticStandardTableBtn(item) {
|
getDomesticStandardTableBtn(item) {
|
||||||
@@ -4017,6 +4017,9 @@ export default {
|
|||||||
}
|
}
|
||||||
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.standCommonlySearch.page !== 1) {
|
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.standCommonlySearch.page !== 1) {
|
||||||
this.pageChange(1)
|
this.pageChange(1)
|
||||||
|
}
|
||||||
|
if (type === 1) {
|
||||||
|
|
||||||
}
|
}
|
||||||
this.stahndinfoList = res.data.list
|
this.stahndinfoList = res.data.list
|
||||||
this.total = res.data.count
|
this.total = res.data.count
|
||||||
|
|||||||
Reference in New Issue
Block a user