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 +++++---
src/views/projectEngineering/abnormalProject/index.vue | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/projectEngineering/abnormalProject/index.vue b/src/views/projectEngineering/abnormalProject/index.vue
index 317573f..a5cd255 100644
--- a/src/views/projectEngineering/abnormalProject/index.vue
+++ b/src/views/projectEngineering/abnormalProject/index.vue
@@ -321,7 +321,8 @@
queryParams: {
pageNum: 1,
pageSize: 10,
- projectPhase: '5',
+ projectPhase: '',
+ exe: 1,
projectName: null,
projectCode: null,
projectStartTime: null,
@@ -447,7 +448,6 @@
/** 鏌ヨ椤圭洰绠$悊鍩虹淇℃伅鍒楄〃 */
getList() {
this.loading = true;
- this.queryParams.projectPhase = '5';
if (this.timeRange) {
this.queryParams.projectStartTime = this.timeRange[0]
this.queryParams.projectEndTime = this.timeRange[1]
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