增加:运营中心 - 角色账单缴费 - 退款申请增加退款原因

This commit is contained in:
wuhui_zzw 2024-07-11 15:48:59 +08:00
parent 899ed893b2
commit 9d2faef403
2 changed files with 12 additions and 4 deletions

View File

@ -179,13 +179,19 @@ export default {
let _this = this; let _this = this;
let options = { let options = {
title: '提示',// title: '提示',//
content: '该操作不可逆,请确认是否申请退款!',// confirmText: '提交',//
confirmText: '申请',//
showCancel: true, // showCancel: true, //
cancelText: '取消', // cancelText: '取消', //
editable: true,//
placeholderText: '请输入申请原因',//
} }
_this.$util.tips(options, function () { _this.$util.tips(options, function (result) {
agentPayRecordApplyRefund({ id: item.id }).then(res=>{ let inputValue = result.content || '';
let params = {
id: item.id,
reason: inputValue
};
agentPayRecordApplyRefund(params).then(res=>{
if(Number(res.status) === 200){ if(Number(res.status) === 200){
_this.getInfo(); _this.getInfo();
}else{ }else{

View File

@ -132,6 +132,8 @@ export default {
cancelText: '取消', // 取消按钮文字 cancelText: '取消', // 取消按钮文字
success(res) { success(res) {
if (res.confirm) { if (res.confirm) {
if(confirmData) confirmData.res = res;
else confirmData = res;
// console.log('点击确认按钮') // console.log('点击确认按钮')
if(typeof confirmFun === "function") confirmFun(confirmData); if(typeof confirmFun === "function") confirmFun(confirmData);
} else { } else {