mMessage-update.jsp 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>消息管理主表</title>
  7. <style>
  8. .ui-button {
  9. display: inline-block;
  10. padding: 2px 2px;
  11. margin-bottom: 0;
  12. font-size: 8px;
  13. font-weight: normal;
  14. line-height: 1.42857143;
  15. text-align: center;
  16. white-space: nowrap;
  17. vertical-align: middle;
  18. -ms-touch-action: manipulation;
  19. touch-action: manipulation;
  20. cursor: pointer;
  21. -webkit-user-select: none;
  22. -moz-user-select: none;
  23. -ms-user-select: none;
  24. user-select: none;
  25. background-image: none;
  26. border: 1px solid transparent;
  27. border-radius: 4px;
  28. }
  29. </style>
  30. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  31. <script type="text/javascript">
  32. $(document).ready(function(){
  33. $('#tt').tabs({
  34. onSelect:function(title){
  35. $('#tt .panel-body').css('width','auto');
  36. }
  37. });
  38. $(".tabs-wrap").css('width','100%');
  39. });
  40. </script>
  41. </head>
  42. <body style="overflow-x: hidden;">
  43. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" tiptype="1" action="mMessageController.do?doUpdate" >
  44. <input id="id" name="id" type="hidden" value="${mMessagePage.id }"/>
  45. <table cellpadding="0" cellspacing="1" class="formtable">
  46. <tr>
  47. <td align="right">
  48. <label class="Validform_label">标题:</label>
  49. </td>
  50. <td class="value">
  51. <input id="title" name="title" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${mMessagePage.title}'/>
  52. <span class="Validform_checktip"></span>
  53. <label class="Validform_label" style="display: none;">标题</label>
  54. </td>
  55. <td align="right">
  56. <label class="Validform_label">发送范围:</label>
  57. </td>
  58. <td class="value">
  59. <t:dictSelect field="sendScope" type="radio" typeGroupCode="message_send_scope" defaultVal="${mMessagePage.sendScope}" hasLabel="false" title="发送范围"></t:dictSelect>
  60. <span class="Validform_checktip"></span>
  61. <label class="Validform_label" style="display: none;">发送范围</label>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td align="right">
  66. <label class="Validform_label">发送方式:</label>
  67. </td>
  68. <td class="value">
  69. <t:dictSelect field="sendWay" type="checkbox" typeGroupCode="message_send_way" defaultVal="${mMessagePage.sendWay}" hasLabel="false" title="发送方式"></t:dictSelect>
  70. <span class="Validform_checktip"></span>
  71. <label class="Validform_label" style="display: none;">发送方式</label>
  72. </td>
  73. <td align="right">
  74. <label class="Validform_label">发送时间类型:</label>
  75. </td>
  76. <td class="value">
  77. <t:dictSelect field="sendTimeType" type="radio" datatype="n" typeGroupCode="message_send_time_type" defaultVal="${mMessagePage.sendTimeType}" hasLabel="false" title="发送时间类型"></t:dictSelect>
  78. <span class="Validform_checktip"></span>
  79. <label class="Validform_label" style="display: none;">发送时间类型</label>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td align="right">
  84. <label class="Validform_label">通知类型:</label>
  85. </td>
  86. <td class="value">
  87. <t:dictSelect field="noticeType" type="radio" datatype="*" typeGroupCode="message_notice_type" defaultVal="${mMessagePage.noticeType}" hasLabel="false" title="通知类型"></t:dictSelect>
  88. <span class="Validform_checktip"></span>
  89. <label class="Validform_label" style="display: none;">通知类型</label>
  90. </td>
  91. </tr>
  92. <tr>
  93. <td align="right">
  94. <label class="Validform_label">内容:</label>
  95. </td>
  96. <td class="value" colspan="3">
  97. <script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
  98. <script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
  99. <textarea name="text" id="text" style="width: 650px;height:300px">${mMessagePage.text }</textarea>
  100. <script type="text/javascript">
  101. var text_editor = UE.getEditor('text');
  102. </script>
  103. <span class="Validform_checktip"></span>
  104. <label class="Validform_label" style="display: none;">内容</label>
  105. </td>
  106. </tr>
  107. </table>
  108. <div style="width: auto;height: 200px;">
  109. <%-- 增加一个div,用于调节页面大小,否则默认太小 --%>
  110. <div style="width:800px;height:1px;"></div>
  111. <t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
  112. <t:tab href="mMessageController.do?mMessageSendScopeList&id=${mMessagePage.id}" icon="icon-search" title="范围详情" id="mMessageSendScope"></t:tab>
  113. </t:tabs>
  114. </div>
  115. </t:formvalid>
  116. <!-- 添加 附表明细 模版 -->
  117. <table style="display:none">
  118. <tbody id="add_mMessageSendScope_table_template">
  119. <tr>
  120. <td align="center"><div style="width: 25px;" name="xh"></div></td>
  121. <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
  122. </tr>
  123. </tbody>
  124. </table>
  125. </body>
  126. <script src = "webpage/cn/com/lzt/message/mMessage.js"></script>