diff --git a/apps/web-antd/src/api/system/user/index.ts b/apps/web-antd/src/api/system/user/index.ts index fb12be7eb..c9f23a403 100644 --- a/apps/web-antd/src/api/system/user/index.ts +++ b/apps/web-antd/src/api/system/user/index.ts @@ -23,7 +23,6 @@ export namespace SystemUserApi { /** 查询用户管理列表 */ export function getUserPage(params: PageParam) { - debugger return requestClient.get>( '/system/user/page', { params }, diff --git a/apps/web-ele/src/api/mall/statistics/product.ts b/apps/web-ele/src/api/mall/statistics/product.ts index 834ae27d1..2e83f945a 100644 --- a/apps/web-ele/src/api/mall/statistics/product.ts +++ b/apps/web-ele/src/api/mall/statistics/product.ts @@ -41,14 +41,14 @@ export namespace MallProductStatisticsApi { } /** 获得商品统计分析 */ -export function getProductStatisticsAnalyse(params: PageParam) { +export function getProductStatisticsAnalyse(params: any) { return requestClient.get< DataComparisonRespVO >('/statistics/product/analyse', { params }); } /** 获得商品状况明细 */ -export function getProductStatisticsList(params: PageParam) { +export function getProductStatisticsList(params: any) { return requestClient.get( '/statistics/product/list', { params }, @@ -56,7 +56,7 @@ export function getProductStatisticsList(params: PageParam) { } /** 导出获得商品状况明细 Excel */ -export function exportProductStatisticsExcel(params: PageParam) { +export function exportProductStatisticsExcel(params: any) { return requestClient.download('/statistics/product/export-excel', { params }); } diff --git a/apps/web-ele/src/views/mall/statistics/member/modules/sex-card.vue b/apps/web-ele/src/views/mall/statistics/member/modules/sex-card.vue index 930555812..54a254dee 100644 --- a/apps/web-ele/src/views/mall/statistics/member/modules/sex-card.vue +++ b/apps/web-ele/src/views/mall/statistics/member/modules/sex-card.vue @@ -39,7 +39,8 @@ async function getMemberSexStatisticsList() { value: userCount || 0, }; }); - // 更新 Echarts 数据 + + // 渲染图表 await renderEcharts(getSexChartOptions(chartData)); } finally { loading.value = false; diff --git a/apps/web-ele/src/views/mall/statistics/product/modules/rank-card.vue b/apps/web-ele/src/views/mall/statistics/product/modules/rank-card.vue index a2bc11462..2c6fbca6a 100644 --- a/apps/web-ele/src/views/mall/statistics/product/modules/rank-card.vue +++ b/apps/web-ele/src/views/mall/statistics/product/modules/rank-card.vue @@ -8,6 +8,8 @@ import { ref } from 'vue'; import { buildSortingField } from '@vben/request'; import { formatDateTime } from '@vben/utils'; +import { ElCard } from 'element-plus'; + import { useVbenVxeGrid } from '#/adapter/vxe-table'; import * as ProductStatisticsApi from '#/api/mall/statistics/product'; import ShortcutDateRangePicker from '#/components/shortcut-date-range-picker/shortcut-date-range-picker.vue'; @@ -124,7 +126,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ - diff --git a/apps/web-ele/src/views/mall/statistics/product/modules/summary-card.vue b/apps/web-ele/src/views/mall/statistics/product/modules/summary-card.vue index 0a9a0bfe9..6912559f8 100644 --- a/apps/web-ele/src/views/mall/statistics/product/modules/summary-card.vue +++ b/apps/web-ele/src/views/mall/statistics/product/modules/summary-card.vue @@ -19,6 +19,7 @@ import { } from '@vben/utils'; import dayjs from 'dayjs'; +import { ElButton, ElCard, ElCol, ElRow } from 'element-plus'; import * as ProductStatisticsApi from '#/api/mall/statistics/product'; import ShortcutDateRangePicker from '#/components/shortcut-date-range-picker/shortcut-date-range-picker.vue'; @@ -117,27 +118,31 @@ async function handleExport() { - diff --git a/apps/web-ele/src/views/mall/statistics/product/modules/summary-chart-options.ts b/apps/web-ele/src/views/mall/statistics/product/modules/summary-chart-options.ts index ccec70195..ec6e474e1 100644 --- a/apps/web-ele/src/views/mall/statistics/product/modules/summary-chart-options.ts +++ b/apps/web-ele/src/views/mall/statistics/product/modules/summary-chart-options.ts @@ -127,4 +127,3 @@ export function getProductSummaryChartOptions(data: any[]): any { ], }; } -