'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車(chē)床后托架的加工工藝與鉆床夾具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CA6140車(chē)床后托架的加工工藝與鉆床夾具設(shè)計(jì)(論文+DWG圖紙) (包含12個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'CA6140車(chē)床后托架的加工工藝與鉆床夾具設(shè)計(jì) (包含11個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'夾具座.dwg111.dwg (119KB)', click:'getBookinfo(8643268)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'夾具座A1.dwg (120KB)', click:'getBookinfo(8643269)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'夾具總裝圖01標(biāo)準(zhǔn).dwg (147KB)', click:'getBookinfo(8643270)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'夾具蓋.dwg (108KB)', click:'getBookinfo(8643271)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'夾具蓋A3.dwg (80KB)', click:'getBookinfo(8643272)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工序卡.dwg (54KB)', click:'getBookinfo(8643273)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工藝卡.dwg (59KB)', click:'getBookinfo(8643274)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'毛坯圖.dwg (66KB)', click:'getBookinfo(8643275)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'裝配圖.dwg11.dwg (42KB)', click:'getBookinfo(8643276)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'設(shè)計(jì)說(shuō)明書(shū)2.doc (1155KB)', click:'getBookinfo(8643277)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'零件圖.dwg (90KB)', click:'getBookinfo(8643278)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車(chē)床后托架的加工工藝與鉆床夾具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'夾具座.dwg111.dwg',url:'http://m.facezit.com/p-8643268.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'夾具座A1.dwg',url:'http://m.facezit.com/p-8643269.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'夾具總裝圖01標(biāo)準(zhǔn).dwg',url:'http://m.facezit.com/p-8643270.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'夾具蓋.dwg',url:'http://m.facezit.com/p-8643271.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'夾具蓋A3.dwg',url:'http://m.facezit.com/p-8643272.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工序卡.dwg',url:'http://m.facezit.com/p-8643273.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工藝卡.dwg',url:'http://m.facezit.com/p-8643274.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8643275.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'裝配圖.dwg11.dwg',url:'http://m.facezit.com/p-8643276.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'設(shè)計(jì)說(shuō)明書(shū)2.doc',url:'http://m.facezit.com/p-8643277.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8643278.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 = '3421754'; 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)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });