'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'插針罩注塑模模具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'插針罩注塑模 (包含23個文件)', },{ id:'0000100001', pId:'00001', name:'czz.dwg (31KB)', click:'getBookinfo(8535390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Thumbs.db (7KB)', },{ id:'0000100003', pId:'00001', name:'側(cè)型芯.doc (37KB)', click:'getBookinfo(8535391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'側(cè)型芯.dwg (48KB)', click:'getBookinfo(8535392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'側(cè)滑塊.doc (54KB)', click:'getBookinfo(8535393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'型腔板.doc (47KB)', click:'getBookinfo(8535394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'型腔板.dwg (58KB)', click:'getBookinfo(8535395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'大型芯.doc (41KB)', click:'getBookinfo(8535396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'大型芯.dwg (53KB)', click:'getBookinfo(8535397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'大型芯固定板.doc (48KB)', click:'getBookinfo(8535398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'大型芯固定板.dwg (36KB)', click:'getBookinfo(8535399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'封面.doc (44KB)', click:'getBookinfo(8535400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序卡.doc (54KB)', click:'getBookinfo(8535401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'錄像.exe (2983KB)', },{ id:'0000100015', pId:'00001', name:'插針罩注射模模具設(shè)計.doc (504KB)', click:'getBookinfo(8535402)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'斜導(dǎo)軌.doc (52KB)', click:'getBookinfo(8535403)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'斜導(dǎo)軌.dwg (44KB)', click:'getBookinfo(8535404)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'斜滑塊.dwg (37KB)', click:'getBookinfo(8535405)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'楔緊塊.doc (40KB)', click:'getBookinfo(8535406)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'楔緊塊.dwg (52KB)', click:'getBookinfo(8535407)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'耐磨板.doc (40KB)', click:'getBookinfo(8535408)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'耐磨板.dwg (46KB)', click:'getBookinfo(8535409)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'裝配圖.dwg (128KB)', click:'getBookinfo(8535410)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'插針罩注塑模模具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'czz.dwg',url:'http://m.facezit.com/p-8535390.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'側(cè)型芯.doc',url:'http://m.facezit.com/p-8535391.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'側(cè)型芯.dwg',url:'http://m.facezit.com/p-8535392.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'側(cè)滑塊.doc',url:'http://m.facezit.com/p-8535393.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'型腔板.doc',url:'http://m.facezit.com/p-8535394.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'型腔板.dwg',url:'http://m.facezit.com/p-8535395.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'大型芯.doc',url:'http://m.facezit.com/p-8535396.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'大型芯.dwg',url:'http://m.facezit.com/p-8535397.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'大型芯固定板.doc',url:'http://m.facezit.com/p-8535398.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'大型芯固定板.dwg',url:'http://m.facezit.com/p-8535399.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8535400.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序卡.doc',url:'http://m.facezit.com/p-8535401.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'插針罩注射模模具設(shè)計.doc',url:'http://m.facezit.com/p-8535402.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'斜導(dǎo)軌.doc',url:'http://m.facezit.com/p-8535403.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'斜導(dǎo)軌.dwg',url:'http://m.facezit.com/p-8535404.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'斜滑塊.dwg',url:'http://m.facezit.com/p-8535405.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'楔緊塊.doc',url:'http://m.facezit.com/p-8535406.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'楔緊塊.dwg',url:'http://m.facezit.com/p-8535407.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'耐磨板.doc',url:'http://m.facezit.com/p-8535408.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'耐磨板.dwg',url:'http://m.facezit.com/p-8535409.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8535410.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 = '7261820'; 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; }); });