|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<% if false %>
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<p class="collegeInfo">湖南警察学院大数据培训缴费</p>
|
|
|
|
|
<%= form_for @training do |f| %>
|
|
|
|
|
<p class="subtitle">基本信息</p>
|
|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
<span class="left_tag fl">性别</span>
|
|
|
|
|
<label class="fr" id="sexl" style="margin-right: 24px;"><%= @training.sex == 1 ? '男' : '女' %></label>
|
|
|
|
|
<i class="iconfont icon-youjiantou rightArrow"></i>
|
|
|
|
|
<input type="hidden" id="sex" name="sex" value="<%= @training.sex ==1 ?1 : 2 %>">
|
|
|
|
|
<input type="hidden" id="sex" name="sex" value="<%= @training.sex == 1 ? 1 : 2 %>">
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">专业</span>
|
|
|
|
@ -64,13 +64,13 @@
|
|
|
|
|
<p style="height: 50px;"></p>
|
|
|
|
|
<a href="javascript:void(0)" class="EnrollNext" onclick="NextStep();">下一步</a>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="sexDownNav downNav">
|
|
|
|
|
<div class="sexDownNav downNav">
|
|
|
|
|
<li>男</li>
|
|
|
|
|
<li>女</li>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
$(function () {
|
|
|
|
|
var down = $('#userSex');
|
|
|
|
|
var downNav = $(".sexDownNav");
|
|
|
|
@ -80,7 +80,7 @@
|
|
|
|
|
$(down).find("#sexl").html($(this).html());
|
|
|
|
|
hideNav(downNav);
|
|
|
|
|
|
|
|
|
|
if ($(this).html()=='男'){
|
|
|
|
|
if ($(this).html() == '男') {
|
|
|
|
|
$('#sex').val("1");
|
|
|
|
|
} else {
|
|
|
|
|
$('#sex').val("2");
|
|
|
|
@ -121,10 +121,10 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
</script>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div>
|
|
|
|
|
<p class="collegeInfo">信息技术新工科产学研联盟师资研修</p>
|
|
|
|
|
<p class="collegeInfo"><%= @training_title %></p>
|
|
|
|
|
<%= form_for @training do |f| %>
|
|
|
|
|
<p class="subtitle">基本信息</p>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
@ -136,13 +136,13 @@
|
|
|
|
|
<span class="left_tag fl">性别</span>
|
|
|
|
|
<label class="fr" id="sexl" style="margin-right: 24px;"><%= @training.sex == 1 ? '男' : '女' %></label>
|
|
|
|
|
<i class="iconfont icon-youjiantou rightArrow"></i>
|
|
|
|
|
<input type="hidden" id="sex" name="sex" value="<%= @training.sex ==1 ?1 : 2 %>">
|
|
|
|
|
<input type="hidden" id="sex" name="sex" value="<%= @training.sex == 1 ? 1 : 2 %>">
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">单位</span>
|
|
|
|
|
<input type="text" class="right_input" id="userUnit" placeholder="请输入单位名称或者学校"
|
|
|
|
|
name="major"
|
|
|
|
|
value="<%= @training.major %>"/>
|
|
|
|
|
name="school"
|
|
|
|
|
value="<%= @training.school %>"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">职称</span>
|
|
|
|
@ -156,9 +156,9 @@
|
|
|
|
|
<label for="Positional_2" style="top:0px">学生</label>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
<!--<input type="text" class="right_input" id="userPositional" placeholder="请输入职称"-->
|
|
|
|
|
<!--name="student_id"-->
|
|
|
|
|
<!--value="<%#= @training.student_id %>"/>-->
|
|
|
|
|
<!--<input type="text" class="right_input" id="userPositional" placeholder="请输入职称"
|
|
|
|
|
name="technical_title"
|
|
|
|
|
value="<%#= @training.technical_title %>"/>-->
|
|
|
|
|
</li>
|
|
|
|
|
<p class="subtitle">培训类型</p>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
@ -182,56 +182,59 @@
|
|
|
|
|
<label for="type_3" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<% if @training_type == 3 %>
|
|
|
|
|
<p class="subtitle">您的授课/研究领域(最少选1项)</p>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">机器学习/深度学习</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="1" id="check_1" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="机器学习/深度学习" <%= @training.research_field.split(",").include?("机器学习/深度学习") ? "checked" : "" %> id="check_1" class="magic-checkbox">
|
|
|
|
|
<label for="check_1" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">计算机结构与组成</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="2" id="check_2" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="计算机结构与组成" <%= @training.research_field.split(",").include?("计算机结构与组成") ? "checked" : "" %> id="check_2" class="magic-checkbox">
|
|
|
|
|
<label for="check_2" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">计算机系统</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="3" id="check_3" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="计算机系统" <%= @training.research_field.split(",").include?("计算机系统") ? "checked" : "" %> id="check_3" class="magic-checkbox">
|
|
|
|
|
<label for="check_3" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">计算机软件技术和应用</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="4" id="check_4" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="计算机软件技术和应用" <%= @training.research_field.split(",").include?("计算机软件技术和应用") ? "checked" : "" %> id="check_4" class="magic-checkbox">
|
|
|
|
|
<label for="check_4" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">计算机理论</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="5" id="check_5" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="计算机理论" <%= @training.research_field.split(",").include?("计算机理论") ? "checked" : "" %> id="check_5" class="magic-checkbox">
|
|
|
|
|
<label for="check_5" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">计算机应用与学科交叉</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="6" id="check_6" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="计算机应用与学科交叉" <%= @training.research_field.split(",").include?("计算机应用与学科交叉") ? "checked" : "" %> id="check_6" class="magic-checkbox">
|
|
|
|
|
<label for="check_6" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">其他</span>
|
|
|
|
|
<span class="fr">
|
|
|
|
|
<input type="checkbox" name="study" value="7" id="check_7" class="magic-checkbox">
|
|
|
|
|
<input type="checkbox" name="research_field[]" value="其他" <%= @training.research_field.split(",").include?("其他") ? "checked" : "" %> id="check_7" class="magic-checkbox">
|
|
|
|
|
<label for="check_7" style="top:8px"> </label>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<p class="subtitle">通讯地址</p>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<!--<div class="clearfix" id="userArea" NavShow>-->
|
|
|
|
@ -239,7 +242,7 @@
|
|
|
|
|
<!--<input type="text" class="right_input" id="usertitle" placeholder="填写区域"/>-->
|
|
|
|
|
<!--<i class="iconfont icon-youjiantou rightArrow"></i>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<textarea class="DetailAddress" placeholder="请输入详细地址" name="address" id="DetailAdd" style="margin-top: 15px;"><%#= @training.address %></textarea>
|
|
|
|
|
<textarea class="DetailAddress" placeholder="请输入详细地址" name="address" id="DetailAdd" style="margin-top: 15px;"><%= @training.address %></textarea>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">手机号码</span>
|
|
|
|
@ -249,7 +252,7 @@
|
|
|
|
|
</li>
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
<span class="left_tag fl">Email</span>
|
|
|
|
|
<input type="text" class="right_input" placeholder="请输入Email" id="userEmail" name="email" value="<%#= @training.email %>"/>
|
|
|
|
|
<input type="text" class="right_input" placeholder="请输入Email" id="userEmail" name="email" value="<%= @training.email %>"/>
|
|
|
|
|
</li>
|
|
|
|
|
<p style="height: 50px;"></p>
|
|
|
|
|
<a href="javascript:void(0)" class="EnrollNext" onclick="NextStep();">完成</a>
|
|
|
|
@ -270,7 +273,7 @@
|
|
|
|
|
$(down).find("#sexl").html($(this).html());
|
|
|
|
|
hideNav(downNav);
|
|
|
|
|
|
|
|
|
|
if ($(this).html()=='男'){
|
|
|
|
|
if ($(this).html() == '男') {
|
|
|
|
|
$('#sex').val("1");
|
|
|
|
|
} else {
|
|
|
|
|
$('#sex').val("2");
|
|
|
|
|