'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'高壓電線除冰機器人機構(gòu)設(shè)計【12張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務(wù)書.doc (31KB)', click:'getBookinfo(8582282)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'減速器.dwg (182KB)', click:'getBookinfo(8582283)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'固定制動片.dwg (77KB)', click:'getBookinfo(8582284)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'大臂.dwg (70KB)', click:'getBookinfo(8582285)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'封面.doc (13KB)', click:'getBookinfo(8582286)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'小臂.dwg (74KB)', click:'getBookinfo(8582287)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'平行桿.dwg (70KB)', click:'getBookinfo(8582288)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'異形剎車片.dwg (43KB)', click:'getBookinfo(8582289)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'彈簧桿.dwg (77KB)', click:'getBookinfo(8582290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'承諾書.doc (13KB)', click:'getBookinfo(8582291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'文獻綜述.doc (22KB)', click:'getBookinfo(8582292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'輪支撐.dwg (84KB)', click:'getBookinfo(8582293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'軸.dwg (131KB)', click:'getBookinfo(8582294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'除冰手掌開合裝置.dwg (82KB)', click:'getBookinfo(8582295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'除冰機器人機械手.dwg (311KB)', click:'getBookinfo(8582296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'驅(qū)動輪.dwg (75KB)', click:'getBookinfo(8582297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'高壓電線除冰機器人機構(gòu)設(shè)計開題報告.doc (46KB)', click:'getBookinfo(8582298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'高壓電線除冰機器人機構(gòu)設(shè)計說明書.doc (870KB)', click:'getBookinfo(8582299)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'高壓電線除冰機器人機構(gòu)設(shè)計【12張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8582282.html', target:'_blank' },{ id:'00002', pId:'1', name:'減速器.dwg',url:'http://m.facezit.com/p-8582283.html', target:'_blank' },{ id:'00003', pId:'1', name:'固定制動片.dwg',url:'http://m.facezit.com/p-8582284.html', target:'_blank' },{ id:'00004', pId:'1', name:'大臂.dwg',url:'http://m.facezit.com/p-8582285.html', target:'_blank' },{ id:'00005', pId:'1', name:'封面.doc',url:'http://m.facezit.com/p-8582286.html', target:'_blank' },{ id:'00006', pId:'1', name:'小臂.dwg',url:'http://m.facezit.com/p-8582287.html', target:'_blank' },{ id:'00007', pId:'1', name:'平行桿.dwg',url:'http://m.facezit.com/p-8582288.html', target:'_blank' },{ id:'00008', pId:'1', name:'異形剎車片.dwg',url:'http://m.facezit.com/p-8582289.html', target:'_blank' },{ id:'00009', pId:'1', name:'彈簧桿.dwg',url:'http://m.facezit.com/p-8582290.html', target:'_blank' },{ id:'00010', pId:'1', name:'承諾書.doc',url:'http://m.facezit.com/p-8582291.html', target:'_blank' },{ id:'00011', pId:'1', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8582292.html', target:'_blank' },{ id:'00012', pId:'1', name:'輪支撐.dwg',url:'http://m.facezit.com/p-8582293.html', target:'_blank' },{ id:'00013', pId:'1', name:'軸.dwg',url:'http://m.facezit.com/p-8582294.html', target:'_blank' },{ id:'00014', pId:'1', name:'除冰手掌開合裝置.dwg',url:'http://m.facezit.com/p-8582295.html', target:'_blank' },{ id:'00015', pId:'1', name:'除冰機器人機械手.dwg',url:'http://m.facezit.com/p-8582296.html', target:'_blank' },{ id:'00016', pId:'1', name:'驅(qū)動輪.dwg',url:'http://m.facezit.com/p-8582297.html', target:'_blank' },{ id:'00017', pId:'1', name:'高壓電線除冰機器人機構(gòu)設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8582298.html', target:'_blank' },{ id:'00018', pId:'1', name:'高壓電線除冰機器人機構(gòu)設(shè)計說明書.doc',url:'http://m.facezit.com/p-8582299.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 = '7268653'; 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; }); });