Showing
2 changed files
with
21 additions
and
2 deletions
@@ -252,8 +252,8 @@ | @@ -252,8 +252,8 @@ | ||
252 | handler: function () { | 252 | handler: function () { |
253 | var content = $("#content").val(); | 253 | var content = $("#content").val(); |
254 | $.post(contextPath + "/channel/sendMessage", {groupId: id,content:content}, function (data) { | 254 | $.post(contextPath + "/channel/sendMessage", {groupId: id,content:content}, function (data) { |
255 | - // $.messager.progress("close"); | ||
256 | - data = JSON.parse(data); | 255 | + $.messager.progress("close"); |
256 | +// data = JSON.parse(data); | ||
257 | if (data.code == 200) { | 257 | if (data.code == 200) { |
258 | $(div).dialog("close"); | 258 | $(div).dialog("close"); |
259 | $("#channelGroupTalbe").myDatagrid("reload"); | 259 | $("#channelGroupTalbe").myDatagrid("reload"); |
1 | +<!DOCTYPE html> | ||
2 | +<form id="sendMessageForm" method="post" name="sendMessageForm" style="margin-top: 30px" enctype="multipart/form-data"> | ||
3 | + <input type="hidden" id="groupId" name="groupId" > | ||
4 | + | ||
5 | + <table border="0" align="center" style="line-height: 30px;width:95%;"> | ||
6 | + <tr> | ||
7 | + <td width="20%" align="left"><span class="requriedInput">*</span>短信内容:</td> | ||
8 | + <td width="80%"> | ||
9 | + <textarea name="content" id="content" rows="12" cols="45" class="textarea" ></textarea> | ||
10 | + </td> | ||
11 | + </tr> | ||
12 | + </table> | ||
13 | +</form> | ||
14 | + | ||
15 | +<script> | ||
16 | + $(function(){ | ||
17 | + $("#groupId").val(window.paramObject.id); | ||
18 | + }); | ||
19 | +</script> |
-
Please register or login to post a comment