'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831007]機械加工工藝規(guī)程及車直徑55孔夾具設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡片[14張] (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'工序010卡片.dwg (55KB)', click:'getBookinfo(8415344)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序020卡片.dwg (47KB)', click:'getBookinfo(8415345)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序030卡片.dwg (51KB)', click:'getBookinfo(8415346)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序040卡片.dwg (44KB)', click:'getBookinfo(8415347)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序050卡片.dwg (65KB)', click:'getBookinfo(8415348)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序060卡片.dwg (49KB)', click:'getBookinfo(8415349)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序070卡片.dwg (46KB)', click:'getBookinfo(8415350)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序080卡片.dwg (72KB)', click:'getBookinfo(8415351)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序090卡片.dwg (72KB)', click:'getBookinfo(8415352)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序100卡片.dwg (72KB)', click:'getBookinfo(8415353)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序110卡片.dwg (72KB)', click:'getBookinfo(8415354)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序120卡片.dwg (78KB)', click:'getBookinfo(8415355)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序130卡片.dwg (78KB)', click:'getBookinfo(8415356)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序140卡片.dwg (78KB)', click:'getBookinfo(8415357)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'V型塊具.dwg (312KB)', click:'getBookinfo(8415358)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'頭把手.dwg (302KB)', click:'getBookinfo(8415359)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'夾具體-夾具.dwg (315KB)', click:'getBookinfo(8415360)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'夾具裝配圖.dwg (345KB)', click:'getBookinfo(8415361)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'定位銷.dwg (299KB)', click:'getBookinfo(8415362)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工藝綜合卡.dwg (347KB)', click:'getBookinfo(8415363)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工藝過程卡.dwg (50KB)', click:'getBookinfo(8415364)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'撥叉零件圖.dwg (288KB)', click:'getBookinfo(8415365)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'毛坯圖.dwg (289KB)', click:'getBookinfo(8415366)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'設計說明書.doc (264KB)', click:'getBookinfo(8415367)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831007]機械加工工藝規(guī)程及車直徑55孔夾具設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序010卡片.dwg',url:'http://m.facezit.com/p-8415344.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序020卡片.dwg',url:'http://m.facezit.com/p-8415345.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序030卡片.dwg',url:'http://m.facezit.com/p-8415346.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序040卡片.dwg',url:'http://m.facezit.com/p-8415347.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序050卡片.dwg',url:'http://m.facezit.com/p-8415348.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序060卡片.dwg',url:'http://m.facezit.com/p-8415349.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序070卡片.dwg',url:'http://m.facezit.com/p-8415350.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序080卡片.dwg',url:'http://m.facezit.com/p-8415351.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序090卡片.dwg',url:'http://m.facezit.com/p-8415352.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序100卡片.dwg',url:'http://m.facezit.com/p-8415353.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序110卡片.dwg',url:'http://m.facezit.com/p-8415354.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序120卡片.dwg',url:'http://m.facezit.com/p-8415355.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序130卡片.dwg',url:'http://m.facezit.com/p-8415356.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序140卡片.dwg',url:'http://m.facezit.com/p-8415357.html', target:'_blank' },{ id:'00002', pId:'1', name:'V型塊具.dwg',url:'http://m.facezit.com/p-8415358.html', target:'_blank' },{ id:'00003', pId:'1', name:'頭把手.dwg',url:'http://m.facezit.com/p-8415359.html', target:'_blank' },{ id:'00004', pId:'1', name:'夾具體-夾具.dwg',url:'http://m.facezit.com/p-8415360.html', target:'_blank' },{ id:'00005', pId:'1', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8415361.html', target:'_blank' },{ id:'00006', pId:'1', name:'定位銷.dwg',url:'http://m.facezit.com/p-8415362.html', target:'_blank' },{ id:'00007', pId:'1', name:'工藝綜合卡.dwg',url:'http://m.facezit.com/p-8415363.html', target:'_blank' },{ id:'00008', pId:'1', name:'工藝過程卡.dwg',url:'http://m.facezit.com/p-8415364.html', target:'_blank' },{ id:'00009', pId:'1', name:'撥叉零件圖.dwg',url:'http://m.facezit.com/p-8415365.html', target:'_blank' },{ id:'00010', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8415366.html', target:'_blank' },{ id:'00011', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8415367.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 = '7247926'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });