'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'主傳動系統(tǒng).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'400mm的主傳動系統(tǒng)【16號參數(shù)】【公比1.26 18級 轉(zhuǎn)速33.5 1700 P=7.5kw】 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'400mm的主傳動系統(tǒng)【16號參數(shù)】【公比1.26 18級 轉(zhuǎn)速33.5 1700 P=7.5kw】說明書.doc (1913KB)', click:'getBookinfo(8264561)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'PPT-400mm的主傳動系統(tǒng)【16號參數(shù)】【公比1.26 18級 轉(zhuǎn)速33.5 1700 P=7.5kw】.ppt (4710KB)', click:'getBookinfo(8264562)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100003', pId:'00001', name:'XX CA6140圖冊.png (1617KB)', click:'getBookinfo(8264563)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'三聯(lián)齒輪.dwg (96KB)', click:'getBookinfo(8264564)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'傳動要求.JPG (2047KB)', click:'getBookinfo(8264565)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'剖面圖.dwg (290KB)', click:'getBookinfo(8264566)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'參考模板按照這個畫.JPG (815KB)', click:'getBookinfo(8264567)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'總裝配圖.dwg (785KB)', click:'getBookinfo(8264568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'結(jié)構(gòu)網(wǎng)傳動式 - 副本.dwg (54KB)', click:'getBookinfo(8264569)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'結(jié)構(gòu)網(wǎng)傳動式.dwg (57KB)', click:'getBookinfo(8264570)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'設(shè)計截圖.png (9KB)', click:'getBookinfo(8264571)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'主傳動系統(tǒng).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'400mm的主傳動系統(tǒng)【16號參數(shù)】【公比1.26 18級 轉(zhuǎn)速33.5 1700 P=7.5kw】說明書.doc',url:'http://m.facezit.com/p-8264561.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'PPT-400mm的主傳動系統(tǒng)【16號參數(shù)】【公比1.26 18級 轉(zhuǎn)速33.5 1700 P=7.5kw】.ppt',url:'http://m.facezit.com/p-8264562.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'XX CA6140圖冊.png',url:'http://m.facezit.com/p-8264563.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'三聯(lián)齒輪.dwg',url:'http://m.facezit.com/p-8264564.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'傳動要求.JPG',url:'http://m.facezit.com/p-8264565.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'剖面圖.dwg',url:'http://m.facezit.com/p-8264566.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'參考模板按照這個畫.JPG',url:'http://m.facezit.com/p-8264567.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'總裝配圖.dwg',url:'http://m.facezit.com/p-8264568.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'結(jié)構(gòu)網(wǎng)傳動式 - 副本.dwg',url:'http://m.facezit.com/p-8264569.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'結(jié)構(gòu)網(wǎng)傳動式.dwg',url:'http://m.facezit.com/p-8264570.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'設(shè)計截圖.png',url:'http://m.facezit.com/p-8264571.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 = '6333486'; 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; }); });