sysBulletinEdit.jsp 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html"%>
  3. <%@page import="com.hotent.core.api.util.PropertyUtil"%>
  4. <html>
  5. <head>
  6. <title>编辑 公告</title>
  7. <%@include file="/commons/include/form.jsp"%>
  8. <f:link href="form.css" ></f:link>
  9. <link href="${ctx}/styles/default/css/hotent/dataRights.css" rel="stylesheet" />
  10. <script type="text/javascript" src="${ctx}/js/hotent/CustomValid.js"></script>
  11. <script type="text/javascript" src="${ctx}/js/hotent/platform/form/AttachMent.js" ></script>
  12. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/HtmlUploadDialog.js" ></script>
  13. <script type="text/javascript" charset="utf-8" src="${ctx}/js/ueditor2/lang/zh-cn/zh-cn.js"></script>
  14. <script type="text/javascript" charset="utf-8" src="${ctx}/js/ueditor2/themes/default/css/ueditor.css"></script>
  15. <script type="text/javascript" charset="utf-8" src="${ctx}/js/ueditor2/form-setting/editor_config.js"></script>
  16. <script type="text/javascript" charset="utf-8" src="${ctx}/js/ueditor2/editor_api.js"></script>
  17. <script type="text/javascript" charset="utf-8" src="${ctx}/js/hotent/platform/system/SysDialog.js"></script>
  18. <script type="text/javascript" charset="utf-8" src="${ctx}/weixin/assets/js/handlebars.min.js"></script>
  19. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/SysPlanScript.js"></script>
  20. <script type="text/javascript">
  21. var bulletinUeditor;
  22. $(function() {
  23. $("#publicationType").val("1");
  24. bulletinUeditor = new baidu.editor.ui.Editor({minFrameHeight:300,initialFrameWidth:'100%',lang:'zh_cn'});
  25. bulletinUeditor.render("txtHtml");
  26. var options={};
  27. if(showResponse){
  28. options.success=showResponse;
  29. }
  30. var frm=$('#sysBulletinForm').form();
  31. $("a.save").click(function() {
  32. frm.ajaxForm(options);
  33. if(frm.valid()){
  34. //如果选择了值班表,则将值班表textarea的值赋值给content
  35. if($("#type").val()==2){
  36. $("#zzb").find("input,textarea").each(function(){
  37. var node=$(this);
  38. node.hide();
  39. node.parent().text(node.val());
  40. });
  41. $('#content').val($("#zzb").html());//获取值班表的html
  42. }else{
  43. $('#content').val(bulletinUeditor.getContent());
  44. }
  45. //当人员发布时检验人员
  46. if($("#publicationType").val() == 3){
  47. if($("input[name='participants']").val()==""||$("input[name='participants']").val()==null){
  48. var str = "<label class='error'>必填</label>";
  49. if($("input[name='participants']").parent().find(".error").length >0){
  50. return;
  51. }
  52. $("input[name='participants']").parent().append(str);
  53. return;
  54. }
  55. }
  56. $('#sysBulletinForm').submit();
  57. }
  58. });
  59. AttachMent.init("w");
  60. $("#templateList").change(function(){
  61. var temId = $(this).val();
  62. if(temId=="1"){
  63. return;
  64. }
  65. var temContent = bulletinUeditor.getContent();
  66. var url= __ctx + "/platform/system/sysBulletinTemplate/selector.ht?id="+temId;
  67. $.get(url, function(data) {
  68. var htmldata =data.sysbulletintemplate.template;
  69. var content = temContent+htmldata;
  70. bulletinUeditor.setContent(content);
  71. });
  72. });
  73. $("#sendWxInfo").click(function(){
  74. $("#trUser").toggle();
  75. });
  76. $("input[name='selectUser']").click(function(){
  77. var val=$(this).val();
  78. if(val==0){
  79. $("#usersContainer").hide();
  80. }
  81. else{
  82. $("#usersContainer").show();
  83. }
  84. });
  85. $("#btnSelectImg").click(function(){
  86. HtmlUploadDialog({max:1,callback:function(data){
  87. if(data.length==1){
  88. var fileId=data[0].fileId;
  89. var url=__ctx +"/platform/system/sysFile/file_"+fileId+".ht"
  90. $("#imgUrl").val(fileId);
  91. $("#columnImg").attr("src",url)
  92. }
  93. }});
  94. });
  95. });
  96. function showResponse(responseText) {
  97. var obj = new com.hotent.form.ResultMessage(responseText);
  98. if (obj.isSuccess()) {
  99. $.ligerDialog.confirm(obj.getMessage()+",是否继续操作","提示信息", function(rtn) {
  100. if(rtn){
  101. window.location.href = window.location.href;
  102. }else{
  103. window.location.href = "${returnUrl}";
  104. }
  105. });
  106. } else {
  107. $.ligerDialog.err("提示信息","发布公告出错!",obj.getMessage());
  108. }
  109. }
  110. function reset(obj) {
  111. //清楚字段信息
  112. $("input[name='subject']").val("");
  113. $("#txtHtml").html("");
  114. //公告模板
  115. $("#templateList").val(1);
  116. //重置文件上传
  117. var fileObj = $(".cancel");
  118. AttachMent.delFile(fileObj);
  119. $("#isUrgentNo").attr('checked',true);
  120. $("#type").val(-1);
  121. //发布类型
  122. if($("#publicationType").val()== 2){
  123. $("#receiverOrgName").val("");
  124. $("#receiverOrgId").val("");
  125. $("#organization").hide();
  126. }
  127. if($("#publicationType").val()== 3){
  128. $("#participantIds").val("");
  129. $("#participants").val("");
  130. $("#personnel").hide();
  131. }
  132. $("#publicationType").val('1');
  133. $("#publicationTypeList").val(1);
  134. //重置内容
  135. bulletinUeditor.setContent("");
  136. }
  137. function selectUser(){
  138. UserDialog({callback:function(userIds,fullnames,emails,mobiles,rtn){
  139. var aryAccount=rtn.accounts.split(",");
  140. var aryFullname=rtn.fullnames.split(",");
  141. var aryObj=[];
  142. for(var i=0;i<aryAccount.length;i++){
  143. var obj={};
  144. obj.account=aryAccount[i];
  145. obj.name=aryFullname[i];
  146. aryObj.push(obj);
  147. }
  148. var compiler = Handlebars.compile($('#tpi-list-item').html());
  149. var html=compiler(aryObj);
  150. $("#spanUsers").html(html);
  151. }});
  152. }
  153. function removeUser(obj){
  154. var o=$(obj).parent();
  155. o.remove();
  156. }
  157. function selectRows(sel) {
  158. var organization = document.getElementById("organization");
  159. var personnel = document.getElementById("personnel");
  160. if (organization != null && personnel != null) {
  161. if (sel.value == 2) {
  162. $("#publicationType").val("2");
  163. organization.style.display = "table-row";
  164. personnel.style.display = "none";
  165. }else if(sel.value == 3){
  166. $("#publicationType").val("3");
  167. personnel.style.display = "table-row";
  168. organization.style.display = "none";
  169. }else{
  170. $("#publicationType").val("1");
  171. organization.style.display = "none";
  172. personnel.style.display = "none";
  173. }
  174. }
  175. }
  176. // 弹出组织框
  177. function showOrgDialog(){
  178. OrgDialog({callback:dlgOrgCallBack,ids:$("#receiverOrgId").val(),names:$("#receiverOrgName").val(),isSingle:false});
  179. };
  180. // 组织框返回数据
  181. function dlgOrgCallBack(orgIds, orgNames)
  182. {
  183. $("#receiverOrgName").val(orgNames);
  184. $("#receiverOrgId").val(orgIds);
  185. //$("#receiveType").val(retypes);
  186. }
  187. // 清空所选组织
  188. function reSetOrg(obj)
  189. {
  190. $("#receiverOrgName").val("");
  191. $("#receiverOrgId").val("");
  192. }
  193. function isUrgentClick(str){
  194. $("#isUrgent").val(str);
  195. }
  196. //通知类型改变触发方法
  197. function selectChange(){
  198. var type=$("#type").val();
  199. //如果通知类型选择了选择了值班表
  200. if(type!=2){
  201. $("#ueditorTr").show();
  202. $("#zzbTr").hide();
  203. }else{
  204. $("#ueditorTr").hide();
  205. $("#zzbTr").show();
  206. }
  207. }
  208. </script>
  209. <script type="text/x-handlebars-template" id="tpi-list-item">
  210. {{#each this}}
  211. <span class="owner-span" >{{name}}
  212. <a class="flootbutton" title="移除该项" onclick="removeUser(this)">x</a>
  213. <input type="hidden" name="account" value="{{account}}"/>
  214. </span>
  215. {{/each}}
  216. </script>
  217. </head>
  218. <body>
  219. <div class="panel">
  220. <c:if test="${!isAddByFlow}">
  221. <div class="panel-top">
  222. <div class="panel-toolbar">
  223. <div class="toolBar">
  224. <div class="group"><a class="link save" id="dataFormSave" href="javascript:;"><span></span>保存</a></div>
  225. <div class="l-bar-separator"></div>
  226. <div class="group"><a class="link back" href="list.ht"><span></span>返回</a>
  227. <div class="l-bar-separator"></div>
  228. <div class="group"><a class="link undo" onclick="reset(this)"><span></span>重置</a></div>
  229. <div class="l-bar-separator"></div>
  230. </div>
  231. </div>
  232. </div>
  233. </div>
  234. </c:if>
  235. <div class="panel-body">
  236. <c:if test="${!isAddByFlow}">
  237. <form id="sysBulletinForm" method="post" action="save.ht">
  238. </c:if>
  239. <table class="table-detail" cellpadding="0" cellspacing="0" border="0">
  240. <tbody>
  241. <tr>
  242. <th width="20%">主题:<span class="required red">*</span></th>
  243. <td>
  244. <input type="text" name="subject" value="${sysBulletin.subject}" validate="{required:true,maxlength:128}" class="inputText" style="width: 50%;" />
  245. </td>
  246. </tr>
  247. <tr>
  248. <th width="15%">所属栏目: </th>
  249. <td>
  250. <select name="columnid" id="columnid" class="inputText" style="width: 250px;">
  251. <c:forEach items="${columnList}" var="columnList">
  252. <option value="${columnList.id}" <c:if test="${sysBulletin.columnid==columnList.id}">selected="selected"</c:if> >${columnList.name}</option>
  253. </c:forEach>
  254. </select>
  255. </td>
  256. </tr>
  257. <tr style="display:none">
  258. <th width="20%">标题图:</th>
  259. <td>
  260. <input type="hidden" id="imgUrl" name="imgUrl" value="${sysBulletin.imgUrl}">
  261. <c:choose>
  262. <c:when test="${empty sysBulletin.imgUrl}">
  263. <img id="columnImg" alt="" src="">
  264. </c:when>
  265. <c:otherwise>
  266. <img id="columnImg" alt="" src="${ctx }/platform/system/sysFile/file_${sysBulletin.imgUrl}.ht">
  267. </c:otherwise>
  268. </c:choose>
  269. <input id="btnSelectImg" type="button" value="选择">
  270. </td>
  271. </tr>
  272. <tr>
  273. <th width="15%">附件: </th>
  274. <td>
  275. <div name="div_attachment_container">
  276. <div class="attachement"></div>
  277. <textarea style="display: none" controltype="attachment"
  278. id="attachment" name="attachment" lablename="主表附件" validate="{}">${sysBulletin.attachment}</textarea>
  279. <a href="javascript:;" field="attachment" class="link selectFile"
  280. atype="select" onclick="AttachMent.addFile(this);">选择</a>
  281. </div>
  282. </td>
  283. </tr>
  284. <tr>
  285. <th width="15%">公告模板: </th>
  286. <td>
  287. <select name="templateList" id="templateList" class="inputText" style="width: 250px;">
  288. <option value="1" selected="selected">---请选择---</option>
  289. <c:forEach items="${templateList}" var="templateList">
  290. <option value="${templateList.id}" >${templateList.name}</option>
  291. </c:forEach>
  292. </select>
  293. </td>
  294. </tr>
  295. <tr>
  296. <th width="15%">是否紧急: </th>
  297. <td>
  298. <input type="hidden" id="isUrgent" name="isUrgent"/>
  299. <input type="radio" id="isUrgentYes" name="isUrgent" value="1" title="是" onclick="isUrgentClick(1)">是
  300. <input type="radio" id="isUrgentNo" name="isUrgent" value="2" title="否" checked="checked" onclick="isUrgentClick(2)">否
  301. </td>
  302. </tr>
  303. <tr>
  304. <th width="15%">通知类型: </th>
  305. <td>
  306. <c:choose>
  307. <c:when test="${empty dicList}">
  308. 请在数据字典定义一个nodeKey为gglx的分类
  309. </c:when>
  310. <c:otherwise>
  311. <select id="type" name="type" class="inputText" onchange="selectChange()">
  312. <option value="-1">--请选择--</option>
  313. <c:forEach items="${dicList }" var="dic">
  314. <c:if test="${dic.itemValue != '0'}">
  315. <option value="${dic.itemValue }" <c:if test="${dic.itemValue eq sysBulletin.type}">selected="selected"</c:if>>${dic.itemName }</option>
  316. </c:if>
  317. </c:forEach>
  318. </select>
  319. </c:otherwise>
  320. </c:choose>
  321. </td>
  322. </tr>
  323. <tr>
  324. <th width="15%">发布类型: </th>
  325. <td>
  326. <input type="hidden" id="publicationType" name="publicationType"/>
  327. <select name="publicationTypeList" id="publicationTypeList" class="inputText" style="width: 250px;" onchange="selectRows(this)">
  328. <option value="1" selected="selected">广泛发布</option>
  329. <option value="2">组织发布</option>
  330. <option value="3">人员发布</option>
  331. </select>
  332. </td>
  333. </tr>
  334. <tr id="organization" style="display:none;">
  335. <th width="15%">组织发布: </th>
  336. <td>
  337. <input id="receiverOrgName" name="receiverOrgName"
  338. size="80" readonly="readonly" validate="{required:true}"
  339. value="${messageSend.receiverOrgName}" /> <a href="javascript:;"
  340. onclick="showOrgDialog()" class="link get">选择</a> <a
  341. href="javascript:;" onclick="reSetOrg()" class="link clean">清空</a>
  342. <input type="hidden" id="receiverOrgId" name="receiverOrgId"
  343. value="" class="inputText" />
  344. </td>
  345. </tr>
  346. <tr id="personnel" style="display: none;">
  347. <th style="width: 15%;">人员发布:</th>
  348. <td>
  349. <input type="hidden" name="participantIds" value="${participantIds}" />
  350. <input type="hidden" name="participants" value="${participants}" />
  351. <div id='participantDiv'></div>
  352. <a class="link add" onclick="chooseUser(this,'participantDiv','participantIds','participants','no');" ><span></span>选择</a>
  353. <a class="link reset" onclick="resetSelect('participantDiv','participantIds','participants');" ><span></span>重置</a>
  354. </td>
  355. </tr>
  356. <tr id="ueditorTr">
  357. <td align="right" nowrap="nowarp" style="width: 20%;"
  358. class="formTitle">内容</td>
  359. <td class="formInput">
  360. <div id="editor" position="center"
  361. style="overflow: hidden; height: 100%;">
  362. <textarea id="txtHtml" name="html">${sysBulletin.content}</textarea>
  363. <textarea id="content" name="content" style="display:none;"></textarea>
  364. </div>
  365. </td>
  366. </tr>
  367. <tr id="zzbTr" style="display: none;">
  368. <td align="right" nowrap="nowarp" colspan="2" style="width: 20%;"
  369. class="formTitle">
  370. <div id="zzb" position="center"
  371. style="overflow: hidden; height: 100%;">
  372. <p style="font-size:36px;text-align:center;margin:30px 0px;">
  373. 四平市人民政府
  374. </p>
  375. <p style="font-size:36px;text-align:center;margin:30px 0px;">
  376. <input style="font-size:36px;text-align:center;margin:28px 0px;height:36px;width:200px;" placeholder="请输入表名"/>
  377. </p>
  378. <table style="border:1px solid #111;width:900px;margin:15px auto;font-family:宋体, simsun;border-collapse:collapse;margin-top:40px;" cellpadding="0" cellspacing="0">
  379. <tbody>
  380. <tr>
  381. <td rowspan="2" style="border:1px solid #111;font-size:20px;text-align:center;font-weight:900;" height="40" width="130">
  382. 时间
  383. </td>
  384. <td colspan="2" style="border:1px solid #111;font-size:20px;text-align:center;font-weight:900;" height="40">
  385. 白天
  386. </td>
  387. <td colspan="2" style="border:1px solid #111;font-size:20px;text-align:center;font-weight:900;" height="40">
  388. 晚上
  389. </td>
  390. <td colspan="2" style="border:1px solid #111;font-size:20px;text-align:center;font-weight:900;" height="40">
  391. 带班领导及联系方式
  392. </td>
  393. </tr>
  394. <tr>
  395. <td colspan="1" style="border:1px solid #111;width:145px;text-align:center;" height="40" width="80">
  396. 值班员
  397. </td>
  398. <td colspan="1" style="border:1px solid #111;text-align:center;" height="40" width="120">
  399. 值班电话
  400. </td>
  401. <td colspan="1" style="border:1px solid #111;text-align:center;" height="40" width="80">
  402. 值班员
  403. </td>
  404. <td colspan="1" style="border:1px solid #111;text-align:center;" height="40" width="120">
  405. 值班电话
  406. </td>
  407. <td colspan="1" style="border:1px solid #111;text-align:center;" height="40" width="80">
  408. 姓名
  409. </td>
  410. <td colspan="1" style="border:1px solid #111;text-align:center;" height="40" width="120">
  411. 联系电话
  412. </td>
  413. </tr>
  414. <tr>
  415. <td height="30" style="text-align:center;border:1px solid #111;">
  416. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  417. </td>
  418. <td height="30" style="border:1px solid #111;">
  419. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  420. <tbody>
  421. <tr>
  422. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  423. 上午
  424. </td>
  425. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  426. <input style="width: 100px;" type="text"/>
  427. </td>
  428. </tr>
  429. <tr>
  430. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  431. 下午
  432. </td>
  433. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  434. <input style="width: 100px;" type="text"/>
  435. </td>
  436. </tr>
  437. </tbody>
  438. </table>
  439. </td>
  440. <td height="30" style="border:1px solid #111;">
  441. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  442. <tbody>
  443. <tr>
  444. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  445. <input style="width: 100px;" type="text"/>
  446. </td>
  447. </tr>
  448. <tr>
  449. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  450. <input style="width: 100px;" type="text"/>
  451. </td>
  452. </tr>
  453. </tbody>
  454. </table>
  455. </td>
  456. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  457. <input style="width: 100px;" type="text"/>
  458. </td>
  459. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  460. <input style="width: 100px;" type="text"/>
  461. </td>
  462. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  463. <input style="width: 100px;" type="text"/>
  464. </td>
  465. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  466. <input style="width: 100px;" type="text"/>
  467. </td>
  468. </tr>
  469. <tr>
  470. <td height="30" style="text-align:center;border:1px solid #111;">
  471. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  472. </td>
  473. <td height="30" style="border:1px solid #111;">
  474. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  475. <tbody>
  476. <tr>
  477. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  478. 上午
  479. </td>
  480. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  481. <input style="width: 100px;" type="text"/>
  482. </td>
  483. </tr>
  484. <tr>
  485. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  486. 下午
  487. </td>
  488. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  489. <input style="width: 100px;" type="text"/>
  490. </td>
  491. </tr>
  492. </tbody>
  493. </table>
  494. </td>
  495. <td height="30" style="border:1px solid #111;">
  496. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  497. <tbody>
  498. <tr>
  499. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  500. <input style="width: 100px;" type="text"/>
  501. </td>
  502. </tr>
  503. <tr>
  504. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  505. <input style="width: 100px;" type="text"/>
  506. </td>
  507. </tr>
  508. </tbody>
  509. </table>
  510. </td>
  511. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  512. <input style="width: 100px;" type="text"/>
  513. </td>
  514. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  515. <input style="width: 100px;" type="text"/>
  516. </td>
  517. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  518. <input style="width: 100px;" type="text"/>
  519. </td>
  520. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  521. <input style="width: 100px;" type="text"/>
  522. </td>
  523. </tr>
  524. <tr>
  525. <td height="30" style="text-align:center;border:1px solid #111;">
  526. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  527. </td>
  528. <td height="30" style="border:1px solid #111;">
  529. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  530. <tbody>
  531. <tr>
  532. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  533. 上午
  534. </td>
  535. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  536. <input style="width: 100px;" type="text"/>
  537. </td>
  538. </tr>
  539. <tr>
  540. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  541. 下午
  542. </td>
  543. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  544. <input style="width: 100px;" type="text"/>
  545. </td>
  546. </tr>
  547. </tbody>
  548. </table>
  549. </td>
  550. <td height="30" style="border:1px solid #111;">
  551. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  552. <tbody>
  553. <tr>
  554. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  555. <input style="width: 100px;" type="text"/>
  556. </td>
  557. </tr>
  558. <tr>
  559. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  560. <input style="width: 100px;" type="text"/>
  561. </td>
  562. </tr>
  563. </tbody>
  564. </table>
  565. </td>
  566. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  567. <input style="width: 100px;" type="text"/>
  568. </td>
  569. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  570. <input style="width: 100px;" type="text"/>
  571. </td>
  572. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  573. <input style="width: 100px;" type="text"/>
  574. </td>
  575. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  576. <input style="width: 100px;" type="text"/>
  577. </td>
  578. </tr>
  579. <tr>
  580. <td height="30" style="text-align:center;border:1px solid #111;">
  581. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  582. </td>
  583. <td height="30" style="border:1px solid #111;">
  584. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  585. <tbody>
  586. <tr>
  587. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  588. 上午
  589. </td>
  590. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  591. <input style="width: 100px;" type="text"/>
  592. </td>
  593. </tr>
  594. <tr>
  595. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  596. 下午
  597. </td>
  598. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  599. <input style="width: 100px;" type="text"/>
  600. </td>
  601. </tr>
  602. </tbody>
  603. </table>
  604. </td>
  605. <td height="30" style="border:1px solid #111;">
  606. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  607. <tbody>
  608. <tr>
  609. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  610. <input style="width: 100px;" type="text"/>
  611. </td>
  612. </tr>
  613. <tr>
  614. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  615. <input style="width: 100px;" type="text"/>
  616. </td>
  617. </tr>
  618. </tbody>
  619. </table>
  620. </td>
  621. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  622. <input style="width: 100px;" type="text"/>
  623. </td>
  624. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  625. <input style="width: 100px;" type="text"/>
  626. </td>
  627. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  628. <input style="width: 100px;" type="text"/>
  629. </td>
  630. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  631. <input style="width: 100px;" type="text"/>
  632. </td>
  633. </tr>
  634. <tr>
  635. <td height="30" style="text-align:center;border:1px solid #111;">
  636. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  637. </td>
  638. <td height="30" style="border:1px solid #111;">
  639. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  640. <tbody>
  641. <tr>
  642. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  643. 上午
  644. </td>
  645. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  646. <input style="width: 100px;" type="text"/>
  647. </td>
  648. </tr>
  649. <tr>
  650. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  651. 下午
  652. </td>
  653. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  654. <input style="width: 100px;" type="text"/>
  655. </td>
  656. </tr>
  657. </tbody>
  658. </table>
  659. </td>
  660. <td height="30" style="border:1px solid #111;">
  661. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  662. <tbody>
  663. <tr>
  664. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  665. <input style="width: 100px;" type="text"/>
  666. </td>
  667. </tr>
  668. <tr>
  669. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  670. <input style="width: 100px;" type="text"/>
  671. </td>
  672. </tr>
  673. </tbody>
  674. </table>
  675. </td>
  676. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  677. <input style="width: 100px;" type="text"/>
  678. </td>
  679. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  680. <input style="width: 100px;" type="text"/>
  681. </td>
  682. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  683. <input style="width: 100px;" type="text"/>
  684. </td>
  685. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  686. <input style="width: 100px;" type="text"/>
  687. </td>
  688. </tr>
  689. <tr>
  690. <td height="30" style="text-align:center;border:1px solid #111;">
  691. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  692. </td>
  693. <td height="30" style="border:1px solid #111;">
  694. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  695. <tbody>
  696. <tr>
  697. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  698. 上午
  699. </td>
  700. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  701. <input style="width: 100px;" type="text"/>
  702. </td>
  703. </tr>
  704. <tr>
  705. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  706. 下午
  707. </td>
  708. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  709. <input style="width: 100px;" type="text"/>
  710. </td>
  711. </tr>
  712. </tbody>
  713. </table>
  714. </td>
  715. <td height="30" style="border:1px solid #111;">
  716. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  717. <tbody>
  718. <tr>
  719. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  720. <input style="width: 100px;" type="text"/>
  721. </td>
  722. </tr>
  723. <tr>
  724. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  725. <input style="width: 100px;" type="text"/>
  726. </td>
  727. </tr>
  728. </tbody>
  729. </table>
  730. </td>
  731. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  732. <input style="width: 100px;" type="text"/>
  733. </td>
  734. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  735. <input style="width: 100px;" type="text"/>
  736. </td>
  737. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  738. <input style="width: 100px;" type="text"/>
  739. </td>
  740. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  741. <input style="width: 100px;" type="text"/>
  742. </td>
  743. </tr>
  744. <tr>
  745. <td height="30" style="text-align:center;border:1px solid #111;">
  746. <textarea style="width: 100px;resize: none;text-align:center;"></textarea>
  747. </td>
  748. <td height="30" style="border:1px solid #111;">
  749. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  750. <tbody>
  751. <tr>
  752. <td colspan="1" height="30" rowspan="1" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  753. 上午
  754. </td>
  755. <td colspan="1" rowspan="1" height="30" style="text-align:center;border:1px solid #111;" width="124">
  756. <input style="width: 100px;" type="text"/>
  757. </td>
  758. </tr>
  759. <tr>
  760. <td colspan="1" rowspan="1" height="30" style="border:1px solid #111;padding:4px 5px;text-align:center;">
  761. 下午
  762. </td>
  763. <td colspan="1" rowspan="1" width="120" height="30" style="text-align:center;border:1px solid #111;">
  764. <input style="width: 100px;" type="text"/>
  765. </td>
  766. </tr>
  767. </tbody>
  768. </table>
  769. </td>
  770. <td height="30" style="border:1px solid #111;">
  771. <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-width:0px;border-style:hidden;" border="0" height="30">
  772. <tbody>
  773. <tr>
  774. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  775. <input style="width: 100px;" type="text"/>
  776. </td>
  777. </tr>
  778. <tr>
  779. <td colspan="1" height="30" rowspan="1" width="145" style="text-align:center;border:1px solid #111;">
  780. <input style="width: 100px;" type="text"/>
  781. </td>
  782. </tr>
  783. </tbody>
  784. </table>
  785. </td>
  786. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  787. <input style="width: 100px;" type="text"/>
  788. </td>
  789. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  790. <input style="width: 100px;" type="text"/>
  791. </td>
  792. <td height="30" width="80" style="text-align:center;border:1px solid #111;">
  793. <input style="width: 100px;" type="text"/>
  794. </td>
  795. <td height="30" width="120" style="text-align:center;border:1px solid #111;">
  796. <input style="width: 100px;" type="text"/>
  797. </td>
  798. </tr>
  799. </tbody>
  800. </table>
  801. <div style="width:800px;margin:15px auto;text-align:left;">
  802. <p>
  803. <span style="font-family:宋体, simsun;font-size:18px;">值班要求:</span>
  804. </p>
  805. <p>
  806. <span style="font-family:宋体, simsun;font-size:18px;">1、值班期间,带班领导要在岗带班,值班人员要严守值班工作纪律,坚决杜绝撤离职守现象。</span>
  807. </p>
  808. <p>
  809. <span style="font-family:宋体, simsun;font-size:18px;">2、ta每位值班人员要求确保通讯工具畅通,认真填写值班登记表。</span>
  810. </p>
  811. <p>
  812. <span style="font-family:宋体, simsun;font-size:18px;">3、遇有紧急、重要事项,要立即向带班领导请示报告,重大事项要求立即向总值(徐学智 18643957666,市政府总值班室电话3246119,传真325119)请示报告,不得迟报、瞒报、漏报,确保及时妥善处置</span>。
  813. </p>
  814. </div>
  815. </div>
  816. </td>
  817. </tr>
  818. <c:if test="${isSupportWeixin}">
  819. <tr>
  820. <td align="right" nowrap="nowarp" style="width: 20%;"
  821. class="formTitle">发送微信通知</td>
  822. <td class="formInput">
  823. <input type="checkbox" value="1" name="sendWxInfo" id="sendWxInfo">
  824. </td>
  825. </tr>
  826. <c:if test="${canSelect}">
  827. <tr id="trUser" style="display: none;">
  828. <td align="right" nowrap="nowarp" style="width: 20%;"
  829. class="formTitle">选择人员</td>
  830. <td class="formInput">
  831. <input type="radio" name="selectUser" value="0" id="selectUserAll" checked="checked" >
  832. <label for="selectUserAll" >所有人</label>
  833. <input type="radio" name="selectUser" value="1" id="selectUserSelect">
  834. <label for="selectUserSelect" >选择人员</label>
  835. <span id="usersContainer" style="display: none;">
  836. <span id="spanUsers" class="ht-input" style="width: initial;max-width: 260px;"></span>
  837. <a href="javascript:;" onclick="selectUser()" >选择</a>
  838. </span>
  839. </td>
  840. </tr>
  841. </c:if>
  842. </c:if>
  843. </tbody>
  844. </table>
  845. <input type="hidden" name="id" value="${sysBulletin.id}"/>
  846. <c:if test="${!isAddByFlow}">
  847. </form>
  848. </c:if>
  849. </div>
  850. </body>
  851. </html>