'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'減速箱體加工工藝及粗銑四側凸緣端面、銑底座兩側上平面夾具設計[含cad圖紙工序卡工藝過程卡說明書].zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡(一套22張) (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'1.DOC (71KB)', click:'getBookinfo(8502002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10.DOC (73KB)', click:'getBookinfo(8502003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11.DOC (74KB)', click:'getBookinfo(8502004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12.DOC (72KB)', click:'getBookinfo(8502005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'13.DOC (71KB)', click:'getBookinfo(8502006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'14.DOC (81KB)', click:'getBookinfo(8502007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'15.DOC (79KB)', click:'getBookinfo(8502008)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'16.DOC (77KB)', click:'getBookinfo(8502009)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'17.DOC (79KB)', click:'getBookinfo(8502010)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'18.DOC (72KB)', click:'getBookinfo(8502011)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'19.DOC (80KB)', click:'getBookinfo(8502012)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'2.DOC (71KB)', click:'getBookinfo(8502013)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'20.DOC (72KB)', click:'getBookinfo(8502014)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'21.DOC (79KB)', click:'getBookinfo(8502015)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'22.DOC (73KB)', click:'getBookinfo(8502016)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'3.DOC (71KB)', click:'getBookinfo(8502017)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'4.DOC (70KB)', click:'getBookinfo(8502018)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'5.DOC (72KB)', click:'getBookinfo(8502019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'6.DOC (73KB)', click:'getBookinfo(8502020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'7.DOC (74KB)', click:'getBookinfo(8502021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'8.DOC (77KB)', click:'getBookinfo(8502022)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'9.DOC (72KB)', click:'getBookinfo(8502023)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0-銑床夾具裝配圖.dwg (239KB)', click:'getBookinfo(8502024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1-減速箱體零件圖.dwg (84KB)', click:'getBookinfo(8502025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A1-毛胚圖.dwg (86KB)', click:'getBookinfo(8502026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-夾具體.dwg (154KB)', click:'getBookinfo(8502027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A4-擋銷.dwg (140KB)', click:'getBookinfo(8502028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'減速箱體工藝卡片.doc (73KB)', click:'getBookinfo(8502029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'減速箱體機械加工工序卡.doc (66KB)', click:'getBookinfo(8502030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'設計說明書.doc (829KB)', click:'getBookinfo(8502031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'非標零件工藝卡片.doc (36KB)', click:'getBookinfo(8502032)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'減速箱體加工工藝及粗銑四側凸緣端面、銑底座兩側上平面夾具設計[含cad圖紙工序卡工藝過程卡說明書].zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.DOC',url:'http://m.facezit.com/p-8502002.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10.DOC',url:'http://m.facezit.com/p-8502003.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11.DOC',url:'http://m.facezit.com/p-8502004.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12.DOC',url:'http://m.facezit.com/p-8502005.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'13.DOC',url:'http://m.facezit.com/p-8502006.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'14.DOC',url:'http://m.facezit.com/p-8502007.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'15.DOC',url:'http://m.facezit.com/p-8502008.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'16.DOC',url:'http://m.facezit.com/p-8502009.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'17.DOC',url:'http://m.facezit.com/p-8502010.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'18.DOC',url:'http://m.facezit.com/p-8502011.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'19.DOC',url:'http://m.facezit.com/p-8502012.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'2.DOC',url:'http://m.facezit.com/p-8502013.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'20.DOC',url:'http://m.facezit.com/p-8502014.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'21.DOC',url:'http://m.facezit.com/p-8502015.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'22.DOC',url:'http://m.facezit.com/p-8502016.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'3.DOC',url:'http://m.facezit.com/p-8502017.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'4.DOC',url:'http://m.facezit.com/p-8502018.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'5.DOC',url:'http://m.facezit.com/p-8502019.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'6.DOC',url:'http://m.facezit.com/p-8502020.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'7.DOC',url:'http://m.facezit.com/p-8502021.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'8.DOC',url:'http://m.facezit.com/p-8502022.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'9.DOC',url:'http://m.facezit.com/p-8502023.html', target:'_blank' },{ id:'00002', pId:'1', name:'A0-銑床夾具裝配圖.dwg',url:'http://m.facezit.com/p-8502024.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1-減速箱體零件圖.dwg',url:'http://m.facezit.com/p-8502025.html', target:'_blank' },{ id:'00004', pId:'1', name:'A1-毛胚圖.dwg',url:'http://m.facezit.com/p-8502026.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-夾具體.dwg',url:'http://m.facezit.com/p-8502027.html', target:'_blank' },{ id:'00006', pId:'1', name:'A4-擋銷.dwg',url:'http://m.facezit.com/p-8502028.html', target:'_blank' },{ id:'00007', pId:'1', name:'減速箱體工藝卡片.doc',url:'http://m.facezit.com/p-8502029.html', target:'_blank' },{ id:'00008', pId:'1', name:'減速箱體機械加工工序卡.doc',url:'http://m.facezit.com/p-8502030.html', target:'_blank' },{ id:'00009', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8502031.html', target:'_blank' },{ id:'00010', pId:'1', name:'非標零件工藝卡片.doc',url:'http://m.facezit.com/p-8502032.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 = '7257792'; 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; }); });