修改 企业标准 高级检索状态下点击分页条件会丢失参数
This commit is contained in:
+4
-1
@@ -2117,6 +2117,7 @@ export default {
|
|||||||
props: {},
|
props: {},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
advancedSearchOrNot: false, // 是否为高级检索
|
||||||
editCheckd:[],
|
editCheckd:[],
|
||||||
rootNode: '', // 左侧树当前选中的数据的根节点(企业标准,技术体系)
|
rootNode: '', // 左侧树当前选中的数据的根节点(企业标准,技术体系)
|
||||||
systemCategoryId: [], // 表格选中数据的体系标准Id
|
systemCategoryId: [], // 表格选中数据的体系标准Id
|
||||||
@@ -5245,6 +5246,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
getBussionStandTableBtn (item, advancedSearch, type) {
|
getBussionStandTableBtn (item, advancedSearch, type) {
|
||||||
|
this.advancedSearchOrNot = type === 'sel'
|
||||||
item.page = 1
|
item.page = 1
|
||||||
this.tableFlag = item
|
this.tableFlag = item
|
||||||
// item.advanceSearchVOStr = JSON.stringify(advancedSearch) || ''
|
// item.advanceSearchVOStr = JSON.stringify(advancedSearch) || ''
|
||||||
@@ -5253,6 +5255,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 清空搜索框
|
// 清空搜索框
|
||||||
clearAllSearch (flag) {
|
clearAllSearch (flag) {
|
||||||
|
this.advancedSearchOrNot = false
|
||||||
if (flag === 'sarBussionessSearch') {
|
if (flag === 'sarBussionessSearch') {
|
||||||
console.log('1');
|
console.log('1');
|
||||||
// 标准搜索
|
// 标准搜索
|
||||||
@@ -5406,7 +5409,7 @@ export default {
|
|||||||
formData.nowOrderBy = this.nowOrder ? this.orderBy : ''
|
formData.nowOrderBy = this.nowOrder ? this.orderBy : ''
|
||||||
formData.nowOrder = this.nowOrder
|
formData.nowOrder = this.nowOrder
|
||||||
formData.userId = this.$store.getters.userInfo.userId
|
formData.userId = this.$store.getters.userInfo.userId
|
||||||
if (type === 'sel') {
|
if (type === 'sel' || this.advancedSearchOrNot) {
|
||||||
const advanceSearchVOList = [];
|
const advanceSearchVOList = [];
|
||||||
if (this.formFieldListData !== undefined && this.formFieldListData !== null) {
|
if (this.formFieldListData !== undefined && this.formFieldListData !== null) {
|
||||||
const formFieldList = this.formFieldListData
|
const formFieldList = this.formFieldListData
|
||||||
|
|||||||
Reference in New Issue
Block a user