First Initial

This commit is contained in:
Nakorn Rientrakrunchai
2020-02-20 15:02:39 +07:00
commit 8b98125e49
3048 changed files with 760804 additions and 0 deletions

View File

@@ -0,0 +1,152 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_adjust_postponement_normal";
}
<div class="modal fade" id="eva_adjust_postponement_normalModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_adjust_postponement_normalModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="eva_adjust_postponement_normalModelLabel">เพิ่มข้อมูล ปรับเลื่อนค่าตอบแทน</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_normal_id" />
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_fiscal_year" for="eva_adjust_postponement_normal_fiscal_year">ปีงบประมาณ </label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_fiscal_year" iLabel="ปีงบประมาณ " iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_theDate" for="eva_adjust_postponement_normal_theDate">วันที่เลื่อน</label>
<input class="form-control" type="text" id="eva_adjust_postponement_normal_theDate" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_theRound" for="eva_adjust_postponement_normal_theRound">ครั้งที่เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_theRound" iLabel="ครั้งที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_managed_by" for="eva_adjust_postponement_normal_managed_by">ผู้จัดทำข้อมูล</label>
<select class="form-control" id="eva_adjust_postponement_normal_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_create_evaluation_id" for="eva_adjust_postponement_normal_create_evaluation_id">กลุ่มการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_normal_create_evaluation_id" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit" for="eva_adjust_postponement_normal_limit">บริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit" iLabel="บริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_frame" for="eva_adjust_postponement_normal_limit_frame">กรอบวงเงินร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_frame" iLabel="กรอบวงเงินร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_quota" for="eva_adjust_postponement_normal_limit_quota">จำนวนเงินที่สามารถบริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_percentage" for="eva_adjust_postponement_normal_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_normal_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@Configuration["SiteInformation:modulename"]
</div>
</div>
<div class="col-md-7">
<ol class="breadcrumb" style="">
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]">หน้าแรก</a></li>
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]@Configuration["SiteInformation:appsite"]">@Configuration["SiteInformation:modulename"]</a></li>
<li class="breadcrumb-item active">ปรับเลื่อนค่าตอบแทน</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title"><div class="line"></div>ปรับเลื่อนค่าตอบแทน</div>
<div class="tools">
<div class="row">
<div class="form-group col-md-3">
<label id='lab_s_eva_adjust_postponement_normal_fiscal_year' for='s_eva_adjust_postponement_normal_fiscal_year'>ปีงบประมาณ </label>
<input class="form-control" type="number" id="s_eva_adjust_postponement_normal_fiscal_year" iLabel="ปีงบประมาณ " iRequire="true" iGroup="s_eva_adjust_postponement_normal" title='ปีงบประมาณ ' placeholder='ปีงบประมาณ ' />
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_adjust_postponement_normal_theRound' for='s_eva_adjust_postponement_normal_theRound'>ครั้งที่เลื่อน</label>
<input class="form-control" type="number" id="s_eva_adjust_postponement_normal_theRound" iLabel="ครั้งที่เลื่อน" iRequire="true" iGroup="s_eva_adjust_postponement_normal" title='ครั้งที่เลื่อน' placeholder='ครั้งที่เลื่อน' />
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_adjust_postponement_normal_org_id' for='s_eva_adjust_postponement_normal_org_id'>หน่วยงาน</label>
<select class="form-control" id="s_eva_adjust_postponement_normal_org_id" iLabel="หน่วยงาน" iRequire="true" iGroup="s_eva_adjust_postponement_normal" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
</div>
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_normal_DoSearch();">ค้นหา</button>
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_normal_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
</div>
</div>
</div>
<table id="eva_adjust_postponement_normalTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_adjust_postponement_normal_fiscal_year'>ปีงบประมาณ </label></th>
<th><label id='h_eva_adjust_postponement_normal_theDate'>วันที่เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_normal_theRound'>ครั้งที่เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_normal_create_evaluation_id'>กลุ่มการประเมิน</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_normal/eva_adjust_postponement_normal.js"></script>
<script>
$(document).ready(function () {
eva_adjust_postponement_normal_InitiateDataTable();
eva_adjust_postponement_normal_InitialForm();
SetupValidationRemark("eva_adjust_postponement_normal");
});
</script>
}

View File

