|
@@ -76,7 +76,7 @@ const orderStatusMap = computed(() => ([
|
|
|
]));
|
|
]));
|
|
|
|
|
|
|
|
// 表格列配置
|
|
// 表格列配置
|
|
|
-const columns = ref([
|
|
|
|
|
|
|
+const columns = computed(() => [
|
|
|
{
|
|
{
|
|
|
prop: 'symbol',
|
|
prop: 'symbol',
|
|
|
label: t('Label.Varieties'), // 交易品种
|
|
label: t('Label.Varieties'), // 交易品种
|
|
@@ -138,7 +138,7 @@ const columns = ref([
|
|
|
},
|
|
},
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
-const mobilePrimaryFields = ref([
|
|
|
|
|
|
|
+const mobilePrimaryFields = computed(() => [
|
|
|
{
|
|
{
|
|
|
prop: 'symbol',
|
|
prop: 'symbol',
|
|
|
label: t('Label.Varieties'), // 交易品种
|
|
label: t('Label.Varieties'), // 交易品种
|
|
@@ -160,14 +160,15 @@ const mobilePrimaryFields = ref([
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
// 动态传入筛选字段配置
|
|
// 动态传入筛选字段配置
|
|
|
-const filterFields = [
|
|
|
|
|
|
|
+const filterFields = computed(() => [
|
|
|
|
|
+
|
|
|
{ key: 'type', type: 'select', label: t('Custom.PaymentHistory.payType'), placeholder: t('placeholder.choose'), options: typeMap.value, defaultValue: 1 },
|
|
{ key: 'type', type: 'select', label: t('Custom.PaymentHistory.payType'), placeholder: t('placeholder.choose'), options: typeMap.value, defaultValue: 1 },
|
|
|
{ key: 'login', type: 'input', label: t('Custom.PaymentHistory.TradingAccount'), placeholder: t('placeholder.login'), defaultValue: '' },
|
|
{ key: 'login', type: 'input', label: t('Custom.PaymentHistory.TradingAccount'), placeholder: t('placeholder.login'), defaultValue: '' },
|
|
|
{
|
|
{
|
|
|
key: 'orderStatus', type: 'select', label: t('Custom.PaymentHistory.Status'), placeholder: t('placeholder.choose'), options: orderStatusMap.value, defaultValue: null
|
|
key: 'orderStatus', type: 'select', label: t('Custom.PaymentHistory.Status'), placeholder: t('placeholder.choose'), options: orderStatusMap.value, defaultValue: null
|
|
|
},
|
|
},
|
|
|
{ key: 'date', label: t('placeholder.Start') + ' - ' + t('placeholder.End'), type: 'daterange' }
|
|
{ key: 'date', label: t('placeholder.Start') + ' - ' + t('placeholder.End'), type: 'daterange' }
|
|
|
-]
|
|
|
|
|
|
|
+])
|
|
|
const searchParams = ref({})
|
|
const searchParams = ref({})
|
|
|
const tableRef = ref(null)
|
|
const tableRef = ref(null)
|
|
|
const handleSearch = (params) => {
|
|
const handleSearch = (params) => {
|