'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'5t龍門皮革下料機總體設(shè)計及傳動系統(tǒng)設(shè)計【15張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三維圖集 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'asm0001.asm.10 (80KB)', },{ id:'0000100002', pId:'00001', name:'dangquan1.prt.1 (168KB)', },{ id:'0000100003', pId:'00001', name:'dangquan1.prt.2 (170KB)', },{ id:'0000100004', pId:'00001', name:'dangquan2.prt.1 (163KB)', },{ id:'0000100005', pId:'00001', name:'gongzuotai.prt.2 (938KB)', },{ id:'0000100006', pId:'00001', name:'huakuai.prt.1 (264KB)', },{ id:'0000100007', pId:'00001', name:'liangan.prt.4 (522KB)', },{ id:'0000100008', pId:'00001', name:'luo.prt.1 (609KB)', },{ id:'0000100009', pId:'00001', name:'quzhou.prt.6 (495KB)', },{ id:'0000100010', pId:'00001', name:'xiao.prt.3 (122KB)', },{ id:'0000100011', pId:'00001', name:'yuan.prt.2 (265KB)', },{ id:'0000100012', pId:'00001', name:'yuanxia.prt.1 (277KB)', },{ id:'0000100013', pId:'00001', name:'zhou.prt.2 (1704KB)', },{ id:'0000100014', pId:'00001', name:'zhoucheng.prt.1 (719KB)', },{ id:'0000100015', pId:'00001', name:'曲柄滑塊機構(gòu)三維爆炸圖-潘敏成 2007.doc (2812KB)', click:'getBookinfo(8398810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'5T龍門皮革下料機.dwg (2031KB)', click:'getBookinfo(8398811)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'5T龍門皮革下料機裝配圖說明書.doc (1475KB)', click:'getBookinfo(8398812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'摘要.doc (31KB)', click:'getBookinfo(8398813)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'5t龍門皮革下料機總體設(shè)計及傳動系統(tǒng)設(shè)計【15張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100015', pId:'00001', name:'曲柄滑塊機構(gòu)三維爆炸圖-潘敏成 2007.doc',url:'http://m.facezit.com/p-8398810.html', target:'_blank' },{ id:'00002', pId:'1', name:'5T龍門皮革下料機.dwg',url:'http://m.facezit.com/p-8398811.html', target:'_blank' },{ id:'00003', pId:'1', name:'5T龍門皮革下料機裝配圖說明書.doc',url:'http://m.facezit.com/p-8398812.html', target:'_blank' },{ id:'00004', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8398813.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 = '7246684'; 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; }); });