记得上下班打卡 | git大法好,push需谨慎

Commit 76802106 authored by 张国柄's avatar 张国柄

页面调整;

parent e75e71e5
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<a class="btn btn-danger" href="#" onclick="closeItem()"> <a class="btn btn-danger" href="#" onclick="closeItem()">
<i class="fa fa-reply-all"></i>&nbsp;&nbsp;&nbsp; <i class="fa fa-reply-all"></i>&nbsp;&nbsp;&nbsp;
</a> </a>
<a class="btn btn-primary" style="margin-left: 15px;" href="#member-refund-form" data-toggle="modal" shiro:hasPermission="adam:order:orderlist:refund" th:if="${orderDetailsVo.adamMemberOrderVo.state == 1 && orderDetailsVo.adamUserMemberVo.state == 1}"> <a class="btn btn-primary" style="margin-left: 15px;" href="#member-refund-form" data-toggle="modal" shiro:hasPermission="adam:order:orderlist:refund">
申请退款 申请退款
</a> </a>
</div> </div>
...@@ -231,17 +231,14 @@ ...@@ -231,17 +231,14 @@
} }
function memberOrderRefundCallback(result) { function memberOrderRefundCallback(result) {
console.log(1)
if (typeof callback == "function") { if (typeof callback == "function") {
callback(result); callback(result);
} }
}
if (result.code == web_status.SUCCESS) { if (result.code == web_status.SUCCESS) {
$.modal.alertSuccess(result.msg) $.modal.alertSuccess(result.msg);
setTimeout("refreshTab()", 1500);
} else if (result.code == web_status.WARNING) { } else if (result.code == web_status.WARNING) {
console.log(2) $.modal.alertWarning(result.msg);
// $.modal.alertWarning(result.msg)
$.modal.alertSuccess(result.msg)
} else { } else {
$.modal.alertError(result.msg); $.modal.alertError(result.msg);
} }
......
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