From 1f8d77eb94392d7db0b437e76d6710856177a458 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Tue, 14 Sep 2021 17:01:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/modules/dataExport/operStatic.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/epmet-oper-web/src/views/modules/dataExport/operStatic.vue b/epmet-oper-web/src/views/modules/dataExport/operStatic.vue index cbffbc4..81ec20a 100644 --- a/epmet-oper-web/src/views/modules/dataExport/operStatic.vue +++ b/epmet-oper-web/src/views/modules/dataExport/operStatic.vue @@ -23,11 +23,13 @@ - @@ -182,7 +184,9 @@ export default { this.endLoading() }, - + handleChange (value) { + this.agencyName = this.$refs["myCascader"].getCheckedNodes()[0].label + }, initDate () { //设置默认结束日期为前一天 const date = new Date() @@ -312,9 +316,9 @@ export default { let title = this.agencyName if (this.tableParams.type === 'Interval') { - title = title + + this.startTimeShow + '-' + this.endTimeShow + '区间增长值' + title = title + ' ' + this.startTimeShow + '-' + this.endTimeShow + '区间增长值' } else { - title = title + '截止至' + this.endTimeShow + '累计值' + title = title + ' 截止至' + this.endTimeShow + '累计值' } console.log(title)