'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計byd1水草收割船驅(qū)動裝置設(shè)計含全套資料.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'畢業(yè)設(shè)計--BYD-1水草收割船驅(qū)動裝置設(shè)計(含全套資料) (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'畢業(yè)設(shè)計圖紙 (包含10個文件)', },{ id:'000010000100001', pId:'0000100001', name:'明輪 (包含7個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'偏心桿組件.dwg (118KB)', click:'getBookinfo(8782400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'支架組件.dwg (95KB)', click:'getBookinfo(8782401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'明輪裝配圖.dwg (276KB)', click:'getBookinfo(8782402)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'明輪軸.dwg (93KB)', click:'getBookinfo(8782403)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'蹼板 板.dwg (73KB)', click:'getBookinfo(8782404)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'蹼板 軸.dwg (82KB)', click:'getBookinfo(8782405)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'蹼板組件.dwg (89KB)', click:'getBookinfo(8782406)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'軸 (包含1個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'花鍵軸.dwg (96KB)', click:'getBookinfo(8782407)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'畢業(yè)設(shè)計--BYD-1水草收割船驅(qū)動裝置設(shè)計(含全套資料).docx (407KB)', click:'getBookinfo(8782408)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'畢業(yè)設(shè)計任務(wù)書.doc (47KB)', click:'getBookinfo(8782409)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'畢業(yè)設(shè)計外文資料翻譯.doc (58KB)', click:'getBookinfo(8782410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'畢業(yè)設(shè)計開題報告.doc (49KB)', click:'getBookinfo(8782411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'畢業(yè)設(shè)計開題報告.ppt (656KB)', click:'getBookinfo(8782412)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100007', pId:'00001', name:'畢業(yè)設(shè)計文獻綜述.doc (41KB)', click:'getBookinfo(8782413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'畢業(yè)設(shè)計答辯.ppt (724KB)', click:'getBookinfo(8782414)', icon:'/Images/filetype/PPT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計byd1水草收割船驅(qū)動裝置設(shè)計含全套資料.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'偏心桿組件.dwg',url:'http://m.facezit.com/p-8782400.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'支架組件.dwg',url:'http://m.facezit.com/p-8782401.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'明輪裝配圖.dwg',url:'http://m.facezit.com/p-8782402.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'明輪軸.dwg',url:'http://m.facezit.com/p-8782403.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'蹼板 板.dwg',url:'http://m.facezit.com/p-8782404.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'蹼板 軸.dwg',url:'http://m.facezit.com/p-8782405.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'蹼板組件.dwg',url:'http://m.facezit.com/p-8782406.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'花鍵軸.dwg',url:'http://m.facezit.com/p-8782407.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'畢業(yè)設(shè)計--BYD-1水草收割船驅(qū)動裝置設(shè)計(含全套資料).docx',url:'http://m.facezit.com/p-8782408.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'畢業(yè)設(shè)計任務(wù)書.doc',url:'http://m.facezit.com/p-8782409.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'畢業(yè)設(shè)計外文資料翻譯.doc',url:'http://m.facezit.com/p-8782410.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'畢業(yè)設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8782411.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'畢業(yè)設(shè)計開題報告.ppt',url:'http://m.facezit.com/p-8782412.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'畢業(yè)設(shè)計文獻綜述.doc',url:'http://m.facezit.com/p-8782413.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'畢業(yè)設(shè)計答辯.ppt',url:'http://m.facezit.com/p-8782414.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 = '3422234'; 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; }); });