2 Commits cbb2ac6bf7 ... 4b15e51d51

Author SHA1 Message Date
  24753255@qq.com 4b15e51d51 隐藏试卷类型 6 months ago
  24753255@qq.com f340b602f9 考试类型 6 months ago

+ 1 - 1
protected/views/third/modify_exam.php

@@ -98,7 +98,7 @@
                             <div class="mcp-form-menu fl">试卷类型</div>
                             <div class="mcp-form-menu fl">
                                 <div class="mcp-form-detail fl clearfix">
-                                    <select name="paperType" class="fl choose-subject" <?php if($examStatus==2){echo 'disabled';}?> >
+                                    <select name="paperType" class="fl choose-subject" disabled >
                                         <?php
                                         if(in_array(Yii::app()->session['session_duoxueke_subject_id'],array(3,6,51))):
                                         ?>

+ 4 - 1
protected/views/third/thirdview.php

@@ -82,6 +82,7 @@
                                 <div class="mcp-form-detail fl"><input type="text" placeholder="必填" class="test-paper-name" name="examName"></div>
                                 <div id="examName-error"></div>
                         </div>
+                    <!--
                         <div class="mcp-form-list clearfix">
                             <div class="mcp-form-menu fl">试卷类型</div>
                             <div class="mcp-form-menu fl">
@@ -95,6 +96,7 @@
                             </div>
                             <div id="subject-error"></div>
                         </div>
+                        -->
                         <div class="mcp-form-list clearfix">
                                 <div class="mcp-form-menu fl">考试类型</div>
                                 <div class="mcp-form-detail fl clearfix">
@@ -226,6 +228,7 @@
                 <input name="type" value="1" type="hidden"/>
                 <input name="teacherId" value="0" type="hidden"/>
                 <input name="markType" value="3" type="hidden"/>
+                <input type="hidden" name="tpl_index" value="1050">
                 <input name="classIds" value="0" type="hidden"/>
                 <input name="isQxk" value="<?php echo $is_qxk?>" type="hidden"/>
             </form>
@@ -610,7 +613,7 @@
                     examName:examName,
                     subjectId:subjectId,
                     textbookId:$('input[name="textbookId"]').val(),
-                    tpl_index:$('select[name="tpl_index"]').val(),
+                    tpl_index:$('input[name="tpl_index"]').val(),
                     examDate:examDate,
                     type:type,
                     teacherId:teacherId,

+ 2 - 0
protected/views/third/thirdview1.php

@@ -81,6 +81,7 @@
                     </div>
                     <div id="examName-error"></div>
                 </div>
+                <!--
                 <div class="mcp-form-list clearfix">
                     <div class="mcp-form-menu fl">试卷类型</div>
                     <div class="mcp-form-detail fl">
@@ -103,6 +104,7 @@
                     </div>
                     <div id="paperType-error"></div>
                 </div>
+                -->
                 <div class="mcp-form-list clearfix" style="width:1000px">
                         <div class="mcp-form-menu fl">考试类型</div>
                         <div class="mcp-form-detail fl clearfix">