'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'jtk1.2型提升絞車剖分滾筒設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'469 JTK-1.2型提升絞車剖分滾筒設(shè)計【說明書+CAD】 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'A0-滾筒總裝圖.dwg (142KB)', click:'getBookinfo(8800138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A2-卷筒.dwg (105KB)', click:'getBookinfo(8800139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3-制動支輪輪轂.dwg (92KB)', click:'getBookinfo(8800140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-制動板.dwg (85KB)', click:'getBookinfo(8800141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-加固板.dwg (88KB)', click:'getBookinfo(8800142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-支輪.dwg (102KB)', click:'getBookinfo(8800143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-支輪輪轂.dwg (92KB)', click:'getBookinfo(8800144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A3-襯木.dwg (93KB)', click:'getBookinfo(8800145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A3-連接板.dwg (88KB)', click:'getBookinfo(8800146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A4-筋板.dwg (91KB)', click:'getBookinfo(8800147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'中期檢查表.doc (33KB)', click:'getBookinfo(8800148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'開題報告.doc (44KB)', click:'getBookinfo(8800149)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'翻譯.doc (51KB)', click:'getBookinfo(8800150)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'說明書.doc (1181KB)', click:'getBookinfo(8800151)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'jtk1.2型提升絞車剖分滾筒設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-滾筒總裝圖.dwg',url:'http://m.facezit.com/p-8800138.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A2-卷筒.dwg',url:'http://m.facezit.com/p-8800139.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3-制動支輪輪轂.dwg',url:'http://m.facezit.com/p-8800140.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-制動板.dwg',url:'http://m.facezit.com/p-8800141.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-加固板.dwg',url:'http://m.facezit.com/p-8800142.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-支輪.dwg',url:'http://m.facezit.com/p-8800143.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-支輪輪轂.dwg',url:'http://m.facezit.com/p-8800144.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A3-襯木.dwg',url:'http://m.facezit.com/p-8800145.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A3-連接板.dwg',url:'http://m.facezit.com/p-8800146.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A4-筋板.dwg',url:'http://m.facezit.com/p-8800147.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8800148.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8800149.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'翻譯.doc',url:'http://m.facezit.com/p-8800150.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8800151.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 = '3430700'; 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; }); });