'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'c6163車床中心架工藝加工制造與設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'C6163車床中心架設(shè)計 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'C6163中心架 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'上體.dwg (65KB)', click:'getBookinfo(8125766)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'下體.dwg (74KB)', click:'getBookinfo(8125767)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'絲桿.dwg (57KB)', click:'getBookinfo(8125768)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'六角特厚螺母M20.dwg (33KB)', click:'getBookinfo(8125769)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'圓銷.dwg (32KB)', click:'getBookinfo(8125770)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'圓銷2.dwg (33KB)', click:'getBookinfo(8125771)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'套筒.dwg (40KB)', click:'getBookinfo(8125772)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'定位銷.dwg (51KB)', click:'getBookinfo(8125773)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'總裝圖.dwg (75KB)', click:'getBookinfo(8125774)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'擋圈.dwg (37KB)', click:'getBookinfo(8125775)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'法蘭.dwg (70KB)', click:'getBookinfo(8125776)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'活節(jié)螺栓.dwg (35KB)', click:'getBookinfo(8125777)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'螺母.dwg (47KB)', click:'getBookinfo(8125778)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'軸.dwg (40KB)', click:'getBookinfo(8125779)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'銷軸.dwg (37KB)', click:'getBookinfo(8125780)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'錐銷鎖緊擋圈20.dwg (43KB)', click:'getBookinfo(8125781)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'畢業(yè)設(shè)計說明書.doc (165KB)', click:'getBookinfo(8125782)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'c6163車床中心架工藝加工制造與設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'上體.dwg',url:'http://m.facezit.com/p-8125766.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'下體.dwg',url:'http://m.facezit.com/p-8125767.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'絲桿.dwg',url:'http://m.facezit.com/p-8125768.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'六角特厚螺母M20.dwg',url:'http://m.facezit.com/p-8125769.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'圓銷.dwg',url:'http://m.facezit.com/p-8125770.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'圓銷2.dwg',url:'http://m.facezit.com/p-8125771.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'套筒.dwg',url:'http://m.facezit.com/p-8125772.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'定位銷.dwg',url:'http://m.facezit.com/p-8125773.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8125774.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'擋圈.dwg',url:'http://m.facezit.com/p-8125775.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'法蘭.dwg',url:'http://m.facezit.com/p-8125776.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'活節(jié)螺栓.dwg',url:'http://m.facezit.com/p-8125777.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'螺母.dwg',url:'http://m.facezit.com/p-8125778.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'軸.dwg',url:'http://m.facezit.com/p-8125779.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'銷軸.dwg',url:'http://m.facezit.com/p-8125780.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'錐銷鎖緊擋圈20.dwg',url:'http://m.facezit.com/p-8125781.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'畢業(yè)設(shè)計說明書.doc',url:'http://m.facezit.com/p-8125782.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3522406'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });