'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【cm004】蓋冒墊片沖壓模具設計【2】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'1-產(chǎn)品圖[蓋帽墊片]-A4.dwg (40KB)', click:'getBookinfo(8727569)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10-打桿-A3.dwg (39KB)', click:'getBookinfo(8727570)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11-凸凹模-A4.dwg (41KB)', click:'getBookinfo(8727571)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12-拉伸凸模-A3.dwg (35KB)', click:'getBookinfo(8727572)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'13-凹模固定板-A3.dwg (37KB)', click:'getBookinfo(8727573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'14-墊板1-A3.dwg (39KB)', click:'getBookinfo(8727574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'15-墊板2-A3.dwg (35KB)', click:'getBookinfo(8727575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'2-落料拉伸模裝配圖-A1.dwg (77KB)', click:'getBookinfo(8727576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'3-沖孔模裝配圖-A1.dwg (73KB)', click:'getBookinfo(8727577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'4-上模座-A3.dwg (50KB)', click:'getBookinfo(8727578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'5-下模座-A3.dwg (53KB)', click:'getBookinfo(8727579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'6-打板-A3.dwg (36KB)', click:'getBookinfo(8727580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'7-斜料板-A3.dwg (38KB)', click:'getBookinfo(8727581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'8-落料凹模-A3.dwg (40KB)', click:'getBookinfo(8727582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'9-固定板-A3.dwg (47KB)', click:'getBookinfo(8727583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'【CAD圖紙-預覽】.pdf (1523KB)', click:'getBookinfo(8727584)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100017', pId:'00001', name:'總圖-15張.dwg (216KB)', click:'getBookinfo(8727585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'設計說明書-6465字.doc (522KB)', click:'getBookinfo(8727586)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【cm004】蓋冒墊片沖壓模具設計【2】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1-產(chǎn)品圖[蓋帽墊片]-A4.dwg',url:'http://m.facezit.com/p-8727569.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10-打桿-A3.dwg',url:'http://m.facezit.com/p-8727570.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11-凸凹模-A4.dwg',url:'http://m.facezit.com/p-8727571.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12-拉伸凸模-A3.dwg',url:'http://m.facezit.com/p-8727572.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'13-凹模固定板-A3.dwg',url:'http://m.facezit.com/p-8727573.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'14-墊板1-A3.dwg',url:'http://m.facezit.com/p-8727574.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'15-墊板2-A3.dwg',url:'http://m.facezit.com/p-8727575.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'2-落料拉伸模裝配圖-A1.dwg',url:'http://m.facezit.com/p-8727576.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'3-沖孔模裝配圖-A1.dwg',url:'http://m.facezit.com/p-8727577.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'4-上模座-A3.dwg',url:'http://m.facezit.com/p-8727578.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'5-下模座-A3.dwg',url:'http://m.facezit.com/p-8727579.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'6-打板-A3.dwg',url:'http://m.facezit.com/p-8727580.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'7-斜料板-A3.dwg',url:'http://m.facezit.com/p-8727581.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'8-落料凹模-A3.dwg',url:'http://m.facezit.com/p-8727582.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'9-固定板-A3.dwg',url:'http://m.facezit.com/p-8727583.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'【CAD圖紙-預覽】.pdf',url:'http://m.facezit.com/p-8727584.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'總圖-15張.dwg',url:'http://m.facezit.com/p-8727585.html', target:'_blank' },{ id:'00002', pId:'1', name:'設計說明書-6465字.doc',url:'http://m.facezit.com/p-8727586.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 = '3518441'; 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; }); });