|
@ -1,5 +1,5 @@
|
1
|
1
|
$(function(){
|
2
|
|
loginStatus();//读取用户头像
|
|
2
|
|
3
|
3
|
var userid = $.cookie("userid");
|
4
|
4
|
var professorId = GetQueryString("professorId");
|
5
|
5
|
var name;
|
|
@ -641,40 +641,6 @@ var resou;
|
641
|
641
|
"error":function(){$.MsgBox.Alert('message','failddd')}
|
642
|
642
|
})
|
643
|
643
|
}
|
644
|
|
//查看资源详细信息
|
645
|
|
$('#sharescrollbox').on("click",'.remess',function(){
|
646
|
|
var resourceID=$(this).attr("resourceId");
|
647
|
|
ResourceMessage();
|
648
|
|
$.ajax({
|
649
|
|
"url":"/ajax/resource/"+resourceID,
|
650
|
|
"type":"get",
|
651
|
|
"async": true,
|
652
|
|
"success":function(info){
|
653
|
|
if(info.success)
|
654
|
|
{
|
655
|
|
console.log(info);
|
656
|
|
$("#resourceName").text(info.data.resourceName);
|
657
|
|
$("#supportedServices").text(info.data.supportedServices);
|
658
|
|
$("#hopePayMethod").text(info.data.hopePayMethod) ;
|
659
|
|
$("#cooperationNotes").text(info.data.cooperationNotes) ;
|
660
|
|
$("#subject").text(info.data.subject);
|
661
|
|
$("#industry").text(info.data.industry);
|
662
|
|
$("#descp").text(info.data.descp);
|
663
|
|
$("#professor").text(name);
|
664
|
|
$(".resouImage").attr("src","/images/resource/"+resourceID+".jpg");
|
665
|
|
$(".resouImage").load(function(){})
|
666
|
|
.error(function(){
|
667
|
|
$(this).attr("src","/images/default-resource.jpg");
|
668
|
|
});
|
669
|
|
}
|
670
|
|
else
|
671
|
|
{
|
672
|
|
$.MsgBox.Alert('message',"系统异常!");
|
673
|
|
}
|
674
|
|
},
|
675
|
|
"error":function(){$.MsgBox.Alert('message','failed')}
|
676
|
|
});
|
677
|
|
})
|
678
|
644
|
//资源申请入口
|
679
|
645
|
$('.introduction').on("click",'.applicant',function(){
|
680
|
646
|
if(userid && userid != null && userid != "null"){
|