diff --git a/src/views/modules/eam/eamProjectInfoForConfirm.vue b/src/views/modules/eam/eamProjectInfoForConfirm.vue index a6847bb..cd979e0 100644 --- a/src/views/modules/eam/eamProjectInfoForConfirm.vue +++ b/src/views/modules/eam/eamProjectInfoForConfirm.vue @@ -1580,7 +1580,7 @@ export default { sizeChangeHandle (val) { this.pageSize = val this.pageIndex = 1 - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryConfirmProgressList(this.selectTypeFlag) } else { this.getDataList() @@ -1589,7 +1589,7 @@ export default { // 当前页 currentChangeHandle (val) { this.pageIndex = val - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryConfirmProgressList(this.selectTypeFlag) } else { this.getDataList() diff --git a/src/views/modules/eam/eamProjectInfoForProof.vue b/src/views/modules/eam/eamProjectInfoForProof.vue index 42fb7eb..93c63c2 100644 --- a/src/views/modules/eam/eamProjectInfoForProof.vue +++ b/src/views/modules/eam/eamProjectInfoForProof.vue @@ -1322,7 +1322,7 @@ export default { sizeChangeHandle (val) { this.pageSize = val this.pageIndex = 1 - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryAllProofing(this.selectTypeFlag) } else { this.getDataList() @@ -1331,7 +1331,7 @@ export default { // 当前页 currentChangeHandle (val) { this.pageIndex = val - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryAllProofing(this.selectTypeFlag) } else { this.getDataList() diff --git a/src/views/modules/eam/eamProjectInfoForUploads.vue b/src/views/modules/eam/eamProjectInfoForUploads.vue index 1da787a..28eec07 100644 --- a/src/views/modules/eam/eamProjectInfoForUploads.vue +++ b/src/views/modules/eam/eamProjectInfoForUploads.vue @@ -1821,7 +1821,7 @@ export default { sizeChangeHandle (val) { this.pageSize = val this.pageIndex = 1 - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryProjectUploadsDocumentList(this.selectTypeFlag) } else { this.getDataList() @@ -1830,7 +1830,7 @@ export default { // 当前页 currentChangeHandle (val) { this.pageIndex = val - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryProjectUploadsDocumentList(this.selectTypeFlag) } else { this.getDataList() diff --git a/src/views/modules/eam/eamProjectPartInfo.vue b/src/views/modules/eam/eamProjectPartInfo.vue index 1a79bdd..c5894c4 100644 --- a/src/views/modules/eam/eamProjectPartInfo.vue +++ b/src/views/modules/eam/eamProjectPartInfo.vue @@ -3155,7 +3155,7 @@ import {EventBus} from "../../../main"; sizeChangeHandle (val) { this.pageSize = val this.pageIndex = 1 - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryEamProjectPart(this.selectTypeFlag) } else { this.getDataList() @@ -3164,7 +3164,7 @@ import {EventBus} from "../../../main"; // 当前页 currentChangeHandle (val) { this.pageIndex = val - if (this.selectTypeFlag.length > 0 || this.selectTypeFlag !== null || this.selectTypeFlag !== undefined) { + if (this.selectTypeFlag !== null && this.selectTypeFlag !== undefined) { this.queryEamProjectPart(this.selectTypeFlag) } else { this.getDataList()