'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【jx401】真空加熱式高效凈油機設計【swktfyrwzs】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'A0-真空凈油機立體裝配圖.dwg (201KB)', click:'getBookinfo(8107747)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A0-真空凈油機裝配圖.DWG (507KB)', click:'getBookinfo(8107748)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A1-加熱器.DWG (76KB)', click:'getBookinfo(8107749)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A1-精濾器.DWG (91KB)', click:'getBookinfo(8107750)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-凝水器.DWG (56KB)', click:'getBookinfo(8107751)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A2-加熱管.dwg (53KB)', click:'getBookinfo(8107752)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A2-機架.DWG (115KB)', click:'getBookinfo(8107753)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A2-精濾器器濾芯.DWG (57KB)', click:'getBookinfo(8107754)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A2-緩沖器.dwg (88KB)', click:'getBookinfo(8107755)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A2-進油過濾器.DWG (59KB)', click:'getBookinfo(8107756)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A2-進油過濾器濾芯.DWG (57KB)', click:'getBookinfo(8107757)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'三維截圖 (包含5個文件)', },{ id:'0000200001', pId:'00002', name:'側(cè)視.JPG (37KB)', click:'getBookinfo(8107758)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'側(cè)視1.JPG (40KB)', click:'getBookinfo(8107759)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200003', pId:'00002', name:'俯視圖.JPG (44KB)', click:'getBookinfo(8107760)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200004', pId:'00002', name:'后視.JPG (35KB)', click:'getBookinfo(8107761)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200005', pId:'00002', name:'正視.JPG (80KB)', click:'getBookinfo(8107762)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'Solidworks三維建模源文件.rar (81952KB)', click:'getBookinfo(8107763)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00004', pId:'1', name:'Solidworks三維建模預覽.doc (472KB)', click:'getBookinfo(8107764)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'【CAD圖紙-預覽】.pdf (1039KB)', click:'getBookinfo(8107765)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00006', pId:'1', name:'任務書.doc (73KB)', click:'getBookinfo(8107766)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外文翻譯.doc (49KB)', click:'getBookinfo(8107767)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'開題報告.doc (34KB)', click:'getBookinfo(8107768)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'文獻綜述.doc (227KB)', click:'getBookinfo(8107769)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'畢業(yè)論文[11600字,37頁].doc (3125KB)', click:'getBookinfo(8107770)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【jx401】真空加熱式高效凈油機設計【swktfyrwzs】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-真空凈油機立體裝配圖.dwg',url:'http://m.facezit.com/p-8107747.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0-真空凈油機裝配圖.DWG',url:'http://m.facezit.com/p-8107748.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A1-加熱器.DWG',url:'http://m.facezit.com/p-8107749.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A1-精濾器.DWG',url:'http://m.facezit.com/p-8107750.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-凝水器.DWG',url:'http://m.facezit.com/p-8107751.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A2-加熱管.dwg',url:'http://m.facezit.com/p-8107752.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A2-機架.DWG',url:'http://m.facezit.com/p-8107753.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A2-精濾器器濾芯.DWG',url:'http://m.facezit.com/p-8107754.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A2-緩沖器.dwg',url:'http://m.facezit.com/p-8107755.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A2-進油過濾器.DWG',url:'http://m.facezit.com/p-8107756.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A2-進油過濾器濾芯.DWG',url:'http://m.facezit.com/p-8107757.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'側(cè)視.JPG',url:'http://m.facezit.com/p-8107758.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'側(cè)視1.JPG',url:'http://m.facezit.com/p-8107759.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'俯視圖.JPG',url:'http://m.facezit.com/p-8107760.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'后視.JPG',url:'http://m.facezit.com/p-8107761.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'正視.JPG',url:'http://m.facezit.com/p-8107762.html', target:'_blank' },{ id:'00003', pId:'1', name:'Solidworks三維建模源文件.rar',url:'http://m.facezit.com/p-8107763.html', target:'_blank' },{ id:'00004', pId:'1', name:'Solidworks三維建模預覽.doc',url:'http://m.facezit.com/p-8107764.html', target:'_blank' },{ id:'00005', pId:'1', name:'【CAD圖紙-預覽】.pdf',url:'http://m.facezit.com/p-8107765.html', target:'_blank' },{ id:'00006', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8107766.html', target:'_blank' },{ id:'00007', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8107767.html', target:'_blank' },{ id:'00008', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8107768.html', target:'_blank' },{ id:'00009', pId:'1', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8107769.html', target:'_blank' },{ id:'00010', pId:'1', name:'畢業(yè)論文[11600字,37頁].doc',url:'http://m.facezit.com/p-8107770.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 = '3526369'; 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; }); });