'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'差速器主外殼機械加工工藝鏜47孔工裝設計【2張cad圖紙、工藝卡片和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工藝卡片 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'1.dwg (96KB)', click:'getBookinfo(8155899)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10.dwg (98KB)', click:'getBookinfo(8155900)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11.dwg (102KB)', click:'getBookinfo(8155901)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12.dwg (139KB)', click:'getBookinfo(8155902)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'13.dwg (96KB)', click:'getBookinfo(8155903)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'14.dwg (85KB)', click:'getBookinfo(8155904)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'15.dwg (90KB)', click:'getBookinfo(8155905)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'16.dwg (72KB)', click:'getBookinfo(8155906)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'17.dwg (84KB)', click:'getBookinfo(8155907)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'19.dwg (89KB)', click:'getBookinfo(8155908)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'2.dwg (126KB)', click:'getBookinfo(8155909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'8.dwg (100KB)', click:'getBookinfo(8155910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'9.dwg (84KB)', click:'getBookinfo(8155911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工藝卡片18.dwg (93KB)', click:'getBookinfo(8155912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工藝卡片3.dwg (111KB)', click:'getBookinfo(8155913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工藝卡片4.dwg (87KB)', click:'getBookinfo(8155914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'工藝卡片5.dwg (122KB)', click:'getBookinfo(8155915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'工藝卡片6.dwg (64KB)', click:'getBookinfo(8155916)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'工藝卡片7.dwg (64KB)', click:'getBookinfo(8155917)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'1-任務書.doc (70KB)', click:'getBookinfo(8155918)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'2-開題報告.doc (45KB)', click:'getBookinfo(8155919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'3-學士學位論文原創(chuàng)性聲明.doc (41KB)', click:'getBookinfo(8155920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'4-摘要+目錄.doc (28KB)', click:'getBookinfo(8155921)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'5-說明書-9048字-30頁.doc (807KB)', click:'getBookinfo(8155922)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'6-外文翻譯.doc (100KB)', click:'getBookinfo(8155923)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'夾具裝配圖-A1.dwg (284KB)', click:'getBookinfo(8155924)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'差速器外殼零件圖-A1.dwg (160KB)', click:'getBookinfo(8155925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'文件清單.txt (0KB)', click:'getBookinfo(8155926)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'差速器主外殼機械加工工藝鏜47孔工裝設計【2張cad圖紙、工藝卡片和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.dwg',url:'http://m.facezit.com/p-8155899.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10.dwg',url:'http://m.facezit.com/p-8155900.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11.dwg',url:'http://m.facezit.com/p-8155901.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12.dwg',url:'http://m.facezit.com/p-8155902.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'13.dwg',url:'http://m.facezit.com/p-8155903.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'14.dwg',url:'http://m.facezit.com/p-8155904.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'15.dwg',url:'http://m.facezit.com/p-8155905.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'16.dwg',url:'http://m.facezit.com/p-8155906.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'17.dwg',url:'http://m.facezit.com/p-8155907.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'19.dwg',url:'http://m.facezit.com/p-8155908.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'2.dwg',url:'http://m.facezit.com/p-8155909.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'8.dwg',url:'http://m.facezit.com/p-8155910.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'9.dwg',url:'http://m.facezit.com/p-8155911.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工藝卡片18.dwg',url:'http://m.facezit.com/p-8155912.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工藝卡片3.dwg',url:'http://m.facezit.com/p-8155913.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'工藝卡片4.dwg',url:'http://m.facezit.com/p-8155914.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工藝卡片5.dwg',url:'http://m.facezit.com/p-8155915.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'工藝卡片6.dwg',url:'http://m.facezit.com/p-8155916.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'工藝卡片7.dwg',url:'http://m.facezit.com/p-8155917.html', target:'_blank' },{ id:'00002', pId:'1', name:'1-任務書.doc',url:'http://m.facezit.com/p-8155918.html', target:'_blank' },{ id:'00003', pId:'1', name:'2-開題報告.doc',url:'http://m.facezit.com/p-8155919.html', target:'_blank' },{ id:'00004', pId:'1', name:'3-學士學位論文原創(chuàng)性聲明.doc',url:'http://m.facezit.com/p-8155920.html', target:'_blank' },{ id:'00005', pId:'1', name:'4-摘要+目錄.doc',url:'http://m.facezit.com/p-8155921.html', target:'_blank' },{ id:'00006', pId:'1', name:'5-說明書-9048字-30頁.doc',url:'http://m.facezit.com/p-8155922.html', target:'_blank' },{ id:'00007', pId:'1', name:'6-外文翻譯.doc',url:'http://m.facezit.com/p-8155923.html', target:'_blank' },{ id:'00008', pId:'1', name:'夾具裝配圖-A1.dwg',url:'http://m.facezit.com/p-8155924.html', target:'_blank' },{ id:'00009', pId:'1', name:'差速器外殼零件圖-A1.dwg',url:'http://m.facezit.com/p-8155925.html', target:'_blank' },{ id:'00010', pId:'1', name:'文件清單.txt',url:'http://m.facezit.com/p-8155926.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 = '3526910'; 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; }); });