|
@@ -3,6 +3,8 @@ import { BasicColumn, FormProps } from '/@/components/Table';
|
|
import { Time } from '/@/components/Time';
|
|
import { Time } from '/@/components/Time';
|
|
import { h } from 'vue';
|
|
import { h } from 'vue';
|
|
import { incrementUseTypeList } from '/@/api/account';
|
|
import { incrementUseTypeList } from '/@/api/account';
|
|
|
|
+import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
|
+const { t } = useI18n();
|
|
|
|
|
|
export interface ListItem {
|
|
export interface ListItem {
|
|
key: string;
|
|
key: string;
|
|
@@ -494,6 +496,14 @@ export const dowmColumns: BasicColumn[] = [
|
|
width: 100,
|
|
width: 100,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ title: '下载类型',
|
|
|
|
+ dataIndex: 'downType',
|
|
|
|
+ width: 100,
|
|
|
|
+ customRender: ({ record }) => {
|
|
|
|
+ return record.downType ? t(`routes.product.type.${record.downType}`) : '-';
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
title: '订单金额(元)',
|
|
title: '订单金额(元)',
|
|
dataIndex: 'amount',
|
|
dataIndex: 'amount',
|
|
width: 80,
|
|
width: 80,
|