'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'帶式輸送機(jī)總體設(shè)計(jì).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'帶式輸送機(jī)總體設(shè)計(jì) (包含21個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'三維圖 (包含5個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'jiepan.prt (383KB)', },{ id:'000010000100002', pId:'0000100001', name:'tongpi.prt (166KB)', },{ id:'000010000100003', pId:'0000100001', name:'zhengzhuang1.prt (129KB)', },{ id:'000010000100004', pId:'0000100001', name:'zhou.prt (336KB)', },{ id:'000010000100005', pId:'0000100001', name:'zhoucheng.prt (213KB)', },{ id:'0000100002', pId:'00001', name:'1.帶式輸送機(jī)總體設(shè)計(jì) .doc (2765KB)', click:'getBookinfo(8528515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'任務(wù)書.doc (26KB)', click:'getBookinfo(8528516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'傳動(dòng)滾筒組A1.dwg (143KB)', click:'getBookinfo(8528517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'右接盤A3.dwg (87KB)', click:'getBookinfo(8528518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'外文翻譯.docx (2128KB)', click:'getBookinfo(8528519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'帶式輸送機(jī)總體設(shè)計(jì)ppt.ppt (1233KB)', click:'getBookinfo(8528520)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100008', pId:'00001', name:'幅板A3.dwg (72KB)', click:'getBookinfo(8528521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'開題報(bào)告.doc (34KB)', click:'getBookinfo(8528522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'筋板A3.dwg (68KB)', click:'getBookinfo(8528523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'筒體A1.dwg (108KB)', click:'getBookinfo(8528524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'筒皮A3.dwg (71KB)', click:'getBookinfo(8528525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'裝配圖1A0.dwg (137KB)', click:'getBookinfo(8528526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'輪轂A4.dwg (80KB)', click:'getBookinfo(8528527)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'軸A1.dwg (107KB)', click:'getBookinfo(8528528)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'鍵A4.dwg (84KB)', click:'getBookinfo(8528529)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'帶式輸送機(jī)總體設(shè)計(jì).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'1.帶式輸送機(jī)總體設(shè)計(jì) .doc',url:'http://www.nydnatest.com/p-8528515.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'任務(wù)書.doc',url:'http://www.nydnatest.com/p-8528516.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'傳動(dòng)滾筒組A1.dwg',url:'http://www.nydnatest.com/p-8528517.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'右接盤A3.dwg',url:'http://www.nydnatest.com/p-8528518.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'外文翻譯.docx',url:'http://www.nydnatest.com/p-8528519.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'帶式輸送機(jī)總體設(shè)計(jì)ppt.ppt',url:'http://www.nydnatest.com/p-8528520.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'幅板A3.dwg',url:'http://www.nydnatest.com/p-8528521.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'開題報(bào)告.doc',url:'http://www.nydnatest.com/p-8528522.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'筋板A3.dwg',url:'http://www.nydnatest.com/p-8528523.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'筒體A1.dwg',url:'http://www.nydnatest.com/p-8528524.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'筒皮A3.dwg',url:'http://www.nydnatest.com/p-8528525.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'裝配圖1A0.dwg',url:'http://www.nydnatest.com/p-8528526.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'輪轂A4.dwg',url:'http://www.nydnatest.com/p-8528527.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'軸A1.dwg',url:'http://www.nydnatest.com/p-8528528.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'鍵A4.dwg',url:'http://www.nydnatest.com/p-8528529.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 = '7260897'; 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; }); });