|
@@ -121,6 +121,15 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer' |
|
@@ -121,6 +121,15 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer' |
|
121
|
});
|
121
|
});
|
|
122
|
|
122
|
|
|
123
|
//工位
|
123
|
//工位
|
|
|
|
124
|
+ $(document).on('change',".station_type",function () {
|
|
|
|
125
|
+ var val = $(".station_type").find("option:selected").val();
|
|
|
|
126
|
+ if(val == 2) {
|
|
|
|
127
|
+ $("#company").show();
|
|
|
|
128
|
+ }else {
|
|
|
|
129
|
+ $("#company").hide();
|
|
|
|
130
|
+ }
|
|
|
|
131
|
+ });
|
|
|
|
132
|
+ $("#company").hide();
|
|
124
|
$(document).on('click','#stations li:first-child, #stations li:not(:first-child),#stations li:not(:first-child),#stations li:not(:first-child)',function(){
|
133
|
$(document).on('click','#stations li:first-child, #stations li:not(:first-child),#stations li:not(:first-child),#stations li:not(:first-child)',function(){
|
|
125
|
// $(this).children('a').children('div').children('div').addClass("conditions_select");
|
134
|
// $(this).children('a').children('div').children('div').addClass("conditions_select");
|
|
126
|
// $(this).siblings('li').children('a').removeClass("conditions_select");
|
135
|
// $(this).siblings('li').children('a').removeClass("conditions_select");
|
|
@@ -215,10 +224,11 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer' |
|
@@ -215,10 +224,11 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template', 'swiper', 'layer' |
|
215
|
layer.msg('参与人数不能为空');
|
224
|
layer.msg('参与人数不能为空');
|
|
216
|
return false;
|
225
|
return false;
|
|
217
|
}
|
226
|
}
|
|
218
|
- if (enter_id == ''){
|
227
|
+ if(apply_type == 2 && enter_id == '') {
|
|
219
|
layer.msg('公司不能为空');
|
228
|
layer.msg('公司不能为空');
|
|
220
|
return false;
|
229
|
return false;
|
|
221
|
}
|
230
|
}
|
|
|
|
231
|
+
|
|
222
|
// setTimeout(function () {
|
232
|
// setTimeout(function () {
|
|
223
|
// layer.msg('提交成功');
|
233
|
// layer.msg('提交成功');
|
|
224
|
// }, 1000);
|
234
|
// }, 1000);
|