浏览代码

准备设置分部数据

1
mo 3 年之前
父节点
当前提交
325ae36197
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/main/baseinfo/modals/manageOrgan.vue

+ 2 - 1
src/views/main/baseinfo/modals/manageOrgan.vue

@@ -137,6 +137,7 @@ export default {
     },
     chartData() {
       const values = Object.values({ ...this.items, ...this.items2 });
+      console.log(values,'values')
       const months = {};
       for (const item of values) {
         for (const row of item.indexMonthData || []) {
@@ -149,7 +150,7 @@ export default {
           months[key][item.title] = row.percent;
         }
       }
-      // console.log(values);
+      console.log(months,'months');
       return {
         columns: [
           "日期",