From fb9a53197e71e85763d8bcaa6674f8364dcab5d5 Mon Sep 17 00:00:00 2001 From: gongdi <410827992@qq.com> Date: Fri, 3 Sep 2021 16:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9E=E5=85=AC=E6=A8=A1=E5=9D=97=E9=98=B6?= =?UTF-8?q?=E6=AE=B5=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moduleCom/oa/summaryQuery/summaryQuery.vue | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/summaryQuery/summaryQuery.vue b/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/summaryQuery/summaryQuery.vue index 0a24d70..ef02364 100644 --- a/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/summaryQuery/summaryQuery.vue +++ b/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/summaryQuery/summaryQuery.vue @@ -36,7 +36,7 @@ :summary_Id="summaryList[2*index - 2 + i - 1]['summary_id']" :read_flag="summaryList[2*index - 2 + i - 1]['leader_view_flag']" :belong_type="tabIndex > 0?summaryList[2*index - 2 + i - 1]['summary_belong_type']:''" - :callLeaderView="getCallLeaderView()" + :call_leader_view="getCallLeaderView()" @viewSummary="viewSummary" /> @@ -154,13 +154,8 @@ let year = resData.data.year; let month = resData.data.month; let day = resData.data.day; - if(this.typeId == 5){ - this.currentDate = year + "-" + month + "-" + day; - }else if (this.typeId == 4 || this.typeId == 3) { - this.currentDate = year; - }else { - this.currentDate = ""; - } + this.currentDate = year + "-" + month + "-" + day; + this.getListSuperfusionWorkSummary(); } } @@ -219,7 +214,7 @@ this.typeId = item.id; this.typeValue = item.value; this.clearParam(); - this.getNowDate(); + this.getListSuperfusionWorkSummary(); } }, changeDate: function (date) { @@ -234,14 +229,15 @@ person_id: this.BaseConfig.userInfo.person_id, page_number: this.pageNumber, page_size: this.pageSize, - anchor_point_info:this.currentDate } if (this.tabIndex == 0) { param.summary_belong_type = 1; } else if (this.tabIndex == 1) { param.summary_belong_type = 2; + param.anchor_point_info = this.currentDate; } else if (this.tabIndex == 2) { param.summary_belong_type = 3; + param.anchor_point_info = this.currentDate; } this.showLoading = true; this.InterfaceConfig.callInterface([{