diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 45a56c146..b30887217 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -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