From 952e9a8d76042567c0acbcf7d79bae354b4a9984 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 24 二月 2025 22:39:52 +0800 Subject: [PATCH] 项目阶段查询修改 --- src/views/projectEngineering/projectLibrary/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue index 2e07f92..c5f5e6c 100644 --- a/src/views/projectEngineering/projectLibrary/index.vue +++ b/src/views/projectEngineering/projectLibrary/index.vue @@ -426,7 +426,7 @@ }); this.columns = columns; this.defaultColumns = JSON.parse(JSON.stringify(columns)); - this.getList(); + this.getList(this.$route.query.projectPhase == '5' || this.$route.query.projectPhase == '6' ? null : this.$route.query.projectPhase); }, beforeDestroy() { this.removeStore(); @@ -544,9 +544,11 @@ this.popoverValue = false; }, /** 鏌ヨ椤圭洰绠$悊鍩虹淇℃伅鍒楄〃 */ - getList() { + getList(projectPhase) { this.loading = true; - this.queryParams.projectPhase = this.$route.query.projectPhase; + if (projectPhase) { + this.queryParams.projectPhase = projectPhase; + } if (this.timeRange) { this.queryParams.projectStartTime = this.timeRange[0] this.queryParams.projectEndTime = this.timeRange[1] -- Gitblit v1.8.0