From c7b33db117fd2893d7d1c93bf5d46e87d33e44d0 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 16 十二月 2024 16:08:51 +0800 Subject: [PATCH] 初审结果查询 --- src/views/standard/renshunum/index.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/standard/renshunum/index.vue b/src/views/standard/renshunum/index.vue index 291416b..127c06a 100644 --- a/src/views/standard/renshunum/index.vue +++ b/src/views/standard/renshunum/index.vue @@ -93,7 +93,7 @@ }, created() { // this.getNowTime(); - this.getList(); + this.getdate(); }, @@ -104,11 +104,18 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; + this.getList(); }); }, getList() { - this.queryParams.beginTime = this.startTime[0]; + if(this.startTime){ + this.queryParams.beginTime = this.startTime[0]; this.queryParams.endTime = this.startTime[1]; + }else if(this.startTime == null){ + this.queryParams.beginTime = null; + this.queryParams.endTime = null; + } + getTiaoNumsByDate(this.queryParams).then((res) => { let myChart = this.$echarts.init(document.getElementById("main")); //浣犺繘鍏ラ〉闈㈠厛鎶婂浘琛ㄦ覆鏌撲簡 鐒跺悗鎵嶈幏鍙栫殑鏁版嵁鎶� -- Gitblit v1.8.0