'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'重型貨車萬向傳動裝置設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'重型貨車萬向傳動裝置設計 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'01.題目審定表.doc (101KB)', click:'getBookinfo(8354624)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'02.任務書.doc (101KB)', click:'getBookinfo(8354625)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'03.開題報告.doc (220KB)', click:'getBookinfo(8354626)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'04.指導記錄.doc (110KB)', click:'getBookinfo(8354627)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'05.畢業(yè)設計評分表.doc (163KB)', click:'getBookinfo(8354628)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'萬向傳動裝置裝配圖.dwg (261KB)', click:'getBookinfo(8354629)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'萬向節(jié)叉.dwg (58KB)', click:'getBookinfo(8354630)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'中間傳動軸.dwg (85KB)', click:'getBookinfo(8354631)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'中間支承裝配圖.dwg (64KB)', click:'getBookinfo(8354632)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'主傳動軸.dwg (98KB)', click:'getBookinfo(8354633)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'十字軸.dwg (52KB)', click:'getBookinfo(8354634)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'套筒叉.dwg (64KB)', click:'getBookinfo(8354635)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'封皮.doc (91KB)', click:'getBookinfo(8354636)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'胡冰-設計說明書.doc (4328KB)', click:'getBookinfo(8354637)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'重型貨車萬向傳動裝置設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'01.題目審定表.doc',url:'http://canyonlakefaqs.com/p-8354624.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'02.任務書.doc',url:'http://canyonlakefaqs.com/p-8354625.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'03.開題報告.doc',url:'http://canyonlakefaqs.com/p-8354626.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'04.指導記錄.doc',url:'http://canyonlakefaqs.com/p-8354627.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'05.畢業(yè)設計評分表.doc',url:'http://canyonlakefaqs.com/p-8354628.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'萬向傳動裝置裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8354629.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'萬向節(jié)叉.dwg',url:'http://canyonlakefaqs.com/p-8354630.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'中間傳動軸.dwg',url:'http://canyonlakefaqs.com/p-8354631.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'中間支承裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8354632.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'主傳動軸.dwg',url:'http://canyonlakefaqs.com/p-8354633.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'十字軸.dwg',url:'http://canyonlakefaqs.com/p-8354634.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'套筒叉.dwg',url:'http://canyonlakefaqs.com/p-8354635.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'封皮.doc',url:'http://canyonlakefaqs.com/p-8354636.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'胡冰-設計說明書.doc',url:'http://canyonlakefaqs.com/p-8354637.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 = '7836107'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });