update
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
@@ -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}`
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user