feat: There is no way the, 56586 高级查询里边的以下查询条件,搜索之后点击清空,不能重置,必须刷新页面

This commit is contained in:
396572590@qq.com
2022-07-19 14:43:06 +08:00
parent 8581ce4106
commit c7921f02df
@@ -3834,6 +3834,7 @@ export default {
this.sarStandardsSearch.standSort = '' this.sarStandardsSearch.standSort = ''
this.sarStandardsSearch.standNumber = '' this.sarStandardsSearch.standNumber = ''
this.sarStandardsSearch.standName = '' this.sarStandardsSearch.standName = ''
this.sarStandardsSearch.standEnName = ''
this.sarStandardsSearch.standState = '' this.sarStandardsSearch.standState = ''
this.sarStandardsSearch.standNature = '' this.sarStandardsSearch.standNature = ''
this.sarStandardsSearch.issueTime = '' this.sarStandardsSearch.issueTime = ''
@@ -3850,11 +3851,18 @@ export default {
// } else if (flag === 'standCommonlySearch') { // } else if (flag === 'standCommonlySearch') {
this.sarStandardsSearch.standName = '' this.sarStandardsSearch.standName = ''
this.sarStandardsSearch.standNumber = '' this.sarStandardsSearch.standNumber = ''
this.pageChange(1) this.advanceSearchMapping = {}
this.getDomesticStandardTable(this.sarStandardsSearch) this.standCommonlySearch = {}
this.sarStandardsSearch = {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
standType: 'INLAND',
validFlag: '0',
}
for (let key in this.advanceSearchMapping) { for (let key in this.advanceSearchMapping) {
this.advanceSearchMapping[key] = '' this.advanceSearchMapping[key] = ''
} }
this.pageChange(1)
} else if (flag === 2) { } else if (flag === 2) {
// //
this.standItemSearch.responsibleUnit = '' this.standItemSearch.responsibleUnit = ''
@@ -4598,6 +4606,7 @@ export default {
}, },
// //
getDomesticStandardTable(item, type) { getDomesticStandardTable(item, type) {
console.log(item)
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
} }