From c2943d4c365e6a4719fbd5fedf89f8c2232cf88e Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期一, 25 三月 2024 18:16:27 +0800 Subject: [PATCH] qxtj --- src/views/sampling/sampling/index.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue index babc5a5..db6e314 100644 --- a/src/views/sampling/sampling/index.vue +++ b/src/views/sampling/sampling/index.vue @@ -433,8 +433,14 @@ getList() { this.loading = true; this.queryParams.isSignFor = this.tjStatus; - this.queryParams.beginTime = this.createTimeList[0]; + if(this.createTimeList){ + this.queryParams.beginTime = this.createTimeList[0]; this.queryParams.endTime = this.createTimeList[1]; + }else if(this.createTimeList == null){ + this.queryParams.beginTime = null; + this.queryParams.endTime = null; + } + getList(this.queryParams).then((response) => { if (response.data) { if (response.data.list == null) { @@ -488,7 +494,7 @@ this.resetForm("form"); }, hb() { - console.log(this.queryParams.tjNum); + // console.log(this.queryParams.tjNum); if (this.queryParams.tjNum != null) { this.handleQuery(); } -- Gitblit v1.8.0