'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】方刀架(p276)零件機械加工工藝規(guī)程及典型夾具設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0 方刀架(P276)零件機械加工工藝規(guī)程及典型夾具設(shè)計.doc (971KB)', click:'getBookinfo(8478805)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'夾具圖 1.dwg (155KB)', click:'getBookinfo(8478806)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'工藝工序卡 - 1.2.dwg (69KB)', click:'getBookinfo(8478807)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工藝工序卡 - 1.3.dwg (62KB)', click:'getBookinfo(8478808)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工藝工序卡 - 1.4.dwg (68KB)', click:'getBookinfo(8478809)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工藝工序卡 - 1.5.dwg (76KB)', click:'getBookinfo(8478810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工藝工序卡 - 1.6.dwg (72KB)', click:'getBookinfo(8478811)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工藝工序卡 - 1.7.dwg (68KB)', click:'getBookinfo(8478812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工藝工序卡 - 1.8.dwg (68KB)', click:'getBookinfo(8478813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'工藝工序卡 - 1.9.dwg (74KB)', click:'getBookinfo(8478814)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'工藝工序卡.dwg (51KB)', click:'getBookinfo(8478815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'工藝過程卡1.dwg (60KB)', click:'getBookinfo(8478816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'工藝過程卡續(xù)頁2.dwg (51KB)', click:'getBookinfo(8478817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'毛坯.dwg (60KB)', click:'getBookinfo(8478818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'說明書.doc (857KB)', click:'getBookinfo(8478819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'零件.dwg (122KB)', click:'getBookinfo(8478820)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】方刀架(p276)零件機械加工工藝規(guī)程及典型夾具設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0 方刀架(P276)零件機械加工工藝規(guī)程及典型夾具設(shè)計.doc',url:'http://m.facezit.com/p-8478805.html', target:'_blank' },{ id:'00002', pId:'1', name:'夾具圖 1.dwg',url:'http://m.facezit.com/p-8478806.html', target:'_blank' },{ id:'00003', pId:'1', name:'工藝工序卡 - 1.2.dwg',url:'http://m.facezit.com/p-8478807.html', target:'_blank' },{ id:'00004', pId:'1', name:'工藝工序卡 - 1.3.dwg',url:'http://m.facezit.com/p-8478808.html', target:'_blank' },{ id:'00005', pId:'1', name:'工藝工序卡 - 1.4.dwg',url:'http://m.facezit.com/p-8478809.html', target:'_blank' },{ id:'00006', pId:'1', name:'工藝工序卡 - 1.5.dwg',url:'http://m.facezit.com/p-8478810.html', target:'_blank' },{ id:'00007', pId:'1', name:'工藝工序卡 - 1.6.dwg',url:'http://m.facezit.com/p-8478811.html', target:'_blank' },{ id:'00008', pId:'1', name:'工藝工序卡 - 1.7.dwg',url:'http://m.facezit.com/p-8478812.html', target:'_blank' },{ id:'00009', pId:'1', name:'工藝工序卡 - 1.8.dwg',url:'http://m.facezit.com/p-8478813.html', target:'_blank' },{ id:'00010', pId:'1', name:'工藝工序卡 - 1.9.dwg',url:'http://m.facezit.com/p-8478814.html', target:'_blank' },{ id:'00011', pId:'1', name:'工藝工序卡.dwg',url:'http://m.facezit.com/p-8478815.html', target:'_blank' },{ id:'00012', pId:'1', name:'工藝過程卡1.dwg',url:'http://m.facezit.com/p-8478816.html', target:'_blank' },{ id:'00013', pId:'1', name:'工藝過程卡續(xù)頁2.dwg',url:'http://m.facezit.com/p-8478817.html', target:'_blank' },{ id:'00014', pId:'1', name:'毛坯.dwg',url:'http://m.facezit.com/p-8478818.html', target:'_blank' },{ id:'00015', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8478819.html', target:'_blank' },{ id:'00016', pId:'1', name:'零件.dwg',url:'http://m.facezit.com/p-8478820.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 = '7254974'; 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; }); });