'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'氣門搖臂軸支座鉆ф3油孔的夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'氣門搖臂軸支座 3-鉆φ3斜孔 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'DXF (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'夾具體.dxf (263KB)', },{ id:'000010000100002', pId:'0000100001', name:'裝配圖.dxf (460KB)', },{ id:'0000100002', pId:'00001', name:'夾具體.dwg (94KB)', click:'getBookinfo(8382914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡.dwg (151KB)', click:'getBookinfo(8382915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'機械加工工藝過程卡片.doc (53KB)', click:'getBookinfo(8382916)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'毛坯圖.dwg (113KB)', click:'getBookinfo(8382917)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'目錄.doc (52KB)', click:'getBookinfo(8382918)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'裝配圖.dwg (125KB)', click:'getBookinfo(8382919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'說明書.doc (391KB)', click:'getBookinfo(8382920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'零件圖.dwg (118KB)', click:'getBookinfo(8382921)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'氣門搖臂軸支座鉆ф3油孔的夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'夾具體.dwg',url:'http://canyonlakefaqs.com/p-8382914.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡.dwg',url:'http://canyonlakefaqs.com/p-8382915.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'機械加工工藝過程卡片.doc',url:'http://canyonlakefaqs.com/p-8382916.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'毛坯圖.dwg',url:'http://canyonlakefaqs.com/p-8382917.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'目錄.doc',url:'http://canyonlakefaqs.com/p-8382918.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8382919.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'說明書.doc',url:'http://canyonlakefaqs.com/p-8382920.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'零件圖.dwg',url:'http://canyonlakefaqs.com/p-8382921.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 = '7863738'; 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; }); });