@@ -0,0 +1,231 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_adjust_postponement_normal";
Layout = "_LayoutDirect";
}
<div class="modal fade" id="eva_adjust_postponement_detail_normalModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_adjust_postponement_detail_normalModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="eva_adjust_postponement_detail_normalModelLabel">บันทึกข้อมูล การปรับเลื่อนค่าตอบแทน</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_normal_id" />
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_normal_adjust_postponement_id" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_employee_id" for="eva_adjust_postponement_detail_normal_employee_id">ผู้รับการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_detail_normal_employee_id" iLabel="ผู้รับการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_sarary" for="eva_adjust_postponement_detail_normal_sarary">เงินเดือน ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_sarary" iLabel="เงินเดือน ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_cost_living" for="eva_adjust_postponement_detail_normal_cost_living">ค่าครองชีพ ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_cost_living" iLabel="ค่าครองชีพ ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_middle" for="eva_adjust_postponement_detail_normal_middle">ค่ากลางฐานในการคำนวณ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_middle" iLabel="ค่ากลางฐานในการคำนวณ" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_promoted_percentage" for="eva_adjust_postponement_detail_normal_promoted_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_promoted_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_total_promote" for="eva_adjust_postponement_detail_normal_total_promote">จำนวนเงินที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_total_promote" iLabel="จำนวนเงินที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_new_sarary" for="eva_adjust_postponement_detail_normal_new_sarary">เงินเดือนใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_new_sarary" iLabel="เงินเดือนใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_new_cost_living" for="eva_adjust_postponement_detail_normal_new_cost_living">ค่าครองชีพใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_new_cost_living" iLabel="ค่าครองชีพใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_adjust_postponement_detail_normal_remark" for="eva_adjust_postponement_detail_normal_remark">หมายเหตุ</label>
<textarea class="form-control" rows="4" cols="50" id="eva_adjust_postponement_detail_normal_remark" iLabel="หมายเหตุ" iRequire="true" iGroup="eva_adjust_postponement_detail_normal"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_normal_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@Configuration["SiteInformation:modulename"]
</div>
</div>
<div class="col-md-7">
<ol class="breadcrumb" style="">
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]">หน้าแรก</a></li>
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]@Configuration["SiteInformation:appsite"]">@Configuration["SiteInformation:modulename"]</a></li>
<li class="breadcrumb-item active">ปรับเลื่อนค่าตอบแทน</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>ปรับเลื่อนค่าตอบแทน</div>
<section class="card no-border">
<div class="card-body" style="">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_normal_id" />
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_fiscal_year" for="eva_adjust_postponement_normal_fiscal_year">ปีงบประมาณ </label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_fiscal_year" iLabel="ปีงบประมาณ " iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_theDate" for="eva_adjust_postponement_normal_theDate">วันที่เลื่อน</label>
<input class="form-control" type="text" id="eva_adjust_postponement_normal_theDate" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_theRound" for="eva_adjust_postponement_normal_theRound">ครั้งที่เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_theRound" iLabel="ครั้งที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_managed_by" for="eva_adjust_postponement_normal_managed_by">ผู้จัดทำข้อมูล</label>
<select class="form-control" id="eva_adjust_postponement_normal_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_create_evaluation_id" for="eva_adjust_postponement_normal_create_evaluation_id">กลุ่มการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_normal_create_evaluation_id" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit" for="eva_adjust_postponement_normal_limit">บริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit" iLabel="บริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_frame" for="eva_adjust_postponement_normal_limit_frame">กรอบวงเงินร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_frame" iLabel="กรอบวงเงินร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_quota" for="eva_adjust_postponement_normal_limit_quota">จำนวนเงินที่สามารถบริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_percentage" for="eva_adjust_postponement_normal_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
</div>
</div>
</div>
</section>
<div class="row">
<div class="form-group col-md-12">
<button type="button" class="btn btn-outline" onclick="javascript:window_close()" style="background-color: #fff;">ยกเลิก</button>
<button type="button" class="btn btn-submit" onclick="javascript:eva_adjust_postponement_normal_PutUpdate()">บันทึก</button>
</div>
</div>
</section>
<br/>
<section class="wrapper">
<div class="title"><div class="line"></div>รายชื่อบุคคลากร</div>
<div class="tools">
<div class="row">
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_detail_normal_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> ประมวลผลรายชื่อบุคคลากร</button>
</div>
</div>
</div>
<table id="eva_adjust_postponement_detail_normalTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_eva_result'>ผลการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_remark'>หมายเหตุ</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_normal/eva_adjust_postponement_normal_d.js"></script>
<script src="~/js/eva_adjust_postponement_detail_normal/eva_adjust_postponement_detail_normal.js"></script>
<script>
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
eva_adjust_postponement_normal_SetEditForm(id);
eva_adjust_postponement_detail_normal_InitiateDataTable(id);
eva_adjust_postponement_detail_normal_InitialForm();
} else {
eva_adjust_postponement_normal_SetCreateForm();
}
SetupValidationRemark("eva_adjust_postponement_normal");
SetupValidationRemark("eva_adjust_postponement_detail_normal");
});
</script>
}