Merge branch 'dev' of https://gitee.com/yudaocode/yudao-ui-admin-vben into dev
This commit is contained in:
@@ -109,8 +109,6 @@ async function handleExport() {
|
||||
});
|
||||
// 处理下载
|
||||
downloadFileFromBlobPart({ fileName: '商品状况.xlsx', source: data });
|
||||
} catch {
|
||||
// 用户取消导出
|
||||
} finally {
|
||||
exportLoading.value = false;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,8 @@ async function getTradeStatisticsList() {
|
||||
});
|
||||
|
||||
// 处理数据
|
||||
// TODO @芋艿:搞到 getTradeTrendChartOptions 里;
|
||||
// TODO @芋艿:貌似和 vue3 + element-plus 数据不一致;
|
||||
const processedList = list.map((item) => ({
|
||||
...item,
|
||||
turnoverPrice: Number(fenToYuan(item.turnoverPrice)),
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import type { EChartsOption } from 'echarts';
|
||||
|
||||
import type { MallTradeStatisticsApi } from '#/api/mall/statistics/trade';
|
||||
|
||||
/** 交易趋势折线图配置 */
|
||||
export function getTradeTrendChartOptions(
|
||||
data: MallTradeStatisticsApi.TradeTrendSummary[],
|
||||
): EChartsOption {
|
||||
): any {
|
||||
return {
|
||||
dataset: {
|
||||
dimensions: [
|
||||
|
||||
Reference in New Issue
Block a user