'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831002]機械加工工藝規(guī)程及叉口銑斷夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡片 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡片總結(jié)1.doc (80KB)', click:'getBookinfo(8417567)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡片總結(jié)10.doc (77KB)', click:'getBookinfo(8417568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡片總結(jié)11.doc (75KB)', click:'getBookinfo(8417569)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡片總結(jié)12.doc (83KB)', click:'getBookinfo(8417570)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡片總結(jié)2.doc (73KB)', click:'getBookinfo(8417571)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡片總結(jié)3.doc (83KB)', click:'getBookinfo(8417572)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡片總結(jié)4.doc (78KB)', click:'getBookinfo(8417573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡片總結(jié)5.doc (76KB)', click:'getBookinfo(8417574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡片總結(jié)6.doc (81KB)', click:'getBookinfo(8417575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡片總結(jié)7.doc (79KB)', click:'getBookinfo(8417576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序卡片總結(jié)8.doc (85KB)', click:'getBookinfo(8417577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序卡片總結(jié)9.doc (82KB)', click:'getBookinfo(8417578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A4-工序卡片[15頁].dwg (390KB)', click:'getBookinfo(8417579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A4-工藝過程卡片[1頁].dwg (51KB)', click:'getBookinfo(8417580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'壓板.dwg (283KB)', click:'getBookinfo(8417581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'叉口銑斷裝配圖.dwg (387KB)', click:'getBookinfo(8417582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'封皮.doc (22KB)', click:'getBookinfo(8417583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'心軸.dwg (282KB)', click:'getBookinfo(8417584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'毛坯圖.dwg (61KB)', click:'getBookinfo(8417585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'裝備課設(shè)任務(wù)書.doc (31KB)', click:'getBookinfo(8417586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'裝備課設(shè)計劃書.doc (42KB)', click:'getBookinfo(8417587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'說明書.doc (733KB)', click:'getBookinfo(8417588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'過程卡片.dwg (277KB)', click:'getBookinfo(8417589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'零件圖.dwg (296KB)', click:'getBookinfo(8417590)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831002]機械加工工藝規(guī)程及叉口銑斷夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序卡片總結(jié)1.doc',url:'http://m.facezit.com/p-8417567.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡片總結(jié)10.doc',url:'http://m.facezit.com/p-8417568.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡片總結(jié)11.doc',url:'http://m.facezit.com/p-8417569.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡片總結(jié)12.doc',url:'http://m.facezit.com/p-8417570.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡片總結(jié)2.doc',url:'http://m.facezit.com/p-8417571.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡片總結(jié)3.doc',url:'http://m.facezit.com/p-8417572.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡片總結(jié)4.doc',url:'http://m.facezit.com/p-8417573.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡片總結(jié)5.doc',url:'http://m.facezit.com/p-8417574.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡片總結(jié)6.doc',url:'http://m.facezit.com/p-8417575.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡片總結(jié)7.doc',url:'http://m.facezit.com/p-8417576.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序卡片總結(jié)8.doc',url:'http://m.facezit.com/p-8417577.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序卡片總結(jié)9.doc',url:'http://m.facezit.com/p-8417578.html', target:'_blank' },{ id:'00002', pId:'1', name:'A4-工序卡片[15頁].dwg',url:'http://m.facezit.com/p-8417579.html', target:'_blank' },{ id:'00003', pId:'1', name:'A4-工藝過程卡片[1頁].dwg',url:'http://m.facezit.com/p-8417580.html', target:'_blank' },{ id:'00004', pId:'1', name:'壓板.dwg',url:'http://m.facezit.com/p-8417581.html', target:'_blank' },{ id:'00005', pId:'1', name:'叉口銑斷裝配圖.dwg',url:'http://m.facezit.com/p-8417582.html', target:'_blank' },{ id:'00006', pId:'1', name:'封皮.doc',url:'http://m.facezit.com/p-8417583.html', target:'_blank' },{ id:'00007', pId:'1', name:'心軸.dwg',url:'http://m.facezit.com/p-8417584.html', target:'_blank' },{ id:'00008', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8417585.html', target:'_blank' },{ id:'00009', pId:'1', name:'裝備課設(shè)任務(wù)書.doc',url:'http://m.facezit.com/p-8417586.html', target:'_blank' },{ id:'00010', pId:'1', name:'裝備課設(shè)計劃書.doc',url:'http://m.facezit.com/p-8417587.html', target:'_blank' },{ id:'00011', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8417588.html', target:'_blank' },{ id:'00012', pId:'1', name:'過程卡片.dwg',url:'http://m.facezit.com/p-8417589.html', target:'_blank' },{ id:'00013', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8417590.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 = '7248172'; 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; }); });