'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'yah2460圓振動篩設計【10張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'外文論文原文.pdf (186KB)', click:'getBookinfo(8435983)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'畢業(yè)設計外文翻譯.doc (101KB)', click:'getBookinfo(8435984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A1-總裝圖.dwg (180KB)', click:'getBookinfo(8435985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-護罩.dwg (69KB)', click:'getBookinfo(8435986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2-電機支架.dwg (111KB)', click:'getBookinfo(8435987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-篩體.dwg (186KB)', click:'getBookinfo(8435988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2-篩板.dwg (91KB)', click:'getBookinfo(8435989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2-篩板托架.dwg (176KB)', click:'getBookinfo(8435990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-護管.dwg (77KB)', click:'getBookinfo(8435991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A3-抱箍.dwg (71KB)', click:'getBookinfo(8435992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A3-支撐.dwg (76KB)', click:'getBookinfo(8435993)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A3-橫梁.dwg (71KB)', click:'getBookinfo(8435994)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'任務書.doc (74KB)', click:'getBookinfo(8435995)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'原創(chuàng)性聲明.doc (41KB)', click:'getBookinfo(8435996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'開題報告.doc (45KB)', click:'getBookinfo(8435997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'摘要.doc (29KB)', click:'getBookinfo(8435998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'目錄.doc (38KB)', click:'getBookinfo(8435999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'說明書.doc (1154KB)', click:'getBookinfo(8436000)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'yah2460圓振動篩設計【10張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文論文原文.pdf',url:'http://m.facezit.com/p-8435983.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'畢業(yè)設計外文翻譯.doc',url:'http://m.facezit.com/p-8435984.html', target:'_blank' },{ id:'00002', pId:'1', name:'A1-總裝圖.dwg',url:'http://m.facezit.com/p-8435985.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-護罩.dwg',url:'http://m.facezit.com/p-8435986.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2-電機支架.dwg',url:'http://m.facezit.com/p-8435987.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-篩體.dwg',url:'http://m.facezit.com/p-8435988.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2-篩板.dwg',url:'http://m.facezit.com/p-8435989.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2-篩板托架.dwg',url:'http://m.facezit.com/p-8435990.html', target:'_blank' },{ id:'00008', pId:'1', name:'A3-護管.dwg',url:'http://m.facezit.com/p-8435991.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-抱箍.dwg',url:'http://m.facezit.com/p-8435992.html', target:'_blank' },{ id:'00010', pId:'1', name:'A3-支撐.dwg',url:'http://m.facezit.com/p-8435993.html', target:'_blank' },{ id:'00011', pId:'1', name:'A3-橫梁.dwg',url:'http://m.facezit.com/p-8435994.html', target:'_blank' },{ id:'00012', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8435995.html', target:'_blank' },{ id:'00013', pId:'1', name:'原創(chuàng)性聲明.doc',url:'http://m.facezit.com/p-8435996.html', target:'_blank' },{ id:'00014', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8435997.html', target:'_blank' },{ id:'00015', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8435998.html', target:'_blank' },{ id:'00016', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8435999.html', target:'_blank' },{ id:'00017', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8436000.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 = '7250589'; 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; }); });