Combine แบบประเมิน
This commit is contained in:
@@ -231,7 +231,10 @@ function eva_create_evaluation_detail_GetSelect(f) {
|
||||
$.each(eva_create_evaluation_detailTableV.rows('.selected').data(), function (key, value) {
|
||||
eva_create_evaluation_detail_selectitem.push(value[f]);
|
||||
});
|
||||
alert(eva_create_evaluation_detail_selectitem);
|
||||
//alert(eva_create_evaluation_detail_selectitem);
|
||||
|
||||
rep_eva_x_DoSearch("pdf", eva_create_evaluation_detail_selectitem)
|
||||
|
||||
}
|
||||
|
||||
function eva_create_evaluation_detail_SelectAll(){
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
//================= Search Customizaiton =========================================
|
||||
|
||||
function rep_eva_x_GetSearchParameter(fileType) {
|
||||
function rep_eva_x_GetSearchParameter(fileType, data) {
|
||||
var rep_eva_xSearchObject = new Object();
|
||||
rep_eva_xSearchObject.detail_id = $("#s_rep_eva_x_detail_id").val();
|
||||
rep_eva_xSearchObject.detail_id = data;
|
||||
|
||||
|
||||
rep_eva_xSearchObject.fileType = fileType;
|
||||
@@ -37,12 +37,10 @@ var s_rep_eva_x_customValidation = function (group) {
|
||||
};
|
||||
|
||||
|
||||
function rep_eva_x_DoSearch(fileType) {
|
||||
if (!ValidateForm('s_rep_eva_x', s_rep_eva_x_customValidation)) {
|
||||
return;
|
||||
}
|
||||
function rep_eva_x_DoSearch(fileType, data) {
|
||||
|
||||
var p = $.param(rep_eva_x_GetSearchParameter(fileType));
|
||||
var p = $.param(rep_eva_x_GetSearchParameter(fileType, data)).replaceAll("%5B%5D", '');
|
||||
console.log(p);
|
||||
|
||||
var report_url = apisite + "/api/rep_eva_x/rep_eva_x_report?" + p;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user