'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'組合機床自動上料液壓機械手設(shè)計【3dproe三維圖紙、cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D-proe (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'AnalysisDefinition1.pbk (637KB)', },{ id:'0000100002', pId:'00001', name:'anim2.mpg (2928KB)', },{ id:'0000100003', pId:'00001', name:'asm0002.asm.3 (67KB)', },{ id:'0000100004', pId:'00001', name:'db.prt.5 (203KB)', },{ id:'0000100005', pId:'00001', name:'dz1.prt.1 (56KB)', },{ id:'0000100006', pId:'00001', name:'fangzhen.asm.1 (59KB)', },{ id:'0000100007', pId:'00001', name:'fangzhen.mpg (3030KB)', },{ id:'0000100008', pId:'00001', name:'gongjian.prt.6 (40KB)', },{ id:'0000100009', pId:'00001', name:'jqs.pbk (936KB)', },{ id:'0000100010', pId:'00001', name:'jz.prt.2 (191KB)', },{ id:'0000100011', pId:'00001', name:'kt.prt.10 (252KB)', },{ id:'0000100012', pId:'00001', name:'sb.prt.8 (202KB)', },{ id:'0000100013', pId:'00001', name:'sg.prt.5 (295KB)', },{ id:'0000100014', pId:'00001', name:'trail.txt.1 (10KB)', },{ id:'0000100015', pId:'00001', name:'trail.txt.2 (61KB)', },{ id:'0000100016', pId:'00001', name:'trail.txt.3 (15KB)', },{ id:'0000100017', pId:'00001', name:'trail.txt.4 (5KB)', },{ id:'0000100018', pId:'00001', name:'trail.txt.5 (4KB)', },{ id:'0000100019', pId:'00001', name:'trail.txt.6 (7KB)', },{ id:'0000100020', pId:'00001', name:'zdjsq.prt.7 (207KB)', },{ id:'00002', pId:'1', name:'三維圖.jpg (206KB)', click:'getBookinfo(8363950)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'導(dǎo)向套.dwg (46KB)', click:'getBookinfo(8363951)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工作空間圖.dwg (49KB)', click:'getBookinfo(8363952)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'總裝圖.dwg (148KB)', click:'getBookinfo(8363953)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'支座.dwg (63KB)', click:'getBookinfo(8363954)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'支架.dwg (53KB)', click:'getBookinfo(8363955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'機構(gòu)簡圖.dwg (47KB)', click:'getBookinfo(8363956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'液壓系統(tǒng)原理圖-A1.dwg (115KB)', click:'getBookinfo(8363957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'終端執(zhí)行器.dwg (76KB)', click:'getBookinfo(8363958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'裝配圖.jpg (20KB)', click:'getBookinfo(8363959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'設(shè)計說明書.doc (622KB)', click:'getBookinfo(8363960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'轉(zhuǎn)動殼體.dwg (65KB)', click:'getBookinfo(8363961)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'組合機床自動上料液壓機械手設(shè)計【3dproe三維圖紙、cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'三維圖.jpg',url:'http://m.facezit.com/p-8363950.html', target:'_blank' },{ id:'00003', pId:'1', name:'導(dǎo)向套.dwg',url:'http://m.facezit.com/p-8363951.html', target:'_blank' },{ id:'00004', pId:'1', name:'工作空間圖.dwg',url:'http://m.facezit.com/p-8363952.html', target:'_blank' },{ id:'00005', pId:'1', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8363953.html', target:'_blank' },{ id:'00006', pId:'1', name:'支座.dwg',url:'http://m.facezit.com/p-8363954.html', target:'_blank' },{ id:'00007', pId:'1', name:'支架.dwg',url:'http://m.facezit.com/p-8363955.html', target:'_blank' },{ id:'00008', pId:'1', name:'機構(gòu)簡圖.dwg',url:'http://m.facezit.com/p-8363956.html', target:'_blank' },{ id:'00009', pId:'1', name:'液壓系統(tǒng)原理圖-A1.dwg',url:'http://m.facezit.com/p-8363957.html', target:'_blank' },{ id:'00010', pId:'1', name:'終端執(zhí)行器.dwg',url:'http://m.facezit.com/p-8363958.html', target:'_blank' },{ id:'00011', pId:'1', name:'裝配圖.jpg',url:'http://m.facezit.com/p-8363959.html', target:'_blank' },{ id:'00012', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8363960.html', target:'_blank' },{ id:'00013', pId:'1', name:'轉(zhuǎn)動殼體.dwg',url:'http://m.facezit.com/p-8363961.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 = '6908348'; 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; }); });