Pager.prototype.goJBS0030 = function(params) { var self = this; indicator.on(); self.execApi('/SJB_UII_JBS0030.json', params, function(response) { self.pageInfo = response.pageInfo; self.getHtml('JBS0030.html', function() { $('#goJBS0040').click(function() { indicator.on(); var elm_agreeRule_flg_val = $('input[name=elm_agreeRule_flg]:checked').val(); if(elm_agreeRule_flg_val == "1"){ self.goJBS0040(self.getJBS0040RequestParams1(self.pageInfo, 'JBS0040_DISPLAY_1')); }else if(elm_agreeRule_flg_val == "2"){ self.goJBS0040(self.getJBS0040RequestParams1(self.pageInfo, 'JBS0040_DISPLAY_3')); } return false; }); $('#goJBS0020Back').click(function() { indicator.on(); self.goJBS0020(self.getJBS0020BackParams()); return false; }); $(".mod_form_btn input").css({opacity:"0.3",cursor:"default"}).attr("disabled","disabed"); $('#download_PDF').click(function() { $("input:radio[name=elm_agreeRule_flg]").removeAttr("disabled"); $("#agreeRule").removeClass("attention06").addClass("attention02"); self.getDownload_PDF(self.pageInfo); }); $("input:radio[name=elm_agreeRule_flg]").click(function() { $(".mod_form_btn input").css({opacity:"1",cursor:"pointer"}).removeAttr("disabled"); }); $("input:text[id^=HOKEN_SIKI]").change(function() { $("input:radio[name=elm_agreeRule_flg]").removeAttr('checked'); sendAgreeRuleFlgHCheck(); }); $("input:text[id^='OLD_HOKEN_MANKI']").change(function() { $("input:radio[name=elm_agreeRule_flg]").removeAttr('checked'); sendAgreeRuleFlgHCheck(); }); var count = 8; //自賠責加入の有無radio commonApi.get('/NET_UII_ListItem.json', {List_ITEM: 'JIBAISEKI_KBN'}, function(response) { var radList = response.listInfo; radList.forEach(function(elem) { $('#JIBAISEKI_KBN_DIS').append([ '\n' ].join('')); }); $("input:radio[name=JIBAISEKI_KBN]").click(function() { selectJibai($('input[name=JIBAISEKI_KBN]:checked').val()); $("input:radio[name=elm_agreeRule_flg]").removeAttr('checked'); }); if (--count == 0) { self.setJBS0030DefaultParams(self.pageInfo); indicator.off(); } }); // 「本拠地一覧」リスト作成select commonApi.get('/NET_UII_ListItem.json', {List_ITEM: 'SIYOHONKYOTI'}, function(response) { var optlist = response.listInfo; $.each(optlist,function(index, elem) { // if (elem.code == pageInfo.elm_HIHOHENKOU_BIRTHDAY_MM || ("" == pageInfo.elm_HIHOHENKOU_BIRTHDAY_MM && index == 0)) { // $('#SIYOHONKYOTI').append($('