Commit 97466415 authored by pengyunqian's avatar pengyunqian

update:接入风控

parent 2c56e5b5
...@@ -374,7 +374,7 @@ import { ...@@ -374,7 +374,7 @@ import {
getFreezingFund, getFreezingFund,
getRolesForUser, getRolesForUser,
getWalletAccountStatus, getWalletAccountStatus,
resetAccountStatus, resetAccountStatus
} from "@/service/Withdrawal/withdrawal"; } from "@/service/Withdrawal/withdrawal";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
import { fetchCurrentUser } from "../../../service/user"; import { fetchCurrentUser } from "../../../service/user";
...@@ -384,7 +384,7 @@ const TABS = { ...@@ -384,7 +384,7 @@ const TABS = {
pending: "0", pending: "0",
passed: "1", passed: "1",
rejected: "2", rejected: "2",
failed: "3", failed: "3"
// riskControl: "10", // riskControl: "10",
}; };
...@@ -416,12 +416,12 @@ export default { ...@@ -416,12 +416,12 @@ export default {
page: 1, page: 1,
count: 0, count: 0,
page_size: 20, //每页条数 page_size: 20, //每页条数
status: TABS.pending, //状态 status: TABS.pending //状态
}, },
// 弹框 // 弹框
dialogData: { dialogData: {
showData: {}, //弹框展示 showData: {}, //弹框展示
showMode: "audit", //判断是审核还是查看 showMode: "audit" //判断是审核还是查看
}, },
// 黑名单 // 黑名单
// blackList: { // blackList: {
...@@ -437,7 +437,7 @@ export default { ...@@ -437,7 +437,7 @@ export default {
TABS, TABS,
id: "", id: "",
status: 0, status: 0,
balance: [], balance: []
}; };
}, },
created() { created() {
...@@ -539,7 +539,7 @@ export default { ...@@ -539,7 +539,7 @@ export default {
.then(() => { .then(() => {
this.$message({ this.$message({
type: "info", type: "info",
message: "已取消操作", message: "已取消操作"
}); });
}) })
.catch(async () => { .catch(async () => {
...@@ -548,13 +548,13 @@ export default { ...@@ -548,13 +548,13 @@ export default {
successCb(); successCb();
this.$message({ this.$message({
type: "success", type: "success",
message: "操作成功", message: "操作成功"
}); });
console.log(res); console.log(res);
} catch (error) { } catch (error) {
this.$message({ this.$message({
type: "error", type: "error",
message: "请求操作失败", message: "请求操作失败"
}); });
} }
}); });
......
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