'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【電氣設(shè)計自動化論文】便攜式心率計的設(shè)計【開題中期論文仿真原理圖pcb圖查重15內(nèi)】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'便攜式心率計的設(shè)計 (包含23個文件)', },{ id:'0000100001', pId:'00001', name:'PCB圖 (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'BACKUP~11.DDB (610KB)', },{ id:'000010000100002', pId:'0000100001', name:'Previous Backup of new.PCB (108KB)', },{ id:'0000100002', pId:'00001', name:'Protues仿真 (包含2個文件)', },{ id:'000010000200001', pId:'0000100002', name:'心率計.DSN (117KB)', },{ id:'000010000200002', pId:'0000100002', name:'心率計.PWI (0KB)', },{ id:'0000100003', pId:'00001', name:'原理圖 (包含6個文件)', },{ id:'000010000300001', pId:'0000100003', name:'Backup of Backup of Sheet1.Pcb (105KB)', },{ id:'000010000300002', pId:'0000100003', name:'Backup of PREVIO~4.SCH (22KB)', },{ id:'000010000300003', pId:'0000100003', name:'Previous Backup of Backup of Sheet1.Pcb (105KB)', },{ id:'000010000300004', pId:'0000100003', name:'Previous Backup of PREVIO~4.SCH (22KB)', },{ id:'000010000300005', pId:'0000100003', name:'PREVIO~4.Bkp (746KB)', },{ id:'000010000300006', pId:'0000100003', name:'PREVIO~4.DDB (362KB)', },{ id:'0000100004', pId:'00001', name:'實物照片 (包含4個文件)', },{ id:'000010000400001', pId:'0000100004', name:'IMG_0201.JPG (2107KB)', click:'getBookinfo(8298180)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400002', pId:'0000100004', name:'IMG_0486.JPG (1109KB)', click:'getBookinfo(8298181)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400003', pId:'0000100004', name:'IMG_0487.JPG (1455KB)', click:'getBookinfo(8298182)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400004', pId:'0000100004', name:'IMG_0488.JPG (1388KB)', click:'getBookinfo(8298183)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'查重報告 (包含1個文件)', },{ id:'000010000500001', pId:'0000100005', name:'詳細報告.pdf (156KB)', click:'getBookinfo(8298184)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100006', pId:'00001', name:'設(shè)計手冊 (包含1個文件)', },{ id:'000010000600001', pId:'0000100006', name:'本科畢業(yè)論文(設(shè)計)手冊.doc (1350KB)', click:'getBookinfo(8298185)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'便攜式心率計的設(shè)計.docx (1282KB)', click:'getBookinfo(8298186)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【電氣設(shè)計自動化論文】便攜式心率計的設(shè)計【開題中期論文仿真原理圖pcb圖查重15內(nèi)】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000400001', pId:'0000100004', name:'IMG_0201.JPG',url:'http://m.facezit.com/p-8298180.html', target:'_blank' },{ id:'000010000400002', pId:'0000100004', name:'IMG_0486.JPG',url:'http://m.facezit.com/p-8298181.html', target:'_blank' },{ id:'000010000400003', pId:'0000100004', name:'IMG_0487.JPG',url:'http://m.facezit.com/p-8298182.html', target:'_blank' },{ id:'000010000400004', pId:'0000100004', name:'IMG_0488.JPG',url:'http://m.facezit.com/p-8298183.html', target:'_blank' },{ id:'000010000500001', pId:'0000100005', name:'詳細報告.pdf',url:'http://m.facezit.com/p-8298184.html', target:'_blank' },{ id:'000010000600001', pId:'0000100006', name:'本科畢業(yè)論文(設(shè)計)手冊.doc',url:'http://m.facezit.com/p-8298185.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'便攜式心率計的設(shè)計.docx',url:'http://m.facezit.com/p-8298186.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 = '6694456'; 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; }); });