hsy
4 天以前 c8a6236013ec15d00ddcab1587bbd4f090611cdf
src/views/crm/statistics/performance/chartOptions.ts
@@ -47,7 +47,7 @@
            yAxisIndex: 1,
            data: res.map((s: any) =>
              s.lastMonthCount === 0
                ? 'NULL'
                ? (s.currentMonthCount > 0 ? 100 : 0).toFixed(2)
                : (
                    ((s.currentMonthCount - s.lastMonthCount) /
                      s.lastMonthCount) *
@@ -61,7 +61,7 @@
            yAxisIndex: 1,
            data: res.map((s: any) =>
              s.lastYearCount === 0
                ? 'NULL'
                ? (s.currentMonthCount > 0 ? 100 : 0).toFixed(2)
                : (
                    ((s.currentMonthCount - s.lastYearCount) /
                      s.lastYearCount) *
@@ -166,7 +166,7 @@
            yAxisIndex: 1,
            data: res.map((s: any) =>
              s.lastMonthCount === 0
                ? 'NULL'
                ? (s.currentMonthCount > 0 ? 100 : 0).toFixed(2)
                : (
                    ((s.currentMonthCount - s.lastMonthCount) /
                      s.lastMonthCount) *
@@ -180,7 +180,7 @@
            yAxisIndex: 1,
            data: res.map((s: any) =>
              s.lastYearCount === 0
                ? 'NULL'
                ? (s.currentMonthCount > 0 ? 100 : 0).toFixed(2)
                : (
                    ((s.currentMonthCount - s.lastYearCount) /
                      s.lastYearCount) *
@@ -290,7 +290,7 @@
            yAxisIndex: 1,
            data: res.map((s: any) =>
              s.lastMonthCount === 0
                ? 'NULL'
                ? (s.currentMonthCount > 0 ? 100 : 0).toFixed(2)
                : (
                    ((s.currentMonthCount - s.lastMonthCount) /
                      s.lastMonthCount) *
@@ -304,7 +304,7 @@
            yAxisIndex: 1,
            data: res.map((s: any) =>
              s.lastYearCount === 0
                ? 'NULL'
                ? (s.currentMonthCount > 0 ? 100 : 0).toFixed(2)
                : (
                    ((s.currentMonthCount - s.lastYearCount) /
                      s.lastYearCount) *