แก้ไขเรื่อง ถ้าคะแนนเกิน 5 ให้ใส่ค่าว่าง
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"connectionStrings": {
|
||||
"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;"
|
||||
//"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*;"
|
||||
//"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;"
|
||||
"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*;"
|
||||
},
|
||||
"IdentityServer": {
|
||||
"url": "",
|
||||
|
||||
@@ -100,7 +100,7 @@ function CheckValidValueachievement(){
|
||||
$('#eva_evaluation_achievement_processBody tr').each(function () {
|
||||
var i = $(this).find("#rowCount").text();
|
||||
var score = $("#eva_evaluation_achievement_process_score_" + i).val();
|
||||
if(score > 5) $("#eva_evaluation_achievement_process_score_" + i).val(5);
|
||||
if(score > 5) $("#eva_evaluation_achievement_process_score_" + i).val("");
|
||||
if(score < 1) $("#eva_evaluation_achievement_process_score_" + i).val(1);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ function CheckValidValueachievement(){
|
||||
$('#eva_evaluation_achievement_process2Body tr').each(function () {
|
||||
var i = $(this).find("#rowCount").text();
|
||||
var score = $("#eva_evaluation_achievement_process2_score2_" + i).val();
|
||||
if(score > 5) $("#eva_evaluation_achievement_process2_score2_" + i).val(5);
|
||||
if(score > 5) $("#eva_evaluation_achievement_process2_score2_" + i).val("");
|
||||
if(score < 1) $("#eva_evaluation_achievement_process2_score2_" + i).val(1);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ function CheckValidValuebehavior(){
|
||||
$('#eva_evaluation_behavior_processBody tr').each(function () {
|
||||
var i = $(this).find("#rowCount").text();
|
||||
var score = $("#eva_evaluation_behavior_process_score_" + i).val();
|
||||
if(score > 5) $("#eva_evaluation_behavior_process_score_" + i).val(5);
|
||||
if(score > 5) $("#eva_evaluation_behavior_process_score_" + i).val("");
|
||||
if(score < 1) $("#eva_evaluation_behavior_process_score_" + i).val(1);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ function CheckValidValuebehavior(){
|
||||
$('#eva_evaluation_behavior_process2Body tr').each(function () {
|
||||
var i = $(this).find("#rowCount").text();
|
||||
var score = $("#eva_evaluation_behavior_process2_score2_" + i).val();
|
||||
if(score > 5) $("#eva_evaluation_behavior_process2_score2_" + i).val(5);
|
||||
if(score > 5) $("#eva_evaluation_behavior_process2_score2_" + i).val("");
|
||||
if(score < 1) $("#eva_evaluation_behavior_process2_score2_" + i).val(1);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user