Commit 90add0ab authored by Qingyu Deng's avatar Qingyu Deng

chore: format file

parent 4f34856a
...@@ -288,7 +288,7 @@ import { ...@@ -288,7 +288,7 @@ import {
getWithdrawAudit, getWithdrawAudit,
getApplyDetail, getApplyDetail,
getFreezingFund, getFreezingFund,
getAll_role_list getAll_role_list,
} from "../../../service/Withdrawal/withdrawal"; } from "../../../service/Withdrawal/withdrawal";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
export default { export default {
...@@ -343,11 +343,11 @@ export default { ...@@ -343,11 +343,11 @@ export default {
this.getPermissionsAll(); this.getPermissionsAll();
}, },
methods: { methods: {
getPermissionsAll () { getPermissionsAll() {
let { email } = this.$store.state.userInfo let { email } = this.$store.state.userInfo;
getAll_role_list(email).then(res => { getAll_role_list(email).then((res) => {
this.permissionsAll = res this.permissionsAll = res;
}) });
}, },
// tab切换 // tab切换
handleTabChange() { handleTabChange() {
...@@ -356,15 +356,14 @@ export default { ...@@ -356,15 +356,14 @@ export default {
// 分页 // 分页
handleCurrentChange() {}, handleCurrentChange() {},
// 提现申请审核详情 // 提现申请审核详情
async handleDetail(showMode,id) { async handleDetail(showMode, id) {
try { try {
const res = await getApplyDetail({id}); const res = await getApplyDetail({ id });
const showData = res.info || {}; const showData = res.info || {};
this.dialogData = { ...this.dialogData, showMode, showData }; this.dialogData = { ...this.dialogData, showMode, showData };
this.outerVisible = true; this.outerVisible = true;
} catch (error) { } catch (error) {
ElMessage.error('请求获取信息失败'); ElMessage.error("请求获取信息失败");
} }
}, },
// 二次确认弹框 // 二次确认弹框
...@@ -458,14 +457,13 @@ export default { ...@@ -458,14 +457,13 @@ export default {
// 解冻 // 解冻
async handleFinzingFind(id) { async handleFinzingFind(id) {
try { try {
await getFreezingFund({id}) await getFreezingFund({ id });
ElMessage.success('解冻成功') ElMessage.success("解冻成功");
} catch (error) { } catch (error) {
ElMessage.error('请求解冻失败') ElMessage.error("请求解冻失败");
} }
} },
}, },
}; };
</script> </script>
<style lang="less" src="./index.less" scope></style> <style lang="less" src="./index.less" scope></style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment