|
...
|
...
|
@@ -121,6 +121,15 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer' |
|
|
|
});
|
|
|
|
|
|
|
|
//工位
|
|
|
|
$(document).on('change',".station_type",function () {
|
|
|
|
var val = $(".station_type").find("option:selected").val();
|
|
|
|
if(val == 2) {
|
|
|
|
$("#company").show();
|
|
|
|
}else {
|
|
|
|
$("#company").hide();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$("#company").hide();
|
|
|
|
$(document).on('click','#stations li:first-child, #stations li:not(:first-child),#stations li:not(:first-child),#stations li:not(:first-child)',function(){
|
|
|
|
// $(this).children('a').children('div').children('div').addClass("conditions_select");
|
|
|
|
// $(this).siblings('li').children('a').removeClass("conditions_select");
|
|
...
|
...
|
@@ -215,10 +224,11 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer' |
|
|
|
layer.msg('参与人数不能为空');
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (enter_id == ''){
|
|
|
|
if(apply_type == 2 && enter_id == '') {
|
|
|
|
layer.msg('公司不能为空');
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
// setTimeout(function () {
|
|
|
|
// layer.msg('提交成功');
|
|
|
|
// }, 1000);
|
...
|
...
|
|