'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'托架沖壓模具設計【23張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'A3-上墊板.dwg (56KB)', click:'getBookinfo(8532524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-上模座.dwg (78KB)', click:'getBookinfo(8532525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-下固定板.dwg (68KB)', click:'getBookinfo(8532526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A3-下墊板.dwg (67KB)', click:'getBookinfo(8532527)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A3-下模座.dwg (94KB)', click:'getBookinfo(8532528)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-卸料板.dwg (64KB)', click:'getBookinfo(8532529)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A3-落料凹模.dwg (73KB)', click:'getBookinfo(8532530)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A4-上頂桿.dwg (42KB)', click:'getBookinfo(8532531)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A4-下頂桿.dwg (42KB)', click:'getBookinfo(8532532)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A4-沖孔凸模.dwg (49KB)', click:'getBookinfo(8532533)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'A4-凸凹模.dwg (61KB)', click:'getBookinfo(8532534)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'A4-壓入式模柄.dwg (48KB)', click:'getBookinfo(8532535)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'A4-工件圖.dwg (72KB)', click:'getBookinfo(8532536)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'A4-彎曲凸模.dwg (62KB)', click:'getBookinfo(8532537)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'A4-彈簧.dwg (47KB)', click:'getBookinfo(8532538)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'A4-打桿.dwg (40KB)', click:'getBookinfo(8532539)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'A4-擋料銷.dwg (46KB)', click:'getBookinfo(8532540)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'A4-橡膠(大).dwg (55KB)', click:'getBookinfo(8532541)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'A4-橡膠(?。?dwg (53KB)', click:'getBookinfo(8532542)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'A4-滑動導套.dwg (57KB)', click:'getBookinfo(8532543)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'A4-滑動導拄.dwg (44KB)', click:'getBookinfo(8532544)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'任務書.doc (27KB)', click:'getBookinfo(8532545)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'參考文獻.doc (26KB)', click:'getBookinfo(8532546)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00026', pId:'1', name:'論文.doc (523KB)', click:'getBookinfo(8532547)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001', pId:'1', name:'A0-模具裝配圖.dwg (231KB)', click:'getBookinfo(8532522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A3-上固定板.dwg (65KB)', click:'getBookinfo(8532523)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'托架沖壓模具設計【23張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'A3-上墊板.dwg',url:'http://m.facezit.com/p-8532524.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-上模座.dwg',url:'http://m.facezit.com/p-8532525.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-下固定板.dwg',url:'http://m.facezit.com/p-8532526.html', target:'_blank' },{ id:'00006', pId:'1', name:'A3-下墊板.dwg',url:'http://m.facezit.com/p-8532527.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-下模座.dwg',url:'http://m.facezit.com/p-8532528.html', target:'_blank' },{ id:'00008', pId:'1', name:'A3-卸料板.dwg',url:'http://m.facezit.com/p-8532529.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-落料凹模.dwg',url:'http://m.facezit.com/p-8532530.html', target:'_blank' },{ id:'00010', pId:'1', name:'A4-上頂桿.dwg',url:'http://m.facezit.com/p-8532531.html', target:'_blank' },{ id:'00011', pId:'1', name:'A4-下頂桿.dwg',url:'http://m.facezit.com/p-8532532.html', target:'_blank' },{ id:'00012', pId:'1', name:'A4-沖孔凸模.dwg',url:'http://m.facezit.com/p-8532533.html', target:'_blank' },{ id:'00013', pId:'1', name:'A4-凸凹模.dwg',url:'http://m.facezit.com/p-8532534.html', target:'_blank' },{ id:'00014', pId:'1', name:'A4-壓入式模柄.dwg',url:'http://m.facezit.com/p-8532535.html', target:'_blank' },{ id:'00015', pId:'1', name:'A4-工件圖.dwg',url:'http://m.facezit.com/p-8532536.html', target:'_blank' },{ id:'00016', pId:'1', name:'A4-彎曲凸模.dwg',url:'http://m.facezit.com/p-8532537.html', target:'_blank' },{ id:'00017', pId:'1', name:'A4-彈簧.dwg',url:'http://m.facezit.com/p-8532538.html', target:'_blank' },{ id:'00018', pId:'1', name:'A4-打桿.dwg',url:'http://m.facezit.com/p-8532539.html', target:'_blank' },{ id:'00019', pId:'1', name:'A4-擋料銷.dwg',url:'http://m.facezit.com/p-8532540.html', target:'_blank' },{ id:'00020', pId:'1', name:'A4-橡膠(大).dwg',url:'http://m.facezit.com/p-8532541.html', target:'_blank' },{ id:'00021', pId:'1', name:'A4-橡膠(?。?dwg',url:'http://m.facezit.com/p-8532542.html', target:'_blank' },{ id:'00022', pId:'1', name:'A4-滑動導套.dwg',url:'http://m.facezit.com/p-8532543.html', target:'_blank' },{ id:'00023', pId:'1', name:'A4-滑動導拄.dwg',url:'http://m.facezit.com/p-8532544.html', target:'_blank' },{ id:'00024', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8532545.html', target:'_blank' },{ id:'00025', pId:'1', name:'參考文獻.doc',url:'http://m.facezit.com/p-8532546.html', target:'_blank' },{ id:'00026', pId:'1', name:'論文.doc',url:'http://m.facezit.com/p-8532547.html', target:'_blank' },{ id:'00001', pId:'1', name:'A0-模具裝配圖.dwg',url:'http://m.facezit.com/p-8532522.html', target:'_blank' },{ id:'00002', pId:'1', name:'A3-上固定板.dwg',url:'http://m.facezit.com/p-8532523.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 = '7261425'; 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; }); });