Commit a687e17d authored by pengyunqian's avatar pengyunqian

update:接口

parent 5ce0342b
......@@ -263,13 +263,13 @@
<el-button
type="primary"
@click="handleAdoptList('通过')"
v-show="dialogData.showMode === 'audit'"
v-show="dialogData.showMode === 'audit'&& searchProps.withdraw_apply_status === '1'"
>通过</el-button
>
<el-button
type="danger"
@click="handleRefuseList('拒绝')"
v-show="dialogData.showMode === 'audit'"
v-show="dialogData.showMode === 'audit' && searchProps.withdraw_apply_status === '2'"
>拒绝</el-button
>
<el-button @click="outerVisible = false">{{
......@@ -320,12 +320,12 @@ export default {
showMode: "audit", //判断是审核还是查看
},
// 黑名单
blackList: {
user_id: "",
wallet_id: "",
is_freezing: 0,
opt_desc: "",
},
// blackList: {
// user_id: "",
// wallet_id: "",
// is_freezing: 0,
// opt_desc: "",
// },
award: "", //奖励明细
outerVisible: false, //外层弹框
page: 20,
......@@ -389,7 +389,7 @@ export default {
const params = {
user_id,
wallet_id,
is_freezing: 1,
is_freezing: val===,
opt_desc: "",
};
this.handleConfirm("黑名单", params);
......
......@@ -16,8 +16,8 @@ export async function getApplyList () {
return res;
}
// 获取订单审核--通过,拒绝
export async function getWithdrawAudit ({withdraw_apply_id,withdraw_apply_status}) {
const res = await axios.post("/api/v1/get_withdraw_audit",{params: getParams({withdraw_apply_id,withdraw_apply_status})});
export async function getWithdrawAudit ({id,withdraw_apply_status}) {
const res = await axios.post("/api/v1/get_withdraw_audit",{params: getParams({id,withdraw_apply_status})});
return res;
}
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