'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140拔叉84009工藝及銑18槽夾具課程設計說明書含工藝卡、夾具零件圖及裝配圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'夾具 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'CA6140拔叉84009工藝及銑槽18H11夾具設計說明書.doc (127KB)', click:'getBookinfo(8416196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'CA6140車床拔叉84009.dwg (91KB)', click:'getBookinfo(8416197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具裝配圖.dwg (84KB)', click:'getBookinfo(8416198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序1.dwg (40KB)', click:'getBookinfo(8416199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序10.dwg (37KB)', click:'getBookinfo(8416200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序11.dwg (41KB)', click:'getBookinfo(8416201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序2.dwg (41KB)', click:'getBookinfo(8416202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序3.dwg (41KB)', click:'getBookinfo(8416203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序4.dwg (45KB)', click:'getBookinfo(8416204)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序5.dwg (45KB)', click:'getBookinfo(8416205)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序6.dwg (44KB)', click:'getBookinfo(8416206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序7.dwg (43KB)', click:'getBookinfo(8416207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序8.dwg (44KB)', click:'getBookinfo(8416208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序9.dwg (46KB)', click:'getBookinfo(8416209)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工序卡12張.dwg (128KB)', click:'getBookinfo(8416210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工藝過程卡片.cxp (127KB)', },{ id:'0000100017', pId:'00001', name:'工藝過程卡片.pdf (206KB)', click:'getBookinfo(8416211)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100018', pId:'00001', name:'支撐板.dwg (56KB)', click:'getBookinfo(8416212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'毛坯圖.dwg (61KB)', click:'getBookinfo(8416213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'花鍵軸.dwg (55KB)', click:'getBookinfo(8416214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'銑床夾具.dwg (75KB)', click:'getBookinfo(8416215)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140拔叉84009工藝及銑18槽夾具課程設計說明書含工藝卡、夾具零件圖及裝配圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'CA6140拔叉84009工藝及銑槽18H11夾具設計說明書.doc',url:'http://m.facezit.com/p-8416196.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'CA6140車床拔叉84009.dwg',url:'http://m.facezit.com/p-8416197.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8416198.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序1.dwg',url:'http://m.facezit.com/p-8416199.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序10.dwg',url:'http://m.facezit.com/p-8416200.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序11.dwg',url:'http://m.facezit.com/p-8416201.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序2.dwg',url:'http://m.facezit.com/p-8416202.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序3.dwg',url:'http://m.facezit.com/p-8416203.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序4.dwg',url:'http://m.facezit.com/p-8416204.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序5.dwg',url:'http://m.facezit.com/p-8416205.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序6.dwg',url:'http://m.facezit.com/p-8416206.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序7.dwg',url:'http://m.facezit.com/p-8416207.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序8.dwg',url:'http://m.facezit.com/p-8416208.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序9.dwg',url:'http://m.facezit.com/p-8416209.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工序卡12張.dwg',url:'http://m.facezit.com/p-8416210.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工藝過程卡片.pdf',url:'http://m.facezit.com/p-8416211.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'支撐板.dwg',url:'http://m.facezit.com/p-8416212.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8416213.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'花鍵軸.dwg',url:'http://m.facezit.com/p-8416214.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'銑床夾具.dwg',url:'http://m.facezit.com/p-8416215.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 = '7248033'; 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ù)據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });