'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'摩托車車架沖壓件模具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'7702型摩托車轉(zhuǎn)向鎖支架沖壓模具進(jìn)行了設(shè)計 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'3 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'CAD圖 (包含2個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'排樣圖.dwg (39KB)', click:'getBookinfo(8344125)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'龔學(xué)志AP0408408畢業(yè)設(shè)計CAD圖.dwg (753KB)', click:'getBookinfo(8344126)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'其它文字部分 (包含6個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'畢業(yè)設(shè)計(論文)選題申報表.doc (29KB)', click:'getBookinfo(8344127)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'畢業(yè)設(shè)計(論文)題目審查(建議)表.doc (41KB)', click:'getBookinfo(8344128)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200003', pId:'000010000100002', name:'答辯記錄表-龔學(xué)志.doc (31KB)', click:'getBookinfo(8344129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200004', pId:'000010000100002', name:'階段進(jìn)展檢查表(龔學(xué)志AP0408408).doc (38KB)', click:'getBookinfo(8344130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200005', pId:'000010000100002', name:'龔學(xué)志AP0408408畢業(yè)設(shè)計任務(wù)書.doc (57KB)', click:'getBookinfo(8344131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200006', pId:'000010000100002', name:'龔學(xué)志畢業(yè)設(shè)計開題報告.doc (38KB)', click:'getBookinfo(8344132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'摩托車車架沖壓件模具設(shè)計.doc (1078KB)', click:'getBookinfo(8344133)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'摩托車車架沖壓件模具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'排樣圖.dwg',url:'http://facezit.com/p-8344125.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'龔學(xué)志AP0408408畢業(yè)設(shè)計CAD圖.dwg',url:'http://facezit.com/p-8344126.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'畢業(yè)設(shè)計(論文)選題申報表.doc',url:'http://facezit.com/p-8344127.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'畢業(yè)設(shè)計(論文)題目審查(建議)表.doc',url:'http://facezit.com/p-8344128.html', target:'_blank' },{ id:'00001000010000200003', pId:'000010000100002', name:'答辯記錄表-龔學(xué)志.doc',url:'http://facezit.com/p-8344129.html', target:'_blank' },{ id:'00001000010000200004', pId:'000010000100002', name:'階段進(jìn)展檢查表(龔學(xué)志AP0408408).doc',url:'http://facezit.com/p-8344130.html', target:'_blank' },{ id:'00001000010000200005', pId:'000010000100002', name:'龔學(xué)志AP0408408畢業(yè)設(shè)計任務(wù)書.doc',url:'http://facezit.com/p-8344131.html', target:'_blank' },{ id:'00001000010000200006', pId:'000010000100002', name:'龔學(xué)志畢業(yè)設(shè)計開題報告.doc',url:'http://facezit.com/p-8344132.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'摩托車車架沖壓件模具設(shè)計.doc',url:'http://facezit.com/p-8344133.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 = '7810036'; 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; }); });