'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】光盤底盒產(chǎn)品造型與模具設計【優(yōu)秀含7張cad圖紙塑料模具全套畢業(yè)設計】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'UG三維參考使用 (包含28個文件)', },{ id:'0000100001', pId:'00001', name:'1.prt (112KB)', },{ id:'0000100002', pId:'00001', name:'10.prt (596KB)', },{ id:'0000100003', pId:'00001', name:'11.prt (196KB)', },{ id:'0000100004', pId:'00001', name:'12.prt (116KB)', },{ id:'0000100005', pId:'00001', name:'123gongcheng.prt (915KB)', },{ id:'0000100006', pId:'00001', name:'13.prt (140KB)', },{ id:'0000100007', pId:'00001', name:'14.prt (108KB)', },{ id:'0000100008', pId:'00001', name:'15.prt (108KB)', },{ id:'0000100009', pId:'00001', name:'16.prt (108KB)', },{ id:'0000100010', pId:'00001', name:'17.prt (140KB)', },{ id:'0000100011', pId:'00001', name:'18.prt (148KB)', },{ id:'0000100012', pId:'00001', name:'19.prt (116KB)', },{ id:'0000100013', pId:'00001', name:'2.prt (152KB)', },{ id:'0000100014', pId:'00001', name:'20.prt (152KB)', },{ id:'0000100015', pId:'00001', name:'21.prt (144KB)', },{ id:'0000100016', pId:'00001', name:'22.prt (124KB)', },{ id:'0000100017', pId:'00001', name:'23.prt (124KB)', },{ id:'0000100018', pId:'00001', name:'24.prt (108KB)', },{ id:'0000100019', pId:'00001', name:'25.prt (156KB)', },{ id:'0000100020', pId:'00001', name:'26.prt (116KB)', },{ id:'0000100021', pId:'00001', name:'27.prt (108KB)', },{ id:'0000100022', pId:'00001', name:'3.prt (264KB)', },{ id:'0000100023', pId:'00001', name:'4.prt (116KB)', },{ id:'0000100024', pId:'00001', name:'5.prt (108KB)', },{ id:'0000100025', pId:'00001', name:'6.prt (108KB)', },{ id:'0000100026', pId:'00001', name:'7.prt (120KB)', },{ id:'0000100027', pId:'00001', name:'8.prt (112KB)', },{ id:'0000100028', pId:'00001', name:'9.prt (108KB)', },{ id:'00002', pId:'1', name:'PPT.ppt (145KB)', click:'getBookinfo(8470834)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00003', pId:'1', name:'上模固定板.dwg (69KB)', click:'getBookinfo(8470835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'中期匯報表.doc (32KB)', click:'getBookinfo(8470836)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'任務書.doc (33KB)', click:'getBookinfo(8470837)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'光盤底盒產(chǎn)品造型與模具設計說明書.doc (686KB)', click:'getBookinfo(8470838)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'其余零件圖4張.dwg (330KB)', click:'getBookinfo(8470839)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'塑件圖.dwg (75KB)', click:'getBookinfo(8470840)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'開題報告.doc (43KB)', click:'getBookinfo(8470841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'總裝圖.dwg (348KB)', click:'getBookinfo(8470842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'模腳.dwg (313KB)', click:'getBookinfo(8470843)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】光盤底盒產(chǎn)品造型與模具設計【優(yōu)秀含7張cad圖紙塑料模具全套畢業(yè)設計】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'PPT.ppt',url:'http://m.facezit.com/p-8470834.html', target:'_blank' },{ id:'00003', pId:'1', name:'上模固定板.dwg',url:'http://m.facezit.com/p-8470835.html', target:'_blank' },{ id:'00004', pId:'1', name:'中期匯報表.doc',url:'http://m.facezit.com/p-8470836.html', target:'_blank' },{ id:'00005', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8470837.html', target:'_blank' },{ id:'00006', pId:'1', name:'光盤底盒產(chǎn)品造型與模具設計說明書.doc',url:'http://m.facezit.com/p-8470838.html', target:'_blank' },{ id:'00007', pId:'1', name:'其余零件圖4張.dwg',url:'http://m.facezit.com/p-8470839.html', target:'_blank' },{ id:'00008', pId:'1', name:'塑件圖.dwg',url:'http://m.facezit.com/p-8470840.html', target:'_blank' },{ id:'00009', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8470841.html', target:'_blank' },{ id:'00010', pId:'1', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8470842.html', target:'_blank' },{ id:'00011', pId:'1', name:'模腳.dwg',url:'http://m.facezit.com/p-8470843.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 = '7254148'; 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; }); });