ปรับปรุงการค้นหา

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-09-11 12:28:00 +07:00
parent edc9bf053e
commit 98dd8b0860
14 changed files with 103 additions and 39 deletions

View File

@@ -29,20 +29,19 @@
<div class="row">
<input class="form-control" type="hidden" id="s_eva_create_evaluation_detail_firstdoc_create_evaluation_id" />
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_firstdoc_evaluation_round_search' for='s_eva_create_evaluation_detail_firstdoc_evaluation_round_search'>รอบการประเมิน</label>
<select class="form-control" id="s_eva_create_evaluation_detail_firstdoc_evaluation_round_search" iLabel="รอบการประเมิน" iRequire="false" iGroup="s_eva_create_evaluation_detail_firstdoc" title='รอบการประเมิน' placeholder='รอบการประเมิน'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_firstdoc_employee_id' for='s_eva_create_evaluation_detail_firstdoc_employee_id'>ชื่อ-สกุล</label>
<select class="form-control" id="s_eva_create_evaluation_detail_firstdoc_employee_id" iLabel="ชื่อ-สกุล" iRequire="false" iGroup="s_eva_create_evaluation_detail_firstdoc" title='ชื่อ-สกุล' placeholder='ชื่อ-สกุล'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_firstdoc_org_id' for='s_eva_create_evaluation_detail_firstdoc_org_id'>หน่วยงาน</label>
<select class="form-control" id="s_eva_create_evaluation_detail_firstdoc_org_id" iLabel="หน่วยงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_firstdoc" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_firstdoc_search_employee_code' for='s_eva_create_evaluation_detail_firstdoc_search_employee_code'>รหัสพนักงาน</label>
<input class="form-control" type="text" id="s_eva_create_evaluation_detail_firstdoc_search_employee_code" iLabel="รหัสพนักงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_firstdoc" title='รหัสพนักงาน' placeholder='รหัสพนักงาน' />
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_firstdoc_search_employee_fullname' for='s_eva_create_evaluation_detail_firstdoc_search_employee_fullname'>ชื่อ-สกุล</label>
<input class="form-control" type="text" id="s_eva_create_evaluation_detail_firstdoc_search_employee_fullname" iLabel="ชื่อ-สกุล" iRequire="true" iGroup="s_eva_create_evaluation_detail_firstdoc" title='ชื่อ-สกุล' placeholder='ชื่อ-สกุล' />
<select class="form-control" id="s_eva_create_evaluation_detail_firstdoc_org_id" iLabel="หน่วยงาน" iRequire="false" iGroup="s_eva_create_evaluation_detail_firstdoc" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
</div>
<div class="col-md-3">
@@ -81,6 +80,10 @@
eva_create_evaluation_detail_firstdoc_InitiateDataTable();
eva_create_evaluation_detail_firstdoc_InitialForm();
SetupValidationRemark("eva_create_evaluation_detail_firstdoc");
$("#s_eva_create_evaluation_detail_firstdoc_org_id").select2();
$("#s_eva_create_evaluation_detail_firstdoc_employee_id").select2();
$("#s_eva_create_evaluation_detail_firstdoc_evaluation_round_search").select2();
});
</script>
}

View File

