'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'方刀架(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(8331154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'夾具圖 1.dwg (155KB)', click:'getBookinfo(8331155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'工藝工序卡 - 1.2.dwg (69KB)', click:'getBookinfo(8331156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工藝工序卡 - 1.3.dwg (62KB)', click:'getBookinfo(8331157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工藝工序卡 - 1.4.dwg (68KB)', click:'getBookinfo(8331158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工藝工序卡 - 1.5.dwg (76KB)', click:'getBookinfo(8331159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工藝工序卡 - 1.6.dwg (72KB)', click:'getBookinfo(8331160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工藝工序卡 - 1.7.dwg (68KB)', click:'getBookinfo(8331161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工藝工序卡 - 1.8.dwg (68KB)', click:'getBookinfo(8331162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'工藝工序卡 - 1.9.dwg (74KB)', click:'getBookinfo(8331163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'工藝工序卡.dwg (51KB)', click:'getBookinfo(8331164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'工藝過程卡1.dwg (60KB)', click:'getBookinfo(8331165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'工藝過程卡續(xù)頁2.dwg (51KB)', click:'getBookinfo(8331166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'毛坯.dwg (60KB)', click:'getBookinfo(8331167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'說明書.doc (857KB)', click:'getBookinfo(8331168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'零件.dwg (122KB)', click:'getBookinfo(8331169)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'方刀架(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-8331154.html', target:'_blank' },{ id:'00002', pId:'1', name:'夾具圖 1.dwg',url:'http://m.facezit.com/p-8331155.html', target:'_blank' },{ id:'00003', pId:'1', name:'工藝工序卡 - 1.2.dwg',url:'http://m.facezit.com/p-8331156.html', target:'_blank' },{ id:'00004', pId:'1', name:'工藝工序卡 - 1.3.dwg',url:'http://m.facezit.com/p-8331157.html', target:'_blank' },{ id:'00005', pId:'1', name:'工藝工序卡 - 1.4.dwg',url:'http://m.facezit.com/p-8331158.html', target:'_blank' },{ id:'00006', pId:'1', name:'工藝工序卡 - 1.5.dwg',url:'http://m.facezit.com/p-8331159.html', target:'_blank' },{ id:'00007', pId:'1', name:'工藝工序卡 - 1.6.dwg',url:'http://m.facezit.com/p-8331160.html', target:'_blank' },{ id:'00008', pId:'1', name:'工藝工序卡 - 1.7.dwg',url:'http://m.facezit.com/p-8331161.html', target:'_blank' },{ id:'00009', pId:'1', name:'工藝工序卡 - 1.8.dwg',url:'http://m.facezit.com/p-8331162.html', target:'_blank' },{ id:'00010', pId:'1', name:'工藝工序卡 - 1.9.dwg',url:'http://m.facezit.com/p-8331163.html', target:'_blank' },{ id:'00011', pId:'1', name:'工藝工序卡.dwg',url:'http://m.facezit.com/p-8331164.html', target:'_blank' },{ id:'00012', pId:'1', name:'工藝過程卡1.dwg',url:'http://m.facezit.com/p-8331165.html', target:'_blank' },{ id:'00013', pId:'1', name:'工藝過程卡續(xù)頁2.dwg',url:'http://m.facezit.com/p-8331166.html', target:'_blank' },{ id:'00014', pId:'1', name:'毛坯.dwg',url:'http://m.facezit.com/p-8331167.html', target:'_blank' },{ id:'00015', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8331168.html', target:'_blank' },{ id:'00016', pId:'1', name:'零件.dwg',url:'http://m.facezit.com/p-8331169.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 = '6792353'; 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; }); });