'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'c6132車床i軸法蘭盤機械加工工藝及車內(nèi)孔夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡7張 (包含7個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡1.doc (90KB)', click:'getBookinfo(8359737)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡2.doc (83KB)', click:'getBookinfo(8359738)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡3.doc (88KB)', click:'getBookinfo(8359739)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡4.doc (95KB)', click:'getBookinfo(8359740)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡5.doc (90KB)', click:'getBookinfo(8359741)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡6.doc (94KB)', click:'getBookinfo(8359742)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡7.doc (95KB)', click:'getBookinfo(8359743)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'I軸法蘭盤——A3.dwg (75KB)', click:'getBookinfo(8359744)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'外文翻譯.zip (610KB)', },{ id:'00004', pId:'1', name:'夾具體——A2.dwg (48KB)', click:'getBookinfo(8359745)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工藝過程卡.doc (47KB)', click:'getBookinfo(8359746)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'毛坯圖——A3.dwg (49KB)', click:'getBookinfo(8359747)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'裝配圖——A0.dwg (138KB)', click:'getBookinfo(8359748)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'說明書.doc (748KB)', click:'getBookinfo(8359749)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'零件毛坯合件——A3.dwg (52KB)', click:'getBookinfo(8359750)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'c6132車床i軸法蘭盤機械加工工藝及車內(nèi)孔夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序卡1.doc',url:'http://canyonlakefaqs.com/p-8359737.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡2.doc',url:'http://canyonlakefaqs.com/p-8359738.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡3.doc',url:'http://canyonlakefaqs.com/p-8359739.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡4.doc',url:'http://canyonlakefaqs.com/p-8359740.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡5.doc',url:'http://canyonlakefaqs.com/p-8359741.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡6.doc',url:'http://canyonlakefaqs.com/p-8359742.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡7.doc',url:'http://canyonlakefaqs.com/p-8359743.html', target:'_blank' },{ id:'00002', pId:'1', name:'I軸法蘭盤——A3.dwg',url:'http://canyonlakefaqs.com/p-8359744.html', target:'_blank' },{ id:'00004', pId:'1', name:'夾具體——A2.dwg',url:'http://canyonlakefaqs.com/p-8359745.html', target:'_blank' },{ id:'00005', pId:'1', name:'工藝過程卡.doc',url:'http://canyonlakefaqs.com/p-8359746.html', target:'_blank' },{ id:'00006', pId:'1', name:'毛坯圖——A3.dwg',url:'http://canyonlakefaqs.com/p-8359747.html', target:'_blank' },{ id:'00007', pId:'1', name:'裝配圖——A0.dwg',url:'http://canyonlakefaqs.com/p-8359748.html', target:'_blank' },{ id:'00008', pId:'1', name:'說明書.doc',url:'http://canyonlakefaqs.com/p-8359749.html', target:'_blank' },{ id:'00009', pId:'1', name:'零件毛坯合件——A3.dwg',url:'http://canyonlakefaqs.com/p-8359750.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 = '6906710'; 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; }); });