@@ -26,16 +26,30 @@
<div class="row">
<input class="form-control" type="hidden" id="s_eva_create_evaluation_detail_process_create_evaluation_id" />
<div class="form-group col-md-5">
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_process_evaluation_round_search' for='s_eva_create_evaluation_detail_process_evaluation_round_search'>รอบการประเมิน</label>
<select class="form-control" id="s_eva_create_evaluation_detail_process_evaluation_round_search" iLabel="รอบการประเมิน" iRequire="false" iGroup="s_eva_create_evaluation_detail_process" title='รอบการประเมิน' placeholder='รอบการประเมิน'></select>
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_process_employee_id' for='s_eva_create_evaluation_detail_process_employee_id'>ชื่อ-สกุล</label>
<select class="form-control" id="s_eva_create_evaluation_detail_process_employee_id" iLabel="ชื่อ-สกุล พนักงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_process" title='ชื่อ-สกุล พนักงาน' placeholder='ชื่อ-สกุล พนักงาน'></select>
</div>
<div class="form-group col-md-4">
<label id='lab_s_eva_create_evaluation_detail_process_org_id' for='s_eva_create_evaluation_detail_process_org_id'>หน่วยงาน</label>
<select class="form-control" id="s_eva_create_evaluation_detail_process_org_id" iLabel="หน่วยงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_process" title='หน่วยงาน' placeholder='หน่วยงาน'></select>
</div>
<div class="form-group col-md-5">
<label id='lab_s_eva_create_evaluation_detail_process_employee_id' for='s_eva_create_evaluation_detail_process_employee_id'>ชื่อ-สกุล</label>
<select class="form-control" id="s_eva_create_evaluation_detail_process_employee_id" iLabel="ชื่อ-สกุล พนักงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_process" title='ชื่อ-สกุล พนักงาน' placeholder='ชื่อ-สกุล พนักงาน'></select>
<div class="col-md-2">
<br />
<button class="btn btn-info" onclick="javascript:eva_create_evaluation_detail_process_DoSearch();"><i class="fa fa-search" style="font-size: 14px;"></i> ค้นหา</button>
</div>
<div style="display:none;" class="form-group col-md-3">
<label id='lab_s_eva_create_evaluation_detail_process_search_employee_code' for='s_eva_create_evaluation_detail_process_search_employee_code'>รหัสพนักงาน</label>
<input class="form-control" type="text" id="s_eva_create_evaluation_detail_process_search_employee_code" iLabel="รหัสพนักงาน" iRequire="true" iGroup="s_eva_create_evaluation_detail_process" title='รหัสพนักงาน' placeholder='รหัสพนักงาน' />
@@ -46,11 +60,6 @@
<input class="form-control" type="text" id="s_eva_create_evaluation_detail_process_search_employee_fullname" iLabel="ชื่อ-สกุล" iRequire="true" iGroup="s_eva_create_evaluation_detail_process" title='ชื่อ-สกุล' placeholder='ชื่อ-สกุล' />
</div>
<div class="col-md-2">
<br />
<button class="btn btn-info" onclick="javascript:eva_create_evaluation_detail_process_DoSearch();"><i class="fa fa-search" style="font-size: 14px;"></i> ค้นหา</button>
</div>
</div>
</div>
<div style="overflow-x: auto;">
@@ -86,6 +95,7 @@
SetupValidationRemark("eva_create_evaluation_detail_process");
$("#s_eva_create_evaluation_detail_process_org_id").select2();
$("#s_eva_create_evaluation_detail_process_employee_id").select2();
$("#s_eva_create_evaluation_detail_process_evaluation_round_search").select2();
});
</script>
}

View File

@@ -169,7 +169,7 @@
<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-danger" onclick="javascript:window_close()"><i class="fa fa-repeat"></i> กลับ</button>
<button type="button" class="btn btn-submit" onclick="javascript:eva_limit_frame_group_PutUpdate()">บันทึก</button>
</div>
</div>

View File

@@ -75,12 +75,20 @@
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<button type="button" class="btn btn-danger" onclick="javascript:window_close()"><i class="fa fa-repeat"></i> กลับ</button>
</div>
</div>
</div>
</div>
</div>
</section>
<table id="eva_limit_frame_groupTable" class="display table table-bordered table-striped">
<thead>
<tr>
@@ -135,7 +143,7 @@
<div class="row mt-2">
<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:vw_limit_frame_plan_PutUpdate()">บันทึก</button>
<button class="btn btn-info" onclick="javascript:rep_eva_limit_frame_plan_DoSearch('pdf');">พิมพ์วงเงินที่ใช้ในการเลื่อนเงินเดือนของพนักงาน</button>
</div>