ปรับปรุงหลายส่วน

This commit is contained in:
nakorn
2021-11-15 13:53:13 +07:00
parent 6d0a2ace7d
commit 4b98790d2e
27 changed files with 2690 additions and 50 deletions

View File

@@ -45,6 +45,11 @@
<label id="lab_eva_create_evaluation_supervisor2_id" for="eva_create_evaluation_supervisor2_id">ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)</label>
<select class="form-control" id="eva_create_evaluation_supervisor2_id" iLabel="ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)" iRequire="false" iGroup="eva_create_evaluation"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_supervisor3_id" for="eva_create_evaluation_supervisor3_id">ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)</label>
<select class="form-control" id="eva_create_evaluation_supervisor3_id" iLabel="ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)" iRequire="false" iGroup="eva_create_evaluation"></select>
</div>
</div>
<div class='row'>
@@ -123,12 +128,12 @@
</thead>
<tbody></tbody>
</table>
</div>
</div>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_create_evaluation/eva_create_evaluation.js?version=@MyHelper.GetDummyText()"></script>
<script>
<script src="~/js/eva_create_evaluation/eva_create_evaluation.js?version=@MyHelper.GetDummyText()"></script>
<script>
$(document).ready(function () {
eva_create_evaluation_InitiateDataTable();
eva_create_evaluation_InitialForm();
@@ -142,9 +147,12 @@
$("#eva_create_evaluation_supervisor2_id").select2({
dropdownParent: $('#eva_create_evaluationModel')
});
$("#eva_create_evaluation_supervisor3_id").select2({
dropdownParent: $('#eva_create_evaluationModel')
});
$("#eva_create_evaluation_detail_employee_id").select2();
$("#eva_create_evaluation_detail_chief").select2();
});
</script>
</script>
}

View File

@@ -50,8 +50,16 @@
<label id="lab_eva_create_evaluation_detail_supervisor2_id" for="eva_create_evaluation_detail_supervisor2_id">ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)</label>
<select class="form-control" id="eva_create_evaluation_detail_supervisor2_id" iLabel="ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)" iRequire="false" iGroup="eva_create_evaluation_detail"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_supervisor3_id" for="eva_create_evaluation_detail_supervisor3_id">ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)</label>
<select class="form-control" id="eva_create_evaluation_detail_supervisor3_id" iLabel="ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)" iRequire="false" iGroup="eva_create_evaluation_detail" ></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_detail_work_period" for="eva_create_evaluation_detail_work_period">ระยะเวลาทำงาน ในรอบการประเมินนี้ (เดือน)</label>
<input class="form-control" type="number" id="eva_create_evaluation_detail_work_period" iLabel="ระยะเวลาทำงาน ในรอบการประเมินนี้ (เดือน)" iRequire="false" iGroup="eva_create_evaluation_detail" />
@@ -159,6 +167,11 @@
<label id="lab_eva_create_evaluation_supervisor2_id" for="eva_create_evaluation_supervisor2_id">ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)</label>
<select class="form-control" id="eva_create_evaluation_supervisor2_id" iLabel="ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)" iRequire="false" iGroup="eva_create_evaluation"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_create_evaluation_supervisor3_id" for="eva_create_evaluation_supervisor3_id">ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)</label>
<select class="form-control" id="eva_create_evaluation_supervisor3_id" iLabel="ผู้บังคับบัญชาเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)" iRequire="false" iGroup="eva_create_evaluation"></select>
</div>
</div>
<div class='row'>
@@ -238,50 +251,55 @@
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_create_evaluation/eva_create_evaluation_d.js?version=@MyHelper.GetDummyText()"></script>
<script src="~/js/eva_create_evaluation_detail/eva_create_evaluation_detail.js?version=@MyHelper.GetDummyText()"></script>
<script>
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
eva_create_evaluation_SetEditForm(id);
eva_create_evaluation_detail_InitiateDataTable(id);
eva_create_evaluation_detail_InitialForm();
SetupValidationRemark("eva_create_evaluation_detail");
} else {
eva_create_evaluation_SetCreateForm();
}
SetupValidationRemark("eva_create_evaluation");
$("#eva_create_evaluation_employee_id").select2();
$("#eva_create_evaluation_supervisor1_id").select2();
$("#eva_create_evaluation_supervisor2_id").select2();
$("#eva_create_evaluation_detail_employee_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_chief").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_eva_employee_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_supervisor1_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_supervisor2_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
});
function go_next() {
var id = getUrlParameter("id");
window.location = "eva_create_evaluation_d_summary?id=" + id;
<script src="~/js/eva_create_evaluation/eva_create_evaluation_d.js?version=@MyHelper.GetDummyText()"></script>
<script src="~/js/eva_create_evaluation_detail/eva_create_evaluation_detail.js?version=@MyHelper.GetDummyText()"></script>
<script>
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
eva_create_evaluation_SetEditForm(id);
eva_create_evaluation_detail_InitiateDataTable(id);
eva_create_evaluation_detail_InitialForm();
SetupValidationRemark("eva_create_evaluation_detail");
} else {
eva_create_evaluation_SetCreateForm();
}
SetupValidationRemark("eva_create_evaluation");
$("#eva_create_evaluation_employee_id").select2();
$("#eva_create_evaluation_supervisor1_id").select2();
$("#eva_create_evaluation_supervisor2_id").select2();
$("#eva_create_evaluation_supervisor3_id").select2();
</script>
$("#eva_create_evaluation_detail_employee_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_chief").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_eva_employee_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_supervisor1_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_supervisor2_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
$("#eva_create_evaluation_detail_supervisor3_id").select2({
dropdownParent: $('#eva_create_evaluation_detailModel')
});
});
function go_next() {
var id = getUrlParameter("id");
window.location = "eva_create_evaluation_d_summary?id=" + id;
}
</script>
}
@section HeadPlaceHolder{
<link href="~/BackendScript/css/step.css" rel="stylesheet">
<link href="~/BackendScript/css/step.css" rel="stylesheet">
}