'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'089鬧鐘后蓋塑料模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'089-鬧鐘后蓋塑料模具設(shè)計(jì) (包含24個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'三維 (包含2個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'3d.prt (6140KB)', },{ id:'000010000100002', pId:'0000100001', name:'3d.prt.creo (12857KB)', },{ id:'0000100002', pId:'00001', name:'中期報(bào)告.doc (222KB)', click:'getBookinfo(8390537)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動(dòng)模型腔A3.dwg (76KB)', click:'getBookinfo(8390538)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'動(dòng)模板A2.dwg (78KB)', click:'getBookinfo(8390539)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'卡片目錄Gck.doc (41KB)', click:'getBookinfo(8390540)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'塑件圖A4.dwg (78KB)', click:'getBookinfo(8390541)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'定位圈A4.dwg (48KB)', click:'getBookinfo(8390542)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'定模型腔A3.dwg (69KB)', click:'getBookinfo(8390543)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'定模座A2.dwg (55KB)', click:'getBookinfo(8390544)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'定模板A2.dwg (74KB)', click:'getBookinfo(8390545)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'定模鑲針A4.dwg (43KB)', click:'getBookinfo(8390546)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'開題報(bào)告.doc (114KB)', click:'getBookinfo(8390547)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'擠緊塊A4.dwg (47KB)', click:'getBookinfo(8390548)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'推桿固定板A3.dwg (57KB)', click:'getBookinfo(8390549)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'斜導(dǎo)柱A4.dwg (45KB)', click:'getBookinfo(8390550)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'澆口襯套A4.dwg (51KB)', click:'getBookinfo(8390551)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'滑塊座A4.dwg (58KB)', click:'getBookinfo(8390552)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'滑塊鑲針A4.dwg (43KB)', click:'getBookinfo(8390553)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'爆炸圖.jpg (70KB)', click:'getBookinfo(8390554)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'符號(hào)表.doc (15KB)', click:'getBookinfo(8390555)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'裝配圖A0.dwg (234KB)', click:'getBookinfo(8390556)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'鬧鐘后蓋塑料模具設(shè)計(jì)畢業(yè)(論文).doc (480KB)', click:'getBookinfo(8390557)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'089鬧鐘后蓋塑料模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'中期報(bào)告.doc',url:'http://www.nydnatest.com/p-8390537.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動(dòng)模型腔A3.dwg',url:'http://www.nydnatest.com/p-8390538.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'動(dòng)模板A2.dwg',url:'http://www.nydnatest.com/p-8390539.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'卡片目錄Gck.doc',url:'http://www.nydnatest.com/p-8390540.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'塑件圖A4.dwg',url:'http://www.nydnatest.com/p-8390541.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'定位圈A4.dwg',url:'http://www.nydnatest.com/p-8390542.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'定模型腔A3.dwg',url:'http://www.nydnatest.com/p-8390543.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'定模座A2.dwg',url:'http://www.nydnatest.com/p-8390544.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'定模板A2.dwg',url:'http://www.nydnatest.com/p-8390545.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'定模鑲針A4.dwg',url:'http://www.nydnatest.com/p-8390546.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'開題報(bào)告.doc',url:'http://www.nydnatest.com/p-8390547.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'擠緊塊A4.dwg',url:'http://www.nydnatest.com/p-8390548.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'推桿固定板A3.dwg',url:'http://www.nydnatest.com/p-8390549.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'斜導(dǎo)柱A4.dwg',url:'http://www.nydnatest.com/p-8390550.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'澆口襯套A4.dwg',url:'http://www.nydnatest.com/p-8390551.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'滑塊座A4.dwg',url:'http://www.nydnatest.com/p-8390552.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'滑塊鑲針A4.dwg',url:'http://www.nydnatest.com/p-8390553.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'爆炸圖.jpg',url:'http://www.nydnatest.com/p-8390554.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'符號(hào)表.doc',url:'http://www.nydnatest.com/p-8390555.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'裝配圖A0.dwg',url:'http://www.nydnatest.com/p-8390556.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'鬧鐘后蓋塑料模具設(shè)計(jì)畢業(yè)(論文).doc',url:'http://www.nydnatest.com/p-8390557.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 = '7245787'; 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; }); });