|
|
@ -786,7 +786,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
switch (renderDataType) {
|
|
|
|
switch (renderDataType) {
|
|
|
|
case "photoInspection":
|
|
|
|
case "photoInspection":
|
|
|
|
var noMore = (total == listLength);
|
|
|
|
let noMore = (listLength >= total);
|
|
|
|
var initScroll = ($P.photoInspectionControl.query.pageNum < 2) && ($P.photoInspectionControl.untilPageNum == 0);
|
|
|
|
var initScroll = ($P.photoInspectionControl.query.pageNum < 2) && ($P.photoInspectionControl.untilPageNum == 0);
|
|
|
|
|
|
|
|
|
|
|
|
$("#photoInspection-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);
|
|
|
|
$("#photoInspection-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);
|
|
|
@ -794,7 +794,7 @@ $(document).ready(function(){
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "sameVehicleInspectionMain":
|
|
|
|
case "sameVehicleInspectionMain":
|
|
|
|
|
|
|
|
|
|
|
|
var noMore = (total == listLength);
|
|
|
|
let noMore = (listLength >= total);
|
|
|
|
var initScroll = ($P.sameVehicleMainControl.query.pageNum < 2) && ($P.sameVehicleMainControl.untilPageNum == 0);
|
|
|
|
var initScroll = ($P.sameVehicleMainControl.query.pageNum < 2) && ($P.sameVehicleMainControl.untilPageNum == 0);
|
|
|
|
|
|
|
|
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);
|
|
|
|