'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'襯墊注射模設計有cad圖中英文翻譯.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'襯墊注射模設計(有cad圖+中英文翻譯) (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'cad圖 (包含10個文件)', },{ id:'000010000100001', pId:'0000100001', name:'動模型芯A4.dwg (72KB)', click:'getBookinfo(8778367)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'動模支承板A1.dwg (111KB)', click:'getBookinfo(8778368)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'動模板A1.dwg (82KB)', click:'getBookinfo(8778369)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'型腔A3.dwg (101KB)', click:'getBookinfo(8778370)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'定模型芯A4.dwg (112KB)', click:'getBookinfo(8778371)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'定模座板A1.dwg (89KB)', click:'getBookinfo(8778372)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'定模板A1.dwg (122KB)', click:'getBookinfo(8778373)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'襯墊A4.dwg (71KB)', click:'getBookinfo(8778374)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'裝配圖A0.dwg (238KB)', click:'getBookinfo(8778375)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'鎖定根板A4.dwg (73KB)', click:'getBookinfo(8778376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'水平定向鉆機孔底鉆具的研究與應用--中英文翻譯.doc (327KB)', click:'getBookinfo(8778377)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'襯墊注射模設計(有cad圖+中英文翻譯).doc (843KB)', click:'getBookinfo(8778378)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'襯墊注射模設計有cad圖中英文翻譯.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'動模型芯A4.dwg',url:'http://facezit.com/p-8778367.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'動模支承板A1.dwg',url:'http://facezit.com/p-8778368.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'動模板A1.dwg',url:'http://facezit.com/p-8778369.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'型腔A3.dwg',url:'http://facezit.com/p-8778370.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'定模型芯A4.dwg',url:'http://facezit.com/p-8778371.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'定模座板A1.dwg',url:'http://facezit.com/p-8778372.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'定模板A1.dwg',url:'http://facezit.com/p-8778373.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'襯墊A4.dwg',url:'http://facezit.com/p-8778374.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'裝配圖A0.dwg',url:'http://facezit.com/p-8778375.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'鎖定根板A4.dwg',url:'http://facezit.com/p-8778376.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'水平定向鉆機孔底鉆具的研究與應用--中英文翻譯.doc',url:'http://facezit.com/p-8778377.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'襯墊注射模設計(有cad圖+中英文翻譯).doc',url:'http://facezit.com/p-8778378.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 = '3686176'; 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; }); });