no message

main
이범준 1 year ago
parent 9f910239a6
commit 82ceb19a79

@ -182,7 +182,10 @@ $(document).ready(function(){
$P.crdnControl.onCurrentChange = (item) => { $P.crdnControl.onCurrentChange = (item) => {
if($P.crdnControl.tableRenderComplete){ if(!$P.crdnControl.tableRenderComplete){
return;
}
$P.crdnControl.tableRenderComplete = false; $P.crdnControl.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickCrdnList("", true); $P.clickCrdnList("", true);
@ -191,8 +194,6 @@ $(document).ready(function(){
} }
} }
}
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/

@ -278,7 +278,10 @@ $(document).ready(function(){
$P.crdnControl.onCurrentChange = (item) => { $P.crdnControl.onCurrentChange = (item) => {
if($P.crdnControl.tableRenderComplete){ if(!$P.crdnControl.tableRenderComplete){
return;
}
$P.crdnControl.tableRenderComplete = false; $P.crdnControl.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickCrdnList("", true); $P.clickCrdnList("", true);
@ -287,8 +290,6 @@ $(document).ready(function(){
} }
} }
}
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/

@ -432,7 +432,11 @@ $(document).ready(function(){
}; };
$P.photoInspectionControl.onCurrentChange = (item) => { $P.photoInspectionControl.onCurrentChange = (item) => {
if($P.photoInspectionControl.tableRenderComplete){
if(!$P.photoInspectionControl.tableRenderComplete){
return;
}
$P.photoInspectionControl.tableRenderComplete = false; $P.photoInspectionControl.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickInspectionDataList("","photoInspection", true); $P.clickInspectionDataList("","photoInspection", true);
@ -440,7 +444,6 @@ $(document).ready(function(){
$P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true); $P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true);
} }
} }
}
$P.sameVehicleControl.main.onDatasetChange = (obj) => { $P.sameVehicleControl.main.onDatasetChange = (obj) => {
@ -458,7 +461,10 @@ $(document).ready(function(){
}; };
$P.sameVehicleControl.main.onCurrentChange = (item) => { $P.sameVehicleControl.main.onCurrentChange = (item) => {
if($P.sameVehicleControl.main.tableRenderComplete){ if(!$P.sameVehicleControl.main.tableRenderComplete){
return;
}
$P.sameVehicleControl.main.tableRenderComplete = false; $P.sameVehicleControl.main.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickInspectionDataList("","sameVehicleInspectionMain", true); $P.clickInspectionDataList("","sameVehicleInspectionMain", true);
@ -466,7 +472,6 @@ $(document).ready(function(){
$P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true); $P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true);
} }
} }
}
$P.sameVehicleControl.sub.onDatasetChange = (obj) => { $P.sameVehicleControl.sub.onDatasetChange = (obj) => {
$P.renderInspectionDataList(obj["Total"], "sameVehicleInspectionSub"); $P.renderInspectionDataList(obj["Total"], "sameVehicleInspectionSub");
@ -474,14 +479,16 @@ $(document).ready(function(){
}; };
$P.sameVehicleControl.sub.onCurrentChange = (item) => { $P.sameVehicleControl.sub.onCurrentChange = (item) => {
if($P.sameVehicleControl.sub.tableRenderComplete){ if(!$P.sameVehicleControl.sub.tableRenderComplete){
return;
}
$P.sameVehicleControl.sub.tableRenderComplete = false; $P.sameVehicleControl.sub.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickInspectionDataList("","sameVehicleInspectionSub", true); $P.clickInspectionDataList("","sameVehicleInspectionSub", true);
} else { } else {
$P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true); $P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true);
} }
}
}; };
/************************************************************************** /**************************************************************************

@ -174,15 +174,16 @@ $(document).ready(function(){
$P.crdnControl.onCurrentChange = (item) => { $P.crdnControl.onCurrentChange = (item) => {
if($P.crdnControl.tableRenderComplete){ if(!$P.crdnControl.tableRenderComplete){
return;
}
$P.crdnControl.tableRenderComplete = false; $P.crdnControl.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickCrdnList("", true); $P.clickCrdnList("", true);
} else { } else {
$P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true);
} }
}
}; };
/************************************************************************** /**************************************************************************

@ -184,7 +184,10 @@ $(document).ready(function(){
$P.crdnControl.onCurrentChange = (item) => { $P.crdnControl.onCurrentChange = (item) => {
if($P.crdnControl.tableRenderComplete){ if(!$P.crdnControl.tableRenderComplete){
return;
}
$P.crdnControl.tableRenderComplete = false; $P.crdnControl.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickCrdnList("", true); $P.clickCrdnList("", true);
@ -193,8 +196,6 @@ $(document).ready(function(){
} }
} }
}
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/

@ -210,7 +210,11 @@ $(document).ready(function(){
}; };
$P.crdnControl.onCurrentChange = (item) => { $P.crdnControl.onCurrentChange = (item) => {
if($P.crdnControl.tableRenderComplete){
if(!$P.crdnControl.tableRenderComplete){
return;
}
$P.crdnControl.tableRenderComplete = false; $P.crdnControl.tableRenderComplete = false;
if(!item){ if(!item){
$P.clickCrdnList("", true); $P.clickCrdnList("", true);
@ -218,7 +222,6 @@ $(document).ready(function(){
$P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true);
} }
} }
}
/************************************************************************** /**************************************************************************
* pageObject.function * pageObject.function

Loading…
Cancel
Save