'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'紙箱自動捆扎結構設計(捆扎部分)【三維proe動畫仿真】【全套8張cad圖紙和畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D-ProE (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'00_zongcheng.asm.4 (93KB)', },{ id:'0000100002', pId:'00001', name:'cl.prt.1 (535KB)', },{ id:'0000100003', pId:'00001', name:'dj.prt.1 (221KB)', },{ id:'0000100004', pId:'00001', name:'jsq.prt.1 (1169KB)', },{ id:'0000100005', pId:'00001', name:'kdl.prt.1 (105KB)', },{ id:'0000100006', pId:'00001', name:'lzq.prt.1 (163KB)', },{ id:'0000100007', pId:'00001', name:'mcl.prt.1 (164KB)', },{ id:'0000100008', pId:'00001', name:'mclz.prt.1 (114KB)', },{ id:'0000100009', pId:'00001', name:'pt.prt.5 (1203KB)', },{ id:'0000100010', pId:'00001', name:'z.prt.1 (110KB)', },{ id:'0000100011', pId:'00001', name:'zcz.prt.1 (224KB)', },{ id:'0000100012', pId:'00001', name:'zx.prt.1 (40KB)', },{ id:'00002', pId:'1', name:'仿真 (包含1個文件)', },{ id:'0000200001', pId:'00002', name:'00_ZONGCHENG.mpg (2314KB)', },{ id:'00003', pId:'1', name:'半聯(lián)軸器-A4.dwg (57KB)', click:'getBookinfo(8363985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'同步齒輪-A4.dwg (57KB)', click:'getBookinfo(8363986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'捆帶盤-A1.dwg (56KB)', click:'getBookinfo(8363987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'捆帶盤座-A3.dwg (54KB)', click:'getBookinfo(8363988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'摩擦輪-A4.dwg (56KB)', click:'getBookinfo(8363989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'摩擦輪軸-A4.dwg (58KB)', click:'getBookinfo(8363990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'紙箱自動捆扎機(捆扎部分)裝配圖-A0.dwg (144KB)', click:'getBookinfo(8363991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'設計說明書.doc (649KB)', click:'getBookinfo(8363992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'軸承座-A3.dwg (60KB)', click:'getBookinfo(8363993)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'紙箱自動捆扎結構設計(捆扎部分)【三維proe動畫仿真】【全套8張cad圖紙和畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'半聯(lián)軸器-A4.dwg',url:'http://m.facezit.com/p-8363985.html', target:'_blank' },{ id:'00004', pId:'1', name:'同步齒輪-A4.dwg',url:'http://m.facezit.com/p-8363986.html', target:'_blank' },{ id:'00005', pId:'1', name:'捆帶盤-A1.dwg',url:'http://m.facezit.com/p-8363987.html', target:'_blank' },{ id:'00006', pId:'1', name:'捆帶盤座-A3.dwg',url:'http://m.facezit.com/p-8363988.html', target:'_blank' },{ id:'00007', pId:'1', name:'摩擦輪-A4.dwg',url:'http://m.facezit.com/p-8363989.html', target:'_blank' },{ id:'00008', pId:'1', name:'摩擦輪軸-A4.dwg',url:'http://m.facezit.com/p-8363990.html', target:'_blank' },{ id:'00009', pId:'1', name:'紙箱自動捆扎機(捆扎部分)裝配圖-A0.dwg',url:'http://m.facezit.com/p-8363991.html', target:'_blank' },{ id:'00010', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8363992.html', target:'_blank' },{ id:'00011', pId:'1', name:'軸承座-A3.dwg',url:'http://m.facezit.com/p-8363993.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 = '6908363'; 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ù)據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });