'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'加強(qiáng)板零件的數(shù)控加工及夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'顧榮杰 畢業(yè)設(shè)計 (包含42個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡 (包含26個文件)', },{ id:'000010000100001', pId:'0000100001', name:'05.bak (320KB)', },{ id:'000010000100002', pId:'0000100001', name:'05.DWG (320KB)', click:'getBookinfo(8503957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'10.bak (315KB)', },{ id:'000010000100004', pId:'0000100001', name:'10.DWG (315KB)', click:'getBookinfo(8503958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'15.bak (392KB)', },{ id:'000010000100006', pId:'0000100001', name:'15.DWG (311KB)', click:'getBookinfo(8503959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'20.bak (372KB)', },{ id:'000010000100008', pId:'0000100001', name:'20.DWG (324KB)', click:'getBookinfo(8503960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'25.bak (339KB)', },{ id:'000010000100010', pId:'0000100001', name:'25.DWG (347KB)', click:'getBookinfo(8503961)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'30.bak (326KB)', },{ id:'000010000100012', pId:'0000100001', name:'30.DWG (330KB)', click:'getBookinfo(8503962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'35.bak (320KB)', },{ id:'000010000100014', pId:'0000100001', name:'35.DWG (333KB)', click:'getBookinfo(8503963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'40.bak (337KB)', },{ id:'000010000100016', pId:'0000100001', name:'40.DWG (320KB)', click:'getBookinfo(8503964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'45.bak (343KB)', },{ id:'000010000100018', pId:'0000100001', name:'45.DWG (343KB)', click:'getBookinfo(8503965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'50.bak (319KB)', },{ id:'000010000100020', pId:'0000100001', name:'50.DWG (331KB)', click:'getBookinfo(8503966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'acad.fas (21KB)', },{ id:'000010000100022', pId:'0000100001', name:'acad.vlx (2KB)', },{ id:'000010000100023', pId:'0000100001', name:'acaddoc.lsp (3077KB)', },{ id:'000010000100024', pId:'0000100001', name:'plot.log (1KB)', },{ id:'000010000100025', pId:'0000100001', name:'工藝路線卡.dwg (70KB)', click:'getBookinfo(8503967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100026', pId:'0000100001', name:'工藝路線封面.rtf (14KB)', click:'getBookinfo(8503968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'acad.fas (21KB)', },{ id:'0000100003', pId:'00001', name:'jaju9.pdf (6953KB)', click:'getBookinfo(8503969)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100004', pId:'00001', name:'plot.log (2KB)', },{ id:'0000100005', pId:'00001', name:'~WRD0005.tmp (371KB)', },{ id:'0000100006', pId:'00001', name:'中英文摘要.doc (31KB)', click:'getBookinfo(8503970)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'夾具裝配圖.bak (874KB)', },{ id:'0000100008', pId:'00001', name:'夾具裝配圖.dwg (754KB)', click:'getBookinfo(8503971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'夾具裝配圖.dwl (0KB)', },{ id:'0000100010', pId:'00001', name:'開題報告.docx (62KB)', click:'getBookinfo(8503972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'畢業(yè)設(shè)計任務(wù)書(任務(wù)書)-顧榮杰.doc (69KB)', click:'getBookinfo(8503973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'目錄.doc (36KB)', click:'getBookinfo(8503974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'英文翻譯.doc (567KB)', click:'getBookinfo(8503975)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'論文.doc.rtf (291539KB)', click:'getBookinfo(8503976)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'部分?jǐn)?shù)控加工程序單.doc (280KB)', click:'getBookinfo(8503977)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'零件圖.dwg (122KB)', click:'getBookinfo(8503978)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'加強(qiáng)板零件的數(shù)控加工及夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'05.DWG',url:'http://m.facezit.com/p-8503957.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'10.DWG',url:'http://m.facezit.com/p-8503958.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'15.DWG',url:'http://m.facezit.com/p-8503959.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'20.DWG',url:'http://m.facezit.com/p-8503960.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'25.DWG',url:'http://m.facezit.com/p-8503961.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'30.DWG',url:'http://m.facezit.com/p-8503962.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'35.DWG',url:'http://m.facezit.com/p-8503963.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'40.DWG',url:'http://m.facezit.com/p-8503964.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'45.DWG',url:'http://m.facezit.com/p-8503965.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'50.DWG',url:'http://m.facezit.com/p-8503966.html', target:'_blank' },{ id:'000010000100025', pId:'0000100001', name:'工藝路線卡.dwg',url:'http://m.facezit.com/p-8503967.html', target:'_blank' },{ id:'000010000100026', pId:'0000100001', name:'工藝路線封面.rtf',url:'http://m.facezit.com/p-8503968.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'jaju9.pdf',url:'http://m.facezit.com/p-8503969.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'中英文摘要.doc',url:'http://m.facezit.com/p-8503970.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8503971.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'開題報告.docx',url:'http://m.facezit.com/p-8503972.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'畢業(yè)設(shè)計任務(wù)書(任務(wù)書)-顧榮杰.doc',url:'http://m.facezit.com/p-8503973.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8503974.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'英文翻譯.doc',url:'http://m.facezit.com/p-8503975.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'論文.doc.rtf',url:'http://m.facezit.com/p-8503976.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'部分?jǐn)?shù)控加工程序單.doc',url:'http://m.facezit.com/p-8503977.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8503978.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 = '7258154'; 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; }); });