From d86dca06495641e65021ac6bb954c05e56e2ca20 Mon Sep 17 00:00:00 2001 From: xiaoning <1097449274@qq.com> Date: Tue, 23 Jan 2024 16:36:53 +0800 Subject: [PATCH] xn --- src/views/jhzx/gdxqDR.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/jhzx/gdxqDR.vue b/src/views/jhzx/gdxqDR.vue index dd87651..a63a5ba 100644 --- a/src/views/jhzx/gdxqDR.vue +++ b/src/views/jhzx/gdxqDR.vue @@ -335,11 +335,12 @@ export default { }, //初始化表1 数据 initList() { - if (this.queryParam.beginTime === '') { + if (this.queryParam.beginTime === '' || this.queryParam.endTime=== '' || + this.queryParam.beginTime === null || this.queryParam.endTime=== null + ) { this.$message.warning('选择时间范围') return } - this.generatedCol() getList(this.queryParam).then((res) => { if (res.data){