'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'變速器撥叉加工工藝及夾具設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'變速器撥叉加工工藝及夾具設(shè)計 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'夾具體圖1.dwg (55KB)', click:'getBookinfo(8797828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'夾具體圖2.dwg (64KB)', click:'getBookinfo(8797829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡1.doc (51KB)', click:'getBookinfo(8797830)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡2.doc (51KB)', click:'getBookinfo(8797831)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡3.doc (49KB)', click:'getBookinfo(8797832)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡4.doc (50KB)', click:'getBookinfo(8797833)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡5.doc (50KB)', click:'getBookinfo(8797834)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡6.doc (49KB)', click:'getBookinfo(8797835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡7.doc (53KB)', click:'getBookinfo(8797836)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡8.doc (53KB)', click:'getBookinfo(8797837)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工藝過程卡.doc (47KB)', click:'getBookinfo(8797838)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'毛坯圖.dwg (49KB)', click:'getBookinfo(8797839)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'裝配圖1.dwg (70KB)', click:'getBookinfo(8797840)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'裝配圖2.dwg (73KB)', click:'getBookinfo(8797841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'說明書.doc (206KB)', click:'getBookinfo(8797842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'零件圖.dwg (48KB)', click:'getBookinfo(8797843)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'變速器撥叉加工工藝及夾具設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'夾具體圖1.dwg',url:'http://m.facezit.com/p-8797828.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'夾具體圖2.dwg',url:'http://m.facezit.com/p-8797829.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡1.doc',url:'http://m.facezit.com/p-8797830.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡2.doc',url:'http://m.facezit.com/p-8797831.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡3.doc',url:'http://m.facezit.com/p-8797832.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡4.doc',url:'http://m.facezit.com/p-8797833.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡5.doc',url:'http://m.facezit.com/p-8797834.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡6.doc',url:'http://m.facezit.com/p-8797835.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡7.doc',url:'http://m.facezit.com/p-8797836.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡8.doc',url:'http://m.facezit.com/p-8797837.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8797838.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8797839.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'裝配圖1.dwg',url:'http://m.facezit.com/p-8797840.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'裝配圖2.dwg',url:'http://m.facezit.com/p-8797841.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8797842.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8797843.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 = '3427963'; 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; }); });