'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'2kw水平軸家用風(fēng)力發(fā)電機(jī)設(shè)計【16張cad圖紙答辯論文畢業(yè)資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'2.A1圖紙(4幅).dwg (170KB)', click:'getBookinfo(8190972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'2.A2圖紙(4幅).dwg (151KB)', click:'getBookinfo(8190973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'2KW水平軸家用風(fēng)力發(fā)電機(jī)設(shè)計論文.doc (2149KB)', click:'getBookinfo(8190974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務(wù)書.doc (11KB)', click:'getBookinfo(8190975)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'減壓閥.dwg (150KB)', click:'getBookinfo(8190976)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'加氣口接頭.dwg (78KB)', click:'getBookinfo(8190977)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'加氣裝置加氣口.dwg (80KB)', click:'getBookinfo(8190978)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'增速器裝配圖A0.dwg (288KB)', click:'getBookinfo(8190979)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'定子、轉(zhuǎn)子.dwg (50KB)', click:'getBookinfo(8190980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'總體圖.dwg (217KB)', click:'getBookinfo(8190981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'截止閥閥芯.dwg (70KB)', click:'getBookinfo(8190982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'目錄.doc (55KB)', click:'getBookinfo(8190983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'風(fēng)葉數(shù)據(jù).dwg (150KB)', click:'getBookinfo(8190984)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'2kw水平軸家用風(fēng)力發(fā)電機(jī)設(shè)計【16張cad圖紙答辯論文畢業(yè)資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'2.A1圖紙(4幅).dwg',url:'http://m.facezit.com/p-8190972.html', target:'_blank' },{ id:'00002', pId:'1', name:'2.A2圖紙(4幅).dwg',url:'http://m.facezit.com/p-8190973.html', target:'_blank' },{ id:'00003', pId:'1', name:'2KW水平軸家用風(fēng)力發(fā)電機(jī)設(shè)計論文.doc',url:'http://m.facezit.com/p-8190974.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8190975.html', target:'_blank' },{ id:'00005', pId:'1', name:'減壓閥.dwg',url:'http://m.facezit.com/p-8190976.html', target:'_blank' },{ id:'00006', pId:'1', name:'加氣口接頭.dwg',url:'http://m.facezit.com/p-8190977.html', target:'_blank' },{ id:'00007', pId:'1', name:'加氣裝置加氣口.dwg',url:'http://m.facezit.com/p-8190978.html', target:'_blank' },{ id:'00008', pId:'1', name:'增速器裝配圖A0.dwg',url:'http://m.facezit.com/p-8190979.html', target:'_blank' },{ id:'00009', pId:'1', name:'定子、轉(zhuǎn)子.dwg',url:'http://m.facezit.com/p-8190980.html', target:'_blank' },{ id:'00010', pId:'1', name:'總體圖.dwg',url:'http://m.facezit.com/p-8190981.html', target:'_blank' },{ id:'00011', pId:'1', name:'截止閥閥芯.dwg',url:'http://m.facezit.com/p-8190982.html', target:'_blank' },{ id:'00012', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8190983.html', target:'_blank' },{ id:'00013', pId:'1', name:'風(fēng)葉數(shù)據(jù).dwg',url:'http://m.facezit.com/p-8190984.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 = '3532217'; 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; }); });