function photoQueryCheck(xjId, type, tab) { $.ajax( { url : '/archive/gdjy/zp/zzk/checkqueryphoto.action', type:'POST', data : { xjId : xjId, type : type }, success : function(dataValue) { var jsonResult = eval('(' + dataValue + ')'); if ( null != jsonResult && 0 == jsonResult.status ) { var zzkAvaliable = jsonResult.result.zzkAvaliable; var photoInfoExist = jsonResult.result.photoInfoExist; if ( zzkAvaliable ) { if ( photoInfoExist ) { $("#pic_tips_" + tab).html( "没有照片?找找看"); } else { $("#pic_tips_" + tab).html( "没有照片?请联系就读院校学籍管理部门协助处理!"); } if ( null != jsonResult.result.pvLogData ) { var pvValue = jsonResult.result.pvLogData.choosedResult; var pvTips = ""; pvTips +="
"; if ( pvValue == 0 ) { pvTips +="
查找学历照片:已找到学历照片
"; pvTips +="
查看您选择的学历照片
"; }else { pvTips +="
查找学历照片:未找到学历照片
"; pvTips +="
查看反馈
"; } pvTips +="
"; $("#pic_query_result_"+tab).html(pvTips); // setRight(); } } } } }); } function queryphoto(xjid,type,tb){ var id = xjid; $.post( '/archive/gdjy/zp/zzk/query.action', {'xjId':id,'tb':tb,type:type}, function (html) { $("#myModal .modal-title").html("查找学历照片"); $("#myModal .modal-body").html(html); $('#myModal').modal('show'); } ); return false; } function querychoosedphoto(xjid,type){ var tit ="",id = xjid; $.post( '/archive/gdjy/zp/zzk/querychoosedphoto.action', {'xjId':id}, function (html) { if(type==1){ tit ="查找学历照片"; }else{ tit ="学历照片查找结果"; } $("#myModal .modal-title").html(tit); $("#myModal .modal-body").html(html); $('#myModal').modal('show'); } ); }