'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'機(jī)床高速電主軸的結(jié)構(gòu)設(shè)計(jì)【帶ug三維】【10張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'UG三維圖 (包含19個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'45BER10S.prt (235KB)', },{ id:'0000100002', pId:'00001', name:'assemble.prt (3604KB)', },{ id:'0000100003', pId:'00001', name:'bearing_cover_40.prt (804KB)', },{ id:'0000100004', pId:'00001', name:'bearing_covet_45.prt (804KB)', },{ id:'0000100005', pId:'00001', name:'bolt_13.prt (407KB)', },{ id:'0000100006', pId:'00001', name:'CATCHER.prt (2420KB)', },{ id:'0000100007', pId:'00001', name:'cir40.prt (121KB)', },{ id:'0000100008', pId:'00001', name:'cir41.prt (121KB)', },{ id:'0000100009', pId:'00001', name:'DIANPIAN.prt (122KB)', },{ id:'0000100010', pId:'00001', name:'motor_cooling_sheath.prt (370KB)', },{ id:'0000100011', pId:'00001', name:'motor_rotor.prt (303KB)', },{ id:'0000100012', pId:'00001', name:'motor_stator.prt (275KB)', },{ id:'0000100013', pId:'00001', name:'N1008MRKR.prt (213KB)', },{ id:'0000100014', pId:'00001', name:'net1.prt (456KB)', },{ id:'0000100015', pId:'00001', name:'net2.prt (367KB)', },{ id:'0000100016', pId:'00001', name:'nozzle.prt (1892KB)', },{ id:'0000100017', pId:'00001', name:'shell.prt (3452KB)', },{ id:'0000100018', pId:'00001', name:'shell_cover.prt (2492KB)', },{ id:'0000100019', pId:'00001', name:'spindle.prt (2576KB)', },{ id:'00002', pId:'1', name:'冷卻套.dwg (22KB)', click:'getBookinfo(8123030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'前端蓋.dwg (51KB)', click:'getBookinfo(8123031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'后端蓋.dwg (46KB)', click:'getBookinfo(8123032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'后軸承擋灰板.dwg (21KB)', click:'getBookinfo(8123033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文翻譯--制造工程與技術(shù).doc (64KB)', click:'getBookinfo(8123034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'定子.dwg (17KB)', click:'getBookinfo(8123035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'摘要.doc (15KB)', click:'getBookinfo(8123036)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'機(jī)殼.dwg (721KB)', click:'getBookinfo(8123037)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'機(jī)床高速電主軸總裝配圖.dwg (1039KB)', click:'getBookinfo(8123038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'機(jī)床高速電主軸的結(jié)構(gòu)設(shè)計(jì)說(shuō)明書(shū).doc (1339KB)', click:'getBookinfo(8123039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'油氣潤(rùn)滑噴嘴.dwg (225KB)', click:'getBookinfo(8123040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'電主軸圖紙.dwg (773KB)', click:'getBookinfo(8123041)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'目錄.doc (17KB)', click:'getBookinfo(8123042)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'轉(zhuǎn)子.dwg (18KB)', click:'getBookinfo(8123043)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'機(jī)床高速電主軸的結(jié)構(gòu)設(shè)計(jì)【帶ug三維】【10張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'冷卻套.dwg',url:'http://facezit.com/p-8123030.html', target:'_blank' },{ id:'00003', pId:'1', name:'前端蓋.dwg',url:'http://facezit.com/p-8123031.html', target:'_blank' },{ id:'00004', pId:'1', name:'后端蓋.dwg',url:'http://facezit.com/p-8123032.html', target:'_blank' },{ id:'00005', pId:'1', name:'后軸承擋灰板.dwg',url:'http://facezit.com/p-8123033.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文翻譯--制造工程與技術(shù).doc',url:'http://facezit.com/p-8123034.html', target:'_blank' },{ id:'00007', pId:'1', name:'定子.dwg',url:'http://facezit.com/p-8123035.html', target:'_blank' },{ id:'00008', pId:'1', name:'摘要.doc',url:'http://facezit.com/p-8123036.html', target:'_blank' },{ id:'00009', pId:'1', name:'機(jī)殼.dwg',url:'http://facezit.com/p-8123037.html', target:'_blank' },{ id:'00010', pId:'1', name:'機(jī)床高速電主軸總裝配圖.dwg',url:'http://facezit.com/p-8123038.html', target:'_blank' },{ id:'00011', pId:'1', name:'機(jī)床高速電主軸的結(jié)構(gòu)設(shè)計(jì)說(shuō)明書(shū).doc',url:'http://facezit.com/p-8123039.html', target:'_blank' },{ id:'00012', pId:'1', name:'油氣潤(rùn)滑噴嘴.dwg',url:'http://facezit.com/p-8123040.html', target:'_blank' },{ id:'00013', pId:'1', name:'電主軸圖紙.dwg',url:'http://facezit.com/p-8123041.html', target:'_blank' },{ id:'00014', pId:'1', name:'目錄.doc',url:'http://facezit.com/p-8123042.html', target:'_blank' },{ id:'00015', pId:'1', name:'轉(zhuǎn)子.dwg',url:'http://facezit.com/p-8123043.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 = '3522954'; 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; }); });