123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <script src="/js/xsgl.js"></script>
- <link href="/css/cylet.css" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" href="/css/export/report.css?v=1.0.10">
- <style>
- /* 往期教师讲案按钮 */
- .history-teacher-exolaincase-btn{cursor: pointer;background: rgb(21,174,104);color: #fff;width: 130px;height: 28px;margin-left: 20px;text-indent: 10px;}
- .history-teacher-exolaincase-btn img,.history-teacher-exolaincase-btn span{ color: #fff;vertical-align: middle;line-height: 28px;font-size: 12px;}
- .dtw-top-right-btns{float: right;padding-right:10px;}
- .dtw-top-left-cons{float: left;padding-left: 12px;}
- .layui-layer-btn a:hover{color: #fff}
- </style>
- <div class="main-content-inner">
- <!-- 导航栏开始-->
- <?php include(Yii::app()->basePath.'/views/layouts/view_production_navigation.php');?>
- <!-- 导航栏结束-->
- <div class="page-content" >
- <div class="row" style="margin:0px;">
- <div class="col-xs-12">
- <!-- PAGE CONTENT BEGINS -->
- <div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline no-footer">
- <div class="row">
- <form method="get" action="<?php echo $this->createUrl('export/batch_duo'); ?>" style="padding-left: 0px;">
- <div class="dtw-top-left-cons" >
- <div class="dataTables_length margin-zy fl" style="width: 825px">
- <div class="hgc_btn_back theme">
- <a href="javascript:history.back(-1);">返回</a>
- </div>
- <div class='diy_select2' style="display: inline;margin-right: 5px;border: 1px solid #c9ccd2;width:140px;">
- <input type='hidden' id="type_id" name="type_id" class='diy_select_input2' value="<?php if (empty($type_id)) {
- echo 0;
- } else {
- echo $type_id;
- } ?>"/>
- <div class='diy_select_txt2'>
- <?php
- if (empty($type_id)) {
- echo '请选择试卷类别';
- } else {
- switch ($type_id) {
- case 1:echo '校本课程平台试卷';
- break;
- case 2:echo '第三方线上阅卷试卷';
- break;
- case 3:echo '第三方导入成绩试卷';
- break;
- }
- }
- ?>
- </div>
- <div class='diy_select_btn2'></div>
- <ul class='diy_select_list2'>
- <li val="0" >请选择试卷类别</li>
- <li val="1">校本课程平台试卷</li>
- <li val="2">第三方线上阅卷试卷</li>
- <li val="3">第三方导入成绩试卷</li>
- </ul>
- </div>
- <div class='diy_select1' style="display: inline;margin-right: 5px;border: 1px solid #c9ccd2;">
- <input type='hidden' id="grade_id" name="grade_id" class='diy_select_input1' value="<?php if (empty($grade_id)) {
- echo 0;
- } else {
- echo $grade_id;
- } ?>"/>
- <div class='diy_select_txt1'><?php
- if (empty($grade_id)) {
- echo '请选择年级';
- } else {
- if(isset(Yii::app()->params['grade_list'][$grade_id])){
- echo Yii::app()->params['grade_list'][$grade_id]['grade_name'];
- }
- }
- ?></div>
- <div class='diy_select_btn1'></div>
- <ul class='diy_select_list1'>
- <li val="0" >请选择年级</li>
- <?php
- if(Yii::app()->params['grade_config']){
- foreach (Yii::app()->params['grade_config'] as $id=> $val){
- echo '<li val="'.$id.'">'.$val['grade_name'].'</li>';
- }
- }
- ?>
- </ul>
- </div>
- <input type="text" class="form-control input-sm" placeholder="请输入报告名称!" name="realname" value="<?php if (!empty($realname)) {
- echo $realname;
- } ?>">
- <!--<button class="btn btn-minier btn-primary">搜索</button>-->
- <button class="label-primary-s bth-s" id="search" style="padding:4px 12px;">搜索</button>
- <?php if($searchProcessSubjectId == 12):?>
- <span class="" style="color:red">注:物理组卷考试暂不支持批量下载</span>
- <?php endif;?>
- </div>
- </div>
- </form>
-
- <div class="dtw-top-right-btns mt15" >
- <div id="dynamic-table_filter" class="dataTables_filter position_g fl" >
- <a class="btn btn-success btn-sm progress_btn" href="#" subjectId="<?php echo $searchProcessSubjectId?>">
- <i class="fa fa-plus " style="font-style: normal;"></i> 下载进度
- </a>
- </div>
- </div>
- </div>
- <table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable">
- <thead>
- <tr>
- <th >名称</th>
- <th >试卷类别</th>
- <th >考试日期</th>
- <th width="10%">年级</th>
- <th width="10%">班级数量</th>
- <th width="10%">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php if (!empty($printList)):foreach ($printList as $cl): ?>
- <tr>
- <td><?php if($cl['is_new']==1 && $sub_id != 8){?><span style='color: #ff0000;font-weight: bold;'>【New】</span><?php }?>
- <?php
- if(isset(Yii::app()->session['testFlag']) && Yii::app()->session['testFlag']==1 ){
- echo "<a href=".$this->createUrl("export/classExamAc",array("examGroupId" => $cl['exam_group_id'])).">{$cl['exam_name']}</a>";
- }else{
- echo $cl['exam_name'];
- }
- ?>
- </td>
- <td><?php echo $cl['type_name']; ?></td>
- <td><?php echo $cl['exam_date']; ?></td>
- <td><?php echo $cl['grade_name']; ?></td>
- <td><?php echo $cl['class_count']; ?></td>
- <td>
- <i class="icon icon-download downloadFileBtn" complete="<?php if($cl['status']==1){echo '1';}else{echo '0';}?>" rel="<?php echo $cl['exam_group_id']?>" subject="<?php echo $cl['subject_id']?>" topic_count="<?php echo isset($cl['topic_count'])?$cl['topic_count']:0;?>" title="批量下载报表"></i>
- </td>
- </tr>
- <?php endforeach;
- else: ?>
- <tr><td colspan="4">暂无数据!</td></tr>
- <?php endif; ?>
- </tbody>
- </table>
- <?php if (!empty($page_total)): ?>
- <div class="row" style="padding-top:10px;">
- <div class="col-xs-7">
-
- </div>
- <div class="col-xs-5" style="font-size: 16px">
- <div class="dataTables_paginate paging_simple_numbers" style="vertical-align:sub;">
- <?php
- $this->widget('CLinkPager', array(
- 'header' => '',
- 'firstPageLabel' => '首页',
- 'lastPageLabel' => '末页',
- 'prevPageLabel' => '上一页',
- 'nextPageLabel' => '下一页',
- 'pages' => $pages,
- 'maxButtonCount' => 5,
- ));
- echo '<span style="vertical-align:middle;">共:' . $page_total . '条</span>';
- ?>
- </div>
- </div>
- </div>
- <?php endif; ?>
- </div>
- <!-- PAGE CONTENT ENDS -->
- </div>
- </div>
- </div>
- </div>
- <script src="/js/export/report.js?v=1.1.3"></script>
|