'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'jx0695轉(zhuǎn)向系統(tǒng)設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'JX0695-轉(zhuǎn)向系統(tǒng)設(shè)計 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'Thumbs.db (12KB)', },{ id:'0000100002', pId:'00001', name:'上蓋-Model.jpg (225KB)', click:'getBookinfo(8260321)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'上蓋.dwg (146KB)', click:'getBookinfo(8260322)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'側(cè)蓋-Model.jpg (167KB)', click:'getBookinfo(8260323)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'側(cè)蓋.dwg (132KB)', click:'getBookinfo(8260324)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'殼體-Model.jpg (221KB)', click:'getBookinfo(8260325)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'殼體.dwg (301KB)', click:'getBookinfo(8260326)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'搖臂軸-Model.jpg (196KB)', click:'getBookinfo(8260327)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'搖臂軸.dwg (160KB)', click:'getBookinfo(8260328)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'螺桿-Model.jpg (182KB)', click:'getBookinfo(8260329)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'螺桿.dwg (108KB)', click:'getBookinfo(8260330)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'轉(zhuǎn)向操縱機構(gòu)-Model.jpg (151KB)', click:'getBookinfo(8260331)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'轉(zhuǎn)向操縱機構(gòu).dwg (96KB)', click:'getBookinfo(8260332)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'轉(zhuǎn)向機總成-Model.jpg (202KB)', click:'getBookinfo(8260333)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'轉(zhuǎn)向機總成.dwg (419KB)', click:'getBookinfo(8260334)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'轉(zhuǎn)向系說明書.doc (1118KB)', click:'getBookinfo(8260335)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'jx0695轉(zhuǎn)向系統(tǒng)設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'上蓋-Model.jpg',url:'http://m.facezit.com/p-8260321.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'上蓋.dwg',url:'http://m.facezit.com/p-8260322.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'側(cè)蓋-Model.jpg',url:'http://m.facezit.com/p-8260323.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'側(cè)蓋.dwg',url:'http://m.facezit.com/p-8260324.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'殼體-Model.jpg',url:'http://m.facezit.com/p-8260325.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'殼體.dwg',url:'http://m.facezit.com/p-8260326.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'搖臂軸-Model.jpg',url:'http://m.facezit.com/p-8260327.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'搖臂軸.dwg',url:'http://m.facezit.com/p-8260328.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'螺桿-Model.jpg',url:'http://m.facezit.com/p-8260329.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'螺桿.dwg',url:'http://m.facezit.com/p-8260330.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'轉(zhuǎn)向操縱機構(gòu)-Model.jpg',url:'http://m.facezit.com/p-8260331.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'轉(zhuǎn)向操縱機構(gòu).dwg',url:'http://m.facezit.com/p-8260332.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'轉(zhuǎn)向機總成-Model.jpg',url:'http://m.facezit.com/p-8260333.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'轉(zhuǎn)向機總成.dwg',url:'http://m.facezit.com/p-8260334.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'轉(zhuǎn)向系說明書.doc',url:'http://m.facezit.com/p-8260335.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 = '6333267'; 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; }); });