From 177efcfe53a16efa7b2b8cf9b1bb38682b7a82f2 Mon Sep 17 00:00:00 2001 From: chengxiangling <291105840@qq.com> Date: 星期一, 12 五月 2025 19:30:04 +0800 Subject: [PATCH] 提交更改默认就报查询条件的提示 --- src/views/mainPlan/pipeProduceStatics/index.vue | 9 ++++++++- src/views/mainPlan/gasProduceStatics/index.vue | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/mainPlan/gasProduceStatics/index.vue b/src/views/mainPlan/gasProduceStatics/index.vue index 8e865b2..8562755 100644 --- a/src/views/mainPlan/gasProduceStatics/index.vue +++ b/src/views/mainPlan/gasProduceStatics/index.vue @@ -148,7 +148,14 @@ }, ]; queryParams.value.searchType = t("plan.options.monthlyStatic"); - handleQuery() + if ( + (!queryParams.value.monthRange && dayCom.value == false) || + (!queryParams.value.monthDays && dayCom.value == true) + ) { + return; + } + // queryParams.value.pageNum = 1; + getGasList(); },{ immediate: true, deep: true }); function handleChangeSelectType(e) { searchTypeValue.value = e; diff --git a/src/views/mainPlan/pipeProduceStatics/index.vue b/src/views/mainPlan/pipeProduceStatics/index.vue index ec50b8d..80f6b80 100644 --- a/src/views/mainPlan/pipeProduceStatics/index.vue +++ b/src/views/mainPlan/pipeProduceStatics/index.vue @@ -154,7 +154,14 @@ }, ]; queryParams.value.searchType = t("plan.options.monthlyStatic"); - handleQuery(); + if ( + (!queryParams.value.monthRange && dayCom.value == false) || + (!queryParams.value.monthDays && dayCom.value == true) + ) { + return; + } + // queryParams.value.pageNum = 1; + getPipeList(); }, { immediate: true, deep: true } ); -- Gitblit v1.9.3