...
|
...
|
@@ -4,21 +4,86 @@ |
|
|
<meta charset="UTF-8"/>
|
|
|
<title>Yoho!Buy运营平台</title>
|
|
|
<script src="/ufoPlatform/js/include.js"></script>
|
|
|
<style>
|
|
|
.selected{background: #5bc0de; color:#fff; }
|
|
|
</style>
|
|
|
|
|
|
<style type="text/css">
|
|
|
.nav li {float:left; list-style:none;}
|
|
|
.nav li a{float:left;text-decoration:none;padding:0.2em 1.6em;border-right:1px solid white;color:black; font-size:14px;}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body class="easyui-layout">
|
|
|
<div region="north" style="height:410px;">
|
|
|
<input type="hidden" id="buyerOrderCode">
|
|
|
<input type="skup" id="skup">
|
|
|
<div region="north">
|
|
|
<script>
|
|
|
document.write(addHead('订单管理', '黑名单'));
|
|
|
</script>
|
|
|
|
|
|
<div style="padding:20px;">
|
|
|
<label>UID:</label>
|
|
|
<input id="uid" type="text" class="easyui-textbox" style="width:150px"/>
|
|
|
|
|
|
<a id="checkBtn" class="btn-info">查询</a>
|
|
|
<a id="removeBtn" class="btn-info">解除</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<script>
|
|
|
$(function() {
|
|
|
$("#checkBtn").linkbutton({
|
|
|
iconCls : "icon-search",
|
|
|
onClick : function() {
|
|
|
var uid = $("#uid").val();
|
|
|
if(!uid){
|
|
|
$.messager.alert("提示", "请输入查询条件uid", "warning");
|
|
|
return;
|
|
|
}
|
|
|
$.post(contextPath + "/blackUser/check", {
|
|
|
uid : uid
|
|
|
}, function(data) {
|
|
|
window.self.$.messager.alert("提示", data.message, "info");
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$("#removeBtn").linkbutton({
|
|
|
iconCls : "icon-search",
|
|
|
onClick : function() {
|
|
|
var uid = $("#uid").val();
|
|
|
if(!uid){
|
|
|
$.messager.alert("提示", "请输入查询条件uid", "warning");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
$.messager.confirm("提示", "是否确认解除[uid="+uid+"]黑名单?", function(flag) {
|
|
|
if (flag) {
|
|
|
$.post(contextPath + "/blackUser/remove", {
|
|
|
uid : uid
|
|
|
}, function(data) {
|
|
|
window.self.$.messager.alert("提示", data.message, "info");
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
function loadBlackUserData(uid) {
|
|
|
$.messager.confirm("确认解绑", "是否确认解绑[uid="+uid+"]", function(flag) {
|
|
|
if (flag) {
|
|
|
$.post(contextPath + "/tradeBills/unbindingAuthorizeInfoByUid", {
|
|
|
uid : uid
|
|
|
}, function(data) {
|
|
|
if (data.code == 200) {
|
|
|
$("#authorizeInfoListTable").datagrid("load", {
|
|
|
uid : uid
|
|
|
});
|
|
|
window.self.$.messager.show({
|
|
|
title : "提示",
|
|
|
msg : "解绑完成!"
|
|
|
});
|
|
|
}else {
|
|
|
window.self.$.messager.alert("失败", "失败!", "error");
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
</body>
|
...
|
...
|
|