'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'三通管接頭注塑模具設計【17張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'動模座板.dwg (290KB)', click:'getBookinfo(8496293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'型腔.dwg (367KB)', click:'getBookinfo(8496294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'型腔固定板.dwg (315KB)', click:'getBookinfo(8496295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'型芯.dwg (371KB)', click:'getBookinfo(8496296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型芯固定板.dwg (328KB)', click:'getBookinfo(8496297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文翻譯原文.doc (1065KB)', click:'getBookinfo(8496298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外文翻譯譯文.doc (1573KB)', click:'getBookinfo(8496299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'契緊塊.dwg (288KB)', click:'getBookinfo(8496300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'定位環(huán).dwg (281KB)', click:'getBookinfo(8496301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'定模座板.dwg (293KB)', click:'getBookinfo(8496302)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'開題報告.doc (53KB)', click:'getBookinfo(8496303)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'推桿固定板.dwg (287KB)', click:'getBookinfo(8496304)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'推桿支撐板.dwg (301KB)', click:'getBookinfo(8496305)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'支承釘.dwg (280KB)', click:'getBookinfo(8496306)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'斜導柱.dwg (284KB)', click:'getBookinfo(8496307)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'畢業(yè)設計(論文)任務書.doc (22KB)', click:'getBookinfo(8496308)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'畢業(yè)設計(論文)進度計劃表.doc (33KB)', click:'getBookinfo(8496309)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'畢業(yè)設計中期檢查表.doc (31KB)', click:'getBookinfo(8496310)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'畢業(yè)設計說明書.doc (903KB)', click:'getBookinfo(8496311)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'滑塊.dwg (297KB)', click:'getBookinfo(8496312)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'滑塊固定塊.dwg (289KB)', click:'getBookinfo(8496313)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'滑塊鑲件.dwg (284KB)', click:'getBookinfo(8496314)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'裝配圖.dwg (490KB)', click:'getBookinfo(8496315)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'零件圖.dwg (327KB)', click:'getBookinfo(8496316)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'三通管接頭注塑模具設計【17張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'動模座板.dwg',url:'http://facezit.com/p-8496293.html', target:'_blank' },{ id:'00002', pId:'1', name:'型腔.dwg',url:'http://facezit.com/p-8496294.html', target:'_blank' },{ id:'00003', pId:'1', name:'型腔固定板.dwg',url:'http://facezit.com/p-8496295.html', target:'_blank' },{ id:'00004', pId:'1', name:'型芯.dwg',url:'http://facezit.com/p-8496296.html', target:'_blank' },{ id:'00005', pId:'1', name:'型芯固定板.dwg',url:'http://facezit.com/p-8496297.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文翻譯原文.doc',url:'http://facezit.com/p-8496298.html', target:'_blank' },{ id:'00007', pId:'1', name:'外文翻譯譯文.doc',url:'http://facezit.com/p-8496299.html', target:'_blank' },{ id:'00008', pId:'1', name:'契緊塊.dwg',url:'http://facezit.com/p-8496300.html', target:'_blank' },{ id:'00009', pId:'1', name:'定位環(huán).dwg',url:'http://facezit.com/p-8496301.html', target:'_blank' },{ id:'00010', pId:'1', name:'定模座板.dwg',url:'http://facezit.com/p-8496302.html', target:'_blank' },{ id:'00011', pId:'1', name:'開題報告.doc',url:'http://facezit.com/p-8496303.html', target:'_blank' },{ id:'00012', pId:'1', name:'推桿固定板.dwg',url:'http://facezit.com/p-8496304.html', target:'_blank' },{ id:'00013', pId:'1', name:'推桿支撐板.dwg',url:'http://facezit.com/p-8496305.html', target:'_blank' },{ id:'00014', pId:'1', name:'支承釘.dwg',url:'http://facezit.com/p-8496306.html', target:'_blank' },{ id:'00015', pId:'1', name:'斜導柱.dwg',url:'http://facezit.com/p-8496307.html', target:'_blank' },{ id:'00016', pId:'1', name:'畢業(yè)設計(論文)任務書.doc',url:'http://facezit.com/p-8496308.html', target:'_blank' },{ id:'00017', pId:'1', name:'畢業(yè)設計(論文)進度計劃表.doc',url:'http://facezit.com/p-8496309.html', target:'_blank' },{ id:'00018', pId:'1', name:'畢業(yè)設計中期檢查表.doc',url:'http://facezit.com/p-8496310.html', target:'_blank' },{ id:'00019', pId:'1', name:'畢業(yè)設計說明書.doc',url:'http://facezit.com/p-8496311.html', target:'_blank' },{ id:'00020', pId:'1', name:'滑塊.dwg',url:'http://facezit.com/p-8496312.html', target:'_blank' },{ id:'00021', pId:'1', name:'滑塊固定塊.dwg',url:'http://facezit.com/p-8496313.html', target:'_blank' },{ id:'00022', pId:'1', name:'滑塊鑲件.dwg',url:'http://facezit.com/p-8496314.html', target:'_blank' },{ id:'00023', pId:'1', name:'裝配圖.dwg',url:'http://facezit.com/p-8496315.html', target:'_blank' },{ id:'00024', pId:'1', name:'零件圖.dwg',url:'http://facezit.com/p-8496316.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 = '7256932'; 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; }); });