From 0303c170c6ff96ad5b2da77e54d6f9c8fd461470 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期二, 26 三月 2024 10:47:32 +0800 Subject: [PATCH] qxtj --- src/views/system/circle/index.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/system/circle/index.vue b/src/views/system/circle/index.vue index 8afe0fe..fa8f375 100644 --- a/src/views/system/circle/index.vue +++ b/src/views/system/circle/index.vue @@ -393,7 +393,7 @@ }, created() { // this.getNowTime(); - this.getList(); + this.Company(); this.getListEmer(); this.getDictListEmer(); @@ -411,6 +411,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00") ];; + this.getList(); }); }, dialogVisibles() { @@ -490,8 +491,14 @@ }, /** 鏌ヨ浣撴璁板綍鍒楄〃 */ getList() { - this.queryParams.djbeginTime = this.createTimeList[0]; + if( this.createTimeList){ + this.queryParams.djbeginTime = this.createTimeList[0]; this.queryParams.djendTime = this.createTimeList[1]; + }else if(this.createTimeList == null){ + this.queryParams.djbeginTime = null; + this.queryParams.djendTime = null; + } + this.loading = true; getWenJuanList(this.queryParams).then((response) => { this.orderList = response.data.list; @@ -590,6 +597,7 @@ }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { + this.createTimeList = [] this.resetForm("queryForm"); this.handleQuery(); }, -- Gitblit v1.8.0