修改 企业标准 高级检索状态下点击分页条件会丢失参数

This commit is contained in:
baoyu
2024-06-17 10:31:28 +08:00
parent f8e3c46439
commit 2060aeb007
@@ -2117,6 +2117,7 @@ export default {
props: {},
data () {
return {
advancedSearchOrNot: false, // 是否为高级检索
editCheckd:[],
rootNode: '', // 左侧树当前选中的数据的根节点(企业标准,技术体系)
systemCategoryId: [], // 表格选中数据的体系标准Id
@@ -5245,6 +5246,7 @@ export default {
},
// 搜索
getBussionStandTableBtn (item, advancedSearch, type) {
this.advancedSearchOrNot = type === 'sel'
item.page = 1
this.tableFlag = item
// item.advanceSearchVOStr = JSON.stringify(advancedSearch) || ''
@@ -5253,6 +5255,7 @@ export default {
},
// 清空搜索框
clearAllSearch (flag) {
this.advancedSearchOrNot = false
if (flag === 'sarBussionessSearch') {
console.log('1');
// 标准搜索
@@ -5406,7 +5409,7 @@ export default {
formData.nowOrderBy = this.nowOrder ? this.orderBy : ''
formData.nowOrder = this.nowOrder
formData.userId = this.$store.getters.userInfo.userId
if (type === 'sel') {
if (type === 'sel' || this.advancedSearchOrNot) {
const advanceSearchVOList = [];
if (this.formFieldListData !== undefined && this.formFieldListData !== null) {
const formFieldList = this.formFieldListData