From cdc0a4ff834aeca597d75924c7c5ebca84dd355b Mon Sep 17 00:00:00 2001 From: yuejiayang <146344614+YangLei105@users.noreply.github.com> Date: Tue, 15 Oct 2024 02:26:57 +0800 Subject: [PATCH] =?UTF-8?q?2024.10.15=20=E6=96=87=E6=A1=A3=E6=94=B6?= =?UTF-8?q?=E9=9B=86=E7=B3=BB=E7=BB=9F=20-=20=E6=96=87=E6=A1=A3=E7=89=88?= =?UTF-8?q?=E6=9C=ACV20240929?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/eam/eamProjectInfoForConfirm.vue | 4 ++-- src/views/modules/eam/eamProjectInfoForProof.vue | 4 ++-- src/views/modules/eam/eamProjectInfoForUploads.vue | 4 ++-- src/views/modules/eam/eamProjectPartInfo.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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()