'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】手推式除冰車設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含1個文件)', },{ id:'0000100001', pId:'00001', name:'外文翻譯.doc (116KB)', click:'getBookinfo(8476195)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'上蓋.dwg (75KB)', click:'getBookinfo(8476196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'傳動軸.dwg (90KB)', click:'getBookinfo(8476197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'固定環(huán).dwg (74KB)', click:'getBookinfo(8476198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'圖紙合集.dwg (345KB)', click:'getBookinfo(8476199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'手推式除冰車設計.doc (410KB)', click:'getBookinfo(8476200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'揚冰筒.dwg (72KB)', click:'getBookinfo(8476201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'攪龍傳動軸.dwg (93KB)', click:'getBookinfo(8476202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'攪龍葉片.dwg (84KB)', click:'getBookinfo(8476203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'支架.dwg (89KB)', click:'getBookinfo(8476204)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'清冰鏟.dwg (78KB)', click:'getBookinfo(8476205)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'答辯PPT.ppt (435KB)', click:'getBookinfo(8476206)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00013', pId:'1', name:'裝配圖.dwg (166KB)', click:'getBookinfo(8476207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'設計說明書.doc (409KB)', click:'getBookinfo(8476208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'車輪軸.dwg (77KB)', click:'getBookinfo(8476209)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】手推式除冰車設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8476195.html', target:'_blank' },{ id:'00002', pId:'1', name:'上蓋.dwg',url:'http://m.facezit.com/p-8476196.html', target:'_blank' },{ id:'00003', pId:'1', name:'傳動軸.dwg',url:'http://m.facezit.com/p-8476197.html', target:'_blank' },{ id:'00004', pId:'1', name:'固定環(huán).dwg',url:'http://m.facezit.com/p-8476198.html', target:'_blank' },{ id:'00005', pId:'1', name:'圖紙合集.dwg',url:'http://m.facezit.com/p-8476199.html', target:'_blank' },{ id:'00006', pId:'1', name:'手推式除冰車設計.doc',url:'http://m.facezit.com/p-8476200.html', target:'_blank' },{ id:'00007', pId:'1', name:'揚冰筒.dwg',url:'http://m.facezit.com/p-8476201.html', target:'_blank' },{ id:'00008', pId:'1', name:'攪龍傳動軸.dwg',url:'http://m.facezit.com/p-8476202.html', target:'_blank' },{ id:'00009', pId:'1', name:'攪龍葉片.dwg',url:'http://m.facezit.com/p-8476203.html', target:'_blank' },{ id:'00010', pId:'1', name:'支架.dwg',url:'http://m.facezit.com/p-8476204.html', target:'_blank' },{ id:'00011', pId:'1', name:'清冰鏟.dwg',url:'http://m.facezit.com/p-8476205.html', target:'_blank' },{ id:'00012', pId:'1', name:'答辯PPT.ppt',url:'http://m.facezit.com/p-8476206.html', target:'_blank' },{ id:'00013', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8476207.html', target:'_blank' },{ id:'00014', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8476208.html', target:'_blank' },{ id:'00015', pId:'1', name:'車輪軸.dwg',url:'http://m.facezit.com/p-8476209.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 = '7254755'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });