'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0079單轉子可逆式錘式破碎機設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0079-單轉子可逆式錘式破碎機設計 (包含34個文件)', },{ id:'0000100001', pId:'00001', name:'上機殼.dwg (98KB)', click:'getBookinfo(8734431)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'上機殼體.png (25KB)', click:'getBookinfo(8734432)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'下機殼.dwg (85KB)', click:'getBookinfo(8734433)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'下機殼.png (20KB)', click:'getBookinfo(8734434)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'任務書.png (95KB)', click:'getBookinfo(8734435)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'出料斗.dwg (55KB)', click:'getBookinfo(8734436)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'出料斗.png (7KB)', click:'getBookinfo(8734437)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'墊片.dwg (42KB)', click:'getBookinfo(8734438)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'套筒1.dwg (44KB)', click:'getBookinfo(8734439)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'套筒2.dwg (43KB)', click:'getBookinfo(8734440)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'安裝接線圖.dwg (52KB)', click:'getBookinfo(8734441)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'安裝接線圖.png (10KB)', click:'getBookinfo(8734442)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'摘要.png (118KB)', click:'getBookinfo(8734443)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'支撐架.dwg (69KB)', click:'getBookinfo(8734444)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'支撐架.png (11KB)', click:'getBookinfo(8734445)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'整機裝配圖.dwg (227KB)', click:'getBookinfo(8734446)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'整機裝配圖.png (63KB)', click:'getBookinfo(8734447)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'新建 文本文檔.txt (1KB)', click:'getBookinfo(8734448)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100019', pId:'00001', name:'畢業(yè)設計附件.doc (59KB)', click:'getBookinfo(8734449)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'盤蓋.dwg (50KB)', click:'getBookinfo(8734450)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'目錄.png (62KB)', click:'getBookinfo(8734451)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'破碎機電路圖.dwg (59KB)', click:'getBookinfo(8734452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'篩板.dwg (56KB)', click:'getBookinfo(8734453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'螺母1.dwg (44KB)', click:'getBookinfo(8734454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'螺母2.dwg (56KB)', click:'getBookinfo(8734455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'襯板.dwg (66KB)', click:'getBookinfo(8734456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100027', pId:'00001', name:'襯板.png (7KB)', click:'getBookinfo(8734457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100028', pId:'00001', name:'設計說明書.png (359KB)', click:'getBookinfo(8734458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100029', pId:'00001', name:'設計說明書正文.doc (1205KB)', click:'getBookinfo(8734459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100030', pId:'00001', name:'錘頭.dwg (65KB)', click:'getBookinfo(8734460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100031', pId:'00001', name:'錘頭.png (19KB)', click:'getBookinfo(8734461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100032', pId:'00001', name:'錘頭銷.dwg (47KB)', click:'getBookinfo(8734462)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100033', pId:'00001', name:'錘盤.dwg (54KB)', click:'getBookinfo(8734463)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100034', pId:'00001', name:'錘盤.png (8KB)', click:'getBookinfo(8734464)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0079單轉子可逆式錘式破碎機設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'上機殼.dwg',url:'http://m.facezit.com/p-8734431.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'上機殼體.png',url:'http://m.facezit.com/p-8734432.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'下機殼.dwg',url:'http://m.facezit.com/p-8734433.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'下機殼.png',url:'http://m.facezit.com/p-8734434.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'任務書.png',url:'http://m.facezit.com/p-8734435.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'出料斗.dwg',url:'http://m.facezit.com/p-8734436.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'出料斗.png',url:'http://m.facezit.com/p-8734437.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'墊片.dwg',url:'http://m.facezit.com/p-8734438.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'套筒1.dwg',url:'http://m.facezit.com/p-8734439.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'套筒2.dwg',url:'http://m.facezit.com/p-8734440.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'安裝接線圖.dwg',url:'http://m.facezit.com/p-8734441.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'安裝接線圖.png',url:'http://m.facezit.com/p-8734442.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8734443.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'支撐架.dwg',url:'http://m.facezit.com/p-8734444.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'支撐架.png',url:'http://m.facezit.com/p-8734445.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'整機裝配圖.dwg',url:'http://m.facezit.com/p-8734446.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'整機裝配圖.png',url:'http://m.facezit.com/p-8734447.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'新建 文本文檔.txt',url:'http://m.facezit.com/p-8734448.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'畢業(yè)設計附件.doc',url:'http://m.facezit.com/p-8734449.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'盤蓋.dwg',url:'http://m.facezit.com/p-8734450.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8734451.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'破碎機電路圖.dwg',url:'http://m.facezit.com/p-8734452.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'篩板.dwg',url:'http://m.facezit.com/p-8734453.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'螺母1.dwg',url:'http://m.facezit.com/p-8734454.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'螺母2.dwg',url:'http://m.facezit.com/p-8734455.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'襯板.dwg',url:'http://m.facezit.com/p-8734456.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'襯板.png',url:'http://m.facezit.com/p-8734457.html', target:'_blank' },{ id:'0000100028', pId:'00001', name:'設計說明書.png',url:'http://m.facezit.com/p-8734458.html', target:'_blank' },{ id:'0000100029', pId:'00001', name:'設計說明書正文.doc',url:'http://m.facezit.com/p-8734459.html', target:'_blank' },{ id:'0000100030', pId:'00001', name:'錘頭.dwg',url:'http://m.facezit.com/p-8734460.html', target:'_blank' },{ id:'0000100031', pId:'00001', name:'錘頭.png',url:'http://m.facezit.com/p-8734461.html', target:'_blank' },{ id:'0000100032', pId:'00001', name:'錘頭銷.dwg',url:'http://m.facezit.com/p-8734462.html', target:'_blank' },{ id:'0000100033', pId:'00001', name:'錘盤.dwg',url:'http://m.facezit.com/p-8734463.html', target:'_blank' },{ id:'0000100034', pId:'00001', name:'錘盤.png',url:'http://m.facezit.com/p-8734464.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 = '3522052'; 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; }); });