'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'開合螺母座的加工工藝及鉆2amp;amp215;ф12孔的鉆床夾具設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'249 開合螺母座的加工工藝及鉆2×Ф12孔的鉆床夾具設(shè)計【說明書+CAD】 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'任務(wù)書.doc (23KB)', click:'getBookinfo(8530996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'削邊銷-A2.dwg (83KB)', click:'getBookinfo(8530997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'右定位塊-A3.dwg (86KB)', click:'getBookinfo(8530998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡(16張).doc (719KB)', click:'getBookinfo(8530999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工藝過程卡.doc (71KB)', click:'getBookinfo(8531000)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'左定位塊-A3.dwg (86KB)', click:'getBookinfo(8531001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'底座-A2.dwg (85KB)', click:'getBookinfo(8531002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'開合螺母座零件圖-A3.dwg (101KB)', click:'getBookinfo(8531003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'擋板-A4.dwg (84KB)', click:'getBookinfo(8531004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'擋板2-A4.dwg (81KB)', click:'getBookinfo(8531005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'毛坯圖-A3.dwg (87KB)', click:'getBookinfo(8531006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'滑塊-A4.dwg (85KB)', click:'getBookinfo(8531007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'立柱-A2.dwg (98KB)', click:'getBookinfo(8531008)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'裝配圖-A0.dwg (140KB)', click:'getBookinfo(8531009)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'說明書.doc (503KB)', click:'getBookinfo(8531010)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'鉆模板-A2.dwg (90KB)', click:'getBookinfo(8531011)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'開合螺母座的加工工藝及鉆2amp;amp215;ф12孔的鉆床夾具設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8530996.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'削邊銷-A2.dwg',url:'http://m.facezit.com/p-8530997.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'右定位塊-A3.dwg',url:'http://m.facezit.com/p-8530998.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡(16張).doc',url:'http://m.facezit.com/p-8530999.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8531000.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'左定位塊-A3.dwg',url:'http://m.facezit.com/p-8531001.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'底座-A2.dwg',url:'http://m.facezit.com/p-8531002.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'開合螺母座零件圖-A3.dwg',url:'http://m.facezit.com/p-8531003.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'擋板-A4.dwg',url:'http://m.facezit.com/p-8531004.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'擋板2-A4.dwg',url:'http://m.facezit.com/p-8531005.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'毛坯圖-A3.dwg',url:'http://m.facezit.com/p-8531006.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'滑塊-A4.dwg',url:'http://m.facezit.com/p-8531007.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'立柱-A2.dwg',url:'http://m.facezit.com/p-8531008.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'裝配圖-A0.dwg',url:'http://m.facezit.com/p-8531009.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8531010.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'鉆模板-A2.dwg',url:'http://m.facezit.com/p-8531011.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("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7261229'; 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("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });