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

chore: format file

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