'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'容積式壓縮機閥體加工工藝及鉆m18底孔夾具設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD工序卡[10張] (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡1.dwg (28KB)', click:'getBookinfo(8376703)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡10.dwg (35KB)', click:'getBookinfo(8376704)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡2.dwg (28KB)', click:'getBookinfo(8376705)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡3.dwg (34KB)', click:'getBookinfo(8376706)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡4.dwg (33KB)', click:'getBookinfo(8376707)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡5.dwg (30KB)', click:'getBookinfo(8376708)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡6.dwg (31KB)', click:'getBookinfo(8376709)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡7.dwg (31KB)', click:'getBookinfo(8376710)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡8.dwg (31KB)', click:'getBookinfo(8376711)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡9.dwg (33KB)', click:'getBookinfo(8376712)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000200001', pId:'00002', name:'外文翻譯.doc (1509KB)', click:'getBookinfo(8376713)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'外文翻譯原文.pdf (764KB)', click:'getBookinfo(8376714)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00003', pId:'1', name:'圖紙集合.dwg (326KB)', click:'getBookinfo(8376715)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'夾具體.dwg (222KB)', click:'getBookinfo(8376716)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'夾具裝配圖.dwg (273KB)', click:'getBookinfo(8376717)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'夾具說明書.doc (253KB)', click:'getBookinfo(8376718)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'容積式壓縮機閥體加工工藝及鉆M18底孔夾具設(shè)計(原創(chuàng)).doc (1217KB)', click:'getBookinfo(8376719)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工藝過程卡.dwg (26KB)', click:'getBookinfo(8376720)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'機械加工工藝過程卡.dwg (26KB)', click:'getBookinfo(8376721)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'閥體——A1.dwg (107KB)', click:'getBookinfo(8376722)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'閥體毛坯圖——A1.dwg (34KB)', click:'getBookinfo(8376723)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'容積式壓縮機閥體加工工藝及鉆m18底孔夾具設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序卡1.dwg',url:'http://m.facezit.com/p-8376703.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡10.dwg',url:'http://m.facezit.com/p-8376704.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡2.dwg',url:'http://m.facezit.com/p-8376705.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡3.dwg',url:'http://m.facezit.com/p-8376706.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡4.dwg',url:'http://m.facezit.com/p-8376707.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡5.dwg',url:'http://m.facezit.com/p-8376708.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡6.dwg',url:'http://m.facezit.com/p-8376709.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡7.dwg',url:'http://m.facezit.com/p-8376710.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡8.dwg',url:'http://m.facezit.com/p-8376711.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡9.dwg',url:'http://m.facezit.com/p-8376712.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8376713.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'外文翻譯原文.pdf',url:'http://m.facezit.com/p-8376714.html', target:'_blank' },{ id:'00003', pId:'1', name:'圖紙集合.dwg',url:'http://m.facezit.com/p-8376715.html', target:'_blank' },{ id:'00004', pId:'1', name:'夾具體.dwg',url:'http://m.facezit.com/p-8376716.html', target:'_blank' },{ id:'00005', pId:'1', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8376717.html', target:'_blank' },{ id:'00006', pId:'1', name:'夾具說明書.doc',url:'http://m.facezit.com/p-8376718.html', target:'_blank' },{ id:'00007', pId:'1', name:'容積式壓縮機閥體加工工藝及鉆M18底孔夾具設(shè)計(原創(chuàng)).doc',url:'http://m.facezit.com/p-8376719.html', target:'_blank' },{ id:'00008', pId:'1', name:'工藝過程卡.dwg',url:'http://m.facezit.com/p-8376720.html', target:'_blank' },{ id:'00009', pId:'1', name:'機械加工工藝過程卡.dwg',url:'http://m.facezit.com/p-8376721.html', target:'_blank' },{ id:'00010', pId:'1', name:'閥體——A1.dwg',url:'http://m.facezit.com/p-8376722.html', target:'_blank' },{ id:'00011', pId:'1', name:'閥體毛坯圖——A1.dwg',url:'http://m.facezit.com/p-8376723.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 = '7123643'; 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; }); });