From 473e269e65afe27735b4de7a17fa1faf3fc0070a Mon Sep 17 00:00:00 2001 From: zhanglipeng Date: Sun, 25 Apr 2021 11:02:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E6=97=A5=E6=B5=81=E7=A8=8B=E8=AF=84?= =?UTF-8?q?=E4=BC=B0echart=E5=92=8C=E5=88=B7=E6=96=B0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../benyi/dayflowassessmentpjf/index.vue | 8 +- .../dayflowassessmentteacherpjf/index.vue | 28 ++-- .../views/dashboard/LineChartBjyrlcpjpjf.vue | 32 +--- .../dashboard/LineChartTeacherDayFlowAvg.vue | 143 ++++++++++++++++++ 4 files changed, 170 insertions(+), 41 deletions(-) create mode 100644 ruoyi-ui/src/views/dashboard/LineChartTeacherDayFlowAvg.vue diff --git a/ruoyi-ui/src/views/benyi/dayflowassessmentpjf/index.vue b/ruoyi-ui/src/views/benyi/dayflowassessmentpjf/index.vue index 139ddebc9..1052ee229 100644 --- a/ruoyi-ui/src/views/benyi/dayflowassessmentpjf/index.vue +++ b/ruoyi-ui/src/views/benyi/dayflowassessmentpjf/index.vue @@ -71,7 +71,7 @@ @pagination="getList" />
- +
@@ -82,12 +82,14 @@ import { listDayflowassessmentPjf } from "@/api/benyi/dayflowassessment"; import { listClass } from "@/api/system/class"; export default { - name: "Dayflowassessment", + name: "DayflowassessmentClassAvg", components: { LineChart, }, data() { return { + //是否重新加载组件 + isRouterAlive: true, // 遮罩层 loading: true, // 选中数组 @@ -166,6 +168,8 @@ export default { handleQuery() { this.queryParams.pageNum = 1; this.getList(); + this.isRouterAlive = false; + this.$nextTick(() => (this.isRouterAlive = true)); }, /** 重置按钮操作 */ resetQuery() { diff --git a/ruoyi-ui/src/views/benyi/dayflowassessmentteacherpjf/index.vue b/ruoyi-ui/src/views/benyi/dayflowassessmentteacherpjf/index.vue index 7fcacde16..ba05e0bf1 100644 --- a/ruoyi-ui/src/views/benyi/dayflowassessmentteacherpjf/index.vue +++ b/ruoyi-ui/src/views/benyi/dayflowassessmentteacherpjf/index.vue @@ -48,12 +48,7 @@ - + @@ -83,21 +78,28 @@ :limit.sync="queryParams.pageSize" @pagination="getList" /> + +
+ +