diff --git a/components.d.ts b/components.d.ts index 21fa9bb..b7cb66b 100644 --- a/components.d.ts +++ b/components.d.ts @@ -34,6 +34,7 @@ declare module '@vue/runtime-core' { ElPagination: typeof import('element-plus/es')['ElPagination'] ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] + ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] ElSelect: typeof import('element-plus/es')['ElSelect'] diff --git a/src/views/pages/Analysis.vue b/src/views/pages/Analysis.vue index 5766284..b98e89f 100644 --- a/src/views/pages/Analysis.vue +++ b/src/views/pages/Analysis.vue @@ -2,17 +2,61 @@
-

数据分析

-
+

订单数据分析

+
+ +
+ +
+ + + + + + + + - + + +
+
+ + +
+
+
+ {{ trendDirection }} {{ Math.abs(trendPercentage).toFixed(1) }}% +
+
{{ periodLabel }}趋势
+
+
+
{{ statistics.growth.toFixed(1) }}%
+
环比增长
+
+
+
{{ statistics.volatility.toFixed(1) }}%
+
波动率
@@ -21,56 +65,159 @@
平均值
{{ statistics.mean }}
+
{{ getDataUnit() }}
最大值
{{ statistics.max }}
+
峰值
最小值
{{ statistics.min }}
+
谷值
-
总数
+
总计
{{ statistics.sum }}
+
累计
标准差
{{ statistics.stdDev }}
+
离散度
+
+
+
中位数
+
{{ statistics.median }}
+
中值
+
+
+ + +
+

数据对比分析

+
+ + 周对比 + 月对比 + 季度对比 + + +
+
+
+
当前周期
+
{{ currentPeriodSum }}
+
+
+
上个周期
+ +
+
+
增长率
+
+ {{ growthRate > 0 ? '+' : '' }}{{ growthRate.toFixed(1) }}% +
+
-

当前数据

+
+

{{ getChartTitle() }}

+
+ + 折线图 + 柱状图 + 面积图 + +
+



-
-

未来趋势

- - 线性回归 - 指数回归 - 多项式回归 - ARIMA回归 - +
+
+

未来趋势预测

+ + 线性回归 + 指数回归 + 多项式回归 + ARIMA回归 + +
+
+ + +
+
+
+
+
+ 预测准确度: + {{ predictionAccuracy.toFixed(1) }}% +
+
+ 置信区间: + 95% +
+ +
+

数据洞察

+
+
+
+
📈
+
+

趋势分析

+

{{ getTrendInsight() }}

+
+
+
+
🎯
+
+

异常检测

+

{{ getAnomalyInsight() }}

+
+
+
+
💡
+
+

建议

+

{{ getRecommendation() }}

+
+
+
+
+
-

编辑数据

+

编辑{{ getDataUnit() }}数据

-
- - +
+ + +
+
+ + + +
+