|
|
@@ -47,7 +47,7 @@
|
|
|
|
|
|
</section>
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
<!-- 图表区域 -->
|
|
|
|
|
|
@@ -57,23 +57,23 @@
|
|
|
|
|
|
<div class="chart-wrapper funnel-chart-wrapper">
|
|
|
|
|
|
- <FunnelChart :date-range="currentDateRange" />
|
|
|
+ <FunnelChart :date-range="currentDateRange" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
<!-- 明星商品价值环图 (Top 5) -->
|
|
|
|
|
|
<div class="chart-wrapper">
|
|
|
|
|
|
- <Top5PieChart :date-range="currentDateRange" />
|
|
|
+ <Top5PieChart :date-range="currentDateRange" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
<!-- 订单价值漏损分析 (退款) - 铺满整排 -->
|
|
|
|
|
|
@@ -247,7 +247,7 @@ export default {
|
|
|
|
|
|
files.forEach(file => formData.append('files', file));
|
|
|
|
|
|
- const { data } = await axios.post('/api/import/import-data/upload', formData, {
|
|
|
+ const { data } = await axios.post('/prod-api/api/import/import-data/upload', formData, {
|
|
|
|
|
|
headers: { 'Content-Type': 'multipart/form-data' }
|
|
|
|
|
|
@@ -369,13 +369,13 @@ export default {
|
|
|
|
|
|
const [gmvRes, p80Res, top5Res, avgTimeRes] = await Promise.all([
|
|
|
|
|
|
- axios.get(`/api/analysis/gmv?startDate=${startDate}&endDate=${endDate}`),
|
|
|
+ axios.get(`/prod-api/api/analysis/gmv?startDate=${startDate}&endDate=${endDate}`),
|
|
|
|
|
|
- axios.get(`/api/analysis/r-big?startDate=${startDate}&endDate=${endDate}`),
|
|
|
+ axios.get(`/prod-api/api/analysis/r-big?startDate=${startDate}&endDate=${endDate}`),
|
|
|
|
|
|
- axios.get(`/api/analysis/top5-percentage?startDate=${startDate}&endDate=${endDate}`),
|
|
|
+ axios.get(`/prod-api/api/analysis/top5-percentage?startDate=${startDate}&endDate=${endDate}`),
|
|
|
|
|
|
- axios.get(`/api/analysis/average-payment-time?startDate=${startDate}&endDate=${endDate}`)
|
|
|
+ axios.get(`/prod-api/api/analysis/average-payment-time?startDate=${startDate}&endDate=${endDate}`)
|
|
|
|
|
|
]);
|
|
|
|
|
|
@@ -487,13 +487,13 @@ export default {
|
|
|
|
|
|
const [gmvRes, p80Res, top5Res, avgTimeRes] = await Promise.all([
|
|
|
|
|
|
- axios.get(`/api/analysis/gmv?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`),
|
|
|
+ axios.get(`/prod-api/api/analysis/gmv?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`),
|
|
|
|
|
|
- axios.get(`/api/analysis/r-big?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`),
|
|
|
+ axios.get(`/prod-api/api/analysis/r-big?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`),
|
|
|
|
|
|
- axios.get(`/api/analysis/top5-percentage?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`),
|
|
|
+ axios.get(`/prod-api/api/analysis/top5-percentage?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`),
|
|
|
|
|
|
- axios.get(`/api/analysis/average-payment-time?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`)
|
|
|
+ axios.get(`/prod-api/api/analysis/average-payment-time?startDate=${previousMonthStart}&endDate=${previousMonthEnd}`)
|
|
|
|
|
|
]);
|
|
|
|
|
|
@@ -525,7 +525,7 @@ export default {
|
|
|
|
|
|
try {
|
|
|
|
|
|
- const res = await axios.get('/api/analysis/max-date');
|
|
|
+ const res = await axios.get('/prod-api/api/analysis/max-date');
|
|
|
|
|
|
this.maxDate = res.data;
|
|
|
|
|
|
@@ -663,13 +663,13 @@ export default {
|
|
|
|
|
|
const [gmvRes, p80Res, top5Res, avgTimeRes] = await Promise.all([
|
|
|
|
|
|
- axios.get('/api/analysis/gmv'),
|
|
|
+ axios.get('/prod-api/api/analysis/gmv'),
|
|
|
|
|
|
- axios.get('/api/analysis/r-big'),
|
|
|
+ axios.get('/prod-api/api/analysis/r-big'),
|
|
|
|
|
|
- axios.get('/api/analysis/top5-percentage'),
|
|
|
+ axios.get('/prod-api/api/analysis/top5-percentage'),
|
|
|
|
|
|
- axios.get('/api/analysis/average-payment-time')
|
|
|
+ axios.get('/prod-api/api/analysis/average-payment-time')
|
|
|
|
|
|
]);
|
|
|
|