'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'齒盤式棉稈起拔機soliworks三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'27-主動錐齒輪.SLDPRT (437KB)', },{ id:'00002', pId:'1', name:'27-主動錐齒輪1.SLDPRT (441KB)', },{ id:'00003', pId:'1', name:'30-從動錐齒輪.SLDPRT (424KB)', },{ id:'00004', pId:'1', name:'7-軸承總成.SLDPRT (860KB)', },{ id:'00005', pId:'1', name:'六角頭自攻鎖緊螺釘 GB_T6563-1986_M10X30.sldprt (123KB)', },{ id:'00006', pId:'1', name:'固定架31.SLDPRT (254KB)', },{ id:'00007', pId:'1', name:'固定螺帽.SLDPRT (136KB)', },{ id:'00008', pId:'1', name:'扶禾器.SLDPRT (511KB)', },{ id:'00009', pId:'1', name:'支座.SLDPRT (126KB)', },{ id:'00010', pId:'1', name:'罩子.SLDPRT (154KB)', },{ id:'00011', pId:'1', name:'罩子上外殼.SLDPRT (120KB)', },{ id:'00012', pId:'1', name:'裝配體11.SLDASM (1663KB)', },{ id:'00013', pId:'1', name:'裝配體20.SLDASM (106KB)', },{ id:'00014', pId:'1', name:'限深輪.SLDPRT (270KB)', },{ id:'00015', pId:'1', name:'零件1.SLDPRT (391KB)', },{ id:'00016', pId:'1', name:'零件2.SLDPRT (877KB)', },{ id:'00017', pId:'1', name:'零件21.SLDPRT (338KB)', },{ id:'00018', pId:'1', name:'零件22.SLDPRT (126KB)', },{ id:'00019', pId:'1', name:'零件23.SLDPRT (202KB)', },{ id:'00020', pId:'1', name:'零件24.SLDPRT (153KB)', },{ id:'00021', pId:'1', name:'零件28.1.SLDPRT (239KB)', },{ id:'00022', pId:'1', name:'零件28.SLDPRT (228KB)', },{ id:'00023', pId:'1', name:'零件3.SLDPRT (504KB)', },{ id:'00024', pId:'1', name:'齒盤式棉稈起拔機Soliworks三維圖.png (270KB)', click:'getBookinfo(8234247)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'齒盤軸28.SLDPRT (203KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'齒盤式棉稈起拔機soliworks三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00024', pId:'1', name:'齒盤式棉稈起拔機Soliworks三維圖.png',url:'http://m.facezit.com/p-8234247.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 = '3730611'; 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; }); });