'; } $("#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ì).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'視窗注塑模的設(shè)計(jì) (包含24個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'動(dòng)模座板.dwg (109KB)', click:'getBookinfo(8799440)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'動(dòng)模板.dwg (125KB)', click:'getBookinfo(8799441)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'右墊塊.dwg (90KB)', click:'getBookinfo(8799442)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'復(fù)位桿.dwg (66KB)', click:'getBookinfo(8799443)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'定位圈.dwg (86KB)', click:'getBookinfo(8799444)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'定模座板.dwg (117KB)', click:'getBookinfo(8799445)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'定模板.dwg (122KB)', click:'getBookinfo(8799446)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'導(dǎo)套.dwg (67KB)', click:'getBookinfo(8799447)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'導(dǎo)柱.dwg (68KB)', click:'getBookinfo(8799448)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'左墊塊.dwg (89KB)', click:'getBookinfo(8799449)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'抽芯.dwg (56KB)', click:'getBookinfo(8799450)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'拉料桿.dwg (66KB)', click:'getBookinfo(8799451)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'推桿.dwg (56KB)', click:'getBookinfo(8799452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'推桿固定板.dwg (92KB)', click:'getBookinfo(8799453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'推板.dwg (86KB)', click:'getBookinfo(8799454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'摘要.doc (22KB)', click:'getBookinfo(8799455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'斜銷.dwg (73KB)', click:'getBookinfo(8799456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'楔緊塊.dwg (84KB)', click:'getBookinfo(8799457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'畢業(yè)設(shè)計(jì)說(shuō)明書.doc (1095KB)', click:'getBookinfo(8799458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'澆口套.dwg (75KB)', click:'getBookinfo(8799459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'滑塊.dwg (84KB)', click:'getBookinfo(8799460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'目錄.doc (32KB)', click:'getBookinfo(8799461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'翻譯英.doc (55KB)', click:'getBookinfo(8799462)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'裝配圖.dwg (367KB)', click:'getBookinfo(8799463)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'視窗注塑模的設(shè)計(jì).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'動(dòng)模座板.dwg',url:'http://www.nydnatest.com/p-8799440.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'動(dòng)模板.dwg',url:'http://www.nydnatest.com/p-8799441.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'右墊塊.dwg',url:'http://www.nydnatest.com/p-8799442.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'復(fù)位桿.dwg',url:'http://www.nydnatest.com/p-8799443.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'定位圈.dwg',url:'http://www.nydnatest.com/p-8799444.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'定模座板.dwg',url:'http://www.nydnatest.com/p-8799445.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'定模板.dwg',url:'http://www.nydnatest.com/p-8799446.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'導(dǎo)套.dwg',url:'http://www.nydnatest.com/p-8799447.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'導(dǎo)柱.dwg',url:'http://www.nydnatest.com/p-8799448.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'左墊塊.dwg',url:'http://www.nydnatest.com/p-8799449.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'抽芯.dwg',url:'http://www.nydnatest.com/p-8799450.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'拉料桿.dwg',url:'http://www.nydnatest.com/p-8799451.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'推桿.dwg',url:'http://www.nydnatest.com/p-8799452.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'推桿固定板.dwg',url:'http://www.nydnatest.com/p-8799453.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'推板.dwg',url:'http://www.nydnatest.com/p-8799454.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'摘要.doc',url:'http://www.nydnatest.com/p-8799455.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'斜銷.dwg',url:'http://www.nydnatest.com/p-8799456.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'楔緊塊.dwg',url:'http://www.nydnatest.com/p-8799457.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'畢業(yè)設(shè)計(jì)說(shuō)明書.doc',url:'http://www.nydnatest.com/p-8799458.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'澆口套.dwg',url:'http://www.nydnatest.com/p-8799459.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'滑塊.dwg',url:'http://www.nydnatest.com/p-8799460.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'目錄.doc',url:'http://www.nydnatest.com/p-8799461.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'翻譯英.doc',url:'http://www.nydnatest.com/p-8799462.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'裝配圖.dwg',url:'http://www.nydnatest.com/p-8799463.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 = '3428137'; 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; }); });