'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'zh1105氣缸蓋三面鉆組合機床設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'ZH1105氣缸蓋三面鉆組合機床設計 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'ZH1105氣缸蓋三面鉆組合機床設計 (包含19個文件)', },{ id:'000010000100001', pId:'0000100001', name:'圖 (包含18個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'夾具設計- (包含9個文件)', },{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'右法蘭盤-張金浩2008.dwg (82KB)', click:'getBookinfo(8624574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'圓柱定位銷推杵-張金浩2008.dwg (67KB)', click:'getBookinfo(8624575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100003', pId:'00001000010000100001', name:'圓盤-張金浩2008.dwg (66KB)', click:'getBookinfo(8624576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100004', pId:'00001000010000100001', name:'墊圈-張金浩2008.dwg (74KB)', click:'getBookinfo(8624577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100005', pId:'00001000010000100001', name:'左法蘭盤-張金浩2008.dwg (72KB)', click:'getBookinfo(8624578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100006', pId:'00001000010000100001', name:'氣缸蓋三面鉆床夾具裝配圖-張金浩2008.dwg (377KB)', click:'getBookinfo(8624579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100007', pId:'00001000010000100001', name:'氣缸蓋夾具定位銷升降機構-張金浩2008.dwg (163KB)', click:'getBookinfo(8624580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100008', pId:'00001000010000100001', name:'軸1-張金浩2008.dwg (84KB)', click:'getBookinfo(8624581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100009', pId:'00001000010000100001', name:'軸2-張金浩2008.dwg (90KB)', click:'getBookinfo(8624582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'總體設計 (包含4個文件)', },{ id:'0000100001000010000200001', pId:'00001000010000100002', name:'加工示意圖-張金浩2008.dwg (265KB)', click:'getBookinfo(8624583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000200002', pId:'00001000010000100002', name:'機床聯系尺寸圖-張金浩2008.dwg (161KB)', click:'getBookinfo(8624584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000200003', pId:'00001000010000100002', name:'氣缸蓋三面鉆孔工序圖-張金浩2008.dwg (199KB)', click:'getBookinfo(8624585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000200004', pId:'00001000010000100002', name:'計算卡-張金浩2008.doc (52KB)', click:'getBookinfo(8624586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'三維圖集-.doc (311KB)', click:'getBookinfo(8624587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'中英文摘要.doc (26KB)', click:'getBookinfo(8624588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'說明書正文.doc (1042KB)', click:'getBookinfo(8624589)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'zh1105氣缸蓋三面鉆組合機床設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'右法蘭盤-張金浩2008.dwg',url:'http://m.facezit.com/p-8624574.html', target:'_blank' },{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'圓柱定位銷推杵-張金浩2008.dwg',url:'http://m.facezit.com/p-8624575.html', target:'_blank' },{ id:'0000100001000010000100003', pId:'00001000010000100001', name:'圓盤-張金浩2008.dwg',url:'http://m.facezit.com/p-8624576.html', target:'_blank' },{ id:'0000100001000010000100004', pId:'00001000010000100001', name:'墊圈-張金浩2008.dwg',url:'http://m.facezit.com/p-8624577.html', target:'_blank' },{ id:'0000100001000010000100005', pId:'00001000010000100001', name:'左法蘭盤-張金浩2008.dwg',url:'http://m.facezit.com/p-8624578.html', target:'_blank' },{ id:'0000100001000010000100006', pId:'00001000010000100001', name:'氣缸蓋三面鉆床夾具裝配圖-張金浩2008.dwg',url:'http://m.facezit.com/p-8624579.html', target:'_blank' },{ id:'0000100001000010000100007', pId:'00001000010000100001', name:'氣缸蓋夾具定位銷升降機構-張金浩2008.dwg',url:'http://m.facezit.com/p-8624580.html', target:'_blank' },{ id:'0000100001000010000100008', pId:'00001000010000100001', name:'軸1-張金浩2008.dwg',url:'http://m.facezit.com/p-8624581.html', target:'_blank' },{ id:'0000100001000010000100009', pId:'00001000010000100001', name:'軸2-張金浩2008.dwg',url:'http://m.facezit.com/p-8624582.html', target:'_blank' },{ id:'0000100001000010000200001', pId:'00001000010000100002', name:'加工示意圖-張金浩2008.dwg',url:'http://m.facezit.com/p-8624583.html', target:'_blank' },{ id:'0000100001000010000200002', pId:'00001000010000100002', name:'機床聯系尺寸圖-張金浩2008.dwg',url:'http://m.facezit.com/p-8624584.html', target:'_blank' },{ id:'0000100001000010000200003', pId:'00001000010000100002', name:'氣缸蓋三面鉆孔工序圖-張金浩2008.dwg',url:'http://m.facezit.com/p-8624585.html', target:'_blank' },{ id:'0000100001000010000200004', pId:'00001000010000100002', name:'計算卡-張金浩2008.doc',url:'http://m.facezit.com/p-8624586.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'三維圖集-.doc',url:'http://m.facezit.com/p-8624587.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'中英文摘要.doc',url:'http://m.facezit.com/p-8624588.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'說明書正文.doc',url:'http://m.facezit.com/p-8624589.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 = '3687899'; 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; }); });