'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'泵固定架沖壓模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'泵固定架沖壓模具設(shè)計(jì) (包含22個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'裝配圖 (包含3個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'二次彎曲006.dwg (191KB)', click:'getBookinfo(8237582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'沖孔模具006.dwg (190KB)', click:'getBookinfo(8237583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'翻板模5.dwg (175KB)', click:'getBookinfo(8237584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'零件圖 (包含12個(gè)文件)', },{ id:'000010000200001', pId:'0000100002', name:'001下模座A1.dwg (128KB)', click:'getBookinfo(8237585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'002下墊板A2.dwg (117KB)', click:'getBookinfo(8237586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'003導(dǎo)料板A4.dwg (100KB)', click:'getBookinfo(8237587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'004沖孔凹模A4.dwg (101KB)', click:'getBookinfo(8237588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'005上模座.dwg (118KB)', click:'getBookinfo(8237589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'006上固定板A3.dwg (118KB)', click:'getBookinfo(8237590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'007上墊板A3.dwg (106KB)', click:'getBookinfo(8237591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'008沖孔凸模A4.dwg (102KB)', click:'getBookinfo(8237592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200009', pId:'0000100002', name:'009倒角凸模A4.dwg (106KB)', click:'getBookinfo(8237593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200010', pId:'0000100002', name:'010下固定板A2.dwg (120KB)', click:'getBookinfo(8237594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200011', pId:'0000100002', name:'011凹模塊A4.dwg (104KB)', click:'getBookinfo(8237595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200012', pId:'0000100002', name:'012擋料銷A4.dwg (99KB)', click:'getBookinfo(8237596)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'零件開題 (包含3個(gè)文件)', },{ id:'000010000300001', pId:'0000100003', name:'2014泵固定架 模具任務(wù)書.doc (35KB)', click:'getBookinfo(8237597)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'開題報(bào)告.doc (51KB)', click:'getBookinfo(8237598)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'模具設(shè)計(jì)零件圖.doc (268KB)', click:'getBookinfo(8237599)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'說明書.docx (857KB)', click:'getBookinfo(8237600)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'泵固定架沖壓模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'二次彎曲006.dwg',url:'http://facezit.com/p-8237582.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'沖孔模具006.dwg',url:'http://facezit.com/p-8237583.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'翻板模5.dwg',url:'http://facezit.com/p-8237584.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'001下模座A1.dwg',url:'http://facezit.com/p-8237585.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'002下墊板A2.dwg',url:'http://facezit.com/p-8237586.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'003導(dǎo)料板A4.dwg',url:'http://facezit.com/p-8237587.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'004沖孔凹模A4.dwg',url:'http://facezit.com/p-8237588.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'005上模座.dwg',url:'http://facezit.com/p-8237589.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'006上固定板A3.dwg',url:'http://facezit.com/p-8237590.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'007上墊板A3.dwg',url:'http://facezit.com/p-8237591.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'008沖孔凸模A4.dwg',url:'http://facezit.com/p-8237592.html', target:'_blank' },{ id:'000010000200009', pId:'0000100002', name:'009倒角凸模A4.dwg',url:'http://facezit.com/p-8237593.html', target:'_blank' },{ id:'000010000200010', pId:'0000100002', name:'010下固定板A2.dwg',url:'http://facezit.com/p-8237594.html', target:'_blank' },{ id:'000010000200011', pId:'0000100002', name:'011凹模塊A4.dwg',url:'http://facezit.com/p-8237595.html', target:'_blank' },{ id:'000010000200012', pId:'0000100002', name:'012擋料銷A4.dwg',url:'http://facezit.com/p-8237596.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'2014泵固定架 模具任務(wù)書.doc',url:'http://facezit.com/p-8237597.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'開題報(bào)告.doc',url:'http://facezit.com/p-8237598.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'模具設(shè)計(jì)零件圖.doc',url:'http://facezit.com/p-8237599.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'說明書.docx',url:'http://facezit.com/p-8237600.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3770786'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });