'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ahhc520制粒機設計【7張cad圖紙和畢業(yè)論文】【農(nóng)業(yè)機械】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D-UG (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'01.prt (188KB)', },{ id:'0000100002', pId:'00001', name:'012.prt (236KB)', },{ id:'0000100003', pId:'00001', name:'014.prt (248KB)', },{ id:'0000100004', pId:'00001', name:'015.prt (232KB)', },{ id:'0000100005', pId:'00001', name:'02.prt (140KB)', },{ id:'0000100006', pId:'00001', name:'dachilun.prt (688KB)', },{ id:'0000100007', pId:'00001', name:'huan2.prt (3948KB)', },{ id:'0000100008', pId:'00001', name:'huan3.prt (4288KB)', },{ id:'0000100009', pId:'00001', name:'huan4.prt (5228KB)', },{ id:'0000100010', pId:'00001', name:'huanzi1.prt (204KB)', },{ id:'0000100011', pId:'00001', name:'jian1.prt (124KB)', },{ id:'0000100012', pId:'00001', name:'zhou.prt (208KB)', },{ id:'0000100013', pId:'00001', name:'zhuang1.prt (152KB)', },{ id:'00002', pId:'1', name:'AHHC520制粒機設計說明書.doc (1342KB)', click:'getBookinfo(8359982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'制動系統(tǒng)部裝圖-A0.dwg (179KB)', click:'getBookinfo(8359983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'外文翻譯.doc (873KB)', click:'getBookinfo(8359984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'大齒輪-A3-2.dwg (74KB)', click:'getBookinfo(8359985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'大齒輪-A3.dwg (170KB)', click:'getBookinfo(8359986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'總裝配圖-A0.dwg (244KB)', click:'getBookinfo(8359987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'相關(guān)資料模板.doc (58KB)', click:'getBookinfo(8359988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'箱體-A0.dwg (152KB)', click:'getBookinfo(8359989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'計劃周記進度檢查表.xls (13KB)', click:'getBookinfo(8359990)', icon:'/Images/filetype/XLS16.PNG'},{ id:'00011', pId:'1', name:'齒輪軸-A3-2.dwg (127KB)', click:'getBookinfo(8359991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'齒輪軸-A3.dwg (159KB)', click:'getBookinfo(8359992)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ahhc520制粒機設計【7張cad圖紙和畢業(yè)論文】【農(nóng)業(yè)機械】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'AHHC520制粒機設計說明書.doc',url:'http://facezit.com/p-8359982.html', target:'_blank' },{ id:'00003', pId:'1', name:'制動系統(tǒng)部裝圖-A0.dwg',url:'http://facezit.com/p-8359983.html', target:'_blank' },{ id:'00004', pId:'1', name:'外文翻譯.doc',url:'http://facezit.com/p-8359984.html', target:'_blank' },{ id:'00005', pId:'1', name:'大齒輪-A3-2.dwg',url:'http://facezit.com/p-8359985.html', target:'_blank' },{ id:'00006', pId:'1', name:'大齒輪-A3.dwg',url:'http://facezit.com/p-8359986.html', target:'_blank' },{ id:'00007', pId:'1', name:'總裝配圖-A0.dwg',url:'http://facezit.com/p-8359987.html', target:'_blank' },{ id:'00008', pId:'1', name:'相關(guān)資料模板.doc',url:'http://facezit.com/p-8359988.html', target:'_blank' },{ id:'00009', pId:'1', name:'箱體-A0.dwg',url:'http://facezit.com/p-8359989.html', target:'_blank' },{ id:'00010', pId:'1', name:'計劃周記進度檢查表.xls',url:'http://facezit.com/p-8359990.html', target:'_blank' },{ id:'00011', pId:'1', name:'齒輪軸-A3-2.dwg',url:'http://facezit.com/p-8359991.html', target:'_blank' },{ id:'00012', pId:'1', name:'齒輪軸-A3.dwg',url:'http://facezit.com/p-8359992.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 = '6906734'; 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; }); });