'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'數(shù)控機床改造設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'數(shù)控機床改造設(shè)計 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'中文翻譯 (包含1個文件)', },{ id:'000010000100001', pId:'0000100001', name:'新建 Microsoft Word 文檔.doc (92KB)', click:'getBookinfo(8798943)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'模板 (包含4個文件)', },{ id:'000010000200001', pId:'0000100002', name:'中期檢查報告.doc (30KB)', click:'getBookinfo(8798944)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'任務(wù)書.doc (115KB)', click:'getBookinfo(8798945)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'開題報告.doc (27KB)', click:'getBookinfo(8798946)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'畢業(yè)設(shè)計指導(dǎo)手冊-06[1][1].1.1.doc (409KB)', click:'getBookinfo(8798947)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'要打的圖 (包含4個文件)', },{ id:'000010000300001', pId:'0000100003', name:'wode刀架裝配圖.dwg (127KB)', click:'getBookinfo(8798948)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'wode硬件接線圖.dxf.dwg (151KB)', click:'getBookinfo(8798949)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'wode軟件框圖.dwg (53KB)', click:'getBookinfo(8798950)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'youshiwode11111橫向進給圖.dwg (204KB)', click:'getBookinfo(8798951)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'Drawing1.dwg (49KB)', click:'getBookinfo(8798952)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'wo123654789.doc (1030KB)', click:'getBookinfo(8798953)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'wode刀位軟件框圖.dwg (61KB)', click:'getBookinfo(8798954)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'wode數(shù)控系統(tǒng)圖.dwg (61KB)', click:'getBookinfo(8798955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'wode縱向進給圖.dwg (121KB)', click:'getBookinfo(8798956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'wode車床數(shù)控改造總布置圖.dwg (60KB)', click:'getBookinfo(8798957)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'數(shù)控機床改造設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'新建 Microsoft Word 文檔.doc',url:'http://m.facezit.com/p-8798943.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'中期檢查報告.doc',url:'http://m.facezit.com/p-8798944.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8798945.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'開題報告.doc',url:'http://m.facezit.com/p-8798946.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'畢業(yè)設(shè)計指導(dǎo)手冊-06[1][1].1.1.doc',url:'http://m.facezit.com/p-8798947.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'wode刀架裝配圖.dwg',url:'http://m.facezit.com/p-8798948.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'wode硬件接線圖.dxf.dwg',url:'http://m.facezit.com/p-8798949.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'wode軟件框圖.dwg',url:'http://m.facezit.com/p-8798950.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'youshiwode11111橫向進給圖.dwg',url:'http://m.facezit.com/p-8798951.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8798952.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'wo123654789.doc',url:'http://m.facezit.com/p-8798953.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'wode刀位軟件框圖.dwg',url:'http://m.facezit.com/p-8798954.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'wode數(shù)控系統(tǒng)圖.dwg',url:'http://m.facezit.com/p-8798955.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'wode縱向進給圖.dwg',url:'http://m.facezit.com/p-8798956.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'wode車床數(shù)控改造總布置圖.dwg',url:'http://m.facezit.com/p-8798957.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 = '3428090'; 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; }); });