Pager.prototype.goJBS0230 = function(params) { var self = this; indicator.on(); self.execApi('/SJB_UII_JBS0230.json', params, function(response) { self.pageInfo = response.pageInfo; self.getHtml('JBS0230.html', function() { $('#goJBS0240').click(function() { indicator.on(); self.goJBS0240(self.getJBS0240RequestParams()); return false; }); $('#goJBS0220Back').click(function() { indicator.on(); self.goJBS0220(self.getJBS0220BackParams()); return false; }); if ('C' == response.pageInfo.elm_errorKBN) { $('#messages').show(); } self.setJBS0230DefaultParams(self.pageInfo); indicator.off(); }); }); }; Pager.prototype.setJBS0230DefaultParams = function(pageInfo) { $('#HOKEN_KIKAN').text(pageInfo.elm_HOKEN_KIKAN); $('#MOUSIKOMI_DATE').text(pageInfo.elm_MOUSIKOMI_DATE); $('#BIKE_HAIKIRYO').text(pageInfo.elm_BIKE_HAIKIRYO); $('#HONKYOTI').text(pageInfo.elm_HONKYOTI); $('#HOKENRYO').text(pageInfo.elm_HOKENRYO ); $('#PAYMENT_TYPE').text(pageInfo.elm_PAYMENT_TYPE ); $('#KYK_SIMEI_KNJ').text(pageInfo.elm_KYK_SIMEI_KNJ); $('#KYK_SIMEI_KANA').text(pageInfo.elm_KYK_SIMEI_KANA); $('#KYK_SEIBETU').text(pageInfo.elm_KYK_SEIBETU); $('#KYK_SEINEN_DATE').text(pageInfo.elm_KYK_SEINEN_DATE); $('#KYK_TEL_NO').text(pageInfo.elm_KYK_TEL_NO); $('#KYK_YUBIN_BANGO').text(pageInfo.elm_KYK_YUBIN_BANGO); $('#KYK_JYUSYO_KNJ1').text(pageInfo.elm_KYK_JYUSYO_KNJ1); $('#KYK_JYUSYO_KNJ2').text(pageInfo.elm_KYK_JYUSYO_KNJ2); $('#KYK_JYUSYO_KANA1').text(pageInfo.elm_KYK_JYUSYO_KANA1); $('#KYK_JYUSYO_KANA2').text(pageInfo.elm_KYK_JYUSYO_KANA2); $('#KYK_MAIL_ADDRESS').text(pageInfo.elm_KYK_MAIL_ADDRESS); // $('#CAR_MAKER').text(pageInfo.elm_CAR_MAKER); // $('#CAR_NAME').text(pageInfo.elm_CAR_NAME); $('#NUMBER_PLATE').text(pageInfo.elm_NUMBER_PLATE); $('#SYADAI_BANGO').text(pageInfo.elm_SYADAI_BANGO); $('#CARD_CODE').text(pageInfo.elm_CARD_CODE); $('#CARD_YUKO_DATE').text(pageInfo.elm_CARD_YUKO_DATE); $('#CARD_NO').text(pageInfo.elm_CARD_NO); $('#SECURITY_CD').text('***'); $('#KYK_NAME_KANJI').text(pageInfo.elm_KYK_NAME_KANJI); this.pageId = 'JBS0230'; }; Pager.prototype.getJBS0240RequestParams = function() { return { "MODE" : "JBS0240_DISPLAY", }; }; Pager.prototype.getJBS0220BackParams = function() { return { "MODE" : "JBS0220_BACK_DISPLAY", }; };