123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <style>
- .addborder{border:1px solid #ccc}
- .addheight{height:30px;border-radius:2px;}
- .addheight:focus{border-color: #66afe9;box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);outline: 0 none;}
- .ace{position:relative;top:0px !important;left:0px !important;}
- label{font-weight:100 !important;}
- .diy_select{height:30px;width:260px;position:relative;font-size:12px;background:#fff;color:#000;float:left;border-radius:4px;}
- .diy_select:active{box-shadow:0 0 5px #66afe9;border:1px solid #66afe9}
- .diy_select_btn,.diy_select_txt{float:left;height:100%;line-height:30px}
- .diy_select,.diy_select_list{border:1px solid #ccc;}
- .diy_select_txt{width:200px;}
- .diy_select_txt,.diy_select_list li{text-indent:10px;overflow:hidden}
- .diy_select_btn{width:98px;background:url(/images/arrBottom.png) no-repeat center}
- .diy_select_list{position:absolute;top:27px;left:0px;z-index:88888;border-top:none;width:100%;display:none;_top:29px;background: #fff;max-height:300px;overflow-y:scroll;}
- .diy_select_list li{list-style:none;height:30px;line-height:30px;cursor:default;_background:#fff;/**padding-left: 10px;**/}
- .diy_select_list li.focus{background:#3399FF;color:#fff}
- .diy_select label{position:absolute;left:180px;width:160px;top:4px;font-size:15px;}
- </style>
- <script src="/js/jquery.validate.min.js"></script>
- <script type="text/javascript">
- jQuery(document).ready(function(){
- jQuery("#schoolSubmit").click(function(){
- var grade = $(".diy_select_txt").text();
- var _text = grade;
- var msg = '确定导入'+_text+'学生成绩吗?';
- layer.msg(msg, {
- time: 0,
- btn: ['确定', '取消'],
- yes: function(index){
- layer.close(index);
- jQuery(this).attr("disabled", true);
- jQuery("#classAdd").submit();
- }
- });
- });
- });
- </script>
- <div class="main-content-inner">
- <ul class="clearfix main-content-inner-ul">
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("print/index",array('type'=>'wp'));?>"' class="button button_normal button_group button_arrow " data-button="red">打印试卷</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("print/sub_index",array('type'=>'wtb'));?>"' class="button button_normal button_group button_arrow" data-button="red">下载错题本</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("print/sub_index",array('type'=>'isp'));?>"' class="button button_normal button_group button_arrow" data-button="red">下载个性化学习方案</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("print/sub_index",array('type'=>'studytrend'));?>"' class="button button_normal button_group button_arrow" data-button="red">下载个性化学习宝</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("print/student_product");?>"' class="button button_normal button_group button_arrow " data-button="red">阶段复习个性化学习宝</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("third/index");?>"' class="button button_normal button_group button_arrow" data-button="red">第三方试卷</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("export/index");?>"' class="button button_normal button_group button_arrow" data-button="red">导出报告</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("upload/index");?>"' class="button button_normal button_group button_arrow" data-button="red">上传试卷</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("record/importscore"); ?>"'
- class="button button_normal button_group button_arrow " data-button="red">导入成绩
- </button>
- <img src="/images/line.jpg" style="height:45px;"/>
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("cylet/index");?>"' class="button button_normal button_group button_arrow" data-button="red">全学科统考</button>
- </li>
- </ul>
- <div class="page-content" style="margin-top:15px;">
- <div class="row" style="margin:0px;">
- <div class="col-xs-12">
- <!-- PAGE CONTENT BEGINS -->
- <form enctype="multipart/form-data" class="form-horizontal" action="<?php echo $this->createUrl('record/zhixue_import');?>" method="post" id="classAdd">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-3 no-padding-right">选择考试<span class="errorMessage">*</span>:</label>
- <div class="col-sm-9">
- <div class='diy_select' style="width: 300px">
- <input type='hidden' id="exam_group_id" name="exam_group_id" class='diy_select_input' value="0" />
- <div class='diy_select_txt' >选择考试</div>
- <div class='diy_select_btn' ></div>
- <ul class='diy_select_list' >
- <?php if(isset($exam_info) && !empty($exam_info)){
- foreach($exam_info as $v){
- ?>
- <li val="<?php echo $v->exam_group_id?>" title="<?php echo $v->name?>"><?php echo $v->name?>(<?php echo date('Y-m-d H:i:s',$v->create_time)?>)</li>
- <?php
- }
- }?>
- </ul>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-3 no-padding-right">上传Excel<span class="errorMessage">*</span>:</label>
- <div class="col-sm-9">
- <input type="file" id="exname" name="exname" class="col-xs-10 col-sm-3" />
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-3 no-padding-right"> </label>
- <div class="col-sm-9">
- <div style="margin-top:8px" class="col-sm-9"><a href="/assets/data/智学网考试导入成绩.xlsx">下载Excel表格示例</a></div>
- </div>
- </div>
- <div class="clearfix form-actions">
- <div class="col-md-offset-3 col-md-9">
- <button class="btn btn-success btn-sm" type="button" id="schoolSubmit">
- <i class="ace-icon fa fa-check bigger-110"></i>
- 导入
- </button>
- </div>
- </div>
- <div class="form-group">
- <div class="control-label col-xs-3 col-sm-3">
- </div>
- </div>
- </form>
- <!-- PAGE CONTENT ENDS -->
- </div>
- </div>
- </div>
- </div>
- <script src="/js/xsgl.js"></script>
|