|
|
|
@ -1,32 +1,61 @@
|
|
|
|
|
@{
|
|
|
|
|
@{
|
|
|
|
|
var cls = "col-sm-6";
|
|
|
|
|
}
|
|
|
|
|
<script>
|
|
|
|
|
//是否最高职称聘任
|
|
|
|
|
if ($('#IsJobAsMaxTitle').val()) {
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle2']").parents('.@cls').hide();
|
|
|
|
|
if ($('#IsJobAsMaxTitle').val() === "true") {
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle2']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle1']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle2']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
//是否享受学历待遇
|
|
|
|
|
if ($('#EducationGrade').val()) {
|
|
|
|
|
$("#EducationGradeDate").parents('.@cls').show();
|
|
|
|
|
if ($('#EducationGrade').val() !== "") {
|
|
|
|
|
$("#EducationGradeDate").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("#EducationGradeDate").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("#EducationGradeDate").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
//是否在编在岗
|
|
|
|
|
if ($('#HasPosition').val()) {
|
|
|
|
|
$("[data-my-group='HasPosition2']").parents('.@cls').hide();
|
|
|
|
|
if ($('#IsMiddleLevel').val()) {
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').hide();
|
|
|
|
|
if ($('#HasPosition').val()==="true") {
|
|
|
|
|
$("[data-my-group='HasPosition2']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group^='HasPosition1']").parents('.@cls').show();
|
|
|
|
|
if ($('#IsMiddleLevel').val()) {
|
|
|
|
|
if ($('#IsMiddleLevel').val()==="true") {
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').show();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group^='HasPosition1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition2']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='HasPosition1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group^='HasPosition1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group^='HasPosition2']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<script>
|
|
|
|
@ -35,14 +64,19 @@
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle2']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle1']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
else if ($(this).val() === "false")
|
|
|
|
|
{
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle2']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='JobAsMaxTitle2']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
//
|
|
|
|
|
$('#EducationGrade').change(function () {
|
|
|
|
|
if ($(this).val()) {
|
|
|
|
|
if ($(this).val()!=="") {
|
|
|
|
|
$("#EducationGradeDate").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
@ -55,30 +89,38 @@
|
|
|
|
|
$("[data-my-group='HasPosition2']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition1']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
else if($(this).val() === "false") {
|
|
|
|
|
$("[data-my-group='HasPosition1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition2']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='HasPosition1']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition2']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$('#IsMiddleLevel').change(function () {
|
|
|
|
|
if ($(this).val() === "true") {
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
else if ($(this).val() === "false") {
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').show();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$("[data-my-group='HasPosition11']").parents('.@cls').hide();
|
|
|
|
|
$("[data-my-group='HasPosition12']").parents('.@cls').hide();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<script>
|
|
|
|
|
$('form.query').validate().currentForm = '';
|
|
|
|
|
//$('form.query').validate().currentForm = '';
|
|
|
|
|
$('#query').click(function () {
|
|
|
|
|
var url = $(this).attr('data-action') + '?' + $(this).parents('form').find('input,select').not('[value=""]').serialize();
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
});
|
|
|
|
|
$('#export').click(function () {
|
|
|
|
|
var url = $(this).attr('data-action') + '?' + $(this).parents('form').find('input,select').not('[value=""]').serialize();
|
|
|
|
|
window.open(url);
|
|
|
|
|
var url = $(this).attr('data-action') + '?' + $(this).parents('form').find('input,select').not('[value=""]').serialize();
|
|
|
|
|
window.open(url);
|
|
|
|
|
});
|
|
|
|
|
</script>
|