This commit is contained in:
王一嘉
2025-07-17 18:04:07 +08:00
parent b332c1d1a9
commit f3f687d917
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import {reactive} from "vue";
import useTableQuery from "../../../../hooks/useTableQuery.js"; import useTableQuery from "../../../../hooks/useTableQuery.js";
import Api from "../../../../api/index.js"; import Api from "../../../../api/index.js";
import {Message} from "@arco-design/web-vue"; import {Message} from "@arco-design/web-vue";
import {debounce} from "lodash";
const columns = [ const columns = [
{ {
@@ -115,7 +116,7 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
} }
}); });
const withdrawallogTranfer = async (item) => { const withdrawallogTranfer = debounce(async (item) => {
try { try {
const {msg} = await Api.admin.withdrawallogTranfer({ const {msg} = await Api.admin.withdrawallogTranfer({
id: item.id id: item.id
@@ -124,7 +125,7 @@ const withdrawallogTranfer = async (item) => {
} catch (_e) { } catch (_e) {
await fetchData(); await fetchData();
} }
} }, 1000);
const changeWithdrawalLogAddRemark = async (content, item) => { const changeWithdrawalLogAddRemark = async (content, item) => {
const {msg} = await Api.admin.withdrawalLogAddRemark({ const {msg} = await Api.admin.withdrawalLogAddRemark({

View File

@@ -19,7 +19,7 @@ const getSelect = async () => {
data: data.map(v => ({ data: data.map(v => ({
...v, ...v,
id: v.id, id: v.id,
name: `(${v.type_text}) ${v.mobile}` name: `(${v.type_text}) ${v.account}`
})) }))
} }
} }