|
@@ -74,10 +74,10 @@ $(function(){
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- text: '加班',
|
|
|
+ text: '加班(计假)',
|
|
|
onClick: function() {
|
|
|
- $('#holidaytypeshow').attr('placeholder','假期类型 [ 加班 ]');
|
|
|
- $('#holidaytypeshow').val('加班');
|
|
|
+ $('#holidaytypeshow').attr('placeholder','假期类型 [ 加班(计假) ]');
|
|
|
+ $('#holidaytypeshow').val('加班(计假)');
|
|
|
$('#otherholiday').hide();
|
|
|
$('#holidaytype').val(4);
|
|
|
$('.tab').removeClass('active');
|
|
@@ -89,7 +89,27 @@ $(function(){
|
|
|
$('#tab1').addClass('active');
|
|
|
$('#tab1').find('input').removeAttr('disabled');
|
|
|
$('#tab1').find('textarea').removeAttr('disabled');
|
|
|
- $('.tabtitle').text('加班');
|
|
|
+ $('.tabtitle').text('加班(计假)');
|
|
|
+ $('#typenum').val(1);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: '加班(计薪)',
|
|
|
+ onClick: function() {
|
|
|
+ $('#holidaytypeshow').attr('placeholder','假期类型 [ 加班(计薪) ]');
|
|
|
+ $('#holidaytypeshow').val('加班(计薪)');
|
|
|
+ $('#otherholiday').hide();
|
|
|
+ $('#holidaytype').val(4);
|
|
|
+ $('.tab').removeClass('active');
|
|
|
+ $('.align-top').show();
|
|
|
+ $('#holidayshow').hide();
|
|
|
+ $('.haveholidaynum').hide();
|
|
|
+ $('.tab').find('input').attr('disabled',true);
|
|
|
+ $('.tab').find('textarea').attr('disabled',true);
|
|
|
+ $('#tab1').addClass('active');
|
|
|
+ $('#tab1').find('input').removeAttr('disabled');
|
|
|
+ $('#tab1').find('textarea').removeAttr('disabled');
|
|
|
+ $('.tabtitle').text('加班(计薪)');
|
|
|
$('#typenum').val(1);
|
|
|
}
|
|
|
},
|