1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <h2>可选学生</h2>
- <ul>
- <?php if ($relStuList): ?>
- <!-- <li class="grade">❖<span></span>-->
- <?php foreach ($relStuList['saleOutOrderClazzes'] as $v): ?>
- <ul class="student-list" style="display: block;">
- <li class="class-li">▾
- <span class="classTitle"><?php echo $v['clazzName']; ?></span>
- <a type="button" class="btn-select_all">全选</a>
- <ul class="student-name_box">
- <?php foreach ($v['saleOutOrderStudents'] as $stu): ?>
- <?php if ($inId <= 0): ?>
- <!-- 新增-->
- <?php if (!$stu['isRelation']): ?>
- <li>
- <label><?php echo $stu['studentName']; ?>
- <input type="checkbox" name="studentName"
- value="<?php echo $stu['osId']; ?>"
- gradeName="<?php echo $relStuList['gradeText']; ?>"
- className="<?php echo $v['clazzName']; ?>"/>
- </label>
- </li>
- <?php endif; ?>
- <?php if ($stu['isRelation']): ?>
- <li>
- <label><?php echo $stu['studentName']; ?>
- <input type="checkbox" disabled name="studentName"
- value="<?php echo $stu['osId']; ?>"
- gradeName="<?php echo $relStuList['gradeText']; ?>"
- className="<?php echo $v['clazzName']; ?>"/>
- </label>
- </li>
- <?php endif; ?>
- <?php else: ?>
- <!-- 编辑-->
- <?php if ($stu['isRelation']): ?>
- <?php if (isset($stu['saleOutId']) && $inId == $stu['saleOutId']):?>
- <li>
- <label><?php echo $stu['studentName']; ?>
- <input type="checkbox" name="studentName" checked
- value="<?php echo $stu['osId']; ?>"
- gradeName="<?php echo $relStuList['gradeText']; ?>"
- className="<?php echo $v['clazzName']; ?>"/>
- </label>
- </li>
- <?php endif;?>
- <?php else:?>
- <li>
- <label><?php echo $stu['studentName']; ?>
- <input type="checkbox" name="studentName"
- value="<?php echo $stu['osId']; ?>"
- gradeName="<?php echo $relStuList['gradeText']; ?>"
- className="<?php echo $v['clazzName']; ?>"/>
- </label>
- </li>
- <?php endif; ?>
- <?php endif; ?>
- <?php endforeach; ?>
- </ul>
- </li>
- </ul>
- <?php endforeach; ?>
- <!-- </li>-->
- <?php endif; ?>
- </ul>
|