Change Request/Feature OP เลขที่ 3217, 3200, 3216, 3219 ดำเนินการแล้ว
This commit is contained in:
Binary file not shown.
@@ -67,7 +67,7 @@ namespace TodoAPI2.Models
|
|||||||
}
|
}
|
||||||
public eva_create_evaluationWithSelectionViewModel GetWithSelection(int id)
|
public eva_create_evaluationWithSelectionViewModel GetWithSelection(int id)
|
||||||
{
|
{
|
||||||
var all_emp = emp.GetListByemployee_type(null, null);
|
var all_emp = emp.GetAllEmployee();
|
||||||
|
|
||||||
var entity = _repository.Get(id);
|
var entity = _repository.Get(id);
|
||||||
var i = Mapper.Map<eva_create_evaluationWithSelectionViewModel>(entity);
|
var i = Mapper.Map<eva_create_evaluationWithSelectionViewModel>(entity);
|
||||||
@@ -81,7 +81,7 @@ namespace TodoAPI2.Models
|
|||||||
}
|
}
|
||||||
public eva_create_evaluationWithSelectionViewModel GetBlankItem()
|
public eva_create_evaluationWithSelectionViewModel GetBlankItem()
|
||||||
{
|
{
|
||||||
var all_emp = emp.GetListByemployee_type(null, null);
|
var all_emp = emp.GetAllEmployee();
|
||||||
|
|
||||||
var i = new eva_create_evaluationWithSelectionViewModel();
|
var i = new eva_create_evaluationWithSelectionViewModel();
|
||||||
i.item_performance_plan_id = (from x in _repository.Context.eva_performance_plan select x).ToList();
|
i.item_performance_plan_id = (from x in _repository.Context.eva_performance_plan select x).ToList();
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ namespace TodoAPI2.Models
|
|||||||
|
|
||||||
public string search_employee_fullname { get; set; }
|
public string search_employee_fullname { get; set; }
|
||||||
|
|
||||||
|
public int? employee_id { get; set; }
|
||||||
|
|
||||||
public string active_mode { get; set; }
|
public string active_mode { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ namespace TodoAPI2.Models
|
|||||||
|
|
||||||
public string search_employee_fullname { get; set; }
|
public string search_employee_fullname { get; set; }
|
||||||
|
|
||||||
|
public int? employee_id { get; set; }
|
||||||
|
|
||||||
public string path { get; set; }
|
public string path { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,6 +170,7 @@ namespace TodoAPI2.Models
|
|||||||
item.item_level_score = (from i in _repository.Context.eva_level_score
|
item.item_level_score = (from i in _repository.Context.eva_level_score
|
||||||
orderby i.min_score
|
orderby i.min_score
|
||||||
select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();
|
select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();
|
||||||
|
item.item_employee_id = (from x in emp.GetListByemployee_type(null,null) select x).ToList();
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
@@ -177,6 +178,7 @@ namespace TodoAPI2.Models
|
|||||||
{
|
{
|
||||||
var i = new eva_create_evaluation_detail_processWithSelectionViewModel();
|
var i = new eva_create_evaluation_detail_processWithSelectionViewModel();
|
||||||
i.item_org_id = ext.GetDepartmentData();
|
i.item_org_id = ext.GetDepartmentData();
|
||||||
|
i.item_employee_id = (from x in emp.GetListByemployee_type(null, null) select x).ToList();
|
||||||
//i.item_level_score = (from j in _repository.Context.eva_level_score
|
//i.item_level_score = (from j in _repository.Context.eva_level_score
|
||||||
// orderby j.min_score
|
// orderby j.min_score
|
||||||
// select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();
|
// select Mapper.Map<eva_level_scoreViewModel>(i)).ToList();
|
||||||
@@ -240,6 +242,7 @@ namespace TodoAPI2.Models
|
|||||||
|| (fk_eva_create_evaluationResult10.supervisor1_id.HasValue && emp_id == fk_eva_create_evaluationResult10.supervisor1_id)
|
|| (fk_eva_create_evaluationResult10.supervisor1_id.HasValue && emp_id == fk_eva_create_evaluationResult10.supervisor1_id)
|
||||||
|| (fk_eva_create_evaluationResult10.supervisor2_id.HasValue && emp_id == fk_eva_create_evaluationResult10.supervisor2_id)
|
|| (fk_eva_create_evaluationResult10.supervisor2_id.HasValue && emp_id == fk_eva_create_evaluationResult10.supervisor2_id)
|
||||||
)
|
)
|
||||||
|
&& (!model.employee_id.HasValue || m_eva_create_evaluation_detail_process.employee_id == model.employee_id)
|
||||||
|
|
||||||
orderby
|
orderby
|
||||||
fk_sort_depResult2.external_code,
|
fk_sort_depResult2.external_code,
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ namespace TodoAPI2.Models
|
|||||||
|
|
||||||
public List<eva_level_scoreViewModel> item_level_score { get; set; }
|
public List<eva_level_scoreViewModel> item_level_score { get; set; }
|
||||||
|
|
||||||
|
public List<external_employeeViewModel> item_employee_id { get; set; }
|
||||||
|
|
||||||
public decimal? create_evaluation_score1 { get; set; }
|
public decimal? create_evaluation_score1 { get; set; }
|
||||||
|
|
||||||
public decimal? create_evaluation_score2 { get; set; }
|
public decimal? create_evaluation_score2 { get; set; }
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ namespace TodoAPI2.Models
|
|||||||
&& (m_eva_evaluation_behavior_process.create_evaluation_detail_id == model.create_evaluation_detail_id || !model.create_evaluation_detail_id.HasValue)
|
&& (m_eva_evaluation_behavior_process.create_evaluation_detail_id == model.create_evaluation_detail_id || !model.create_evaluation_detail_id.HasValue)
|
||||||
|
|
||||||
|
|
||||||
orderby m_eva_evaluation_behavior_process.behavior
|
orderby m_eva_evaluation_behavior_process.behavior_fix
|
||||||
select new eva_evaluation_behavior_processViewModel()
|
select new eva_evaluation_behavior_processViewModel()
|
||||||
{
|
{
|
||||||
id = m_eva_evaluation_behavior_process.id,
|
id = m_eva_evaluation_behavior_process.id,
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ namespace TodoAPI2.Models
|
|||||||
&& (m_eva_evaluation_behavior_process2.create_evaluation_detail_id == model.create_evaluation_detail_id || !model.create_evaluation_detail_id.HasValue)
|
&& (m_eva_evaluation_behavior_process2.create_evaluation_detail_id == model.create_evaluation_detail_id || !model.create_evaluation_detail_id.HasValue)
|
||||||
|
|
||||||
|
|
||||||
orderby m_eva_evaluation_behavior_process2.behavior
|
orderby m_eva_evaluation_behavior_process2.behavior_fix
|
||||||
select new eva_evaluation_behavior_process2ViewModel()
|
select new eva_evaluation_behavior_process2ViewModel()
|
||||||
{
|
{
|
||||||
id = m_eva_evaluation_behavior_process2.id,
|
id = m_eva_evaluation_behavior_process2.id,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ namespace TodoAPI2.Models
|
|||||||
external_employeeWithSelectionViewModel GetBlankItem();
|
external_employeeWithSelectionViewModel GetBlankItem();
|
||||||
|
|
||||||
employee_leaveViewModel GetLeaveOfEmployee(int employee_id, DateTime? start_date, DateTime? end_date);
|
employee_leaveViewModel GetLeaveOfEmployee(int employee_id, DateTime? start_date, DateTime? end_date);
|
||||||
|
List<external_employeeViewModel> GetAllEmployee();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -202,6 +202,144 @@ order by he.firstname, he.lastname;
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<external_employeeViewModel> GetAllEmployee()
|
||||||
|
{
|
||||||
|
var sql = string.Format(@"
|
||||||
|
select he.employee_id as id, mpn.position_number,he.employee_no,he.position_no,
|
||||||
|
CONCAT(htm.title_name,' ',he.firstname,' ',he.lastname) as fullname,opd.position_name,
|
||||||
|
CONCAT(he.firstname,he.lastname) as halfname,
|
||||||
|
orgdata.id as department_id,orgdata.department_name,orgdata.department_code,he.salary,
|
||||||
|
he.employee_type_id, het.employee_type_name,opd.position_id as position_id,
|
||||||
|
u.email as user_email, u.id as user_id,hpl.position_level_name,
|
||||||
|
|
||||||
|
he.position_level_id,
|
||||||
|
he.position_type_id,
|
||||||
|
hpl.position_level_id as hpl_position_level_id,
|
||||||
|
hpt.position_type_id as hpt_position_type_id,
|
||||||
|
he.position_allowance,
|
||||||
|
he.other_money,
|
||||||
|
|
||||||
|
hpt.position_type_name,he.packing_date,he.cost_of_living,
|
||||||
|
(CASE WHEN (SELECT hrm_work_rec.id FROM hrm_working_records as hrm_work_rec
|
||||||
|
WHERE hrm_work_rec.employee_id = he.employee_id
|
||||||
|
AND hrm_work_rec.start_date <= now()
|
||||||
|
AND hrm_work_rec.end_date >= now()
|
||||||
|
AND hrm_work_rec.deleted_at IS null
|
||||||
|
LIMIT 1) IS NOT null THEN 'ช่วยปฎิบัติหน้าที่'
|
||||||
|
ELSE null END) as remark_hrm_work_record,
|
||||||
|
|
||||||
|
org_type_depart.department_degree_id
|
||||||
|
|
||||||
|
from public.hrm_employees as he
|
||||||
|
left join public.hrm_position_types as hpt on he.position_type_id=hpt.id
|
||||||
|
left join public.hrm_position_levels as hpl on he.position_level_id = hpl.id
|
||||||
|
left join public.mpp_position_numbers as mpn on he.position_no = mpn.id
|
||||||
|
left join public.org_position_datas as opd on opd.position_id = mpn.position_id
|
||||||
|
left join public.hrm_title_masters as htm on htm.id = he.prefix_card_name
|
||||||
|
left join public.{0}DepartmentData{0} as orgdata on orgdata.id = he.department_id
|
||||||
|
left join public.hrm_employee_types as het on het.id = he.employee_type_id
|
||||||
|
left join public.users as u on u.employee_id = he.employee_id
|
||||||
|
left join public.org_type_departments as org_type_depart on orgdata.department_type_id = org_type_depart.id
|
||||||
|
left join public.org_type_department_colors as org_depart_color on org_type_depart.department_degree_id = org_depart_color.id
|
||||||
|
where he.deleted_at is null
|
||||||
|
and hpt.deleted_at is null
|
||||||
|
and hpl.deleted_at is null
|
||||||
|
and mpn.deleted_at is null
|
||||||
|
and opd.deleted_at is null
|
||||||
|
and htm.deleted_at is null
|
||||||
|
and orgdata.deleted_at is null
|
||||||
|
and het.deleted_at is null
|
||||||
|
and u.deleted_at is null
|
||||||
|
and org_type_depart.deleted_at is null
|
||||||
|
and org_depart_color.deleted_at is null
|
||||||
|
order by he.firstname, he.lastname;
|
||||||
|
", '"'.ToString());
|
||||||
|
var para = db.GetParameterListNpgsql();
|
||||||
|
DataTable dt = db.ExecuteDataTableNpgsql(sql, para);
|
||||||
|
var result = new List<external_employeeViewModel>();
|
||||||
|
foreach (DataRow dr in dt.Rows)
|
||||||
|
{
|
||||||
|
var i = new external_employeeViewModel();
|
||||||
|
i.id = Convert.ToInt32(dr["id"]);
|
||||||
|
i.position_number = dr["position_number"].ToString();
|
||||||
|
i.position_name = dr["position_name"].ToString();
|
||||||
|
i.fullname = dr["fullname"].ToString();
|
||||||
|
i.halfname = dr["halfname"].ToString();
|
||||||
|
if (dr["employee_type_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.employee_type_id = Convert.ToInt32(dr["employee_type_id"]);
|
||||||
|
i.employee_type_name = dr["employee_type_name"].ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dr["position_type_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.position_type_id = Convert.ToInt32(dr["position_type_id"]);
|
||||||
|
i.position_type_name = dr["position_type_name"].ToString();
|
||||||
|
i.hpt_position_type_id = Convert.ToInt32(dr["hpt_position_type_id"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dr["position_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.position_id = Convert.ToInt32(dr["position_id"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dr["user_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.user_email = dr["user_email"].ToString();
|
||||||
|
i.user_id = Convert.ToInt32(dr["user_id"]);
|
||||||
|
}
|
||||||
|
if (dr["department_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.department_id = Convert.ToInt32(dr["department_id"]);
|
||||||
|
i.department_name = dr["department_name"].ToString();
|
||||||
|
i.department_code = dr["department_code"].ToString();
|
||||||
|
}
|
||||||
|
if (dr["employee_no"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.employee_no = dr["employee_no"].ToString();
|
||||||
|
}
|
||||||
|
if (dr["position_level_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.position_level_id = Convert.ToInt32(dr["position_level_id"]);
|
||||||
|
i.position_level_text = dr["position_level_name"].ToString();
|
||||||
|
i.hpl_position_level_id = Convert.ToInt32(dr["hpl_position_level_id"]);
|
||||||
|
}
|
||||||
|
i.salary = 0;
|
||||||
|
if (dr["salary"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.salary = Convert.ToDecimal(dr["salary"]);
|
||||||
|
}
|
||||||
|
i.cost_of_living = 0;
|
||||||
|
if (dr["cost_of_living"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.cost_of_living = Convert.ToDecimal(dr["cost_of_living"]);
|
||||||
|
}
|
||||||
|
if (dr["position_allowance"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.position_allowance = Convert.ToDecimal(dr["position_allowance"]);
|
||||||
|
}
|
||||||
|
if (dr["other_money"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.other_money = Convert.ToDecimal(dr["other_money"]);
|
||||||
|
}
|
||||||
|
if (dr["packing_date"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.packing_date = Convert.ToDateTime(dr["packing_date"]);
|
||||||
|
}
|
||||||
|
if (dr["department_degree_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.department_degree_id = Convert.ToInt32(dr["department_degree_id"]);
|
||||||
|
}
|
||||||
|
if (dr["remark_hrm_work_record"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
i.remark_hrm_work_record = dr["remark_hrm_work_record"].ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
result.Add(i);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
public external_employeeViewModel GetEmployeeForLogin(int? user_id)
|
public external_employeeViewModel GetEmployeeForLogin(int? user_id)
|
||||||
{
|
{
|
||||||
var sql = @"
|
var sql = @"
|
||||||
|
|||||||
@@ -26,17 +26,22 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<input class="form-control" type="hidden" id="s_eva_create_evaluation_detail_process_create_evaluation_id" />
|
<input class="form-control" type="hidden" id="s_eva_create_evaluation_detail_process_create_evaluation_id" />
|
||||||
|
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-5">
|
||||||
<label id='lab_s_eva_create_evaluation_detail_process_org_id' for='s_eva_create_evaluation_detail_process_org_id'>หน่วยงาน</label>
|
<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>
|
<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>
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<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>
|
||||||
|
|
||||||
|
<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>
|
<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='รหัสพนักงาน' />
|
<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='รหัสพนักงาน' />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div style="display:none;" class="form-group col-md-3">
|
||||||
<label id='lab_s_eva_create_evaluation_detail_process_search_employee_fullname' for='s_eva_create_evaluation_detail_process_search_employee_fullname'>ชื่อ-สกุล</label>
|
<label id='lab_s_eva_create_evaluation_detail_process_search_employee_fullname' for='s_eva_create_evaluation_detail_process_search_employee_fullname'>ชื่อ-สกุล</label>
|
||||||
<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='ชื่อ-สกุล' />
|
<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>
|
||||||
@@ -77,6 +82,7 @@
|
|||||||
eva_create_evaluation_detail_process_InitialForm();
|
eva_create_evaluation_detail_process_InitialForm();
|
||||||
SetupValidationRemark("eva_create_evaluation_detail_process");
|
SetupValidationRemark("eva_create_evaluation_detail_process");
|
||||||
$("#s_eva_create_evaluation_detail_process_org_id").select2();
|
$("#s_eva_create_evaluation_detail_process_org_id").select2();
|
||||||
|
$("#s_eva_create_evaluation_detail_process_employee_id").select2();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"connectionStrings": {
|
"connectionStrings": {
|
||||||
//"mainDBConnectionString": "Server=192.168.1.34;Port=32432;Database=tb320_hr_site2;User ID=postgres;Password=ZdPr0jects;",
|
"mainDBConnectionString": "Server=192.168.1.34;Port=32432;Database=tb320_hr_site2;User ID=postgres;Password=ZdPr0jects;",
|
||||||
//"externalDBConnectionString": "Server=192.168.1.34;Port=32432;Database=tb320_hr_site2;User ID=postgres;Password=ZdPr0jects;"
|
"externalDBConnectionString": "Server=192.168.1.34;Port=32432;Database=tb320_hr_site2;User ID=postgres;Password=ZdPr0jects;"
|
||||||
"mainDBConnectionString": "Server=192.168.2.233;Port=5432;Database=tb320_hr_site2;User ID=postgres;Password=project0*;",
|
//"mainDBConnectionString": "Server=192.168.2.233;Port=5432;Database=tb320_hr_site2;User ID=postgres;Password=project0*;",
|
||||||
"externalDBConnectionString": "Server=192.168.2.233;Port=5432;Database=tb320_hr_site2;User ID=postgres;Password=project0*;"
|
//"externalDBConnectionString": "Server=192.168.2.233;Port=5432;Database=tb320_hr_site2;User ID=postgres;Password=project0*;"
|
||||||
},
|
},
|
||||||
"IdentityServer": {
|
"IdentityServer": {
|
||||||
"url": "",
|
"url": "",
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ eva_create_evaluation_detail_processSearchObject.create_evaluation_id = $("#s_ev
|
|||||||
eva_create_evaluation_detail_processSearchObject.org_id = $("#s_eva_create_evaluation_detail_process_org_id").val();
|
eva_create_evaluation_detail_processSearchObject.org_id = $("#s_eva_create_evaluation_detail_process_org_id").val();
|
||||||
eva_create_evaluation_detail_processSearchObject.search_employee_code = $("#s_eva_create_evaluation_detail_process_search_employee_code").val();
|
eva_create_evaluation_detail_processSearchObject.search_employee_code = $("#s_eva_create_evaluation_detail_process_search_employee_code").val();
|
||||||
eva_create_evaluation_detail_processSearchObject.search_employee_fullname = $("#s_eva_create_evaluation_detail_process_search_employee_fullname").val();
|
eva_create_evaluation_detail_processSearchObject.search_employee_fullname = $("#s_eva_create_evaluation_detail_process_search_employee_fullname").val();
|
||||||
|
eva_create_evaluation_detail_processSearchObject.employee_id = $("#s_eva_create_evaluation_detail_process_employee_id").val();
|
||||||
|
|
||||||
eva_create_evaluation_detail_processSearchObject.path = "d";
|
eva_create_evaluation_detail_processSearchObject.path = "d";
|
||||||
|
|
||||||
@@ -20,7 +21,8 @@ $("#s_eva_create_evaluation_detail_process_create_evaluation_id").val(data.creat
|
|||||||
DropDownClearFormAndFeedWithData($("#s_eva_create_evaluation_detail_process_org_id"), data, "id", "external_name", "item_org_id", data.org_id);
|
DropDownClearFormAndFeedWithData($("#s_eva_create_evaluation_detail_process_org_id"), data, "id", "external_name", "item_org_id", data.org_id);
|
||||||
$("#s_eva_create_evaluation_detail_process_search_employee_code").val(data.search_employee_code);
|
$("#s_eva_create_evaluation_detail_process_search_employee_code").val(data.search_employee_code);
|
||||||
$("#s_eva_create_evaluation_detail_process_search_employee_fullname").val(data.search_employee_fullname);
|
$("#s_eva_create_evaluation_detail_process_search_employee_fullname").val(data.search_employee_fullname);
|
||||||
|
DropDownClearFormAndFeedWithData($("#s_eva_create_evaluation_detail_process_employee_id"), data, "id", "fullname", "item_employee_id", data.employee_id);
|
||||||
|
console.log(data.item_employee_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
//================= Form Data Customizaiton =========================================
|
//================= Form Data Customizaiton =========================================
|
||||||
|
|||||||
Reference in New Issue
Block a user