united_task.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. <link rel="stylesheet" href="/fonts/fpdf/iconfont.css"/>
  2. <link rel="stylesheet" href="/css/alert.css"/>
  3. <style>
  4. .joint-intro-con{
  5. position: relative;
  6. font-size: 14px;
  7. margin-top: 10px;
  8. /*background: url(sign-top.png) no-repeat;*/
  9. -webkit-background-size: 100%;
  10. background-size: 100%;
  11. padding: 0 0 20px;
  12. width: 100%;
  13. margin: 20px auto;
  14. }
  15. .back-home-btn {
  16. position: absolute;
  17. top: 20px;
  18. right: 20px;
  19. background: #fff;
  20. width: 70px;
  21. height: 30px;
  22. line-height: 30px;
  23. color: #73B754;
  24. border-radius: 15px;
  25. }
  26. .joint-intro-article{
  27. padding-top: 20px;
  28. padding-bottom: 12px;
  29. border-bottom: 2px dashed #73B754;
  30. border-left: 10px solid #73B754;
  31. border-right: 10px solid #73B754;
  32. position: relative;
  33. margin-top: -7px;
  34. }
  35. .joint-intro-article:before{
  36. content: '';
  37. position: absolute;
  38. left: -10px;
  39. bottom: -15px;
  40. width: 25px;
  41. height: 30px;
  42. background: #73B754;
  43. border-top-right-radius: 15px;
  44. border-bottom-right-radius: 15px;
  45. }
  46. .joint-intro-article:after{
  47. content: '';
  48. position: absolute;
  49. right: -10px;
  50. bottom: -15px;
  51. width: 25px;
  52. height: 30px;
  53. background: #73B754;
  54. border-top-left-radius: 15px;
  55. border-bottom-left-radius: 15px;
  56. }
  57. .joint-intro-msg{
  58. margin: 0 10%;
  59. font-family: '微软雅黑';
  60. position: relative;
  61. }
  62. .joint-intro-msg dt{
  63. font-size: 16px;
  64. font-weight: bold;
  65. margin: 6px 0;
  66. }
  67. .joint-intro-msg dd{
  68. margin-left: 30px;
  69. line-height: 32px;
  70. position: relative;
  71. }
  72. .joint-intro-msg dd:before{
  73. content: '*';
  74. color: #73B754;
  75. font-weight: bold;
  76. font-size: 18px;
  77. position: absolute;
  78. left: -12px;
  79. top: 3px;
  80. }
  81. .bg-border{
  82. border-left: 10px solid #73B754;
  83. border-right: 10px solid #73B754;
  84. border-bottom: 10px solid #73B754;
  85. }
  86. .joint-intro-bottom{
  87. /*margin: 0 160px;*/
  88. padding: 40px 160px;
  89. }
  90. .school-status .school-status-menu{
  91. font-size: 16px;
  92. font-weight: bold;
  93. }
  94. .sign-up-btn{
  95. width: 120px;
  96. line-height: 30px;
  97. background: #73B754;
  98. color: #fff;
  99. margin: auto;
  100. border-radius: 2px;
  101. text-align: center;
  102. }
  103. .end-warn{
  104. color: #333;
  105. font-weight: bold;
  106. margin-top: 10px;
  107. }
  108. .test-sign-notice{
  109. padding: 40px 20px 0;
  110. font-size: 16px;
  111. }
  112. .test-sign-msg{
  113. font-size: 18px;
  114. margin: 0 20px 0 10px;
  115. }
  116. .vtm{vertical-align: middle;}
  117. .fw{font-weight: bold;}
  118. .dib{display: inline-block;}
  119. .red-font{color: red;}
  120. .banner-top{width: 100%;}
  121. .class-modal-1{min-height: 300px}
  122. .tongz{width:98.5%;border:1px solid #0e8e54;margin:10px auto;padding:5px;font-size:16px;color:#0e8e54}
  123. #classModal .class-modal{overflow-y:scroll; }
  124. </style>
  125. <div class="main-content-inner">
  126. <!-- 导航栏开始-->
  127. <?php include(Yii::app()->basePath.'/views/layouts/view_navigation.php');?>
  128. <!-- 导航栏结束-->
  129. <div class="page-content">
  130. <div class="row" style="margin:0px;">
  131. <div class="col-xs-12">
  132. <!-- PAGE CONTENT BEGINS -->
  133. <div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline no-footer">
  134. <div class="row ">
  135. <p class="tongz">
  136. <img src="/images/tongzhi.png" style="float: left">
  137. 各位学管请悉知,校本课程平台大数据联合质量评估考试登陆学管端啦!请与学校领导做好沟通工作,推荐报名呦!<br>
  138. 本次大数据联合质量评估考试的报名,统一采用线上报名的方式,由学管人员协助学校在学管端进行报名信息提交!
  139. <button type="button" class=" view_untied" style="margin-right:10px;border-radius: 20px;">
  140. <span style="display: inline-block;vertical-align: middle">查看详情</span>
  141. </button>
  142. </p>
  143. </div>
  144. <table id="dynamic-table"
  145. class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
  146. style="font-size:12px">
  147. <thead>
  148. <tr>
  149. <th>名称</th>
  150. <th>考试年级</th>
  151. <th>文理科</th>
  152. <th>阅卷方式</th>
  153. <th>公布时间</th>
  154. <th>考试日期</th>
  155. <th>报名截止</th>
  156. <th>联系人/联系方式</th>
  157. <th>报名状态</th>
  158. </tr>
  159. </thead>
  160. <?php if (!empty($task_exam)):foreach ($task_exam as $cl): ?>
  161. <tr>
  162. <td><?php echo $cl['exam_name']?></td>
  163. <td><?php echo $cl['grade_name']?></td>
  164. <td><?php echo $cl['branch_name']?></td>
  165. <td>班级混合阅卷</td>
  166. <td><?php echo date('Y-m-d ',$cl['create_time'])?></td>
  167. <td><?php echo date('Y-m-d ',$cl['exam_time'])?></td>
  168. <td><?php echo date('Y-m-d ',$cl['apply_deadline'])?></td>
  169. <td class="mobile">
  170. <?php if($cl['sign_up']==1){
  171. echo $cl['mobile'];
  172. }
  173. ?></td>
  174. <td>
  175. <?php if($cl['sign_up']==1){
  176. echo '<a href="#" data="'.$cl['task_exam_id'].'" class="signOut">取消报名</a>';
  177. }elseif($cl['apply_deadline']>time()){
  178. echo '<a href="#" data="'.$cl['task_exam_id'].'" class="signup">报名</a>';
  179. }
  180. ?>
  181. </td>
  182. </tr>
  183. <?php endforeach; endif; ?>
  184. </table>
  185. </div>
  186. <!--上传模板弹窗-->
  187. <!-- PAGE CONTENT ENDS -->
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. <!--弹窗-->
  193. <div class="confirmbox-mask" style="display: none;" id="classModal">
  194. <form name="table_set">
  195. <div class="class-modal" style="width:60%;top:50%;height:650px;">
  196. <i class="icon icon-close"></i><div class="class-modal-head">联考说明</div>
  197. <div class="joint-intro-con">
  198. <img src="/images/sign-top.png" alt="" class="banner-top">
  199. <div class="joint-intro-article">
  200. <dl class="joint-intro-msg">
  201. <dt>一、目的意义</dt>
  202. <dd>1.通过本次大数据联合质量评估考试(以下简称“大联评”),检验学校高三数学二轮复习效果并找出与高考要求的差距,帮助学校精准查找原因,有效整改,快速提升成绩。</dd>
  203. <dd>2.通过本次大联评,学校可以和本省兄弟学校进行横向对比,找差距,比学赶帮。</dd>
  204. <dd>3.通过线上、线下质量分析会议,进一步明确复习教学亮点和不足,能有效找到提升成绩的整改方案。</dd>
  205. </dl>
  206. <dl class="joint-intro-msg">
  207. <dt>二、试卷种类</dt>
  208. <dd>本次联评卷分全国A卷文理(适用于全国Ⅰ:湖南、湖北、安徽、江西、河南、河北、山东、山西、广东、福建)、B卷文理(适用于全国Ⅲ区域,Ⅱ卷区域:甘肃、青海、宁夏、内蒙古、辽宁、吉林、黑龙江、新疆、西藏、陕西、海南、重庆、云南、贵州、四川、广西),按照相应高考要求由参加过高考命题的老师命卷。</dd>
  209. </dl>
  210. <dl class="joint-intro-msg">
  211. <dt>三、报名方式</dt>
  212. <dd>1.校本课程平台用户学校可以通过学管登录学管端进行考试报名;</dd>
  213. <dd>2.其他学校可以通过校本课程平台官网提交报名信息,或者通过业务经理进行报名。</dd>
  214. </dl>
  215. <dl class="joint-intro-msg">
  216. <dt>四、组织考试</dt>
  217. <dd>1.考试时间:2019年4月15日下午3:00~5:00</dd>
  218. <dd>2.学管(或学校相关人员)提前2小时下载并打印试卷、答题卡。</dd>
  219. <dd>3.考试结束后学管(或学校相关人员)扫描答题卡,老师在线上阅卷。</dd>
  220. </dl>
  221. <dl class="joint-intro-msg">
  222. <dt>五、查看成绩</dt>
  223. <dd>老师可以在校本课程平台系统在线实时查看本校成绩,也可以在线查看本省、外省兄弟学校的成绩,进行横向对比。</dd>
  224. </dl>
  225. <dl class="joint-intro-msg">
  226. <dt>六、分析会议</dt>
  227. <dd>2019年4月22日及23日举行线上质量分析会议,帮助学校进一步精准找到原因,有效实时整改教学。</dd>
  228. </dl>
  229. <!-- <dl class="joint-intro-msg">
  230. <dt>特别说明</dt>
  231. <dd>在2019年2月24日17:00前,所有考试学校务必要完成阅卷,否则官方将根据需要,有权将对应学校成绩不纳入质量分析数据评估。</dd>
  232. </dl> -->
  233. </div>
  234. <div class="joint-intro-bottom bg-border tac fw" v-if="false">
  235. </div>
  236. </div>
  237. </div>
  238. </form>
  239. </div>
  240. <!-- 弹窗 -->
  241. <div class="confirmbox-mask" style="display:none ;" id="classModal-1">
  242. <div class="class-modal-1" >
  243. <i class="icon icon-close-1"></i><div class="class-modal-head-1">考试报名</div>
  244. <div class="class-modal-body-1">
  245. <h2>亲爱的学管:</h2>
  246. <p>
  247.   您将报名参加本次大联评考试,本次考试需要对文理科班级分别考察,请确认是否已经完成班级的文理科划分!<br>
  248.   下面请填写您的报名信息吧!<br>
  249.   注:联系人请尽量填写学校领导
  250. </p>
  251. <div class="table_area">
  252. <label>联系人:<input class="table_1" name="contacts" type="text" value="" /></label>
  253. <label>手机号:<input class="table_2" name="tel" type="text" value="" /></label>
  254. </div>
  255. <div class="table_area" style="text-align: center">
  256. <button class="signup_submit">提交</button>
  257. <button class="cancel">取消</button>
  258. <input type="hidden" name="tk_exam_id" value="0">
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <script src="/js/jquery.ajaxfileupload.js"></script>
  264. <script type="text/javascript">
  265. $(document).ready(function () {
  266. //
  267. $('.view_untied').click(function(){
  268. $('#classModal').show();
  269. });
  270. $('.icon-close').click(function(){
  271. $('#classModal').hide();
  272. });
  273. //报名窗口
  274. $('.signup').click(function(){
  275. $('input[name=tk_exam_id]').val($(this).attr('data'));
  276. $('#classModal-1').show();
  277. });
  278. //取消报名
  279. $('.signOut').click(function(){
  280. var exam_group_id=$(this).attr('data');
  281. var obj=$(this);
  282. layer.open({
  283. type: 1,
  284. title: '取消报名 ',
  285. btn: ['确定', '取消'],
  286. area: ['420px', '240px'], //宽高
  287. btnAlign: 'c',
  288. content: '<div class="application-number-box" style="padding-left:15px;"><p>亲爱的学管:<br>  请确认是否取消本次考试报名?</p></div>',
  289. yes: function (index, layero) {
  290. //提交
  291. $.ajax({
  292. type: 'post',
  293. url: "<?php echo Yii::app()->createUrl('print/signOut');?>",
  294. data: {'exam_group_id': exam_group_id},
  295. dataType: 'json',
  296. success: function (data) {
  297. if(data.status==1){
  298. obj.removeClass('signOut');
  299. obj.addClass('signUp');
  300. obj.html('报名');
  301. obj.closest('tr').find('.mobile').html('');
  302. layer.closeAll();
  303. layer.msg('取消报名操作成功');
  304. window.location.reload();
  305. }else{
  306. layer.closeAll();
  307. if(data.msg!=undefined || data.msg!=''){
  308. layer.msg(data.msg);
  309. }else{
  310. layer.msg('取消报名操作失败');
  311. }
  312. }
  313. }
  314. })
  315. },
  316. btn2: function (index, layero) {
  317. //取消按钮
  318. // console.log(111)
  319. //return false 开启该代码可禁止点击该按钮关闭
  320. }
  321. });
  322. });
  323. $('.icon-close-1,.cancel').click(function () {
  324. $('input[name=tk_exam_id]').val('');
  325. $('#classModal-1').hide();
  326. return false;
  327. });
  328. $('.signup_submit').click(function(){
  329. if($('input[name=contacts]').val()==''){
  330. layer.msg('请输入联系人');
  331. return false;
  332. }
  333. if($('input[name=tel]').val()=='' ){
  334. layer.msg('请输入联系人手机号');
  335. return false;
  336. }
  337. if(!checkMobile($('input[name=tel]').val())){
  338. layer.msg('联系人手机号格式不正确');
  339. return false;
  340. }
  341. var contacts=$('input[name=contacts]').val();
  342. var tel=$('input[name=tel]').val();
  343. var exam_group_id=$('input[name=tk_exam_id]').val();
  344. if(exam_group_id=='' || exam_group_id==0){
  345. layer.msg('考试信息有误');
  346. return false;
  347. }
  348. $.ajax({
  349. url:'<?php echo $this->createUrl('print/signUp')?>',
  350. type:'POST',
  351. dataType:'json',
  352. data:{'contacts':contacts,'tel':tel,'exam_group_id':exam_group_id},
  353. success:function(res){
  354. if(res.status==1){
  355. window.location.reload();
  356. }else{
  357. if(res.msg!=undefined || res.msg!=''){
  358. layer.msg(res.msg);
  359. }else{
  360. layer.msg('报名失败');
  361. }
  362. }
  363. }
  364. });
  365. });
  366. //检测手机号
  367. function checkMobile(value){
  368. var regMobile = /^1([356789]\d|4[57])\d{8}$/;
  369. return regMobile.test( value );
  370. }
  371. });
  372. </script>