'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'自行車右曲柄的加工工藝規(guī)程及鉆φ9孔夾具設計[含cad圖紙工序卡工藝過程卡說明書].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc (45KB)', click:'getBookinfo(8683584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'工序卡01.dwg (75KB)', click:'getBookinfo(8683585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'工序卡010.dwg (84KB)', click:'getBookinfo(8683586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工序卡02.dwg (77KB)', click:'getBookinfo(8683587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工序卡03.dwg (77KB)', click:'getBookinfo(8683588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工序卡04.dwg (79KB)', click:'getBookinfo(8683589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工序卡05.dwg (76KB)', click:'getBookinfo(8683590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工序卡06.dwg (96KB)', click:'getBookinfo(8683591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工序卡07.dwg (81KB)', click:'getBookinfo(8683592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'工序卡08.dwg (80KB)', click:'getBookinfo(8683593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'工序卡09.dwg (85KB)', click:'getBookinfo(8683594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'工序卡11.dwg (83KB)', click:'getBookinfo(8683595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'工序卡12.dwg (86KB)', click:'getBookinfo(8683596)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'工序卡13.dwg (48KB)', click:'getBookinfo(8683597)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'工序卡14.dwg (49KB)', click:'getBookinfo(8683598)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'工藝過程卡片.dwg (67KB)', click:'getBookinfo(8683599)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'開題報告.doc (105KB)', click:'getBookinfo(8683600)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'機床刀具設計外文翻譯.doc (840KB)', click:'getBookinfo(8683601)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'毛坯圖.dwg (68KB)', click:'getBookinfo(8683602)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'說明書.doc (1180KB)', click:'getBookinfo(8683603)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'鉆φ9孔夾具底座.dwg (60KB)', click:'getBookinfo(8683604)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'鉆φ9孔夾具裝配圖.dwg (95KB)', click:'getBookinfo(8683605)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'零件圖.dwg (74KB)', click:'getBookinfo(8683606)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'自行車右曲柄的加工工藝規(guī)程及鉆φ9孔夾具設計[含cad圖紙工序卡工藝過程卡說明書].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8683584.html', target:'_blank' },{ id:'00002', pId:'1', name:'工序卡01.dwg',url:'http://m.facezit.com/p-8683585.html', target:'_blank' },{ id:'00003', pId:'1', name:'工序卡010.dwg',url:'http://m.facezit.com/p-8683586.html', target:'_blank' },{ id:'00004', pId:'1', name:'工序卡02.dwg',url:'http://m.facezit.com/p-8683587.html', target:'_blank' },{ id:'00005', pId:'1', name:'工序卡03.dwg',url:'http://m.facezit.com/p-8683588.html', target:'_blank' },{ id:'00006', pId:'1', name:'工序卡04.dwg',url:'http://m.facezit.com/p-8683589.html', target:'_blank' },{ id:'00007', pId:'1', name:'工序卡05.dwg',url:'http://m.facezit.com/p-8683590.html', target:'_blank' },{ id:'00008', pId:'1', name:'工序卡06.dwg',url:'http://m.facezit.com/p-8683591.html', target:'_blank' },{ id:'00009', pId:'1', name:'工序卡07.dwg',url:'http://m.facezit.com/p-8683592.html', target:'_blank' },{ id:'00010', pId:'1', name:'工序卡08.dwg',url:'http://m.facezit.com/p-8683593.html', target:'_blank' },{ id:'00011', pId:'1', name:'工序卡09.dwg',url:'http://m.facezit.com/p-8683594.html', target:'_blank' },{ id:'00012', pId:'1', name:'工序卡11.dwg',url:'http://m.facezit.com/p-8683595.html', target:'_blank' },{ id:'00013', pId:'1', name:'工序卡12.dwg',url:'http://m.facezit.com/p-8683596.html', target:'_blank' },{ id:'00014', pId:'1', name:'工序卡13.dwg',url:'http://m.facezit.com/p-8683597.html', target:'_blank' },{ id:'00015', pId:'1', name:'工序卡14.dwg',url:'http://m.facezit.com/p-8683598.html', target:'_blank' },{ id:'00016', pId:'1', name:'工藝過程卡片.dwg',url:'http://m.facezit.com/p-8683599.html', target:'_blank' },{ id:'00017', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8683600.html', target:'_blank' },{ id:'00018', pId:'1', name:'機床刀具設計外文翻譯.doc',url:'http://m.facezit.com/p-8683601.html', target:'_blank' },{ id:'00019', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8683602.html', target:'_blank' },{ id:'00020', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8683603.html', target:'_blank' },{ id:'00021', pId:'1', name:'鉆φ9孔夾具底座.dwg',url:'http://m.facezit.com/p-8683604.html', target:'_blank' },{ id:'00022', pId:'1', name:'鉆φ9孔夾具裝配圖.dwg',url:'http://m.facezit.com/p-8683605.html', target:'_blank' },{ id:'00023', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8683606.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 = '7266785'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });