From ba96b6536b42117ee2df8e9600ba9e68a4e172c6 Mon Sep 17 00:00:00 2001 From: tianq Date: Tue, 21 Mar 2023 15:36:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=8F=82=E6=95=B0=E8=BF=9B?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataBoard/sida/cpts/xqqd.vue | 4 +++- src/views/dataBoard/sida/wt/eventList.vue | 9 ++++----- src/views/dataBoard/sida/wt/hiddenDangerList.vue | 5 ++--- src/views/dataBoard/sida/wt/specialCategoryList.vue | 4 ++-- src/views/dataBoard/sida/xq/list.vue | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/dataBoard/sida/cpts/xqqd.vue b/src/views/dataBoard/sida/cpts/xqqd.vue index b02552880..fe46e8d78 100644 --- a/src/views/dataBoard/sida/cpts/xqqd.vue +++ b/src/views/dataBoard/sida/cpts/xqqd.vue @@ -73,7 +73,9 @@ export default { query: { org_id: this.orgId, type: this.currentTab, - type2: item.name + type2: item.name, + start_date: this.searchDate[0], + end_date: this.searchDate[1] } }); }, diff --git a/src/views/dataBoard/sida/wt/eventList.vue b/src/views/dataBoard/sida/wt/eventList.vue index 6a7be653b..40c6c1842 100644 --- a/src/views/dataBoard/sida/wt/eventList.vue +++ b/src/views/dataBoard/sida/wt/eventList.vue @@ -127,9 +127,9 @@ export default { this.org_id = getQueryPara('org_id'); this.listType = getQueryPara('type'); this.type2 = getQueryPara('type2'); - + this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')]; this.page_num = 1; - this.getDate(); + // this.getDate(); this.init(); }, @@ -142,9 +142,8 @@ export default { var year = nowDate.getFullYear(); var month = nowDate.getMonth() + 1; var day = nowDate.getDate(); - console.log("nowDate",day) + console.log('nowDate', day); this.searchDate = [`${year}-${1}-${1}`, `${year}-${month}-${day}`]; - }, changList() { this.type2 = '全部'; @@ -166,7 +165,7 @@ export default { }, handlePageNoChange(page_num) { - console.log("dddddd") + console.log('dddddd'); this.page_num = page_num; this.getList(); }, diff --git a/src/views/dataBoard/sida/wt/hiddenDangerList.vue b/src/views/dataBoard/sida/wt/hiddenDangerList.vue index 660f53ca5..5e0426bd6 100644 --- a/src/views/dataBoard/sida/wt/hiddenDangerList.vue +++ b/src/views/dataBoard/sida/wt/hiddenDangerList.vue @@ -126,9 +126,9 @@ export default { this.org_id = getQueryPara('org_id'); this.listType = getQueryPara('type'); this.type2 = getQueryPara('type2'); - + this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')]; this.page_num = 1; - this.getDate(); + // this.getDate(); this.init(); }, @@ -191,7 +191,6 @@ export default { end_date, org_id, danger_name - } }, { diff --git a/src/views/dataBoard/sida/wt/specialCategoryList.vue b/src/views/dataBoard/sida/wt/specialCategoryList.vue index d4046fe9f..aa43258b8 100644 --- a/src/views/dataBoard/sida/wt/specialCategoryList.vue +++ b/src/views/dataBoard/sida/wt/specialCategoryList.vue @@ -142,9 +142,9 @@ export default { this.org_id = getQueryPara('org_id'); this.listType = getQueryPara('type'); this.type2 = getQueryPara('type2'); - + this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')]; this.page_num = 1; - this.getDate(); + // this.getDate(); this.init(); }, diff --git a/src/views/dataBoard/sida/xq/list.vue b/src/views/dataBoard/sida/xq/list.vue index e4551e959..5e630bf5c 100644 --- a/src/views/dataBoard/sida/xq/list.vue +++ b/src/views/dataBoard/sida/xq/list.vue @@ -147,9 +147,9 @@ export default { this.org_id = getQueryPara('org_id'); this.listType = getQueryPara('type'); this.type2 = getQueryPara('type2'); - + this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')]; this.page_num = 1; - this.getDate(); + // this.getDate(); this.init(); },