'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'管材折彎機結(jié)構(gòu)設計【說明書cad】【優(yōu)秀畢業(yè)設計資料】【已通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'70 管材折彎機結(jié)構(gòu)設計【說明書+CAD】 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'外文翻譯 (包含5個文件)', },{ id:'000010000100001', pId:'0000100001', name:'32129305.pdf (281KB)', click:'getBookinfo(8682964)', icon:'/Images/filetype/PDF16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'基于管數(shù)控折彎薄壁成形參數(shù)逐步優(yōu)化的研究.doc (476KB)', click:'getBookinfo(8682965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'外文翻譯封皮.doc (26KB)', click:'getBookinfo(8682966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'改 - 副本.doc (49KB)', click:'getBookinfo(8682967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'改.doc (477KB)', click:'getBookinfo(8682968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'任務書.doc (38KB)', click:'getBookinfo(8682969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'減速器軸-A3.dwg (289KB)', click:'getBookinfo(8682970)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'減速器齒輪-A1.dwg (310KB)', click:'getBookinfo(8682971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'變速箱-A1.dwg (335KB)', click:'getBookinfo(8682972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'封皮.doc (26KB)', click:'getBookinfo(8682973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'開題報告.doc (69KB)', click:'getBookinfo(8682974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'總裝配圖-A0.dwg (450KB)', click:'getBookinfo(8682975)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'摘要.doc (71KB)', click:'getBookinfo(8682976)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'旋轉(zhuǎn)軸-A1.dwg (97KB)', click:'getBookinfo(8682977)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'旋轉(zhuǎn)軸齒輪-A4.dwg (118KB)', click:'getBookinfo(8682978)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'畢業(yè)生產(chǎn)實習報告.doc (1217KB)', click:'getBookinfo(8682979)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'液壓缸-A0.dwg (157KB)', click:'getBookinfo(8682980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'目錄.doc (88KB)', click:'getBookinfo(8682981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'答辯評議表.doc (63KB)', click:'getBookinfo(8682982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'結(jié)題報告.doc (52KB)', click:'getBookinfo(8682983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'說明書.doc (614KB)', click:'getBookinfo(8682984)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'管材折彎機結(jié)構(gòu)設計【說明書cad】【優(yōu)秀畢業(yè)設計資料】【已通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'32129305.pdf',url:'http://m.facezit.com/p-8682964.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'基于管數(shù)控折彎薄壁成形參數(shù)逐步優(yōu)化的研究.doc',url:'http://m.facezit.com/p-8682965.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'外文翻譯封皮.doc',url:'http://m.facezit.com/p-8682966.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'改 - 副本.doc',url:'http://m.facezit.com/p-8682967.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'改.doc',url:'http://m.facezit.com/p-8682968.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'任務書.doc',url:'http://m.facezit.com/p-8682969.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'減速器軸-A3.dwg',url:'http://m.facezit.com/p-8682970.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'減速器齒輪-A1.dwg',url:'http://m.facezit.com/p-8682971.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'變速箱-A1.dwg',url:'http://m.facezit.com/p-8682972.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'封皮.doc',url:'http://m.facezit.com/p-8682973.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8682974.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'總裝配圖-A0.dwg',url:'http://m.facezit.com/p-8682975.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'摘要.doc',url:'http://m.facezit.com/p-8682976.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'旋轉(zhuǎn)軸-A1.dwg',url:'http://m.facezit.com/p-8682977.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'旋轉(zhuǎn)軸齒輪-A4.dwg',url:'http://m.facezit.com/p-8682978.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'畢業(yè)生產(chǎn)實習報告.doc',url:'http://m.facezit.com/p-8682979.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'液壓缸-A0.dwg',url:'http://m.facezit.com/p-8682980.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8682981.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'答辯評議表.doc',url:'http://m.facezit.com/p-8682982.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'結(jié)題報告.doc',url:'http://m.facezit.com/p-8682983.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8682984.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 = '7266186'; 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; }); });