修改一些东西
This commit is contained in:
parent
766e83f67e
commit
9c36654fe4
|
@ -64,12 +64,12 @@
|
||||||
<a-table-column title="累计在线时长/分" data-index="time"></a-table-column>
|
<a-table-column title="累计在线时长/分" data-index="time"></a-table-column>
|
||||||
<a-table-column title="注册时间">
|
<a-table-column title="注册时间">
|
||||||
<template #cell="{ record }">
|
<template #cell="{ record }">
|
||||||
{{ dayjs(record.created_at).format('YYYY-MM-DD') }}
|
{{ dayjs(record.created_at).format('YYYY-MM-DD HH:mm:ss') }}
|
||||||
</template>
|
</template>
|
||||||
</a-table-column>
|
</a-table-column>
|
||||||
<a-table-column title="上次登录">
|
<a-table-column title="上次登录">
|
||||||
<template #cell="{ record }">
|
<template #cell="{ record }">
|
||||||
{{ dayjs(record.login_time * 1000).format('YYYY-MM-DD') }}
|
{{ dayjs(record.login_time * 1000).format('YYYY-MM-DD HH:mm:ss') }}
|
||||||
</template>
|
</template>
|
||||||
</a-table-column>
|
</a-table-column>
|
||||||
<a-table-column title="是否封禁" data-index="status"><template #cell="{ record }">
|
<a-table-column title="是否封禁" data-index="status"><template #cell="{ record }">
|
||||||
|
|
|
@ -180,6 +180,7 @@ const handleBlock = async(record:any) => {
|
||||||
const res = await pushMoney(record);
|
const res = await pushMoney(record);
|
||||||
if(res.code === 200 ){
|
if(res.code === 200 ){
|
||||||
reset();
|
reset();
|
||||||
|
getAll();
|
||||||
Message.success('操作成功')
|
Message.success('操作成功')
|
||||||
}else{
|
}else{
|
||||||
Message.error(res.msg)
|
Message.error(res.msg)
|
||||||
|
@ -192,6 +193,7 @@ const handleNotBlock = async(record:any) => {
|
||||||
const res = await pushMoney(record);
|
const res = await pushMoney(record);
|
||||||
if(res.code === 200 ){
|
if(res.code === 200 ){
|
||||||
reset();
|
reset();
|
||||||
|
getAll();
|
||||||
Message.success('操作成功')
|
Message.success('操作成功')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue