riku
2024-07-26 1a4d35a08d05e014663c144771976abb0edaa933
pages/inspection/detail/chart-proxy.js
@@ -112,8 +112,8 @@
      const changes = [];
      const xAxisMonth = this.getXAxisMonth();
      xAxisMonth.forEach(m => {
        problems.push('0');
        changes.push('0');
        problems.push(0);
        changes.push(0);
      });
      this.data.subtaskSummary.forEach(s => {
        const month = dayjs(s.stPlanTime).month() + 1 + '月';
@@ -121,8 +121,8 @@
          return month == value;
        });
        if (index) {
          problems[index] = s.proNum;
          changes[index] = s.changeNum;
          problems[index] += s.proNum;
          changes[index] += s.changeNum;
        }
      });
      const datas = [problems, changes];