|
@@ -34,6 +34,7 @@ import AppSelectMember from '@pc/components/modules/select-member/index.vue'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppPagination from '@pc/components/base/pagination/index.vue'
|
|
import AppPagination from '@pc/components/base/pagination/index.vue'
|
|
|
import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
|
|
import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
|
|
|
|
|
+import { parsePercent } from '@/filters'
|
|
|
|
|
|
|
|
const { global: { t } } = i18n
|
|
const { global: { t } } = i18n
|
|
|
const dateValue = shallowRef<string[] | null>([])
|
|
const dateValue = shallowRef<string[] | null>([])
|
|
@@ -56,26 +57,26 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryi
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
|
- { field: 'accountid', label: '资金账号' },
|
|
|
|
|
- { field: 'accountcodename', label: '机构名称' },
|
|
|
|
|
- { field: 'balance', label: '期初余额' },
|
|
|
|
|
- { field: 'currentbalance', label: '期末余额' },
|
|
|
|
|
- { field: 'inamount', label: '今日入金' },
|
|
|
|
|
- { field: 'outamount', label: '今日出金' },
|
|
|
|
|
- { field: 'closepl', label: '转让损益' },
|
|
|
|
|
- { field: 'floatpl', label: '浮动损益' },
|
|
|
|
|
- { field: 'freezecharge', label: '冻结手续费' },
|
|
|
|
|
- { field: 'paycharge', label: '手续费' },
|
|
|
|
|
- { field: 'otherpay', label: '其他支出' },
|
|
|
|
|
- { field: 'otherincome', label: '其他收入' },
|
|
|
|
|
- { field: 'freezemargin', label: '冻结保证金' },
|
|
|
|
|
- { field: 'usedmargin', label: '占用保证金' },
|
|
|
|
|
- { field: 'otherfreezemargin', label: '其他冻结' },
|
|
|
|
|
- { field: 'outamountfreeze', label: '出金冻结' },
|
|
|
|
|
- { field: 'avaiablemoney', label: '可用资金' },
|
|
|
|
|
- { field: 'avaiableoutmoney', label: '可出资金' },
|
|
|
|
|
- { field: 'floatnetvalue', label: '当前净值' },
|
|
|
|
|
- { field: 'cur_risk_rate', label: '风险率' },
|
|
|
|
|
|
|
+ { field: 'accountid', label: 'query.other.institution_bank.accountid' },
|
|
|
|
|
+ { field: 'accountcodename', label: 'query.other.institution_bank.accountcodename' },
|
|
|
|
|
+ { field: 'balance', label: 'query.other.institution_bank.balance' },
|
|
|
|
|
+ { field: 'currentbalance', label: 'query.other.institution_bank.currentbalance' },
|
|
|
|
|
+ { field: 'inamount', label: 'query.other.institution_bank.inamount' },
|
|
|
|
|
+ { field: 'outamount', label: 'query.other.institution_bank.outamount' },
|
|
|
|
|
+ { field: 'closepl', label: 'query.other.institution_bank.closepl' },
|
|
|
|
|
+ { field: 'floatpl', label: 'query.other.institution_bank.floatpl' },
|
|
|
|
|
+ { field: 'freezecharge', label: 'query.other.institution_bank.freezecharge' },
|
|
|
|
|
+ { field: 'paycharge', label: 'query.other.institution_bank.paycharge' },
|
|
|
|
|
+ { field: 'otherpay', label: 'query.other.institution_bank.otherpay' },
|
|
|
|
|
+ { field: 'otherincome', label: 'query.other.institution_bank.otherincome' },
|
|
|
|
|
+ { field: 'freezemargin', label: 'query.other.institution_bank.freezemargin' },
|
|
|
|
|
+ { field: 'usedmargin', label: 'query.other.institution_bank.usedmargin' },
|
|
|
|
|
+ { field: 'otherfreezemargin', label: 'query.other.institution_bank.otherfreezemargin' },
|
|
|
|
|
+ { field: 'outamountfreeze', label: 'query.other.institution_bank.outamountfreeze' },
|
|
|
|
|
+ { field: 'avaiablemoney', label: 'query.other.institution_bank.avaiablemoney' },
|
|
|
|
|
+ { field: 'avaiableoutmoney', label: 'query.other.institution_bank.avaiableoutmoney' },
|
|
|
|
|
+ { field: 'floatnetvalue', label: 'query.other.institution_bank.floatnetvalue' },
|
|
|
|
|
+ { field: 'cur_risk_rate', label: 'query.other.institution_bank.cur_risk_rate', formatValue: (val) => parsePercent(val) },
|
|
|
{ field: 'operate', label: 'common.operate', fixed: 'right' }
|
|
{ field: 'operate', label: 'common.operate', fixed: 'right' }
|
|
|
])
|
|
])
|
|
|
|
|
|
|
@@ -93,37 +94,37 @@ const { queryParams, filterOption, getQueryParams, resetFilters } = useDataFilte
|
|
|
filters: [
|
|
filters: [
|
|
|
{
|
|
{
|
|
|
field: 'memberid',
|
|
field: 'memberid',
|
|
|
- label: '所属会员',
|
|
|
|
|
- placeholder: '请输入',
|
|
|
|
|
|
|
+ label: t('query.other.institution_bank.memberid'),
|
|
|
|
|
+ placeholder: t('common.pleaseenter'),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
field: 'accountstatus',
|
|
field: 'accountstatus',
|
|
|
- label: '机构状态',
|
|
|
|
|
|
|
+ label: t('query.other.institution_bank.accountstatus'),
|
|
|
required: true,
|
|
required: true,
|
|
|
- placeholder: '请选择',
|
|
|
|
|
|
|
+ placeholder: t('common.pleasechoice'),
|
|
|
options: () => getEnumOptions()
|
|
options: () => getEnumOptions()
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
field: 'sortfield',
|
|
field: 'sortfield',
|
|
|
- label: '排序',
|
|
|
|
|
|
|
+ label: t('query.other.institution_bank.sortfield'),
|
|
|
required: true,
|
|
required: true,
|
|
|
value: 0,
|
|
value: 0,
|
|
|
options: () => [
|
|
options: () => [
|
|
|
- { label: '不限', value: 0 },
|
|
|
|
|
- { label: '期末余额', value: 1 },
|
|
|
|
|
- { label: '期初余额', value: 2 },
|
|
|
|
|
- { label: '今日入金', value: 3 },
|
|
|
|
|
- { label: '今日出金', value: 4 },
|
|
|
|
|
- { label: '转让损益', value: 5 },
|
|
|
|
|
- { label: '手续费', value: 6 }
|
|
|
|
|
|
|
+ { label: t('query.other.institution_bank.nolimit'), value: 0 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.currentbalance'), value: 1 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.balance'), value: 2 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.inamount'), value: 3 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.outamount'), value: 4 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.closepl'), value: 5 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.paycharge'), value: 6 }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
field: 'sorttype',
|
|
field: 'sorttype',
|
|
|
value: 0,
|
|
value: 0,
|
|
|
options: () => [
|
|
options: () => [
|
|
|
- { label: '降序', value: 1 },
|
|
|
|
|
- { label: '升序', value: 0 }
|
|
|
|
|
|
|
+ { label: t('query.other.institution_bank.sorttype1'), value: 1 },
|
|
|
|
|
+ { label: t('query.other.institution_bank.sorttype2'), value: 0 }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|