123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>删除试用学生申请</title>
- <meta name="description" content="">
- <meta name="keywords" content="">
- <link href="/css/ims/base.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="/css/ims/bootstrap.min.css"/>
- <link rel="stylesheet" type="text/css" href="/css/ims/ace.min.css"/>
- <style>
- input {
- height: 30px;
- border-radius: 4px;
- border: 1px solid #ccc;
- box-shadow: none;
- text-indent: 10px;
- margin-right: 5px;
- float:left;
- }
- .green {
- color: green;
- }
- .red {
- color: red;
- }
- .yellow {
- color: #FF9900;
- }
- .layui-layer-zxhx .layui-layer-title {
- background: #15ae68;
- }
- .layui-layer-zxhx .layui-layer-btn a {
- background: #15ae68;
- border-color: #15ae68;
- }
- .ims-box {
- margin: 20px;
- }
- .ims-box .title h1 {
- display: inline-block;
- font-size: 28px;
- }
- .ims-box .title a {
- margin-left: 30px;
- color: #0000FF;
- }
- .screen {
- height: 30px;
- margin-top: 20px;
- margin-bottom: 20px;
- }
- .screen > div {
- margin: 0 5px;
- line-height: 30px;
- }
- .apply-extend-trial {
- cursor: pointer;
- }
- .stop-layer-box, .resubmit-layer-box, .delete-layer-box {
- line-height: 140px;
- text-align: center;
- }
- </style>
- </head>
- <body>
- <div class="ims-box">
- <form action="<?php echo Yii::app()->createUrl('imsSale/trialDeleteList'); ?>" method="get">
- <div class="screen">
- <div class="diy_select select-goods">
- <input type="hidden" id="goodsTypeId" name="goodsTypeId" class="diy_select_input" value="0">
- <div class="diy_select_txt">请选择商品</div>
- <div class="diy_select_btn"></div>
- <ul class="diy_select_list" style="display: none;">
- <?php if ($goodList): ?>
- <li val="0">请选择商品</li>
- <?php foreach ($goodList as $good): ?>
- <li val="<?php echo $good['goodsTypeId']; ?>"><?php echo $good['goodsTypeName']; ?></li>
- <?php endforeach; ?>
- <?php else: ?>
- <li val="">暂无商品</li>
- <?php endif; ?>
- </ul>
- </div>
- <div class="diy_select select-grade">
- <input type="hidden" id="grade" name="grade" class="diy_select_input" value="0">
- <div class="diy_select_txt">请选择年级</div>
- <div class="diy_select_btn"></div>
- <ul class="diy_select_list" style="display: none;">
- <li val="0">请选择年级</li>
- <?php
- if(Yii::app()->params['grade_list']){
- foreach (Yii::app()->params['grade_list'] as $val){
- echo '<li val="'.$val['id'].'" >'.$val['grade_name'].'</li>';
- }
- }
- ?>
- </ul>
- </div>
- <div class=" select-clazzId">
- <input type="text" id="orderNo" name="orderNo" class="" value="" placeholder="订单号">
- </div>
- <button type="submit" class="label-primary-s bth-s">查询</button>
- </div>
- </form>
- <div>
- <table id="record-table"
- class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
- style="font-size:12px">
- <thead>
- <tr>
- <th>订单号</th>
- <th>订单删除编号</th>
- <th>试用商品</th>
- <th>原试用人数</th>
- <th>年级</th>
- <th>试用学科</th>
- <th>本次申请删除人数</th>
- <th>审批状态</th>
- <th>查看</th>
- </tr>
- </thead>
- <tbody>
- <?php if ($list): ?>
- <?php foreach ($list as $key => $item): ?>
- <tr>
- <td><?php echo $item['otNo']; ?></td>
- <td><?php echo $item['otdCode']; ?></td>
- <td><?php echo $item['goodsName']; ?></td>
- <td><?php echo $item['originPersons']; ?></td>
- <td><?php echo $item['gradeName']; ?></td>
- <td><?php echo $item['subjectName']; ?></td>
- <td><?php echo $item['deletePersons']; ?></td>
- <td><?php echo $item['statusName']; ?></td>
- <td >
- <a href="<?php echo $this->createUrl('imsSale/trialDeleteDetail',array('otdId'=>$item['otdId']))?>" orderId="" class="showLog">查看</a>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- </tbody>
- </table>
- <?php if ($page): ?>
- <div class="col-sm-12">
- <ul class="pagination">
- <?php
- $params = array();
- if (isset($_GET['goodsTypeId']) && $_GET['goodsTypeId']) {
- $params['goodsTypeId'] = $_GET['goodsTypeId'];
- }
- if (isset($_GET['grade']) && $_GET['grade']) {
- $params['grade'] = $_GET['grade'];
- }
- if (isset($_GET['page'])) {
- $params['page'] = $_GET['page'];
- }else{
- $params['page'] = 1;
- }
- if (isset($_GET['orderNo']) && $_GET['orderNo']) {
- $params['orderNo'] = $_GET['orderNo'];
- }
- echo formatPage($page, 'imsSale/trialDeleteList', $params);
- ?>
- </ul>
- </div>
- <?php endif; ?>
- </div>
- </div>
- </div>
- <script src="/js/productset/jquery.min.js"></script>
- <script src="/js/layer/layer.js"></script>
- <script src="/js/ims/xsgl.js"></script>
- <!--日志弹层-->
- <link rel="stylesheet" href="/css/cylet.css" />
- <style>
- .class-modal-body-1{overflow: auto;height:400px;}
- .class-modal-body-1 td{font-size:14px;line-height:200%}
- </style>
- <div class="confirmbox-mask" style="display: none" id="classModal">
- <div class="class-modal">
- </div>
- </div>
- <div class="confirmbox-mask" style="display: none" id="classModal-1">
- <form name="table_set">
- <div class="class-modal-1">
- <i class="icon icon-close-1"></i><div class="class-modal-head-1">日志</div>
- <div class="class-modal-body-1">
- <table cellspacing="0" cellpadding="0" border="0" class="logList">
- </table>
- </div>
- </div>
- </form>
- </div>
- <div class="confirmbox-mask" style="display: none" id="classModal-2">
- <div class="class-modal-1">
- <i class="icon icon-close-1"></i><div class="class-modal-head-1">试用学生查询</div>
- <div style="margin: 5px 0 0 5px;color: red;font-size: 10px;">输入学生姓名或试用单号查询</div>
- <div style="margin: 5px 0 0 5px;width: 100%;" >
- <input type="text" class="clazzName" placeholder="输入学生姓名"/>
- <input type="text" class="clazzName" placeholder="试用订单号"/>
- <input type="button" class="label-primary-s order-module-query " value="查询"/>
- </div>
- <br><br>
- <div style="height: 300px;max-height:300px;overflow: auto;">
- <table id="record-table"
- class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
- style="font-size:12px;width: 680px;margin: 5px 5px 0 5px;">
- <thead id="student-info">
- </thead>
- </table>
- </div>
- </div>
- </div>
- <div class="confirmbox-mask" style="display: none" id="classModal-3">
- <div class="class-modal-1">
- <i class="icon icon-close-1"></i><div class="class-modal-head-1">普通试用时间表</div>
- <div style="height: 300px;max-height:300px;overflow: auto;">
- <table id="record-table"
- class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
- style="font-size:12px;width: 680px;margin: 5px 5px 0 5px;">
- <thead id="timetable-info">
- </thead>
- </table>
- </div>
- </div>
- </div>
- <script>
- </script>
- </body>
- </html>
|