From 07ea9a2a9717fd91dddecc2e38fdc539b5912606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E5=BB=BA=E8=B6=85?= <3182967682@qq.com> Date: Mon, 28 Sep 2020 16:55:12 +0800 Subject: [PATCH] fix --- .../chart/componments/query-form/index.vue | 2 +- .../modules/result/distribution/index.vue | 32 +++++++++++++++++-- .../report/componments/query-form/index.vue | 32 +++++++++++++++++-- src/views/modules/result/report/index.vue | 4 ++- 4 files changed, 64 insertions(+), 6 deletions(-) diff --git a/src/views/modules/result/chart/componments/query-form/index.vue b/src/views/modules/result/chart/componments/query-form/index.vue index 94c242b..537408c 100644 --- a/src/views/modules/result/chart/componments/query-form/index.vue +++ b/src/views/modules/result/chart/componments/query-form/index.vue @@ -99,7 +99,7 @@ }, restValue () { this.formInline = {} - this.selectMonthTime = '' + this.selectMonthTime = this.nowDate() }, onsumbit () { this.formInline = Object.assign({}, this.formInline, this.isChooseObj) diff --git a/src/views/modules/result/distribution/index.vue b/src/views/modules/result/distribution/index.vue index 12b148e..22e92f5 100644 --- a/src/views/modules/result/distribution/index.vue +++ b/src/views/modules/result/distribution/index.vue @@ -8,6 +8,7 @@ :data="dataList" border v-loading="dataListLoading" + @cell-click="jumpDetail" style="width: 100%"> + + { + } + }) + return + } + console.log(row.departmentId) + console.log(column.label) + this.$router.push({name: 'resultReport', query: {departmentId: row.departmentId, departmentName: row.departmentName, type: 2, status: 109, label: column.label}}, () => { + this.mainTabsActiveName = this.$route.name + }) + }, // 获取数据列表 async handleGetTableList () { const loading = this.$loading({ diff --git a/src/views/modules/result/report/componments/query-form/index.vue b/src/views/modules/result/report/componments/query-form/index.vue index 5a6b22c..36cf753 100644 --- a/src/views/modules/result/report/componments/query-form/index.vue +++ b/src/views/modules/result/report/componments/query-form/index.vue @@ -27,7 +27,7 @@ - + + + + + + +