program_schedule_list.jsp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ include file="../common/common.jsp"%>
  3. <title>节目编排</title>
  4. </head>
  5. <link rel="stylesheet" type="text/css" href="${staticPath}webupload/progress.css">
  6. <body onkeydown="keyLogin()">
  7. <%@ include file="../common/head.jsp"%>
  8. <div class="screen main">
  9. <%@ include file="../common/left.jsp" %>
  10. <div class="main-content">
  11. <div class="btn-radius">节目编排</div>
  12. <form name="dataForm" action="#" method="post">
  13. <div class="search-group">
  14. <div class="search-item">电视台名称&nbsp;&nbsp;<input type="text" id="platformName" name="platformName" class="text {text:'请输入关键字'}" size="12" /></div>
  15. <div class="search-item">
  16. 类型
  17. <div class="select {width:120}">
  18. <select id="type" name="type">
  19. <option value="">全部</option>
  20. <option value="1">剧编及备播</option>
  21. <option value="2">剧排进程</option>
  22. <option value="3">节目编排</option>
  23. </select>
  24. </div>
  25. </div>
  26. <div class="search-item">
  27. <a href="javascript:void(0);" id="programScheduleSearch" onclick="getList(1)" class="btn-radius">搜 索</a>
  28. </div>
  29. </div>
  30. </form>
  31. <div class="rFloat buttons">
  32. <c:if test="${funcMap['program_schedule_add'] eq 1}">
  33. <a href="javascript:platformModfiy('add','节目编排信息');" class="btn">+新增</a>
  34. </c:if>
  35. <a href="${staticPath}excel/节目编排模板.xlsx" class="btn">下载模板</a>
  36. <c:if test="${funcMap['program_schedule_import_excel'] eq 1}">
  37. <span class="btn upfile">
  38. <form id="fileForm" action="import_excel_for_program_schedule.do" method="post" enctype="multipart/form-data" target="hframe">
  39. <span class="webuploader-pick">导入表</span>
  40. <input type="file" name="excelfile" id="excelfile" onchange="importExcel()"; />
  41. <input type="hidden" id="isSure" name="isSure" />
  42. </form>
  43. </span>
  44. </c:if>
  45. <c:if test="${funcMap['program_schedule_import_pic'] eq 1}">
  46. <div id="picker" class="btn"></div>
  47. </c:if>
  48. </div>
  49. 已选 <span id="checkCount" class="orange">0</span> 条&nbsp;&nbsp;
  50. <c:if test="${funcMap['program_schedule_all_delete'] eq 1}">
  51. <a href="javascript:void(0);" onclick="delRecordBatch()" class="btn del">批量删除</a>
  52. </c:if>
  53. <table class="table mTop10" cellpadding="0" cellspacing="0">
  54. <thead>
  55. <tr>
  56. <th><input type="checkbox" class="checkbox checkbox-white {click:checkAll}" name="all" value="" /></th>
  57. <th>电视台名称</th>
  58. <th>更新日期</th>
  59. <th>类型</th>
  60. <th>编排图</th>
  61. <th>上传时间</th>
  62. <th>排序号</th>
  63. <th>关联文件</th>
  64. <th>上传人</th>
  65. <th>操作</th>
  66. </tr>
  67. </thead>
  68. <tbody id="list"></tbody>
  69. </table>
  70. <div class="mTop20">
  71. <div id="page" class="rFloat"></div>
  72. 累计 <span id="count" class="blue">0</span> 条
  73. </div>
  74. <input type="hidden" id="curPage" >
  75. </div>
  76. <div class="clear"></div>
  77. </div>
  78. <iframe name="hframe" style="display: none;"></iframe>
  79. <%@ include file="../common/footer.jsp"%>
  80. <script type="text/javascript" src="${staticPath}webupload/webuploader.min.js"></script>
  81. <script type="text/javascript" src="${staticPath}webupload/upload.js"></script>
  82. <script type="text/javascript" src="${staticPath}js/advertise/program_schedule.js"></script>
  83. <script type="text/javascript">
  84. var update_flag = "${funcMap['program_schedule_update']}",delete_flag = "${funcMap['program_schedule_delete']}";
  85. $(function(){
  86. $.resetText();
  87. $(".text").input();
  88. $(".select").uiSelect();
  89. $.checkbox();
  90. getList(1);
  91. uploadRar('picker', '导入图片', 2, true, null, null,true,"myCallbcak");
  92. })
  93. function myCallbcak(url){
  94. alert("导入完成。", 1, function(){
  95. location.reload();
  96. });
  97. }
  98. function keyLogin(){
  99. if (event.keyCode==13) { //回车键的键值为13
  100. $("#programScheduleSearch").click(); //调用搜索按钮的登录事件
  101. }
  102. }
  103. </script>
  104. </body>
  105. </html>