'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'857滾筒采煤機截割部的設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'滾筒采煤機截割部的設計 (包含23個文件)', },{ id:'0000100001', pId:'00001', name:'A0 (包含3個文件)', },{ id:'000010000100001', pId:'0000100001', name:'截割.dwg (262KB)', click:'getBookinfo(8261750)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'截割1.dwg (194KB)', click:'getBookinfo(8261751)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'裝配A0.dwg (426KB)', click:'getBookinfo(8261752)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1 (包含1個文件)', },{ id:'000010000200001', pId:'0000100002', name:'端蓋.dwg (54KB)', click:'getBookinfo(8261753)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2 (包含4個文件)', },{ id:'000010000300001', pId:'0000100003', name:'zhou 1.dwg (77KB)', click:'getBookinfo(8261754)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'搖臂.dwg (71KB)', click:'getBookinfo(8261755)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'軸2.dwg (49KB)', click:'getBookinfo(8261756)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'軸3.dwg (58KB)', click:'getBookinfo(8261757)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3 (包含4個文件)', },{ id:'000010000400001', pId:'0000100004', name:'滾筒.dwg (52KB)', click:'getBookinfo(8261758)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400002', pId:'0000100004', name:'齒輪1.dwg (55KB)', click:'getBookinfo(8261759)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400003', pId:'0000100004', name:'齒輪1.dwl (0KB)', },{ id:'000010000400004', pId:'0000100004', name:'齒輪2.dwg (42KB)', click:'getBookinfo(8261760)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'實習報告.doc (72KB)', click:'getBookinfo(8261761)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'封面.doc (36KB)', click:'getBookinfo(8261762)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'開題報告.doc (48KB)', click:'getBookinfo(8261763)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'摘要1.doc (32KB)', click:'getBookinfo(8261764)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'畢業(yè)設計相關文件.doc (31KB)', click:'getBookinfo(8261765)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'滾筒采煤機截割部的設計.doc (650KB)', click:'getBookinfo(8261766)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'論文目錄.doc (30KB)', click:'getBookinfo(8261767)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'857滾筒采煤機截割部的設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'截割.dwg',url:'http://m.facezit.com/p-8261750.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'截割1.dwg',url:'http://m.facezit.com/p-8261751.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'裝配A0.dwg',url:'http://m.facezit.com/p-8261752.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'端蓋.dwg',url:'http://m.facezit.com/p-8261753.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'zhou 1.dwg',url:'http://m.facezit.com/p-8261754.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'搖臂.dwg',url:'http://m.facezit.com/p-8261755.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'軸2.dwg',url:'http://m.facezit.com/p-8261756.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'軸3.dwg',url:'http://m.facezit.com/p-8261757.html', target:'_blank' },{ id:'000010000400001', pId:'0000100004', name:'滾筒.dwg',url:'http://m.facezit.com/p-8261758.html', target:'_blank' },{ id:'000010000400002', pId:'0000100004', name:'齒輪1.dwg',url:'http://m.facezit.com/p-8261759.html', target:'_blank' },{ id:'000010000400004', pId:'0000100004', name:'齒輪2.dwg',url:'http://m.facezit.com/p-8261760.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'實習報告.doc',url:'http://m.facezit.com/p-8261761.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8261762.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8261763.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'摘要1.doc',url:'http://m.facezit.com/p-8261764.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'畢業(yè)設計相關文件.doc',url:'http://m.facezit.com/p-8261765.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'滾筒采煤機截割部的設計.doc',url:'http://m.facezit.com/p-8261766.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'論文目錄.doc',url:'http://m.facezit.com/p-8261767.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 = '6332996'; 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; }); });