增加:运营中心 - 角色账单缴费 - 退款申请增加退款原因
This commit is contained in:
parent
899ed893b2
commit
9d2faef403
|
|
@ -179,13 +179,19 @@ export default {
|
|||
let _this = this;
|
||||
let options = {
|
||||
title: '提示',// 弹框标题
|
||||
content: '该操作不可逆,请确认是否申请退款!',// 提示
|
||||
confirmText: '申请',// 确认按钮文字
|
||||
confirmText: '提交',// 确认按钮文字
|
||||
showCancel: true, // 是否显示取消按钮
|
||||
cancelText: '取消', // 取消按钮文字
|
||||
editable: true,//是否显示输入框
|
||||
placeholderText: '请输入申请原因',//输入框提示内容
|
||||
}
|
||||
_this.$util.tips(options, function () {
|
||||
agentPayRecordApplyRefund({ id: item.id }).then(res=>{
|
||||
_this.$util.tips(options, function (result) {
|
||||
let inputValue = result.content || '';
|
||||
let params = {
|
||||
id: item.id,
|
||||
reason: inputValue
|
||||
};
|
||||
agentPayRecordApplyRefund(params).then(res=>{
|
||||
if(Number(res.status) === 200){
|
||||
_this.getInfo();
|
||||
}else{
|
||||
|
|
|
|||
|
|
@ -132,6 +132,8 @@ export default {
|
|||
cancelText: '取消', // 取消按钮文字
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
if(confirmData) confirmData.res = res;
|
||||
else confirmData = res;
|
||||
// console.log('点击确认按钮')
|
||||
if(typeof confirmFun === "function") confirmFun(confirmData);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue