'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'小茴香清選機設計【帶solidworks三維】【9張cad圖紙畢業(yè)論文開題報告答辯稿】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc (24KB)', click:'getBookinfo(8528088)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'小茴香清選機三維.rar (5633KB)', click:'getBookinfo(8528089)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'小茴香清選機裝配圖.DWG (210KB)', click:'getBookinfo(8528090)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'小茴香清選機設計開題報告.doc (30KB)', click:'getBookinfo(8528091)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'小茴香清選機設計開題報告.ppt (810KB)', click:'getBookinfo(8528092)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00006', pId:'1', name:'小茴香清選機設計答辯.ppt (1067KB)', click:'getBookinfo(8528093)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00007', pId:'1', name:'小茴香清選機設計說明書.doc (761KB)', click:'getBookinfo(8528094)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'小論文.doc (132KB)', click:'getBookinfo(8528095)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'掛桿1.DWG (43KB)', click:'getBookinfo(8528096)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'曲柄-軸承殼2.DWG (45KB)', click:'getBookinfo(8528097)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'曲柄-連桿1.DWG (43KB)', click:'getBookinfo(8528098)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'曲柄2.DWG (46KB)', click:'getBookinfo(8528099)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'皮帶輪2.DWG (47KB)', click:'getBookinfo(8528100)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'軸承殼1.DWG (51KB)', click:'getBookinfo(8528101)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'風扇殼.DWG (48KB)', click:'getBookinfo(8528102)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'風機2.DWG (70KB)', click:'getBookinfo(8528103)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'小茴香清選機設計【帶solidworks三維】【9張cad圖紙畢業(yè)論文開題報告答辯稿】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc',url:'http://facezit.com/p-8528088.html', target:'_blank' },{ id:'00002', pId:'1', name:'小茴香清選機三維.rar',url:'http://facezit.com/p-8528089.html', target:'_blank' },{ id:'00003', pId:'1', name:'小茴香清選機裝配圖.DWG',url:'http://facezit.com/p-8528090.html', target:'_blank' },{ id:'00004', pId:'1', name:'小茴香清選機設計開題報告.doc',url:'http://facezit.com/p-8528091.html', target:'_blank' },{ id:'00005', pId:'1', name:'小茴香清選機設計開題報告.ppt',url:'http://facezit.com/p-8528092.html', target:'_blank' },{ id:'00006', pId:'1', name:'小茴香清選機設計答辯.ppt',url:'http://facezit.com/p-8528093.html', target:'_blank' },{ id:'00007', pId:'1', name:'小茴香清選機設計說明書.doc',url:'http://facezit.com/p-8528094.html', target:'_blank' },{ id:'00008', pId:'1', name:'小論文.doc',url:'http://facezit.com/p-8528095.html', target:'_blank' },{ id:'00009', pId:'1', name:'掛桿1.DWG',url:'http://facezit.com/p-8528096.html', target:'_blank' },{ id:'00010', pId:'1', name:'曲柄-軸承殼2.DWG',url:'http://facezit.com/p-8528097.html', target:'_blank' },{ id:'00011', pId:'1', name:'曲柄-連桿1.DWG',url:'http://facezit.com/p-8528098.html', target:'_blank' },{ id:'00012', pId:'1', name:'曲柄2.DWG',url:'http://facezit.com/p-8528099.html', target:'_blank' },{ id:'00013', pId:'1', name:'皮帶輪2.DWG',url:'http://facezit.com/p-8528100.html', target:'_blank' },{ id:'00014', pId:'1', name:'軸承殼1.DWG',url:'http://facezit.com/p-8528101.html', target:'_blank' },{ id:'00015', pId:'1', name:'風扇殼.DWG',url:'http://facezit.com/p-8528102.html', target:'_blank' },{ id:'00016', pId:'1', name:'風機2.DWG',url:'http://facezit.com/p-8528103.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 = '7260850'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });