|
|
@@ -1,32 +1,31 @@
|
|
|
<template>
|
|
|
- <!-- 资金流水 -->
|
|
|
- <section>
|
|
|
- <a-table
|
|
|
- :columns="columns"
|
|
|
- class="srcollYTable"
|
|
|
- :scroll="{ x: '100%', y: '227px' }"
|
|
|
- :pagination="false"
|
|
|
- :loading="loading"
|
|
|
- :expandedRowKeys="expandedRowKeys"
|
|
|
- :customRow="Rowclick"
|
|
|
- rowKey="key"
|
|
|
- :data-source="tableList"
|
|
|
- >
|
|
|
- <!-- 额外的展开行 -->
|
|
|
- <template #expandedRowRender="{ record }">
|
|
|
- <BtnList :btnList="btnList" :record="record" @click="openComponent" />
|
|
|
- </template>
|
|
|
- <template #createtime="{ record }">
|
|
|
- <a>{{ formatTime(record.createtime) }}</a>
|
|
|
- </template>
|
|
|
- </a-table>
|
|
|
- <component
|
|
|
- :is="componentId"
|
|
|
- v-if="componentId"
|
|
|
- :selectedRow="selectedRow"
|
|
|
- @cancel="closeComponent"
|
|
|
- ></component>
|
|
|
- </section>
|
|
|
+ <!-- 资金流水 -->
|
|
|
+ <section>
|
|
|
+ <a-table :columns="columns"
|
|
|
+ class="srcollYTable"
|
|
|
+ :scroll="{ x: '100%', y: '227px' }"
|
|
|
+ :pagination="false"
|
|
|
+ :loading="loading"
|
|
|
+ :expandedRowKeys="expandedRowKeys"
|
|
|
+ :customRow="Rowclick"
|
|
|
+ rowKey="key"
|
|
|
+ :data-source="tableList">
|
|
|
+ <!-- 额外的展开行 -->
|
|
|
+ <template v-if="btnList.length"
|
|
|
+ #expandedRowRender="{ record }">
|
|
|
+ <BtnList :btnList="btnList"
|
|
|
+ :record="record"
|
|
|
+ @click="openComponent" />
|
|
|
+ </template>
|
|
|
+ <template #createtime="{ record }">
|
|
|
+ <a>{{ formatTime(record.createtime) }}</a>
|
|
|
+ </template>
|
|
|
+ </a-table>
|
|
|
+ <component :is="componentId"
|
|
|
+ v-if="componentId"
|
|
|
+ :selectedRow="selectedRow"
|
|
|
+ @cancel="closeComponent"></component>
|
|
|
+ </section>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -40,8 +39,8 @@ import { ComposeOrderTableParam } from '@/common/setup/table/interface';
|
|
|
import { queryAmountLog } from '@/services/go/TaAccount';
|
|
|
import { QueryAmountLogReq } from '@/services/go/TaAccount/interface';
|
|
|
import { getSelectedAccountId } from '@/services/bus/account';
|
|
|
-import {getOperateTypeEnumItemName, getOperateTypeName} from "@/common/constants/enumsName";
|
|
|
-import {formatTime} from "@/common/methods";
|
|
|
+import { getOperateTypeEnumItemName, getOperateTypeName } from '@/common/constants/enumsName';
|
|
|
+import { formatTime } from '@/common/methods';
|
|
|
export default defineComponent({
|
|
|
name: enumOrderComponents.funding_information_funding_log,
|
|
|
components: {
|