'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'酒瓶?jī)?nèi)蓋塑料模具設(shè)計(jì)【任務(wù)書開題】【14張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務(wù)書.doc (38KB)', click:'getBookinfo(8577519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'內(nèi)容提要.doc (26KB)', click:'getBookinfo(8577520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'凸模.dwg (46KB)', click:'getBookinfo(8577521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'動(dòng)模板.dwg (49KB)', click:'getBookinfo(8577522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型腔排布.dwg (29KB)', click:'getBookinfo(8577523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'定模板.dwg (55KB)', click:'getBookinfo(8577524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'導(dǎo)套.dwg (45KB)', click:'getBookinfo(8577525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'導(dǎo)柱.dwg (43KB)', click:'getBookinfo(8577526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工件圖.dwg (40KB)', click:'getBookinfo(8577527)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'工藝卡3.dwg (42KB)', click:'getBookinfo(8577528)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'工藝卡4.dwg (42KB)', click:'getBookinfo(8577529)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'工藝卡5.dwg (35KB)', click:'getBookinfo(8577530)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'推管.dwg (41KB)', click:'getBookinfo(8577531)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'澆口套.dwg (42KB)', click:'getBookinfo(8577532)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'目錄.doc (27KB)', click:'getBookinfo(8577533)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'裝配圖.dwg (87KB)', click:'getBookinfo(8577534)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'酒瓶?jī)?nèi)蓋塑料模具設(shè)計(jì)開題報(bào)告.doc (26KB)', click:'getBookinfo(8577535)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'酒瓶?jī)?nèi)蓋塑料模具設(shè)計(jì)說(shuō)明書.doc (226KB)', click:'getBookinfo(8577536)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'限位拉桿.dwg (31KB)', click:'getBookinfo(8577537)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'酒瓶?jī)?nèi)蓋塑料模具設(shè)計(jì)【任務(wù)書開題】【14張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務(wù)書.doc',url:'http://www.nydnatest.com/p-8577519.html', target:'_blank' },{ id:'00002', pId:'1', name:'內(nèi)容提要.doc',url:'http://www.nydnatest.com/p-8577520.html', target:'_blank' },{ id:'00003', pId:'1', name:'凸模.dwg',url:'http://www.nydnatest.com/p-8577521.html', target:'_blank' },{ id:'00004', pId:'1', name:'動(dòng)模板.dwg',url:'http://www.nydnatest.com/p-8577522.html', target:'_blank' },{ id:'00005', pId:'1', name:'型腔排布.dwg',url:'http://www.nydnatest.com/p-8577523.html', target:'_blank' },{ id:'00006', pId:'1', name:'定模板.dwg',url:'http://www.nydnatest.com/p-8577524.html', target:'_blank' },{ id:'00007', pId:'1', name:'導(dǎo)套.dwg',url:'http://www.nydnatest.com/p-8577525.html', target:'_blank' },{ id:'00008', pId:'1', name:'導(dǎo)柱.dwg',url:'http://www.nydnatest.com/p-8577526.html', target:'_blank' },{ id:'00009', pId:'1', name:'工件圖.dwg',url:'http://www.nydnatest.com/p-8577527.html', target:'_blank' },{ id:'00010', pId:'1', name:'工藝卡3.dwg',url:'http://www.nydnatest.com/p-8577528.html', target:'_blank' },{ id:'00011', pId:'1', name:'工藝卡4.dwg',url:'http://www.nydnatest.com/p-8577529.html', target:'_blank' },{ id:'00012', pId:'1', name:'工藝卡5.dwg',url:'http://www.nydnatest.com/p-8577530.html', target:'_blank' },{ id:'00013', pId:'1', name:'推管.dwg',url:'http://www.nydnatest.com/p-8577531.html', target:'_blank' },{ id:'00014', pId:'1', name:'澆口套.dwg',url:'http://www.nydnatest.com/p-8577532.html', target:'_blank' },{ id:'00015', pId:'1', name:'目錄.doc',url:'http://www.nydnatest.com/p-8577533.html', target:'_blank' },{ id:'00016', pId:'1', name:'裝配圖.dwg',url:'http://www.nydnatest.com/p-8577534.html', target:'_blank' },{ id:'00017', pId:'1', name:'酒瓶?jī)?nèi)蓋塑料模具設(shè)計(jì)開題報(bào)告.doc',url:'http://www.nydnatest.com/p-8577535.html', target:'_blank' },{ id:'00018', pId:'1', name:'酒瓶?jī)?nèi)蓋塑料模具設(shè)計(jì)說(shuō)明書.doc',url:'http://www.nydnatest.com/p-8577536.html', target:'_blank' },{ id:'00019', pId:'1', name:'限位拉桿.dwg',url:'http://www.nydnatest.com/p-8577537.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 = '7268002'; 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; }); });