'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓升降平臺的設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0 液壓升降平臺的設計.doc (327KB)', click:'getBookinfo(8378677)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'上板架.dwg (59KB)', click:'getBookinfo(8378678)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'下板.dwg (69KB)', click:'getBookinfo(8378679)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'內連桿.dwg (55KB)', click:'getBookinfo(8378680)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'固定鉸接處.dwg (46KB)', click:'getBookinfo(8378681)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文翻譯.doc (673KB)', click:'getBookinfo(8378682)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外連桿.dwg (64KB)', click:'getBookinfo(8378683)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'機械總裝圖.dwg (93KB)', click:'getBookinfo(8378684)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'油箱.dwg (67KB)', click:'getBookinfo(8378685)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'泵站圖.dwg (103KB)', click:'getBookinfo(8378686)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'液壓原理圖.dwg (51KB)', click:'getBookinfo(8378687)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'焊接件.dwg (57KB)', click:'getBookinfo(8378688)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'目錄.doc (70KB)', click:'getBookinfo(8378689)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'設計說明書.doc (290KB)', click:'getBookinfo(8378690)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'軸耳.dwg (43KB)', click:'getBookinfo(8378691)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'閥體.dwg (56KB)', click:'getBookinfo(8378692)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'閥塊.dwg (67KB)', click:'getBookinfo(8378693)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓升降平臺的設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0 液壓升降平臺的設計.doc',url:'http://m.facezit.com/p-8378677.html', target:'_blank' },{ id:'00002', pId:'1', name:'上板架.dwg',url:'http://m.facezit.com/p-8378678.html', target:'_blank' },{ id:'00003', pId:'1', name:'下板.dwg',url:'http://m.facezit.com/p-8378679.html', target:'_blank' },{ id:'00004', pId:'1', name:'內連桿.dwg',url:'http://m.facezit.com/p-8378680.html', target:'_blank' },{ id:'00005', pId:'1', name:'固定鉸接處.dwg',url:'http://m.facezit.com/p-8378681.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8378682.html', target:'_blank' },{ id:'00007', pId:'1', name:'外連桿.dwg',url:'http://m.facezit.com/p-8378683.html', target:'_blank' },{ id:'00008', pId:'1', name:'機械總裝圖.dwg',url:'http://m.facezit.com/p-8378684.html', target:'_blank' },{ id:'00009', pId:'1', name:'油箱.dwg',url:'http://m.facezit.com/p-8378685.html', target:'_blank' },{ id:'00010', pId:'1', name:'泵站圖.dwg',url:'http://m.facezit.com/p-8378686.html', target:'_blank' },{ id:'00011', pId:'1', name:'液壓原理圖.dwg',url:'http://m.facezit.com/p-8378687.html', target:'_blank' },{ id:'00012', pId:'1', name:'焊接件.dwg',url:'http://m.facezit.com/p-8378688.html', target:'_blank' },{ id:'00013', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8378689.html', target:'_blank' },{ id:'00014', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8378690.html', target:'_blank' },{ id:'00015', pId:'1', name:'軸耳.dwg',url:'http://m.facezit.com/p-8378691.html', target:'_blank' },{ id:'00016', pId:'1', name:'閥體.dwg',url:'http://m.facezit.com/p-8378692.html', target:'_blank' },{ id:'00017', pId:'1', name:'閥塊.dwg',url:'http://m.facezit.com/p-8378693.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 = '7123808'; 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; }); });