'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】菱形蓋類零件機械加工工藝規(guī)程及專用夾具設(shè)計全套cad圖設(shè)計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'設(shè)計菱形蓋類零件機械加工工藝規(guī)程 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡片 (包含7個文件)', },{ id:'000010000100001', pId:'0000100001', name:'01工序.doc (47KB)', click:'getBookinfo(8484000)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'02.doc (49KB)', click:'getBookinfo(8484001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'03.doc (49KB)', click:'getBookinfo(8484002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'04.doc (49KB)', click:'getBookinfo(8484003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'05.doc (45KB)', click:'getBookinfo(8484004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'06.doc (45KB)', click:'getBookinfo(8484005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'07.doc (660KB)', click:'getBookinfo(8484006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Drawing1.dwg (86KB)', click:'getBookinfo(8484007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'任務(wù)書.doc (41KB)', click:'getBookinfo(8484008)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具裝配圖.png (22KB)', click:'getBookinfo(8484009)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'毛坯圖.dwg (68KB)', click:'getBookinfo(8484010)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'菱形蓋類零件圖.png (15KB)', click:'getBookinfo(8484011)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'菱形蓋類零件毛坯圖.png (21KB)', click:'getBookinfo(8484012)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'裝配圖.dwg (67KB)', click:'getBookinfo(8484013)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'設(shè)計說明書.png (242KB)', click:'getBookinfo(8484014)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'說明書.doc (212KB)', click:'getBookinfo(8484015)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'零件圖.dwg (71KB)', click:'getBookinfo(8484016)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】菱形蓋類零件機械加工工藝規(guī)程及專用夾具設(shè)計全套cad圖設(shè)計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'01工序.doc',url:'http://m.facezit.com/p-8484000.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'02.doc',url:'http://m.facezit.com/p-8484001.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'03.doc',url:'http://m.facezit.com/p-8484002.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'04.doc',url:'http://m.facezit.com/p-8484003.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'05.doc',url:'http://m.facezit.com/p-8484004.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'06.doc',url:'http://m.facezit.com/p-8484005.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'07.doc',url:'http://m.facezit.com/p-8484006.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8484007.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8484008.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具裝配圖.png',url:'http://m.facezit.com/p-8484009.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8484010.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'菱形蓋類零件圖.png',url:'http://m.facezit.com/p-8484011.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'菱形蓋類零件毛坯圖.png',url:'http://m.facezit.com/p-8484012.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8484013.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'設(shè)計說明書.png',url:'http://m.facezit.com/p-8484014.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8484015.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8484016.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 = '7255570'; 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; }); });