From 378ee0f70e1eafdd7165aa1c6ec9f05a8071c1a8 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期四, 26 十月 2023 11:07:15 +0800 Subject: [PATCH] 10.26.3 --- cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js index 685ba76..a3ed6b0 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js @@ -208,6 +208,47 @@ } }; + +TStudent.openTStudentDetail6 = function () { + if (this.check()) { + + if (TStudent.seItem.status!=0){ + Feng.error("请选择待支付的数据") + return + } + + + parent.layer.confirm("是否手动支付" , { + btn: ['确定', '取消'] + }, function (index) { + let ajax = new $ax(Feng.ctxPath + "/ball/confirm/"+TStudent.seItem.id, function (data) { + Feng.success("手动支付" + "成功!"); + TStudent.table.refresh(); + }, function (data) { + Feng.error(state == 1 ? '手动支付' : "下架" + "失败!" + data.responseJSON.message + "!"); + }); + ajax.start(); + parent.layer.close(index); + + }, function (index) { + parent.layer.close(index); + } + + + ) + // var index = layer.open({ + // type: 2, + // title: '', + // area: ['30%', '40%'], //宽高 + // fix: false, //不固定 + // maxmin: true, + // content: Feng.ctxPath + '/ball/tocancel/' + TStudent.seItem.id + // }); + // + // this.layerIndex = index; + } +}; + TStudent.openTStudentDetail2 = function () { if (this.check()) { var index = layer.open({ -- Gitblit v1.7.1