searchModule.htm 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>查询模块</title>
  6. <script type="text/javascript" src="views/xx/searchModule.js"></script>
  7. <script type="text/javascript">
  8. loadSelect('$!jsonStr', '$!from', '1');
  9. </script>
  10. </head>
  11. <body>
  12. <input type="hidden" id="fbrid" />
  13. <input type="hidden" id='mcin' value="$!mcid" />
  14. <table width="100%" align="center" cellpadding="0" cellspacing="0">
  15. <tr>
  16. <td valign="top" style="background-color:#f7f6f6;">
  17. <table width="99%" align="center" cellpadding="0" cellspacing="0">
  18. <tr>
  19. <td height="3"></td>
  20. </tr>
  21. <tr>
  22. <td height="25" colspan="2">
  23. <select name="mcmc" id="mcmc" style="display:none; width: 140px;"></select>
  24. <input type="text" id='mcmcText' value="-牧场名称-" disabled="disabled" style="display:none; width: 140px;"/>
  25. <span id="rqmc"></span>
  26. <span id="ksrqC" style="display:none;">:从</span>
  27. <input type="text" name="ksrq" id="ksrq" class="Wdate" size="12" style="display:none; width: 80px"
  28. value="$!dateTool.format('yyyy-MM-dd',$!ksrq)"
  29. onfocus="WdatePicker({dateFmt:'yyyy-MM-dd', readOnly:true});" />
  30. <span id="ksrqD" style="display:none;">至</span>
  31. <input type="text" name="jsrq" id="jsrq" class="Wdate" size="12" style="display:none; width: 80px"
  32. value="$!dateTool.format('yyyy-MM-dd',$!jsrq)"
  33. onfocus="WdatePicker({dateFmt:'yyyy-MM-dd', readOnly:true});" />
  34. <span id="sjnrtxt" style="display:none;"></span>
  35. <input type="text" name="sjnr" id="sjnr" value="$!sjnr" size="35" style="display:none;" maxlength="100"/>
  36. <select name="xwlx" id="xwlx" style="display:none; width: 100px;">
  37. <option selected="selected" value="">-新闻类型-</option>
  38. #foreach($!obj in $!xxlxList)
  39. <option value="$!obj.dmid" #if($!xxlx == $!obj.dmid) selected="selected"#end>$!obj.dmmc</option>
  40. #end
  41. </select>
  42. <select name="xxbz" id="xxbz" style="display:none; width: 80px;">
  43. <option selected="selected" value="">-故障级别-</option>
  44. <option value="1">一般</option>
  45. <option value="2">警告</option>
  46. <option value="3">严重</option>
  47. </select>
  48. <select name="clzt" id="clzt" style="display:none; width: 80px;">
  49. <option selected="selected" value="">-处理状态-</option>
  50. <option value="1">未处理</option>
  51. <option value="2">处理中</option>
  52. <option value="3">已处理</option>
  53. </select>
  54. <select name="xxlx" id="xxlx" style="display:none; width: 90px;">
  55. <option selected="selected" value="">-消息来源-</option>
  56. #foreach($!obj in $!xxlxList)
  57. <option value="$!obj.dmid" #if($!xxlx == $!obj.dmid) selected="selected"#end>$!obj.dmmc</option>
  58. #end
  59. </select>
  60. <!-- 推送类型 -->
  61. <select name="tslx" id="tslx" style="display:none; width: 80px;">
  62. <option selected="selected" value="qb">全部</option>
  63. <option value="qf" #if($!tsgjz=='qf')selected="selected"#end>群发</option>
  64. <option value="df" #if($!tsgjz=='df')selected="selected"#end>单发</option>
  65. </select>
  66. <select name="gjz" id="gjz" style="display:none; width: 80px;">
  67. <option selected="selected" value="">-关键字-</option>
  68. <option value="bt" #if($!gjz=='bt')selected="selected"#end>标题</option>
  69. <option value="zz" #if($!gjz=='zz')selected="selected"#end>作者</option>
  70. <option value="fbr" #if($!gjz=='fbr')selected="selected"#end>发布人</option>
  71. </select>
  72. <!-- 推送关键字 -->
  73. <select name="tsgjz" id="tsgjz" style="display:none; width: 80px;">
  74. <option selected="selected" value="">-关键字-</option>
  75. <option value="xxid" #if($!tsgjz=='xxid')selected="selected"#end>消息ID</option>
  76. </select>
  77. <input type="text" name="srz" id="srz" value="$!nr" size="20" style="display:none;"/>
  78. <input type="button" style="cursor: pointer;" id="search" from="$!from" callBackFunName="$!callBackFunName" value=" 搜索 " />
  79. <input type="button" style="cursor: pointer;display:none;" id="refresh" onclick="refreshTsxx()" value=" 更新 " />
  80. #set($display = "")
  81. <div style="float: right; display: $display">
  82. #if(("$!xxtz_xwfb_insert" == "true" && "$!from" == "xwfb") || ("$!xxtz_xtgg_insert" == "true" && "$!from" == "xtgg") || ("$!xxtz_xxtz_insert" == "true" && "$!from" == "xxtz"))
  83. <div class="add">
  84. <ul>
  85. <li><a href="javascript:void(0);" onclick="javascript:preAdd('$!from');">新建</a></li>
  86. </ul>
  87. </div>
  88. #end
  89. #if(("$!xxtz_xwfb_export" == "true" && "$!from" == "xwfb") || ("$!xxtz_xtgg_export" == "true" && "$!from" == "xtgg") || ("$!xxtz_xxtz_export" == "true" && "$!from" == "xxtz"))
  90. <div class="export">
  91. <ul>
  92. <li><a href="javascript:void(0);" onclick="javascript:exportExcel('$!from');">导出</a></li>
  93. </ul>
  94. </div>
  95. #end
  96. </div>
  97. </td>
  98. </tr>
  99. </table>
  100. </td>
  101. </tr>
  102. </table>
  103. </body>
  104. </html>