'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'變速箱同步器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'最新 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'三四檔同步器設(shè)計sw三維 (包含10個文件)', },{ id:'000010000100001', pId:'0000100001', name:'一二三四檔同步器卡簧.SLDPRT (71KB)', },{ id:'000010000100002', pId:'0000100001', name:'一二三四檔同步器滑塊.SLDPRT (84KB)', },{ id:'000010000100003', pId:'0000100001', name:'三四檔同步器總成.SLDASM (1770KB)', },{ id:'000010000100004', pId:'0000100001', name:'三四檔同步器齒套.SLDPRT (1737KB)', },{ id:'000010000100005', pId:'0000100001', name:'三四檔同步器齒榖 .SLDPRT (1677KB)', },{ id:'000010000100006', pId:'0000100001', name:'同步器錐環(huán).SLDPRT (1779KB)', },{ id:'000010000100007', pId:'0000100001', name:'定位.SLDPRT (123KB)', },{ id:'000010000100008', pId:'0000100001', name:'軸部分.SLDPRT (341KB)', },{ id:'000010000100009', pId:'0000100001', name:'齒輪.SLDPRT (3054KB)', },{ id:'000010000100010', pId:'0000100001', name:'齒輪1.SLDPRT (3293KB)', },{ id:'0000100002', pId:'00001', name:'~$車變速器同步器設(shè)計0320.doc (0KB)', click:'getBookinfo(8092330)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'乘用車變速器同步器設(shè)計0320.doc (3518KB)', click:'getBookinfo(8092331)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'同步器-鎖環(huán)0706.dwg (83KB)', click:'getBookinfo(8092332)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'同步器0706.dwg (136KB)', click:'getBookinfo(8092333)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'同步器—花鍵轂0706.dwg (86KB)', click:'getBookinfo(8092334)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'變速箱同步器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'~$車變速器同步器設(shè)計0320.doc',url:'http://canyonlakefaqs.com/p-8092330.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'乘用車變速器同步器設(shè)計0320.doc',url:'http://canyonlakefaqs.com/p-8092331.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'同步器-鎖環(huán)0706.dwg',url:'http://canyonlakefaqs.com/p-8092332.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'同步器0706.dwg',url:'http://canyonlakefaqs.com/p-8092333.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'同步器—花鍵轂0706.dwg',url:'http://canyonlakefaqs.com/p-8092334.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 = '3435441'; 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; }); });