'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'低位放頂煤液壓支架的設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'低位放頂煤液壓支架的設(shè)計 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'圖 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'前梁A3-H.DWG (67KB)', click:'getBookinfo(8701391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'卡環(huán)A3-V.dwg (70KB)', click:'getBookinfo(8701392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'卡箍A3-V.dwg (63KB)', click:'getBookinfo(8701393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'導向套A3-V.dwg (66KB)', click:'getBookinfo(8701394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'總裝圖.dwg (118KB)', click:'getBookinfo(8701395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'機械加長桿a2_recover.dwg (63KB)', click:'getBookinfo(8701396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'活塞導向環(huán)A3-V.dwg (61KB)', click:'getBookinfo(8701397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'活柱和活塞a3.DWG (65KB)', click:'getBookinfo(8701398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'立柱a1.dwg (113KB)', click:'getBookinfo(8701399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'缸體a1.dwg (80KB)', click:'getBookinfo(8701400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'頂梁A1-V.dwg (142KB)', click:'getBookinfo(8701401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'整理說明書 (包含9個文件)', },{ id:'000010000200001', pId:'0000100002', name:'培亮英文.doc (272KB)', click:'getBookinfo(8701402)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'我的封皮.doc (40KB)', click:'getBookinfo(8701403)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'我的開題報告.doc (38KB)', click:'getBookinfo(8701404)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'摘要.doc (25KB)', click:'getBookinfo(8701405)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'液壓支架分級分布式微機電磁閥液壓控制系統(tǒng).doc (52KB)', click:'getBookinfo(8701406)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'液壓支架的應用及意義.doc (22KB)', click:'getBookinfo(8701407)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'目 錄.doc (35KB)', click:'getBookinfo(8701408)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'自移式超前支架.doc (83KB)', click:'getBookinfo(8701409)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200009', pId:'0000100002', name:'設(shè)計說明書.doc (2250KB)', click:'getBookinfo(8701410)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'低位放頂煤液壓支架的設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'前梁A3-H.DWG',url:'http://m.facezit.com/p-8701391.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'卡環(huán)A3-V.dwg',url:'http://m.facezit.com/p-8701392.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'卡箍A3-V.dwg',url:'http://m.facezit.com/p-8701393.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'導向套A3-V.dwg',url:'http://m.facezit.com/p-8701394.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8701395.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'機械加長桿a2_recover.dwg',url:'http://m.facezit.com/p-8701396.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'活塞導向環(huán)A3-V.dwg',url:'http://m.facezit.com/p-8701397.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'活柱和活塞a3.DWG',url:'http://m.facezit.com/p-8701398.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'立柱a1.dwg',url:'http://m.facezit.com/p-8701399.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'缸體a1.dwg',url:'http://m.facezit.com/p-8701400.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'頂梁A1-V.dwg',url:'http://m.facezit.com/p-8701401.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'培亮英文.doc',url:'http://m.facezit.com/p-8701402.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'我的封皮.doc',url:'http://m.facezit.com/p-8701403.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'我的開題報告.doc',url:'http://m.facezit.com/p-8701404.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'摘要.doc',url:'http://m.facezit.com/p-8701405.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'液壓支架分級分布式微機電磁閥液壓控制系統(tǒng).doc',url:'http://m.facezit.com/p-8701406.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'液壓支架的應用及意義.doc',url:'http://m.facezit.com/p-8701407.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'目 錄.doc',url:'http://m.facezit.com/p-8701408.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'自移式超前支架.doc',url:'http://m.facezit.com/p-8701409.html', target:'_blank' },{ id:'000010000200009', pId:'0000100002', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8701410.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 = '3424540'; 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; }); });