'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'半自動打包機設(shè)計全套含cad圖紙及三維模型.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D (包含3個文件)', },{ id:'0000100001', pId:'00001', name:'2.0.prt (8280KB)', },{ id:'0000100002', pId:'00001', name:'3JEH}X)4KVAXN8%W_D4Y3FA.png (24KB)', click:'getBookinfo(8319971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'zhuangpeitu.stp (4712KB)', },{ id:'00002', pId:'1', name:'半自動打包機設(shè)計.doc (1236KB)', click:'getBookinfo(8319972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'半自動打包機設(shè)計總裝圖紙.dwg (1368KB)', click:'getBookinfo(8319973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'原理方案圖.dwg (108KB)', click:'getBookinfo(8319974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'原理方案圖.gif (9KB)', click:'getBookinfo(8319975)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'大軸.dwg (46KB)', click:'getBookinfo(8319976)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'大軸套.dwg (47KB)', click:'getBookinfo(8319977)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'大齒輪.dwg (41KB)', click:'getBookinfo(8319978)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'小軸.dwg (55KB)', click:'getBookinfo(8319979)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'小軸前端蓋.dwg (38KB)', click:'getBookinfo(8319980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'小軸后端蓋.dwg (36KB)', click:'getBookinfo(8319981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'小齒輪.dwg (36KB)', click:'getBookinfo(8319982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'料斗零件圖.dwg (52KB)', click:'getBookinfo(8319983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'說明書.doc (1158KB)', click:'getBookinfo(8319984)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'半自動打包機設(shè)計全套含cad圖紙及三維模型.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'3JEH}X)4KVAXN8%W_D4Y3FA.png',url:'http://m.facezit.com/p-8319971.html', target:'_blank' },{ id:'00002', pId:'1', name:'半自動打包機設(shè)計.doc',url:'http://m.facezit.com/p-8319972.html', target:'_blank' },{ id:'00003', pId:'1', name:'半自動打包機設(shè)計總裝圖紙.dwg',url:'http://m.facezit.com/p-8319973.html', target:'_blank' },{ id:'00004', pId:'1', name:'原理方案圖.dwg',url:'http://m.facezit.com/p-8319974.html', target:'_blank' },{ id:'00005', pId:'1', name:'原理方案圖.gif',url:'http://m.facezit.com/p-8319975.html', target:'_blank' },{ id:'00006', pId:'1', name:'大軸.dwg',url:'http://m.facezit.com/p-8319976.html', target:'_blank' },{ id:'00007', pId:'1', name:'大軸套.dwg',url:'http://m.facezit.com/p-8319977.html', target:'_blank' },{ id:'00008', pId:'1', name:'大齒輪.dwg',url:'http://m.facezit.com/p-8319978.html', target:'_blank' },{ id:'00009', pId:'1', name:'小軸.dwg',url:'http://m.facezit.com/p-8319979.html', target:'_blank' },{ id:'00010', pId:'1', name:'小軸前端蓋.dwg',url:'http://m.facezit.com/p-8319980.html', target:'_blank' },{ id:'00011', pId:'1', name:'小軸后端蓋.dwg',url:'http://m.facezit.com/p-8319981.html', target:'_blank' },{ id:'00012', pId:'1', name:'小齒輪.dwg',url:'http://m.facezit.com/p-8319982.html', target:'_blank' },{ id:'00013', pId:'1', name:'料斗零件圖.dwg',url:'http://m.facezit.com/p-8319983.html', target:'_blank' },{ id:'00014', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8319984.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 = '6791897'; 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; }); });