'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'130i型電刷級進模設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'130I型電刷級進模設(shè)計 !! (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'0-0-0-1.dwg (1049KB)', click:'getBookinfo(8391414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10凸模墊板.dwg (523KB)', click:'getBookinfo(8391415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'20切邊凸模.dwg (78KB)', click:'getBookinfo(8391416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'21凹模板.dwg (94KB)', click:'getBookinfo(8391417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'lingjiantu_3wei-2.dwg (41KB)', click:'getBookinfo(8391418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'lingjiantu_3wei.dwg (46KB)', click:'getBookinfo(8391419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'沖裁及折彎工件的設(shè)計制造.doc (1164KB)', click:'getBookinfo(8391420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'引線順.dwg (25KB)', click:'getBookinfo(8391421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'斜排排樣圖.111.dwg (88KB)', click:'getBookinfo(8391422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'模具裝配圖2.dwg (163KB)', click:'getBookinfo(8391423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'模具裝配圖3.dwg (282KB)', click:'getBookinfo(8391424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'模具裝配圖_recover.dwg (152KB)', click:'getBookinfo(8391425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'直排排樣圖.dwg (199KB)', click:'getBookinfo(8391426)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'零件展開圖.dwg (65KB)', click:'getBookinfo(8391427)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'130i型電刷級進模設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'0-0-0-1.dwg',url:'http://m.facezit.com/p-8391414.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10凸模墊板.dwg',url:'http://m.facezit.com/p-8391415.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'20切邊凸模.dwg',url:'http://m.facezit.com/p-8391416.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'21凹模板.dwg',url:'http://m.facezit.com/p-8391417.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'lingjiantu_3wei-2.dwg',url:'http://m.facezit.com/p-8391418.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'lingjiantu_3wei.dwg',url:'http://m.facezit.com/p-8391419.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'沖裁及折彎工件的設(shè)計制造.doc',url:'http://m.facezit.com/p-8391420.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'引線順.dwg',url:'http://m.facezit.com/p-8391421.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'斜排排樣圖.111.dwg',url:'http://m.facezit.com/p-8391422.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'模具裝配圖2.dwg',url:'http://m.facezit.com/p-8391423.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'模具裝配圖3.dwg',url:'http://m.facezit.com/p-8391424.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'模具裝配圖_recover.dwg',url:'http://m.facezit.com/p-8391425.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'直排排樣圖.dwg',url:'http://m.facezit.com/p-8391426.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'零件展開圖.dwg',url:'http://m.facezit.com/p-8391427.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 = '7245886'; 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; }); });