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,257 @@
var eva_create_evaluation_detail_process_editMode = "CREATE";
var eva_create_evaluation_detail_process_API = "/api/eva_create_evaluation_detail_process/";
//================= Search Customizaiton =========================================
function eva_create_evaluation_detail_process_GetSearchParameter() {
var eva_create_evaluation_detail_processSearchObject = new Object();
eva_create_evaluation_detail_processSearchObject.create_evaluation_id = $("#s_eva_create_evaluation_detail_process_create_evaluation_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_fullname = $("#s_eva_create_evaluation_detail_process_search_employee_fullname").val();
return eva_create_evaluation_detail_processSearchObject;
}
function eva_create_evaluation_detail_process_FeedDataToSearchForm(data) {
$("#s_eva_create_evaluation_detail_process_create_evaluation_id").val(data.create_evaluation_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_fullname").val(data.search_employee_fullname);
}
//================= Form Data Customizaiton =========================================
function eva_create_evaluation_detail_process_FeedDataToForm(data) {
$("#eva_create_evaluation_detail_process_id").val(data.id);
$("#eva_create_evaluation_detail_process_evaluation_round").text(data.evaluation_round);
$("#eva_create_evaluation_detail_process_employee_code").text(data.employee_code);
$("#eva_create_evaluation_detail_process_employee_fullname").text(data.employee_fullname);
$("#eva_create_evaluation_detail_process_employee_position").text(data.employee_position);
$("#eva_create_evaluation_detail_process_employee_position_type").text(data.employee_position_type);
$("#eva_create_evaluation_detail_process_employee_position_level").text(data.employee_position_level);
$("#eva_create_evaluation_detail_process_employee_org").text(data.employee_org);
$("#eva_create_evaluation_detail_process_chief_fullname").text(data.chief_fullname);
$("#eva_create_evaluation_detail_process_chief_position").text(data.chief_position);
$("#eva_create_evaluation_detail_process_create_evaluation_id").val(data.create_evaluation_id);
DropDownClearFormAndFeedWithData($("#eva_create_evaluation_detail_process_org_id"), data, "id", "external_name", "item_org_id", data.org_id);
$("#eva_create_evaluation_detail_process_search_employee_code").val(data.search_employee_code);
$("#eva_create_evaluation_detail_process_search_employee_fullname").val(data.search_employee_fullname);
}
function eva_create_evaluation_detail_process_GetFromForm() {
var eva_create_evaluation_detail_processObject = new Object();
eva_create_evaluation_detail_processObject.id = $("#eva_create_evaluation_detail_process_id").val();
eva_create_evaluation_detail_processObject.evaluation_round = $("#eva_create_evaluation_detail_process_evaluation_round").text();
eva_create_evaluation_detail_processObject.employee_code = $("#eva_create_evaluation_detail_process_employee_code").text();
eva_create_evaluation_detail_processObject.employee_fullname = $("#eva_create_evaluation_detail_process_employee_fullname").text();
eva_create_evaluation_detail_processObject.employee_position = $("#eva_create_evaluation_detail_process_employee_position").text();
eva_create_evaluation_detail_processObject.employee_position_type = $("#eva_create_evaluation_detail_process_employee_position_type").text();
eva_create_evaluation_detail_processObject.employee_position_level = $("#eva_create_evaluation_detail_process_employee_position_level").text();
eva_create_evaluation_detail_processObject.employee_org = $("#eva_create_evaluation_detail_process_employee_org").text();
eva_create_evaluation_detail_processObject.chief_fullname = $("#eva_create_evaluation_detail_process_chief_fullname").text();
eva_create_evaluation_detail_processObject.chief_position = $("#eva_create_evaluation_detail_process_chief_position").text();
eva_create_evaluation_detail_processObject.create_evaluation_id = $("#eva_create_evaluation_detail_process_create_evaluation_id").val();
eva_create_evaluation_detail_processObject.org_id = $("#eva_create_evaluation_detail_process_org_id").val();
eva_create_evaluation_detail_processObject.search_employee_code = $("#eva_create_evaluation_detail_process_search_employee_code").val();
eva_create_evaluation_detail_processObject.search_employee_fullname = $("#eva_create_evaluation_detail_process_search_employee_fullname").val();
return eva_create_evaluation_detail_processObject;
}
function eva_create_evaluation_detail_process_InitialForm(s) {
var successFunc = function (result) {
eva_create_evaluation_detail_process_FeedDataToForm(result);
eva_create_evaluation_detail_process_FeedDataToSearchForm(result);
if (s) {
// Incase model popup
$("#eva_create_evaluation_detail_processModel").modal("show");
}
endLoad();
};
startLoad();
AjaxGetRequest(apisite + eva_create_evaluation_detail_process_API + "GetBlankItem", successFunc, AlertDanger);
}
//================= Form Mode Setup and Flow =========================================
function eva_create_evaluation_detail_process_GoCreate() {
// Incase model popup
eva_create_evaluation_detail_process_SetCreateForm(true);
// Incase open new page
//window_open(appsite + "/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d");
}
function eva_create_evaluation_detail_process_GoEdit(a) {
window_open(appsite + "/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d?id=" + a);
}
function eva_create_evaluation_detail_process_GoEdit2(a) {
window_open(appsite + "/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d2?id=" + a);
}
function eva_create_evaluation_detail_process_SetEditForm(a) {
var successFunc = function (result) {
eva_create_evaluation_detail_process_editMode = "UPDATE";
eva_create_evaluation_detail_process_FeedDataToForm(result);
$("#eva_create_evaluation_detail_processModel").modal("show");
endLoad();
};
startLoad();
AjaxGetRequest(apisite + eva_create_evaluation_detail_process_API + a, successFunc, AlertDanger);
}
function eva_create_evaluation_detail_process_SetCreateForm(s) {
eva_create_evaluation_detail_process_editMode = "CREATE";
eva_create_evaluation_detail_process_InitialForm(s);
}
function eva_create_evaluation_detail_process_RefreshTable() {
// Incase model popup
eva_create_evaluation_detail_process_DoSearch();
// Incase open new page
//window.parent.eva_create_evaluation_detail_process_DoSearch();
}
//================= Update and Delete =========================================
var eva_create_evaluation_detail_process_customValidation = function (group) {
return "";
};
function eva_create_evaluation_detail_process_PutUpdate() {
if (!ValidateForm('eva_create_evaluation_detail_process', eva_create_evaluation_detail_process_customValidation))
{
return;
}
var data = eva_create_evaluation_detail_process_GetFromForm();
//Update Mode
if (eva_create_evaluation_detail_process_editMode === "UPDATE") {
var successFunc1 = function (result) {
$("#eva_create_evaluation_detail_processModel").modal("hide");
AlertSuccess(result.code+" "+result.message);
eva_create_evaluation_detail_process_RefreshTable();
endLoad();
};
startLoad();
AjaxPutRequest(apisite + eva_create_evaluation_detail_process_API + data.id, data, successFunc1, AlertDanger);
}
// Create mode
else {
var successFunc2 = function (result) {
$("#eva_create_evaluation_detail_processModel").modal("hide");
AlertSuccess(result.code+" "+result.message);
eva_create_evaluation_detail_process_RefreshTable();
endLoad();
};
startLoad();
AjaxPostRequest(apisite + eva_create_evaluation_detail_process_API, data, successFunc2, AlertDanger);
}
}
function eva_create_evaluation_detail_process_GoDelete(a) {
if (confirm('คุณต้องการลบข้อมูล ใช่หรือไม่?')) {
var successFunc = function (result) {
$("#eva_create_evaluation_detail_processModel").modal("hide");
AlertSuccess(result.code+" "+result.message);
eva_create_evaluation_detail_process_RefreshTable();
endLoad();
};
startLoad();
AjaxDeleteRequest(apisite + eva_create_evaluation_detail_process_API + a, null, successFunc, AlertDanger);
}
}
//================= Data Table =========================================
var eva_create_evaluation_detail_processTableV;
var eva_create_evaluation_detail_process_setupTable = function (result) {
tmp = '"';
eva_create_evaluation_detail_processTableV = $('#eva_create_evaluation_detail_processTable').DataTable({
"processing": true,
"serverSide": false,
"data": result,
"select": false,
"columns": [
{ "data": "id" },
{ "data": "employee_code" },
{ "data": "employee_fullname" },
{ "data": "employee_position" },
{ "data": "employee_position_level" },
{ "data": "org_id_external_linkage_external_name" },
{ "data": "id" },
{ "data": "id" },
],
"columnDefs": [
{
"targets": 0,
"data": "id",
"render": function (data, type, row, meta) {
return "<button type='button' class='btn btn-warning btn-sm' onclick='javascript:eva_create_evaluation_detail_process_GoEdit(" + tmp + data + tmp + ")'><i class='fa fa-pencil'></i></button> "
+"<button type='button' class='btn btn-warning btn-sm' onclick='javascript:eva_create_evaluation_detail_process_GoEdit2(" + tmp + data + tmp + ")'><i class='fa fa-pencil'></i></button> ";
}
},
{
"targets": -1,
"data": "id",
"render": function (data, type, row, meta) {
return "";
}
},
{
"targets": -2,
"data": "id",
"render": function (data, type, row, meta) {
return "";
}
}],
"language": {
"url": appsite + "/DataTables-1.10.16/thai.json"
},
"paging": true,
"searching": false
});
endLoad();
};
function eva_create_evaluation_detail_process_InitiateDataTable() {
startLoad();
AjaxGetRequest(apisite + "/api/eva_create_evaluation_detail_process/GetListBySearch", eva_create_evaluation_detail_process_setupTable, AlertDanger);
}
function eva_create_evaluation_detail_process_DoSearch() {
var p = $.param(eva_create_evaluation_detail_process_GetSearchParameter());
var eva_create_evaluation_detail_process_reload = function (result) {
eva_create_evaluation_detail_processTableV.destroy();
eva_create_evaluation_detail_process_setupTable(result);
endLoad();
};
startLoad();
AjaxGetRequest(apisite + "/api/eva_create_evaluation_detail_process/GetListBySearch?"+p, eva_create_evaluation_detail_process_reload, AlertDanger);
}
function eva_create_evaluation_detail_process_GetSelect(f) {
var eva_create_evaluation_detail_process_selectitem = [];
$.each(eva_create_evaluation_detail_processTableV.rows('.selected').data(), function (key, value) {
eva_create_evaluation_detail_process_selectitem.push(value[f]);
});
alert(eva_create_evaluation_detail_process_selectitem);
}
//================= File Upload =========================================
//================= Multi-Selection Function =========================================

View File

@@ -0,0 +1,152 @@
var eva_create_evaluation_detail_process_editMode = "CREATE";
var eva_create_evaluation_detail_process_API = "/api/eva_create_evaluation_detail_process/";
function calculationAllItem(){
var total = parseFloat($("#eva_create_evaluation_detail_summary1_achievement_chief").text())+
parseFloat($("#eva_create_evaluation_detail_summary1_competency_chief").text())
$("#eva_create_evaluation_detail_summary1_score_chief").text(total.toFixed(2));
cal_level();
}
function cal_level(){
var total = parseFloat($("#eva_create_evaluation_detail_summary1_score_chief").text());
$.each(item_level_score, function( i, val ) {
//console.log(val.min_score);
//console.log(total);
if(total >= val.min_score){
$("#eva_create_evaluation_detail_summary1_level_score_chief").text(val.detail);
}
});
}
//================= Form Data Customizaiton =========================================
var item_level_score;
function eva_create_evaluation_detail_process_FeedDataToForm(data) {
$("#eva_create_evaluation_detail_process_id").val(data.id);
$("#eva_create_evaluation_detail_process_evaluation_round").text(data.evaluation_round);
$("#eva_create_evaluation_detail_process_employee_code").text(data.employee_code);
$("#eva_create_evaluation_detail_process_employee_fullname").text(data.employee_fullname);
$("#eva_create_evaluation_detail_process_employee_position").text(data.employee_position);
$("#eva_create_evaluation_detail_process_employee_position_type").text(data.employee_position_type);
$("#eva_create_evaluation_detail_process_employee_position_level").text(data.employee_position_level);
$("#eva_create_evaluation_detail_process_employee_org").text(data.employee_org);
$("#eva_create_evaluation_detail_process_chief_fullname").text(data.chief_fullname);
$("#eva_create_evaluation_detail_process_chief_position").text(data.chief_position);
$("#eva_create_evaluation_detail_process_create_evaluation_id").val(data.create_evaluation_id);
DropDownClearFormAndFeedWithData($("#eva_create_evaluation_detail_process_org_id"), data, "id", "external_name", "item_org_id", data.org_id);
$("#eva_create_evaluation_detail_process_search_employee_code").val(data.search_employee_code);
$("#eva_create_evaluation_detail_process_search_employee_fullname").val(data.search_employee_fullname);
//console.log(data);
item_level_score = data.item_level_score;
$("#w1").text(data.create_evaluation_score1.toFixed(2)+"%");
$("#w2").text(data.create_evaluation_score2.toFixed(2)+"%");
$("#w3").text((data.create_evaluation_score1+data.create_evaluation_score2).toFixed(2)+"%");
}
function eva_create_evaluation_detail_process_GetFromForm() {
var eva_create_evaluation_detail_processObject = new Object();
eva_create_evaluation_detail_processObject.id = $("#eva_create_evaluation_detail_process_id").val();
eva_create_evaluation_detail_processObject.evaluation_round = $("#eva_create_evaluation_detail_process_evaluation_round").text();
eva_create_evaluation_detail_processObject.employee_code = $("#eva_create_evaluation_detail_process_employee_code").text();
eva_create_evaluation_detail_processObject.employee_fullname = $("#eva_create_evaluation_detail_process_employee_fullname").text();
eva_create_evaluation_detail_processObject.employee_position = $("#eva_create_evaluation_detail_process_employee_position").text();
eva_create_evaluation_detail_processObject.employee_position_type = $("#eva_create_evaluation_detail_process_employee_position_type").text();
eva_create_evaluation_detail_processObject.employee_position_level = $("#eva_create_evaluation_detail_process_employee_position_level").text();
eva_create_evaluation_detail_processObject.employee_org = $("#eva_create_evaluation_detail_process_employee_org").text();
eva_create_evaluation_detail_processObject.chief_fullname = $("#eva_create_evaluation_detail_process_chief_fullname").text();
eva_create_evaluation_detail_processObject.chief_position = $("#eva_create_evaluation_detail_process_chief_position").text();
eva_create_evaluation_detail_processObject.create_evaluation_id = $("#eva_create_evaluation_detail_process_create_evaluation_id").val();
eva_create_evaluation_detail_processObject.org_id = $("#eva_create_evaluation_detail_process_org_id").val();
eva_create_evaluation_detail_processObject.search_employee_code = $("#eva_create_evaluation_detail_process_search_employee_code").val();
eva_create_evaluation_detail_processObject.search_employee_fullname = $("#eva_create_evaluation_detail_process_search_employee_fullname").val();
return eva_create_evaluation_detail_processObject;
}
function eva_create_evaluation_detail_process_InitialForm() {
var successFunc = function (result) {
eva_create_evaluation_detail_process_FeedDataToForm(result);
endLoad();
};
startLoad();
AjaxGetRequest(apisite + eva_create_evaluation_detail_process_API + "GetBlankItem", successFunc, AlertDanger);
}
//================= Form Mode Setup and Flow =========================================
function eva_create_evaluation_detail_process_SetEditForm(a) {
var successFunc = function (result) {
eva_create_evaluation_detail_process_editMode = "UPDATE";
eva_create_evaluation_detail_process_FeedDataToForm(result);
endLoad();
};
startLoad();
AjaxGetRequest(apisite + eva_create_evaluation_detail_process_API + a, successFunc, AlertDanger);
}
function eva_create_evaluation_detail_process_SetCreateForm() {
eva_create_evaluation_detail_process_editMode = "CREATE";
eva_create_evaluation_detail_process_InitialForm();
}
//================= Update and Delete =========================================
var eva_create_evaluation_detail_process_customValidation = function (group) {
return "";
};
function eva_create_evaluation_detail_process_PutUpdate() {
if (!ValidateForm('eva_create_evaluation_detail_process', eva_create_evaluation_detail_process_customValidation))
{
return;
}
var data = eva_create_evaluation_detail_process_GetFromForm();
//Update Mode
if (eva_create_evaluation_detail_process_editMode === "UPDATE") {
var successFunc1 = function (result) {
AlertSuccess(result.code+" "+result.message);
endLoad();
};
startLoad();
AjaxPutRequest(apisite + eva_create_evaluation_detail_process_API + data.id, data, successFunc1, AlertDanger);
}
// Create mode
else {
var successFunc2 = function (result) {
AlertSuccess(result.code+" "+result.message);
endLoad();
};
startLoad();
AjaxPostRequest(apisite + eva_create_evaluation_detail_process_API, data, successFunc2, AlertDanger);
}
}
function eva_create_evaluation_detail_process_GoDelete(a) {
if (confirm('คุณต้องการลบ ' + a + ' ใช่หรือไม่?')) {
var successFunc = function (result) {
AlertSuccess(result.code+" "+result.message);
eva_create_evaluation_detail_process_RefreshTable();
endLoad();
};
startLoad();
AjaxDeleteRequest(apisite + eva_create_evaluation_detail_process_API + a, null, successFunc, AlertDanger);
}
}
//================= File Upload =========================================
//================= Multi-Selection Function =========================================

View File

@@ -0,0 +1,151 @@
var eva_create_evaluation_detail_process_editMode = "CREATE";
var eva_create_evaluation_detail_process_API = "/api/eva_create_evaluation_detail_process/";
function calculationAllItem(){
var total = parseFloat($("#eva_create_evaluation_detail_summary2_achievement_supervisor").text())+
parseFloat($("#eva_create_evaluation_detail_summary2_competency_supervisor").text())
$("#eva_create_evaluation_detail_summary2_score_supervisor").text(total.toFixed(2));
cal_level();
}
function cal_level(){
var total = parseFloat($("#eva_create_evaluation_detail_summary2_score_supervisor").text());
$.each(item_level_score, function( i, val ) {
//console.log(val.min_score);
//console.log(total);
if(total >= val.min_score){
$("#eva_create_evaluation_detail_summary2_level_score_supervisor").text(val.detail);
}
});
}
//================= Form Data Customizaiton =========================================
var item_level_score;
function eva_create_evaluation_detail_process_FeedDataToForm(data) {
$("#eva_create_evaluation_detail_process_id").val(data.id);
$("#eva_create_evaluation_detail_process_evaluation_round").text(data.evaluation_round);
$("#eva_create_evaluation_detail_process_employee_code").text(data.employee_code);
$("#eva_create_evaluation_detail_process_employee_fullname").text(data.employee_fullname);
$("#eva_create_evaluation_detail_process_employee_position").text(data.employee_position);
$("#eva_create_evaluation_detail_process_employee_position_type").text(data.employee_position_type);
$("#eva_create_evaluation_detail_process_employee_position_level").text(data.employee_position_level);
$("#eva_create_evaluation_detail_process_employee_org").text(data.employee_org);
$("#eva_create_evaluation_detail_process_chief_fullname").text(data.chief_fullname);
$("#eva_create_evaluation_detail_process_chief_position").text(data.chief_position);
$("#eva_create_evaluation_detail_process_create_evaluation_id").val(data.create_evaluation_id);
DropDownClearFormAndFeedWithData($("#eva_create_evaluation_detail_process_org_id"), data, "id", "external_name", "item_org_id", data.org_id);
$("#eva_create_evaluation_detail_process_search_employee_code").val(data.search_employee_code);
$("#eva_create_evaluation_detail_process_search_employee_fullname").val(data.search_employee_fullname);
item_level_score = data.item_level_score;
$("#w1").text(data.create_evaluation_score1.toFixed(2)+"%");
$("#w2").text(data.create_evaluation_score2.toFixed(2)+"%");
$("#w3").text((data.create_evaluation_score1+data.create_evaluation_score2).toFixed(2)+"%");
}
function eva_create_evaluation_detail_process_GetFromForm() {
var eva_create_evaluation_detail_processObject = new Object();
eva_create_evaluation_detail_processObject.id = $("#eva_create_evaluation_detail_process_id").val();
eva_create_evaluation_detail_processObject.evaluation_round = $("#eva_create_evaluation_detail_process_evaluation_round").text();
eva_create_evaluation_detail_processObject.employee_code = $("#eva_create_evaluation_detail_process_employee_code").text();
eva_create_evaluation_detail_processObject.employee_fullname = $("#eva_create_evaluation_detail_process_employee_fullname").text();
eva_create_evaluation_detail_processObject.employee_position = $("#eva_create_evaluation_detail_process_employee_position").text();
eva_create_evaluation_detail_processObject.employee_position_type = $("#eva_create_evaluation_detail_process_employee_position_type").text();
eva_create_evaluation_detail_processObject.employee_position_level = $("#eva_create_evaluation_detail_process_employee_position_level").text();
eva_create_evaluation_detail_processObject.employee_org = $("#eva_create_evaluation_detail_process_employee_org").text();
eva_create_evaluation_detail_processObject.chief_fullname = $("#eva_create_evaluation_detail_process_chief_fullname").text();
eva_create_evaluation_detail_processObject.chief_position = $("#eva_create_evaluation_detail_process_chief_position").text();
eva_create_evaluation_detail_processObject.create_evaluation_id = $("#eva_create_evaluation_detail_process_create_evaluation_id").val();
eva_create_evaluation_detail_processObject.org_id = $("#eva_create_evaluation_detail_process_org_id").val();
eva_create_evaluation_detail_processObject.search_employee_code = $("#eva_create_evaluation_detail_process_search_employee_code").val();
eva_create_evaluation_detail_processObject.search_employee_fullname = $("#eva_create_evaluation_detail_process_search_employee_fullname").val();
return eva_create_evaluation_detail_processObject;
}
function eva_create_evaluation_detail_process_InitialForm() {
var successFunc = function (result) {
eva_create_evaluation_detail_process_FeedDataToForm(result);
endLoad();
};
startLoad();
AjaxGetRequest(apisite + eva_create_evaluation_detail_process_API + "GetBlankItem", successFunc, AlertDanger);
}
//================= Form Mode Setup and Flow =========================================
function eva_create_evaluation_detail_process_SetEditForm(a) {
var successFunc = function (result) {
eva_create_evaluation_detail_process_editMode = "UPDATE";
eva_create_evaluation_detail_process_FeedDataToForm(result);
endLoad();
};
startLoad();
AjaxGetRequest(apisite + eva_create_evaluation_detail_process_API + a, successFunc, AlertDanger);
}
function eva_create_evaluation_detail_process_SetCreateForm() {
eva_create_evaluation_detail_process_editMode = "CREATE";
eva_create_evaluation_detail_process_InitialForm();
}
//================= Update and Delete =========================================
var eva_create_evaluation_detail_process_customValidation = function (group) {
return "";
};
function eva_create_evaluation_detail_process_PutUpdate() {
if (!ValidateForm('eva_create_evaluation_detail_process', eva_create_evaluation_detail_process_customValidation))
{
return;
}
var data = eva_create_evaluation_detail_process_GetFromForm();
//Update Mode
if (eva_create_evaluation_detail_process_editMode === "UPDATE") {
var successFunc1 = function (result) {
AlertSuccess(result.code+" "+result.message);
endLoad();
};
startLoad();
AjaxPutRequest(apisite + eva_create_evaluation_detail_process_API + data.id, data, successFunc1, AlertDanger);
}
// Create mode
else {
var successFunc2 = function (result) {
AlertSuccess(result.code+" "+result.message);
endLoad();
};
startLoad();
AjaxPostRequest(apisite + eva_create_evaluation_detail_process_API, data, successFunc2, AlertDanger);
}
}
function eva_create_evaluation_detail_process_GoDelete(a) {
if (confirm('คุณต้องการลบ ' + a + ' ใช่หรือไม่?')) {
var successFunc = function (result) {
AlertSuccess(result.code+" "+result.message);
eva_create_evaluation_detail_process_RefreshTable();
endLoad();
};
startLoad();
AjaxDeleteRequest(apisite + eva_create_evaluation_detail_process_API + a, null, successFunc, AlertDanger);
}
}
//================= File Upload =========================================
//================= Multi-Selection Function =========================================