'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'十字滑臺工作臺3d三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'新建文件夾 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'MISUMI (包含3個文件)', },{ id:'000010000100001', pId:'0000100001', name:'SSHRB40.sldprt (747KB)', },{ id:'000010000100002', pId:'0000100001', name:'SSHRLZ40_1000.sldasm (350KB)', },{ id:'000010000100003', pId:'0000100001', name:'SSHZLF40_1000.sldprt (388KB)', },{ id:'0000100002', pId:'00001', name:'新建文件夾 (包含7個文件)', },{ id:'000010000200001', pId:'0000100002', name:'MISUMI (包含6個文件)', },{ id:'00001000020000100001', pId:'000010000200001', name:'M6x25.sldprt (125KB)', },{ id:'00001000020000100002', pId:'000010000200001', name:'MCSLC50_20_20.sldasm (238KB)', },{ id:'00001000020000100003', pId:'000010000200001', name:'MCSLC50_20_20_b.sldprt (532KB)', },{ id:'00001000020000100004', pId:'000010000200001', name:'SSHRB40.sldprt (747KB)', },{ id:'00001000020000100005', pId:'000010000200001', name:'SSHRLZ40_1000.sldasm (350KB)', },{ id:'00001000020000100006', pId:'000010000200001', name:'SSHZLF40_1000.sldprt (388KB)', },{ id:'00002', pId:'1', name:'B7205_DF.sldprt (331KB)', },{ id:'00003', pId:'1', name:'bearingB6205ZZ.sldprt (254KB)', },{ id:'00004', pId:'1', name:'BSSR3210c.sldprt (194KB)', },{ id:'00005', pId:'1', name:'BSSR3210n.sldprt (255KB)', },{ id:'00006', pId:'1', name:'BSSR3210_1100.sldasm (491KB)', },{ id:'00007', pId:'1', name:'BSSR3210_1100a.sldprt (236KB)', },{ id:'00008', pId:'1', name:'BSW25.sldasm (391KB)', },{ id:'00009', pId:'1', name:'BSW25cover.sldprt (328KB)', },{ id:'00010', pId:'1', name:'BSW25housing.sldprt (273KB)', },{ id:'00011', pId:'1', name:'BSW25nut.sldprt (272KB)', },{ id:'00012', pId:'1', name:'BSW25spacer.sldprt (160KB)', },{ id:'00013', pId:'1', name:'BUN25.sldasm (220KB)', },{ id:'00014', pId:'1', name:'BUN25housing.sldprt (238KB)', },{ id:'00015', pId:'1', name:'STWN25.sldprt (176KB)', },{ id:'00016', pId:'1', name:'絲杠裝配BSSR3210_1100.sldasm (521KB)', },{ id:'00017', pId:'1', name:'十字滑臺工作臺.SLDASM (778KB)', },{ id:'00018', pId:'1', name:'十字滑臺工作臺.STEP (2870KB)', },{ id:'00019', pId:'1', name:'基板1.SLDPRT (353KB)', },{ id:'00020', pId:'1', name:'工作臺.dwg (508KB)', click:'getBookinfo(8505772)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'工作臺裝配2.SLDASM (675KB)', },{ id:'00022', pId:'1', name:'工作臺面.SLDPRT (239KB)', },{ id:'00023', pId:'1', name:'電機.SLDPRT (374KB)', },{ id:'00024', pId:'1', name:'連接板31.SLDPRT (271KB)', },{ id:'00025', pId:'1', name:'連接板9.SLDPRT (233KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'十字滑臺工作臺3d三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00020', pId:'1', name:'工作臺.dwg',url:'http://canyonlakefaqs.com/p-8505772.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 = '7258408'; 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; }); });