|
|
@ -152,6 +152,16 @@
|
|
|
|
name="position"
|
|
|
|
name="position"
|
|
|
|
value="<%= @training.position %>"/>
|
|
|
|
value="<%= @training.position %>"/>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if @training_type == 4 %>
|
|
|
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
|
|
|
<span class="left_tag fl">职务</span>
|
|
|
|
|
|
|
|
<input type="text" class="right_input" placeholder="请输入职务" id="jobTitle"
|
|
|
|
|
|
|
|
name="job_title"
|
|
|
|
|
|
|
|
value="<%= @training.job_title %>"/>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
<span class="left_tag fl">手机号码</span>
|
|
|
|
<span class="left_tag fl">手机号码</span>
|
|
|
|
<input type="text" class="right_input" placeholder="请输入手机号" id="userphone"
|
|
|
|
<input type="text" class="right_input" placeholder="请输入手机号" id="userphone"
|
|
|
@ -159,6 +169,15 @@
|
|
|
|
value="<%= @training.phone %>"/>
|
|
|
|
value="<%= @training.phone %>"/>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if @training_type == 4 %>
|
|
|
|
|
|
|
|
<li class="clearfix infoBar">
|
|
|
|
|
|
|
|
<span class="left_tag fl">待认证专业</span>
|
|
|
|
|
|
|
|
<input type="text" class="right_input" placeholder="请输入专业名称" id="uncertifiedMajor"
|
|
|
|
|
|
|
|
name="uncertified_major"
|
|
|
|
|
|
|
|
value="<%= @training.uncertified_major %>"/>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if @training_type == 3 %>
|
|
|
|
<% if @training_type == 3 %>
|
|
|
|
<p class="subtitle">您关注的课程类型(最少选1项)</p>
|
|
|
|
<p class="subtitle">您关注的课程类型(最少选1项)</p>
|
|
|
|
|
|
|
|
|
|
|
@ -242,6 +261,13 @@
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if @training_type == 4 %>
|
|
|
|
|
|
|
|
if ($("#uncertifiedMajor").val() == '') {
|
|
|
|
|
|
|
|
alert("请输入专业名称");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if @training_type == 3 %>
|
|
|
|
<% if @training_type == 3 %>
|
|
|
|
if ($("input[type='checkbox'][name='research_field[]']:checked").length == 0) {
|
|
|
|
if ($("input[type='checkbox'][name='research_field[]']:checked").length == 0) {
|
|
|
|
alert('请选择您关注的课程类型');
|
|
|
|
alert('请选择您关注的课程类型');
|
|
|
|