123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532 |
- <style>
- /*切换选择*/
- .tab-con{
- position: relative;
- height: 30px;
- width: 200px;
- background: #F2F2F2;
- border: 1px solid #2977ff;
- border-radius: 15px;
- }
- .sel-opt{
- width: 50%;
- position: relative;
- color: #2977ff;
- line-height: 30px;
- text-indent: 6px;
- cursor: pointer;
- }
- .sel-opt:after{
- content: '';
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- border-top: 8px solid #2977ff;
- position: absolute;
- right: 12px;
- top: 12px;
- }
- .xdsoft_datetimepicker{
- z-index:99999999!important;
- }
- // .sel-opt select{
- // width: 100%;
- // height: 30px;
- // background: #F2F2F2;
- // color: #01B677;
- // text-indent: 6px;
- // font-size: inherit;
- // border-top-right-radius: 15px;
- // border-bottom-right-radius: 15px;
- // cursor: pointer;
- // }
- // .sel-opt select option{
- // position: relative;
- // }
- .points{
- position: absolute;
- top: -2px;
- right: 0;
- width: 10px;
- height: 10px;
- background: #F01516;
- border-radius: 50%;
- }
- .sel-cons{
- border: 1px solid #2977ff;
- width: 50%;
- position: absolute;
- right: 0;
- top: 30px;
- text-indent: 10px;
- display: none;
- }
- .sc-lis{
- line-height: 30px;
- cursor: pointer;
- }
- .sc-lis span{
- position: relative;
- }
- .sc-lis .points{
- top: 2px;
- right: -16px;
- }
- .click-sc:focus {
- color: #fff;
- }
- .click-sc:hover {
- color: #fff;
- }
- .create-third{
- position: absolute;
- right: 6px;
- top: 10px;
- }
- .tab-con-btn{
- height: 31px;
- width: 210px;
- background: #F2F2F2;
- border: 1px solid #2977ff;
- border-radius: 15px;
- display: inline-block;
- text-align: center;
- }
- .tab_btn{
- display: inline-block;
- width:100px;
- padding: 0;
- border: 0;
- outline:none;
- margin:0;
- background: #F2F2F2;
- border-radius: inherit;
- }
- .has-sel{
- background: #2977ff;
- color: #fff;
- width: 50%;
- height: 30px;
- border-top-left-radius: 15px;
- border-bottom-left-radius: 15px;
- text-align: center;
- line-height: 30px;
- }
- .has-sel-1{
- background: #2977ff;
- color: #fff;
- width: 50%;
- height: 30px;
- border-top-right-radius: 15px;
- border-bottom-right-radius: 15px;
- text-align: center;
- line-height: 30px;
- }
- .layer-upload{padding:10px 20px; display:none;}
- .layer-upload p{line-height:20px;color:#aaa;}
- .upload-btn{color:#2977ff}
- .layer-upload ul{padding:10px;line-height:30px; border:1px solid #ccc;}
- .layer-upload li{border-bottom:1px solid #ccc;}
- .layer-upload li span{width:40%;}
- .layer-upload li em{width:20%;font-size:26px;text-align:center;cursor:pointer}
- .tooltip {
- position: absolute;
- display: none;
- z-index: 9900000;
- outline: none;
- padding: 5px;
- border-width: 1px;
- border-style: solid;
- border-radius: 5px;
- -moz-border-radius: 5px 5px 5px 5px;
- -webkit-border-radius: 5px 5px 5px 5px;
- border-radius: 5px 5px 5px 5px;
- }
- .table-hover>tbody>tr:hover {
- background-color: #E6F1EC
- }
- .selectSendType{width:180px;height:100px;border:1px solid #ccc;display: inline-block;text-align: center;line-height: 100px;cursor:pointer;border-radius:5px;}
- .selected{background:#aaa; }
- /* Tooltip 容器 */
- .tooltipclass {
- display: inline-block;
- }
- /* Tooltip 文本 */
- .tooltipclass .tooltiptext {
- visibility: hidden;
- width: 160px;
- background-color: #555;
- color: #fff;
- padding: 5px;
- border-radius: 6px;
- font-size:11px;
- text-align: left;
- /* 定位 */
- position: absolute;
- z-index: 1;
- }
- /* 鼠标移动上去后显示提示框 */
- .tooltipclass:hover .tooltiptext {
- visibility: visible;
- }
- .sendLabelTask{margin-left:10px;}
- </style>
- <link rel="stylesheet" href="/fonts/fpdf/iconfont.css" />
- <link rel="stylesheet" href="/css/alert.css"/>
- <link rel="stylesheet" href="/fonts/shangchuan/iconfont.css" />
- <script language="javascript" src="<?php echo Yii::app()->params['static_url_js']; ?>/js/MaskUtil.js?<?php echo Yii::app()->params['static_version']; ?>"></script>
- <div class="layer-upload">
- <p>请上传试卷及答案解析,发送给后台老师标注。支持word、PDF或图片格式</p>
- <div class="clearfix">
- <span class="fl">试卷:</span>
- <a href="javascript:;" class="fr upload-btn upload-btn-paper">+添加附件</a>
- </div>
- <ul class="upload-ul-paper">
- </ul>
- <div class="clearfix">
- <span class="fl">答案及解析:</span>
- <a href="javascript:;" class="fr upload-btn upload-btn-answer">+添加附件</a>
- </div>
- <ul class="upload-ul-answer">
- </ul>
- <input type="hidden" name="english_paper" class="english_paper_id" value="0"/>
- <p class="red">请确保试卷及答案解析完整,再发送标注,否则无法生成错题本/个性化学习宝</p>
- <p class="red">*单个文件不要超过8M</p>
- <div class="clearfix">
- <div class="mcp-form-menu fl">期望标注完成时间</div>
- <div class="mcp-form-detail fl clearfix">
- <input type="text" class='core datetimepicker8' style="width: 140px;line-height: 27px;padding-left: 5px;" name="english-print-time" id="trial_begin_time_test" autocomplete="off" readonly="readonly"/>
- </div>
- <div id="examDate"></div>
- </div>
- </div>
- <?php include(Yii::app()->basePath.'/views/layouts/parse_label.php');?>
- <div class="main-content-inner">
- <!-- 导航栏开始-->
- <?php include(Yii::app()->basePath.'/views/layouts/view_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" id="form1" action="<?php echo $this->createUrl("third/index");?>">
- <div class="col-xs-12">
- <div class="dataTables_length margin-zy">
- <!--
- <div class="tab-con-btn">
- <?php
- if(isset($list_type) && $list_type==1):
- ?>
- <button class="tab_btn " >阅卷试卷</button>
- <button class="tab_btn has-sel-1" >导入成绩试卷</button>
- <?php
- else:
- ?>
- <button class="tab_btn has-sel" >阅卷试卷</button>
- <button class="tab_btn " >导入成绩试卷</button>
- <?php
- endif;
- ?>
- </div>
- -->
- <input type="hidden" name="list_type" value="<?php if(isset($list_type)){echo $list_type;}else{echo 0;}?>" />
- <input type="hidden" name="type" value="<?php echo $printType;?>" />
- <input type="checkbox" name="display" style="margin: -1px 2px 0 0;display:inline-block;vertical-align: middle;width:15px;height:15px;" value="1" <?php if($display === '1') echo "checked";?>>显示隐藏试卷
- <!-- <?php if(in_array(Yii::app()->session['session_duoxueke_subject_id'],array(3,6,41,42,43)) && Yii::app()->params['section']!=3)
- {
- ?> <select class="form-control" id="labelled" name="labelled">
- <option value="">标注状态</option>
- <option value="0" <?php if($labelled === '0') echo "selected";?> >未发送</option>
- <option value="2" <?php if($labelled == 2) echo "selected";?> >已发送</option>
- <option value="1" <?php if($labelled == 1) echo "selected";?>>已标注</option>
- <option value="3" <?php if($labelled === 3) echo "selected";?> >标注中</option>
- <option value="4" <?php if($labelled == 4) echo "selected";?> >已取消</option>
- <option value="5" <?php if($labelled == 5) echo "selected";?>>补题中</option>
- </select><?php } ?>-->
- <input type="text" class="form-control input-sm" placeholder="请输入打印任务名称" name="name" value="<?php echo $printName;?>">
- <button class="label-primary-s bth-s" id="search" style="padding:4px 12px;">搜索</button>
- </div>
- </div>
- </form>
- <button class="label-primary-s bth-s create-third" data-button="red">创建试卷</button>
- </div>
- <table id="dynamic-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>
- <th>阅卷方式</th>
- <th>主阅老师</th>
- <?php if(in_array(Yii::app()->session['session_duoxueke_subject_id'],array(3,6)))
- {
- ?>
- <th >
- 状态
- <div class="tooltipclass"> <img src="/images/icon-warning-red.png"><span class="tooltiptext">标注状态栏,“老”代表数学老题库,个性化学习宝系列产品发送标注时,请点击对应按钮。“新”代表全学科题库,方法宝产品发送标注时,请点击对应按钮。仅适用于高中数学学科。</span></div>
- </th><?php } ?>
- <?php if(!in_array(Yii::app()->session['session_duoxueke_subject_id'],array(3,6,51,8)))
- {
- ?>
- <th>状态</th>
- <?php } ?>
- <?php if(Yii::app()->session['session_duoxueke_subject_id'] == 8)
- {
- ?>
- <th>标注状态</th>
- <?php } ?>
- <!-- <th>后台协助状态</th>-->
- <th >操作</th>
- </tr>
- </thead>
- <tbody>
- <?php if(!empty($printList)):foreach($printList as $cl):?>
- <tr>
- <td style="max-width:260px">
- <?php
- if($cl['is_new']==0)
- {
- echo "<span style='color: #ff0000;font-weight: bold;'>【New】</span>";
- }
- if($cl['homework']==1)
- {
- echo "<span style='color: #fff;font-weight: bold;display:inline-block;background: #337ab7;padding:0 5px;'> 作业 </span>";
- // echo $cl['exam_name'];
- }
- if($cl['qxk_paper_id']){
- ?>
- <a href="<?php echo Yii::app()->createUrl('allSubject/index', array('eid' => $cl['exam_id'],'is_third'=>1)) ?>"><?php echo $cl['exam_name']; ?></a>
- <!-- <a href="<?php echo Yii::app()->createUrl('paper/index', array('eid' => $cl['exam_id'],'is_third'=>1)) ?>"><?php echo $cl['exam_name']; ?></a>-->
- <?php
- }else{
- ?>
- <a href="<?php echo Yii::app()->createUrl('paper/index', array('eid' => $cl['exam_id'],'is_third'=>1)) ?>"><?php echo $cl['exam_name']; ?></a>
- <?php
- }
- ?>
- </td>
- <td><?php if(!empty($cl['create_time'])){ echo date('Y-m-d',$cl['create_time']);}?></td>
- <td><?php if(!empty($cl['examDate'])){ echo date('Y-m-d',$cl['examDate']);}?></td>
- <td>
- <?php
- if(isset($exam_sheets[$cl['exam_group_id']]) ){
- if($exam_sheets[$cl['exam_group_id']]==1){
- echo '在线';
- }else{
- echo '第三方';
- }
- }else{
- echo "未创建";
- }
- ?>
- </td>
- <td>
- <?php
- if($cl['school_card_status']==1){
- if ($cl['upload_status'] > 0 || $cl['homework']==1) {
- echo '学校';
- }else{
- echo '<a href="javascript::void()" class="studentCard" cardStatus="'.$cl['school_card_status'].'" cardLength="'.$cl['school_card_length'].'" is_show="' . $cl['upload_status'] . '" examId="' . $cl["exam_group_id"] . '" >学校</a>';
- }
- }else{
- if ($cl['upload_status'] > 0 || $cl['homework']==1) {
- echo '系统';
- }else{
- echo '<a href="javascript::void()" class="studentCard" cardStatus="'.$cl['school_card_status'].'" cardLength="'.$cl['school_card_length'].'" is_show="' . $cl['upload_status'] . '" examId="' . $cl["exam_group_id"] . '" >系统</a>';
- }
- }
- ?>
- </td>
- <td><?php if(isset($sheet_rs[$cl['exam_group_id']]) && !empty($sheet_rs[$cl['exam_group_id']])){
- echo $sheet_rs[$cl['exam_group_id']]->ke_topic_num;
- }else{echo 0;}?></td>
- <td><?php if(isset($sheet_rs[$cl['exam_group_id']]) && !empty($sheet_rs[$cl['exam_group_id']])){
- echo $sheet_rs[$cl['exam_group_id']]->tian_topic_num;
- }else{echo 0;}?></td>
- <td><?php if(isset($sheet_rs[$cl['exam_group_id']]) && !empty($sheet_rs[$cl['exam_group_id']])){
- echo $sheet_rs[$cl['exam_group_id']]->zu_topic_num;
- }else{echo 0;}?></td>
- <td><?php if(isset($sheet_rs[$cl['exam_group_id']]) && !empty($sheet_rs[$cl['exam_group_id']])){
- echo $sheet_rs[$cl['exam_group_id']]->xuan_topic_num;
- }else{echo 0;}?></td>
- <td>
- <?php
- $txt='';
- if($cl['import_score_type']>0){
- $txt='导入成绩';
- }elseif ($cl['mark_type'] == 0) {
- $txt='线下阅卷';
- }elseif($cl['mark_type'] == 4){
- $txt='班级单独阅卷';
- }elseif($cl['mark_type']==3){
- $txt='混合阅卷';
- }
- if ($cl['upload_status'] > 0 || $cl['homework']==1 || $cl['import_score_type']) {
- echo $txt;
- }else{
- $markingPapers=0;
- if(isset($exam_sheets[$cl['exam_group_id']]) && $exam_sheets[$cl['exam_group_id']]==1){
- $online=1;
- }else{
- $online=0;
- }
- if(isset($marking_papers[$cl['exam_group_id']])){
- $markingPapers=$marking_papers[$cl['exam_group_id']];
- }
- echo '<a href="javascript::void()" class="maskType" online="'.$online.'" marking_papers="'.$markingPapers.'" is_show="' . $cl['upload_status'] . '" examId="' . $cl["exam_group_id"] . '" tpl_index="' . $cl["tpl_index"] . '" mark_type="' . $cl["mark_type"] . '" >'.$txt.'</a>';
- }
- ?>
- </td>
- <td><?php if($teachers && isset($teachers[$cl['teacher_id']])){ echo $teachers[$cl['teacher_id']];}else{echo "";}?></td>
- <td>
- <?php
- if(in_array(Yii::app()->session['session_duoxueke_subject_id'],array(3,6))){
- require 'operate/status_3.php';
- }elseif(Yii::app()->session['session_duoxueke_subject_id']==8){
- require 'operate/status_8.php';
- }elseif(Yii::app()->session['session_duoxueke_subject_id']==12 || Yii::app()->session['session_duoxueke_subject_id']==41){
- require 'operate/status_12.php';
- }else{
- require 'operate/status_other.php';
- }
- ?>
- </td>
- <td style="width:315px;">
- <?php
- if(in_array(Yii::app()->session['session_duoxueke_subject_id'],array(3,6))){
- require 'operate/operate_3.php';
- }elseif(Yii::app()->session['session_duoxueke_subject_id']==8){
- require 'operate/operate_8.php';
- }elseif(Yii::app()->session['session_duoxueke_subject_id']==12){
- require 'operate/operate_12.php';
- }else{
- require 'operate/operate_other.php';
- }
- ?>
- </td>
- </tr>
- <?php endforeach;else:?>
- <tr><td colspan="10">暂无数据!</td></tr>
- <?php endif;?>
- </tbody>
- </table>
- <?php if(!empty($page_total)):?>
- <div class="row">
- <div class="col-xs-6">
-
- </div>
- <div class="col-xs-6">
- <div class="dataTables_paginate paging_simple_numbers">
- <?php
- $this->widget('CLinkPager', array(
- 'header' => '',
- 'firstPageLabel'=> '首页',
- 'lastPageLabel' => '末页',
- 'prevPageLabel' => '上一页',
- 'nextPageLabel' => '下一页',
- 'pages' => $pages,
- 'maxButtonCount'=> 5,
- ));
- echo '共:'.$page_total.'条';
- ?>
- </div>
- </div>
- </div>
- <?php endif;?>
- </div>
- <!--上传模板弹窗-->
- <!-- PAGE CONTENT ENDS -->
- </div>
- </div>
- </div>
- </div>
- <!--题目设置弹窗-->
- <style>
- .topic_list,.topic_class{width:100%;display: block;clear:both}
- .topic_list li{padding:0 10px;height:30px;border:1px solid #ccc;background: #fff;margin:5px;text-align: center;line-height: 30px;cursor: pointer}
- .topic_list li.active{background:#aaa}
- .topic_class li{margin:0 10px 5px 10px;padding:0;float:left}
- .topic-modal-body{margin-top:15px;max-height: 400px;overflow: auto}
- .topic_right{float:left;margin-bottom:15px;}
- .topic_right li{float:left;}
- .gray{background: #0a3e64}
- </style>
- <div class="confirmbox-mask" style="display:none;" id="fieldModalTopic">
- <div class="class-modal" style="padding: 0;width:400px;height:250px;min-height: 250px;">
- <div class="class-modal-head" ><span class="change-tpl-close" style="float: right;padding: 5px;cursor: pointer;">X</span></div>
- <form id="examSelect">
- <div class="topic-modal-body">
- <br>
- 当前考试已存在在线答题卡数据,请选择你需要的操作<br>
- 【仅切换模板】:仅删除在线答题卡扫描模板,原有试题结构及指定题目保留,<br>
- 【重新制作】:删除已有试题及模板数据,重新制作模板(仅支持未上传成绩、试卷且未发送标注考试)<br>
- <font color="red">注意:选做题含有小题的考试暂不支持切换切割模板</font>
- </div>
- <br><br>
- <p class="class_btn" style="text-align: center;">
- <input type="hidden" name="tpl_exam_group_id" value="0">
- <input type="hidden" name="tpl_qxk" value="0">
- <button type="button" class="tpl_change" style="margin-right: 10px;">仅切换模板</button>
- <button type="button" feedback="0" class="tpl_new gray">重新制作</button>
- </p>
- </form>
- </div>
- </div>
- <!--题目设置弹窗end-->
- <?php require "_third.php"?>
|