交易公告
= 0){ var sectionCodeArr = sectionCode.split(";"); var sectionNameArr = sectionName.split(";"); for(var i=0,len=sectionCodeArr.length;i - "+sectionNameArr[i]+"
- "+sectionCodeArr[i]+"
"; } $("#jdChoseSectionForm").html(resultHtml); $('#jdChoseSectionDiv').css('display','block'); $('#shadowJyxxId').css('display','block'); }else{ localStorage.setItem("sectionCode",sectionCode); ****; } }else{ $('#gycqChoiceRole').css('display','none'); $('#selectionCodeNull').css('display','block'); $('#shadowJyxxId').css('display','block'); } } function backToPage(){ $('#gycqChoiceRole').css('display','block'); $('#selectionCodeNull').css('display','none'); $('#shadowJyxxId').css('display','none'); } function jdConfirmFunc(){ var val=$('input:radio[name="sectionCode"]:checked').val(); if(val==null){ alert("请选择一个标段后再报名!"); return false; } else{ localStorage.setItem("sectionCode",$("input:radio[name='sectionCode']:checked").val());//保存选中标段编号 ****; } } function ****{ goBackFunc(); var token = localStorage.getItem("userName"); var linkType = "BM13";//机电设备综合采购报名标记 var sectionCode = localStorage.getItem("sectionCode"); $.ajax({ type: "post", dataType: 'json', async:false, data: {token:token,linkType:linkType,contentId:sectionCode}, url: '/getLoginUrlFromTysl.jspx', success: function (data) { if(data.code == "200" || data.code == "30001" || data.code == "30002"){ if((data.code == "30001" || data.code == "200") !data.****.firstGotoJoin){//无权限或者成功直接打开页面 window.open(data.****.url); return; } if(data.code == "30002"){//手机号不一致 localStorage.setItem("gycgErrorPhone",data.****.url);//保存去修改手机号地址 $("#gycqPhoneId").html(data.****.phone); $('#gycqChoiceRole').css('display','none'); $('#gycqPhoneErrorId').css('display','block'); $('#shadowJyxxId').css('display','block'); return; } if(data.****.firstGotoJoin){ $("#gotoUrl").val(data.****.url); $('#gycqChoiceRole').css('display','none'); $('#shadowJyxxId').css('display','block'); $('#userAgreementDiv').css('display','block'); return; } if == data.****.url || "" == data.****.url || "undefined" == data.****.url || "" == data.****.url){ return; }else{ window.open(data.****.url); return; } }else if(data.code == "-100"){ $('#gyErrorPid').html(data.msg); $('#gyError').css('display','block'); $('#shadowJyxxId').css('display','block'); }else if(data.code == "20020"){//不支持的证件类型(自然人) var projectLx = "机电设备"; var channelId = "67"; if(channelId == 378 || channelId == 377){ projectLx = "铁路工程"; } if("ZHCG" == data.****.industryCode){ projectLx = "综合采购"; } $('#gyErrorPid').html("抱歉,"+projectLx+"项目暂时不支持自然人用户报名!"); $('#gyError').css('display','block'); $('#shadowJyxxId').css('display','block'); }else if(data.code == "20019"){//无行业或角色权限 var projectLx = "机电设备"; var channelId = "67"; if(channelId == 378 || channelId == 377){ projectLx = "铁路工程"; } var roleName = "投标人"; if("ZHCG" == data.****.industryCode){ projectLx = "综合采购"; roleName = "供应商"; } $('#jdsbSrrNoPowerPId').html("单位用户请登录服务平台【基本信息】页面,添加"+projectLx+"业务的"+roleName+"角色后再报名。"); $('#jdsbSrrNoPowerInputId').val(data.****.url); $('#jdsbSrrNoPowerId').css('display','block'); $('#shadowJyxxId').css('display','block'); }else if(data.code == "20014"){//登录超时 $('#gycqChoiceRole').css('display','none'); $('#loginTimeOutId').css('display','block'); $('#shadowJyxxId').css('display','block'); return; }else if(data.code == "20021"){//不能报名自己的项目 $('#noEnrollOwnerProjectId').css('display','block'); $('#shadowJyxxId').css('display','block'); return; }else if(data.code == "20025"){//招标文件未发布提示 $('#releaseTenderFileId').css('display','block'); $('#shadowJyxxId').css('display','block'); return; }else{ $('#messageInfo').html(data.msg); $('#messageInfoDiv').css('display','block'); return; } } }); } function jdsbSrrRz(){ var openUrl = $("#jdsbSrrNoPowerInputId").val(); window.open(openUrl); } function gotoOther(){ //碳排放公告报名直接跳转**碳排放权现货交易系统 if(channelId == 55){ window.open("/tpfxhjyxt.jhtml"); }else{ $("#shadowFooter").css("display","block"); $('#determineFooter').css('display','block'); } } function stow(){ var statusOncli = $("#statusOncli").html(); if(statusOncli == "收起"){ $("#statusOncli").html("展开"); $("#sectionListTable").hide(); }else{ $("#statusOncli").html("收起"); $("#sectionListTable").show(); } } function viewChainDetail(){ location.href=location.origin+"/chainDetail"+location.pathname+location.search }