trialTableDelete.php 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <title>删除试用学生申请</title>
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. <link href="/css/ims/base.css" rel="stylesheet">
  10. <link rel="stylesheet" type="text/css" href="/css/ims/bootstrap.min.css"/>
  11. <link rel="stylesheet" type="text/css" href="/css/ims/ace.min.css"/>
  12. <style>
  13. input {
  14. height: 30px;
  15. border-radius: 4px;
  16. border: 1px solid #ccc;
  17. box-shadow: none;
  18. text-indent: 10px;
  19. margin-right: 5px;
  20. float:left;
  21. }
  22. .green {
  23. color: green;
  24. }
  25. .red {
  26. color: red;
  27. }
  28. .yellow {
  29. color: #FF9900;
  30. }
  31. .layui-layer-zxhx .layui-layer-title {
  32. background: #15ae68;
  33. }
  34. .layui-layer-zxhx .layui-layer-btn a {
  35. background: #15ae68;
  36. border-color: #15ae68;
  37. }
  38. .ims-box {
  39. margin: 20px;
  40. }
  41. .ims-box .title h1 {
  42. display: inline-block;
  43. font-size: 28px;
  44. }
  45. .ims-box .title a {
  46. margin-left: 30px;
  47. color: #0000FF;
  48. }
  49. .screen {
  50. height: 30px;
  51. margin-top: 20px;
  52. margin-bottom: 20px;
  53. }
  54. .screen > div {
  55. margin: 0 5px;
  56. line-height: 30px;
  57. }
  58. .apply-extend-trial {
  59. cursor: pointer;
  60. }
  61. .stop-layer-box, .resubmit-layer-box, .delete-layer-box {
  62. line-height: 140px;
  63. text-align: center;
  64. }
  65. </style>
  66. </head>
  67. <body>
  68. <div class="ims-box">
  69. <form action="<?php echo Yii::app()->createUrl('imsSale/trialDeleteList'); ?>" method="get">
  70. <div class="screen">
  71. <div class="diy_select select-goods">
  72. <input type="hidden" id="goodsTypeId" name="goodsTypeId" class="diy_select_input" value="0">
  73. <div class="diy_select_txt">请选择商品</div>
  74. <div class="diy_select_btn"></div>
  75. <ul class="diy_select_list" style="display: none;">
  76. <?php if ($goodList): ?>
  77. <li val="0">请选择商品</li>
  78. <?php foreach ($goodList as $good): ?>
  79. <li val="<?php echo $good['goodsTypeId']; ?>"><?php echo $good['goodsTypeName']; ?></li>
  80. <?php endforeach; ?>
  81. <?php else: ?>
  82. <li val="">暂无商品</li>
  83. <?php endif; ?>
  84. </ul>
  85. </div>
  86. <div class="diy_select select-grade">
  87. <input type="hidden" id="grade" name="grade" class="diy_select_input" value="0">
  88. <div class="diy_select_txt">请选择年级</div>
  89. <div class="diy_select_btn"></div>
  90. <ul class="diy_select_list" style="display: none;">
  91. <li val="0">请选择年级</li>
  92. <?php
  93. if(Yii::app()->params['grade_list']){
  94. foreach (Yii::app()->params['grade_list'] as $val){
  95. echo '<li val="'.$val['id'].'" >'.$val['grade_name'].'</li>';
  96. }
  97. }
  98. ?>
  99. </ul>
  100. </div>
  101. <div class=" select-clazzId">
  102. <input type="text" id="orderNo" name="orderNo" class="" value="" placeholder="订单号">
  103. </div>
  104. <button type="submit" class="label-primary-s bth-s">查询</button>
  105. </div>
  106. </form>
  107. <div>
  108. <table id="record-table"
  109. class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
  110. style="font-size:12px">
  111. <thead>
  112. <tr>
  113. <th>订单号</th>
  114. <th>订单删除编号</th>
  115. <th>试用商品</th>
  116. <th>原试用人数</th>
  117. <th>年级</th>
  118. <th>试用学科</th>
  119. <th>本次申请删除人数</th>
  120. <th>审批状态</th>
  121. <th>查看</th>
  122. </tr>
  123. </thead>
  124. <tbody>
  125. <?php if ($list): ?>
  126. <?php foreach ($list as $key => $item): ?>
  127. <tr>
  128. <td><?php echo $item['otNo']; ?></td>
  129. <td><?php echo $item['otdCode']; ?></td>
  130. <td><?php echo $item['goodsName']; ?></td>
  131. <td><?php echo $item['originPersons']; ?></td>
  132. <td><?php echo $item['gradeName']; ?></td>
  133. <td><?php echo $item['subjectName']; ?></td>
  134. <td><?php echo $item['deletePersons']; ?></td>
  135. <td><?php echo $item['statusName']; ?></td>
  136. <td >
  137. <a href="<?php echo $this->createUrl('imsSale/trialDeleteDetail',array('otdId'=>$item['otdId']))?>" orderId="" class="showLog">查看</a>
  138. </td>
  139. </tr>
  140. <?php endforeach; ?>
  141. <?php endif; ?>
  142. </tbody>
  143. </table>
  144. <?php if ($page): ?>
  145. <div class="col-sm-12">
  146. <ul class="pagination">
  147. <?php
  148. $params = array();
  149. if (isset($_GET['goodsTypeId']) && $_GET['goodsTypeId']) {
  150. $params['goodsTypeId'] = $_GET['goodsTypeId'];
  151. }
  152. if (isset($_GET['grade']) && $_GET['grade']) {
  153. $params['grade'] = $_GET['grade'];
  154. }
  155. if (isset($_GET['page'])) {
  156. $params['page'] = $_GET['page'];
  157. }else{
  158. $params['page'] = 1;
  159. }
  160. if (isset($_GET['orderNo']) && $_GET['orderNo']) {
  161. $params['orderNo'] = $_GET['orderNo'];
  162. }
  163. echo formatPage($page, 'imsSale/trialDeleteList', $params);
  164. ?>
  165. </ul>
  166. </div>
  167. <?php endif; ?>
  168. </div>
  169. </div>
  170. </div>
  171. <script src="/js/productset/jquery.min.js"></script>
  172. <script src="/js/layer/layer.js"></script>
  173. <script src="/js/ims/xsgl.js"></script>
  174. <!--日志弹层-->
  175. <link rel="stylesheet" href="/css/cylet.css" />
  176. <style>
  177. .class-modal-body-1{overflow: auto;height:400px;}
  178. .class-modal-body-1 td{font-size:14px;line-height:200%}
  179. </style>
  180. <div class="confirmbox-mask" style="display: none" id="classModal">
  181. <div class="class-modal">
  182. </div>
  183. </div>
  184. <div class="confirmbox-mask" style="display: none" id="classModal-1">
  185. <form name="table_set">
  186. <div class="class-modal-1">
  187. <i class="icon icon-close-1"></i><div class="class-modal-head-1">日志</div>
  188. <div class="class-modal-body-1">
  189. <table cellspacing="0" cellpadding="0" border="0" class="logList">
  190. </table>
  191. </div>
  192. </div>
  193. </form>
  194. </div>
  195. <div class="confirmbox-mask" style="display: none" id="classModal-2">
  196. <div class="class-modal-1">
  197. <i class="icon icon-close-1"></i><div class="class-modal-head-1">试用学生查询</div>
  198. <div style="margin: 5px 0 0 5px;color: red;font-size: 10px;">输入学生姓名或试用单号查询</div>
  199. <div style="margin: 5px 0 0 5px;width: 100%;" >
  200. <input type="text" class="clazzName" placeholder="输入学生姓名"/>
  201. <input type="text" class="clazzName" placeholder="试用订单号"/>
  202. <input type="button" class="label-primary-s order-module-query " value="查询"/>
  203. </div>
  204. <br><br>
  205. <div style="height: 300px;max-height:300px;overflow: auto;">
  206. <table id="record-table"
  207. class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
  208. style="font-size:12px;width: 680px;margin: 5px 5px 0 5px;">
  209. <thead id="student-info">
  210. </thead>
  211. </table>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="confirmbox-mask" style="display: none" id="classModal-3">
  216. <div class="class-modal-1">
  217. <i class="icon icon-close-1"></i><div class="class-modal-head-1">普通试用时间表</div>
  218. <div style="height: 300px;max-height:300px;overflow: auto;">
  219. <table id="record-table"
  220. class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
  221. style="font-size:12px;width: 680px;margin: 5px 5px 0 5px;">
  222. <thead id="timetable-info">
  223. </thead>
  224. </table>
  225. </div>
  226. </div>
  227. </div>
  228. <script>
  229. </script>
  230. </body>
  231. </html>