'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'硬幣分揀機的設計【帶三維】【word10張cad圖紙】【優(yōu)秀機械畢業(yè)設計】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三維圖紙 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'DAOTAO.SLDPRT (207KB)', },{ id:'0000100002', pId:'00001', name:'一元.SLDPRT (941KB)', },{ id:'0000100003', pId:'00001', name:'五毛.SLDPRT (792KB)', },{ id:'0000100004', pId:'00001', name:'傳動1.SLDPRT (193KB)', },{ id:'0000100005', pId:'00001', name:'側蓋 - 副本.SLDPRT (281KB)', },{ id:'0000100006', pId:'00001', name:'側蓋.SLDPRT (295KB)', },{ id:'0000100007', pId:'00001', name:'電動機.SLDPRT (1380KB)', },{ id:'0000100008', pId:'00001', name:'箱體.SLDPRT (251KB)', },{ id:'0000100009', pId:'00001', name:'裝配體1 - 副本.SLDASM (2663KB)', },{ id:'0000100010', pId:'00001', name:'裝配體1.SLDASM (1491KB)', },{ id:'0000100011', pId:'00001', name:'裝配體1.STEP (11738KB)', },{ id:'0000100012', pId:'00001', name:'軸承.SLDPRT (549KB)', },{ id:'00002', pId:'1', name:'DAOTAO.DWG (64KB)', click:'getBookinfo(8682448)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'一元.DWG (425KB)', click:'getBookinfo(8682449)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'五毛.DWG (706KB)', click:'getBookinfo(8682450)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'任務書 .doc (26KB)', click:'getBookinfo(8682451)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'傳動1.DWG (62KB)', click:'getBookinfo(8682452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'側蓋.DWG (77KB)', click:'getBookinfo(8682453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'大蓋.DWG (74KB)', click:'getBookinfo(8682454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工作計劃.doc (45KB)', click:'getBookinfo(8682455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'硬幣尺寸.jpg (120KB)', click:'getBookinfo(8682456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'箱體.DWG (79KB)', click:'getBookinfo(8682457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'裝配圖.dwg (1069KB)', click:'getBookinfo(8682458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'設計說明書.doc (1541KB)', click:'getBookinfo(8682459)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'硬幣分揀機的設計【帶三維】【word10張cad圖紙】【優(yōu)秀機械畢業(yè)設計】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'DAOTAO.DWG',url:'http://m.facezit.com/p-8682448.html', target:'_blank' },{ id:'00003', pId:'1', name:'一元.DWG',url:'http://m.facezit.com/p-8682449.html', target:'_blank' },{ id:'00004', pId:'1', name:'五毛.DWG',url:'http://m.facezit.com/p-8682450.html', target:'_blank' },{ id:'00005', pId:'1', name:'任務書 .doc',url:'http://m.facezit.com/p-8682451.html', target:'_blank' },{ id:'00006', pId:'1', name:'傳動1.DWG',url:'http://m.facezit.com/p-8682452.html', target:'_blank' },{ id:'00007', pId:'1', name:'側蓋.DWG',url:'http://m.facezit.com/p-8682453.html', target:'_blank' },{ id:'00008', pId:'1', name:'大蓋.DWG',url:'http://m.facezit.com/p-8682454.html', target:'_blank' },{ id:'00009', pId:'1', name:'工作計劃.doc',url:'http://m.facezit.com/p-8682455.html', target:'_blank' },{ id:'00010', pId:'1', name:'硬幣尺寸.jpg',url:'http://m.facezit.com/p-8682456.html', target:'_blank' },{ id:'00011', pId:'1', name:'箱體.DWG',url:'http://m.facezit.com/p-8682457.html', target:'_blank' },{ id:'00012', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8682458.html', target:'_blank' },{ id:'00013', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8682459.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 = '7265747'; 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; }); });