From 7c9eabb8e07c971882eeddeaa53eeb5071662000 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 06 九月 2024 12:48:52 +0800
Subject: [PATCH] 柱状图部门翻译修复
---
src/views/system/check/result/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/system/check/result/index.vue b/src/views/system/check/result/index.vue
index 3428663..e90e9d4 100644
--- a/src/views/system/check/result/index.vue
+++ b/src/views/system/check/result/index.vue
@@ -188,10 +188,9 @@
},
mounted() {
this.queryParams.examineTag = this.activeIndex
- this.getList();
- this.areaSelect();
chart = echarts.init(this.$refs.barChart);
- this.setChartOption(this.checkScoreList);
+ this.areaSelect()
+ // this.setChartOption(this.checkScoreList);
},
methods: {
jumpDetail(index) {
@@ -353,10 +352,12 @@
areaSelect() {
areaSelect().then(res => {
this.areaList = res.data;
+ this.getList();
})
},
translateDeptId(deptId) {
const department = this.areaList.find(dept => dept.id === deptId);
+ console.log(deptId,this.areaList)
return department ? department.value : '鏈煡';
},
@@ -413,7 +414,7 @@
console.log(this.queryParams);
listScore(this.queryParams).then(response => {
this.checkScoreList = response.data;
- console.log(this.checkScoreList);
+
this.setChartOption(this.checkScoreList);
this.loading = false;
});
--
Gitblit v1.8.0