- 详情
- 充值/扣款
diff --git a/src/views/wallet/wallet-manage/transaction-list.vue b/src/views/wallet/wallet-manage/transaction-list.vue
index 0221f73..36798ae 100644
--- a/src/views/wallet/wallet-manage/transaction-list.vue
+++ b/src/views/wallet/wallet-manage/transaction-list.vue
@@ -30,27 +30,19 @@ import { displayPrice } from "/@/utils/formatMoney"
const emit = defineEmits(['refresh']);
// 定义变量内容
-const dataFormRef = ref();
const visible = ref(false)
const loading = ref(false)
// 定义字典
// 提交表单数据
const form = reactive({
- id: '',
- isFreeze: '',
- activeBindTime: '',
- activeBindStatus: '',
});
const state: BasicTableProps = reactive({
+ pagination: { size: 5, },
queryForm: {},
pageList: walletTransactionApi.pageJoin
})
-// 定义校验规则
-const dataRules = ref({
-})
-
// table hook
const {
getDataList,
@@ -65,30 +57,15 @@ const {
const openDialog = (id: string) => {
visible.value = true
form.id = ''
-
- // 重置表单数据
- nextTick(() => {
- dataFormRef.value?.resetFields();
- });
-
- // 获取walletManage信息
if (id) {
- form.id = id
- getwalletManageData(id)
+ state.queryForm.walletId = id
+ state.dataList = []
+ getDataList()
}
};
-// 初始化表单数据
-const getwalletManageData = (id: string) => {
- // 获取数据
- loading.value = true
- const res = walletTransactionApi.pageJoin({ walletId: id });
- console.log(res);
-
-};
-
// 暴露变量
defineExpose({
openDialog
diff --git a/src/views/wallet/wallet-type/index.vue b/src/views/wallet/wallet-type/index.vue
index 23220f8..7b3f90a 100644
--- a/src/views/wallet/wallet-type/index.vue
+++ b/src/views/wallet/wallet-type/index.vue
@@ -11,8 +11,9 @@
@click="handleDelete(selectObjs)">
删除
-
+