update
This commit is contained in:
@@ -4,6 +4,7 @@ import {reactive} from "vue";
|
||||
import useTableQuery from "../../../../hooks/useTableQuery.js";
|
||||
import Api from "../../../../api/index.js";
|
||||
import {Message} from "@arco-design/web-vue";
|
||||
import {debounce} from "lodash";
|
||||
|
||||
const columns = [
|
||||
{
|
||||
@@ -115,7 +116,7 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
||||
}
|
||||
});
|
||||
|
||||
const withdrawallogTranfer = async (item) => {
|
||||
const withdrawallogTranfer = debounce(async (item) => {
|
||||
try {
|
||||
const {msg} = await Api.admin.withdrawallogTranfer({
|
||||
id: item.id
|
||||
@@ -124,7 +125,7 @@ const withdrawallogTranfer = async (item) => {
|
||||
} catch (_e) {
|
||||
await fetchData();
|
||||
}
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
const changeWithdrawalLogAddRemark = async (content, item) => {
|
||||
const {msg} = await Api.admin.withdrawalLogAddRemark({
|
||||
|
||||
@@ -19,7 +19,7 @@ const getSelect = async () => {
|
||||
data: data.map(v => ({
|
||||
...v,
|
||||
id: v.id,
|
||||
name: `(${v.type_text}) ${v.mobile}`
|
||||
name: `(${v.type_text}) ${v.account}`
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user