|
|
@ -12,7 +12,7 @@ |
|
|
|
<title>微信公众号管理后台-消息</title> |
|
|
|
<title>微信公众号管理后台-消息</title> |
|
|
|
<link rel="stylesheet" type="text/css" href="${ctx}/resources/code/easyui/themes/default/easyui.css" /> |
|
|
|
<link rel="stylesheet" type="text/css" href="${ctx}/resources/code/easyui/themes/default/easyui.css" /> |
|
|
|
<link rel="stylesheet" type="text/css" href="${ctx}/resources/code/easyui/themes/icon.css" /> |
|
|
|
<link rel="stylesheet" type="text/css" href="${ctx}/resources/code/easyui/themes/icon.css" /> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/code/js/jquery-3.1.1.min.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/code/js/jquery-1.4.4.min.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/code/easyui/jquery.easyui.min.1.2.2.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/code/easyui/jquery.easyui.min.1.2.2.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/plugins/layer/layer.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/plugins/layer/layer.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/code/js/ajaxfileupload.js"></script> |
|
|
|
<script type="text/javascript" src="${ctx}/resources/code/js/ajaxfileupload.js"></script> |
|
|
@ -109,10 +109,12 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function del(id) { |
|
|
|
function del(id) { |
|
|
|
var url = 'delete'; |
|
|
|
$.messager.confirm('消息提醒','确定是否删除该项数据?',function (result) { |
|
|
|
var obj = new Object(); |
|
|
|
var url = 'delete'; |
|
|
|
obj.id = id; |
|
|
|
var obj = new Object(); |
|
|
|
get(url,obj); |
|
|
|
obj.id = id; |
|
|
|
|
|
|
|
get(url,obj); |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function get(url,obj) { |
|
|
|
function get(url,obj) { |
|
|
@ -138,15 +140,15 @@ |
|
|
|
type:"post", |
|
|
|
type:"post", |
|
|
|
fileElementId:"file", |
|
|
|
fileElementId:"file", |
|
|
|
data:obj, |
|
|
|
data:obj, |
|
|
|
success: function(result){ |
|
|
|
success:function(result){ |
|
|
|
|
|
|
|
|
|
|
|
console.log(result); |
|
|
|
console.log(result); |
|
|
|
if(result.success==true){ |
|
|
|
if(result.success==true){ |
|
|
|
$.messager.alert('提醒','提交成功','warning'); |
|
|
|
$.messager.alert('提醒','提交成功','warning'); |
|
|
|
$("#editDate").dialog('close'); |
|
|
|
$("#editDate").dialog('close'); |
|
|
|
$('#dataList').datagrid('reload',{}); |
|
|
|
$('#dataList').datagrid('reload',{}); |
|
|
|
} |
|
|
|
} |
|
|
|
}}); |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|