fuliqi
2024-09-06 7c9eabb8e07c971882eeddeaa53eeb5071662000
柱状图部门翻译修复
1个文件已修改
9 ■■■■■ 已修改文件
src/views/system/check/result/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
      });