Pager.prototype.goKSS0080 = function(params) { var self = this; indicator.on(); this.execApi('/MSAD_SKS_UII_KSS0080.json', params, function(response) { self.pageInfo = response.pageInfo; var pageInfo = self.pageInfo; self.getHtml('KSS0080.html', function() { viewNumber.on("S080"); footer.on(2); $('#goKSS0010Back').click(function() { indicator.on(); self.goKSS0010(self.getKSS0010BackFrom080Params()); return false; }); self.setKSS0080DefaultParams(pageInfo); indicator.off(); }); }); }; Pager.prototype.setKSS0080DefaultParams = function(pageInfo) { $('#elm_APPLICATION_DT').text("(お手続日時 " + pageInfo.elm_APPLICATION_DT + ")"); $('#elm_DAZ0164').text(pageInfo.elm_DAZ0164); if ("1" == pageInfo.elm_DAZ2667) { $('#about_hokenryou').hide(); $('[id$=_accountReg]').hide(); $('#tourokuSite_creditCard').attr('href',pageInfo.elm_CreditCardUrl); $('#other_shorui').find('span').text('(3)'); } else if("1" == pageInfo.elm_AccountRegFlg) { var userAgent = window.navigator.userAgent; if(userAgent.indexOf('Android') != -1 && userAgent.indexOf('Mobile') != -1 || userAgent.indexOf('iPhone') != -1){ $('#title_pc_accountReg').hide(); $('#title_sp_accountReg').show(); $('#qrCode_accountReg').hide(); $('#tourokuSite_accountReg').show(); $('#tourokuSite_accountReg').attr('href',pageInfo.elm_AccountRegUrl); } else { $('#title_sp_accountReg').hide(); $('#title_pc_accountReg').show(); $('#siteBtn_div_accountReg').hide(); $('#tourokuSite_accountReg').hide(); $('#qrCode_accountReg').show(); jQuery('#qrCode_accountReg').qrcode({ width:150, height:150, text: pageInfo.elm_AccountRegUrl, }); } $('#about_hokenryou').hide(); $('[id$=_creditCard]').hide(); $('#other_shorui').find('span').text('(3)'); } else if ("1" == pageInfo.elm_DCZ2778) { $('[id$=_creditCard]').hide(); $('[id$=_accountReg]').hide(); $('#about_hokenryou').show(); $('#other_shorui').find('span').text('(3)'); } else { $('[id$=_creditCard]').hide(); $('#about_hokenryou').hide(); $('[id$=_accountReg]').hide(); $('#other_shorui').find('span').text('(2)'); } var shorui_li = ''; var getDocumentInListTag = function(documentName) { if(!documentName) { return ''; } return "
  • " + documentName + "
  • "; }; shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_1); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_18); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_3); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_4); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_5); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_6); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_8); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_9); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_11); if("1" != pageInfo.elm_AccountRegFlg) { shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_12); } // shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_2); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_7); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_10); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_13); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_14); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_15); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_16); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_17); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_19); shorui_li += getDocumentInListTag(pageInfo.elm_Shorui_20); if(pageInfo.elm_LeaseRoomEndFlg != '1') { $('#fullAutoCationMessage').hide(); $('#leaveContact').hide(); } if (shorui_li) { $('#shorui_list').append(shorui_li); } else { $('#other_shorui').hide(); } this.pageId = 'KSS0080'; }; Pager.prototype.getKSS0010BackFrom080Params = function() { return { "MODE" : "KSS0010_BACK_FROM080" }; };