'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'應急燈外殼注塑模具設計【8張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAXA圖紙 (包含8個文件)', },{ id:'0000100001', pId:'00001', name:'型腔板A1.exb (108KB)', },{ id:'0000100002', pId:'00001', name:'復位桿A2.exb (96KB)', },{ id:'0000100003', pId:'00001', name:'定位圈A2.exb (98KB)', },{ id:'0000100004', pId:'00001', name:'帶肩導套A2.exb (97KB)', },{ id:'0000100005', pId:'00001', name:'應急燈塑件圖A1.exb (336KB)', },{ id:'0000100006', pId:'00001', name:'應急燈模具裝配圖A0.exb (379KB)', },{ id:'0000100007', pId:'00001', name:'支撐塊A2.exb (95KB)', },{ id:'0000100008', pId:'00001', name:'頂桿A2.exb (95KB)', },{ id:'00002', pId:'1', name:'中期檢查表.doc (17KB)', click:'getBookinfo(8530165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任務書.doc (464KB)', click:'getBookinfo(8530166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'型腔板A1.dwg (91KB)', click:'getBookinfo(8530167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'復位桿A2.dwg (73KB)', click:'getBookinfo(8530168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'定位圈A2.dwg (80KB)', click:'getBookinfo(8530169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'帶肩導套A2.dwg (76KB)', click:'getBookinfo(8530170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'應急燈塑件圖A1.dwg (395KB)', click:'getBookinfo(8530171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'應急燈外殼注塑模具設計開題報告.doc (488KB)', click:'getBookinfo(8530172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'應急燈外殼注塑模具設計說明書.doc (2382KB)', click:'getBookinfo(8530173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'應急燈模具裝配圖A0.dwg (436KB)', click:'getBookinfo(8530174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'支撐塊A2.dwg (74KB)', click:'getBookinfo(8530175)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'進度計劃表.doc (33KB)', click:'getBookinfo(8530176)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'頂桿A2.dwg (73KB)', click:'getBookinfo(8530177)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'應急燈外殼注塑模具設計【8張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8530165.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8530166.html', target:'_blank' },{ id:'00004', pId:'1', name:'型腔板A1.dwg',url:'http://m.facezit.com/p-8530167.html', target:'_blank' },{ id:'00005', pId:'1', name:'復位桿A2.dwg',url:'http://m.facezit.com/p-8530168.html', target:'_blank' },{ id:'00006', pId:'1', name:'定位圈A2.dwg',url:'http://m.facezit.com/p-8530169.html', target:'_blank' },{ id:'00007', pId:'1', name:'帶肩導套A2.dwg',url:'http://m.facezit.com/p-8530170.html', target:'_blank' },{ id:'00008', pId:'1', name:'應急燈塑件圖A1.dwg',url:'http://m.facezit.com/p-8530171.html', target:'_blank' },{ id:'00009', pId:'1', name:'應急燈外殼注塑模具設計開題報告.doc',url:'http://m.facezit.com/p-8530172.html', target:'_blank' },{ id:'00010', pId:'1', name:'應急燈外殼注塑模具設計說明書.doc',url:'http://m.facezit.com/p-8530173.html', target:'_blank' },{ id:'00011', pId:'1', name:'應急燈模具裝配圖A0.dwg',url:'http://m.facezit.com/p-8530174.html', target:'_blank' },{ id:'00012', pId:'1', name:'支撐塊A2.dwg',url:'http://m.facezit.com/p-8530175.html', target:'_blank' },{ id:'00013', pId:'1', name:'進度計劃表.doc',url:'http://m.facezit.com/p-8530176.html', target:'_blank' },{ id:'00014', pId:'1', name:'頂桿A2.dwg',url:'http://m.facezit.com/p-8530177.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 = '7261105'; 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; }); });