'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'中耕施肥機(jī)solidworks三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'xiaozi.sldprt (58KB)', },{ id:'00002', pId:'1', name:'xiaozi2.sldprt (58KB)', },{ id:'00003', pId:'1', name:'zzt3D.stp (30880KB)', },{ id:'00004', pId:'1', name:'中耕施肥機(jī)Solidworks三維圖.png (183KB)', click:'getBookinfo(8232807)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'中耕施肥機(jī)總裝.sldasm (4426KB)', },{ id:'00006', pId:'1', name:'主動鏈.sldprt (2268KB)', },{ id:'00007', pId:'1', name:'主齒輪.sldprt (345KB)', },{ id:'00008', pId:'1', name:'主齒輪1.sldprt (616KB)', },{ id:'00009', pId:'1', name:'保護(hù)罩.sldprt (65KB)', },{ id:'00010', pId:'1', name:'施肥棍.sldprt (110KB)', },{ id:'00011', pId:'1', name:'施肥軸.sldprt (94KB)', },{ id:'00012', pId:'1', name:'機(jī)架.sldprt (1644KB)', },{ id:'00013', pId:'1', name:'深溝球軸承60000-2RS型 GB_T276-1994_61906-2RS.sldprt (394KB)', },{ id:'00014', pId:'1', name:'皮帶3-1.sldprt (2005KB)', },{ id:'00015', pId:'1', name:'破土鏟.sldprt (172KB)', },{ id:'00016', pId:'1', name:'肥箱蓋子.sldprt (94KB)', },{ id:'00017', pId:'1', name:'肥箱蓋銷子.sldprt (54KB)', },{ id:'00018', pId:'1', name:'覆土1.sldprt (130KB)', },{ id:'00019', pId:'1', name:'覆土圓盤.sldprt (60KB)', },{ id:'00020', pId:'1', name:'轉(zhuǎn)軸.sldprt (66KB)', },{ id:'00021', pId:'1', name:'輪胎.sldprt (2524KB)', },{ id:'00022', pId:'1', name:'軸承端蓋.sldprt (96KB)', },{ id:'00023', pId:'1', name:'齒輪1.sldprt (280KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'中耕施肥機(jī)solidworks三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00004', pId:'1', name:'中耕施肥機(jī)Solidworks三維圖.png',url:'http://facezit.com/p-8232807.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 = '3729892'; 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; }); });