123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- <style>
- /*切换选择*/
- .tab-con{
- position: relative;
- height: 30px;
- width: 200px;
- background: #F2F2F2;
- border: 1px solid #01B677;
- border-radius: 15px;
- }
- .sel-opt{
- width: 50%;
- position: relative;
- color: #01B677;
- 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 #01B677;
- position: absolute;
- right: 12px;
- top: 12px;
- }
- // .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 #01B677;
- 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 #01B677;
- border-radius: 15px;
- display: inline-block;
- text-align: center;
- }
- .tab_btn{
- display: inline-block;
- width:100px;
- padding: 0;
- border: 0;
- margin:0;
- background: #F2F2F2;
- border-radius: inherit;
- }
- .has-sel{
- background: #01B677;
- 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: #01B677;
- color: #fff;
- width: 50%;
- height: 30px;
- border-top-right-radius: 15px;
- border-bottom-right-radius: 15px;
- text-align: center;
- line-height: 30px;
- }
- .icon {
- display: inline-block;
- background: center/contain no-repeat;
- width: 25px;
- height: 25px;
- cursor: pointer;
- vertical-align: middle;
- }
- .icon-edit {
- background-image: url("/images/edit.png")
- }
- </style>
- <script src="/js/jquery.validate.min.js"></script>
- <script type="text/javascript">
- jQuery(document).ready(function(){
- jQuery("#schoolSubmit").click(function(){
- //var msg = '只支持全班批量导入,请看<span style="color: red">红色字</span>注意事项?';
- var msg = '确定导入学生成绩吗?格式是否正确?';
- layer.msg(msg, {
- time: 0,
- btn: ['确定', '取消'],
- yes: function(index){
- layer.close(index);
- jQuery(this).attr("disabled", true);
- jQuery("#schoolSubmit").attr("disabled", true);
- jQuery("#classAdd").submit();
- }
- });
- });
- jQuery(".rest").click(function(){
- jQuery("input[name=exname]").val('');
- });
- });
- </script>
- <div class="main-content-inner">
- <!-- 导航栏开始-->
- <?php include(Yii::app()->basePath.'/views/layouts/view_navigation.php');?>
- <!-- 导航栏结束-->
- <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('third/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">
- <select name="card">
- <option value="1">系统准考证</option>
- <option value="2">学校准考证</option>
- </select>
- </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/third_import.xlsx">下载Excel表格示例</a></div>
- <!--<div style="margin-top:8px" class="col-sm-9"><a href="<?php echo $this->createUrl('print/downstudentexcel');?>" target="_blank">下载Excel表格示例</a></div>-->
- </div>
- </div>
- <div class="clearfix form-actions">
- <div class="col-md-offset-3 col-md-9">
- <input type="hidden" name="examgroupid" value="<?php echo $exam_group_id?>">
- <button class="btn btn-success btn-sm" type="button" id="schoolSubmit" >
- <i class="ace-icon fa fa-check bigger-110"></i>
- 提交
- </button>
-
- <button class="btn btn-success btn-sm rest" type="button">
- <i class="ace-icon fa fa-undo bigger-110"></i>
- 重填
- </button>
- </div>
- </div>
- <div class="form-group">
- <div class="control-label col-xs-3 col-sm-3">
- </div>
- <div class="control-label mt15" style="text-align: left;color: red">
- 导入须知:<br>
- 1、确认导入的题号与创建的试卷题号相匹配。<br>
- 2、确认学生的准考证号与系统中一致。<br>
- 3、准考证号重复的成绩数据在导入时会被过滤掉。<br>
- </div>
- </div>
- </form>
- <!-- PAGE CONTENT ENDS -->
- </div>
- </div>
- </div>
- </div>
|