'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'滾珠絲杠伺服加載實驗臺【絲杠導(dǎo)軌工作臺】cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0總裝圖.dwg (243KB)', click:'getBookinfo(8555370)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0總裝圖.exb (162KB)', },{ id:'00003', pId:'1', name:'A3-固定座本體.dwg (85KB)', click:'getBookinfo(8555371)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-固定座本體.exb (88KB)', },{ id:'00005', pId:'1', name:'A3-固定座端蓋.dwg (78KB)', click:'getBookinfo(8555372)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A3-固定座端蓋.exb (86KB)', },{ id:'00007', pId:'1', name:'A3-固定座緊釘螺母.dwg (77KB)', click:'getBookinfo(8555373)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-固定座緊釘螺母.exb (85KB)', },{ id:'00009', pId:'1', name:'A3-導(dǎo)軌滑塊.dwg (88KB)', click:'getBookinfo(8555374)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A3-導(dǎo)軌滑塊.exb (91KB)', },{ id:'00011', pId:'1', name:'A3-尾座.dwg (93KB)', click:'getBookinfo(8555375)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A3-尾座.exb (90KB)', },{ id:'00013', pId:'1', name:'A3-支撐座.dwg (86KB)', click:'getBookinfo(8555376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'A3-支撐座.exb (87KB)', },{ id:'00015', pId:'1', name:'A3-直線導(dǎo)軌.dwg (84KB)', click:'getBookinfo(8555377)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'A3-直線導(dǎo)軌.exb (91KB)', },{ id:'00017', pId:'1', name:'A3-聯(lián)軸器右端.dwg (82KB)', click:'getBookinfo(8555378)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'A3-聯(lián)軸器右端.exb (88KB)', },{ id:'00019', pId:'1', name:'A3-聯(lián)軸器左端.dwg (82KB)', click:'getBookinfo(8555379)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'A3-聯(lián)軸器左端.exb (87KB)', },{ id:'00021', pId:'1', name:'A3-聯(lián)軸器梅花塊.dwg (77KB)', click:'getBookinfo(8555380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'A3-聯(lián)軸器梅花塊.exb (86KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'滾珠絲杠伺服加載實驗臺【絲杠導(dǎo)軌工作臺】cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0總裝圖.dwg',url:'http://m.facezit.com/p-8555370.html', target:'_blank' },{ id:'00003', pId:'1', name:'A3-固定座本體.dwg',url:'http://m.facezit.com/p-8555371.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-固定座端蓋.dwg',url:'http://m.facezit.com/p-8555372.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-固定座緊釘螺母.dwg',url:'http://m.facezit.com/p-8555373.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-導(dǎo)軌滑塊.dwg',url:'http://m.facezit.com/p-8555374.html', target:'_blank' },{ id:'00011', pId:'1', name:'A3-尾座.dwg',url:'http://m.facezit.com/p-8555375.html', target:'_blank' },{ id:'00013', pId:'1', name:'A3-支撐座.dwg',url:'http://m.facezit.com/p-8555376.html', target:'_blank' },{ id:'00015', pId:'1', name:'A3-直線導(dǎo)軌.dwg',url:'http://m.facezit.com/p-8555377.html', target:'_blank' },{ id:'00017', pId:'1', name:'A3-聯(lián)軸器右端.dwg',url:'http://m.facezit.com/p-8555378.html', target:'_blank' },{ id:'00019', pId:'1', name:'A3-聯(lián)軸器左端.dwg',url:'http://m.facezit.com/p-8555379.html', target:'_blank' },{ id:'00021', pId:'1', name:'A3-聯(lián)軸器梅花塊.dwg',url:'http://m.facezit.com/p-8555380.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 = '7265047'; 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; }); });