'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'法蘭盤[831004]3銑φ100面夾具.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'法蘭盤[831004] 3-銑φ100面夾具 (包含33個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡[13張] (包含27個文件)', },{ id:'000010000100001', pId:'0000100001', name:'acad.err (0KB)', },{ id:'000010000100002', pId:'0000100001', name:'工序卡1.dwg (55KB)', click:'getBookinfo(8552296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工序卡1.gif (17KB)', click:'getBookinfo(8552297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'工序卡10.dwg (59KB)', click:'getBookinfo(8552298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'工序卡10.gif (15KB)', click:'getBookinfo(8552299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工序卡11.dwg (60KB)', click:'getBookinfo(8552300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工序卡11.gif (16KB)', click:'getBookinfo(8552301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'工序卡12.dwg (59KB)', click:'getBookinfo(8552302)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'工序卡12.gif (15KB)', click:'getBookinfo(8552303)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'工序卡13.dwg (59KB)', click:'getBookinfo(8552304)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'工序卡13.gif (16KB)', click:'getBookinfo(8552305)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'工序卡2.dwg (57KB)', click:'getBookinfo(8552306)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'工序卡2.gif (17KB)', click:'getBookinfo(8552307)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'工序卡3.dwg (58KB)', click:'getBookinfo(8552308)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'工序卡3.gif (17KB)', click:'getBookinfo(8552309)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'工序卡4.dwg (62KB)', click:'getBookinfo(8552310)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'工序卡4.gif (17KB)', click:'getBookinfo(8552311)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'工序卡5.dwg (60KB)', click:'getBookinfo(8552312)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'工序卡5.gif (17KB)', click:'getBookinfo(8552313)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'工序卡6.dwg (63KB)', click:'getBookinfo(8552314)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'工序卡6.gif (17KB)', click:'getBookinfo(8552315)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100022', pId:'0000100001', name:'工序卡7.dwg (60KB)', click:'getBookinfo(8552316)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100023', pId:'0000100001', name:'工序卡7.gif (17KB)', click:'getBookinfo(8552317)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100024', pId:'0000100001', name:'工序卡8.dwg (65KB)', click:'getBookinfo(8552318)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100025', pId:'0000100001', name:'工序卡8.gif (17KB)', click:'getBookinfo(8552319)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100026', pId:'0000100001', name:'工序卡9.dwg (61KB)', click:'getBookinfo(8552320)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100027', pId:'0000100001', name:'工序卡9.gif (16KB)', click:'getBookinfo(8552321)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'專用夾具裝配圖.dwg (100KB)', click:'getBookinfo(8552322)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具體.dwg (66KB)', click:'getBookinfo(8552323)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'毛坯圖.dwg (41KB)', click:'getBookinfo(8552324)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'說明書.doc (1501KB)', click:'getBookinfo(8552325)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'零件圖.dwg (150KB)', click:'getBookinfo(8552326)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'法蘭盤[831004]3銑φ100面夾具.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'工序卡1.dwg',url:'http://m.facezit.com/p-8552296.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工序卡1.gif',url:'http://m.facezit.com/p-8552297.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'工序卡10.dwg',url:'http://m.facezit.com/p-8552298.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'工序卡10.gif',url:'http://m.facezit.com/p-8552299.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工序卡11.dwg',url:'http://m.facezit.com/p-8552300.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工序卡11.gif',url:'http://m.facezit.com/p-8552301.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'工序卡12.dwg',url:'http://m.facezit.com/p-8552302.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'工序卡12.gif',url:'http://m.facezit.com/p-8552303.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'工序卡13.dwg',url:'http://m.facezit.com/p-8552304.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'工序卡13.gif',url:'http://m.facezit.com/p-8552305.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'工序卡2.dwg',url:'http://m.facezit.com/p-8552306.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'工序卡2.gif',url:'http://m.facezit.com/p-8552307.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'工序卡3.dwg',url:'http://m.facezit.com/p-8552308.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'工序卡3.gif',url:'http://m.facezit.com/p-8552309.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'工序卡4.dwg',url:'http://m.facezit.com/p-8552310.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'工序卡4.gif',url:'http://m.facezit.com/p-8552311.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'工序卡5.dwg',url:'http://m.facezit.com/p-8552312.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'工序卡5.gif',url:'http://m.facezit.com/p-8552313.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'工序卡6.dwg',url:'http://m.facezit.com/p-8552314.html', target:'_blank' },{ id:'000010000100021', pId:'0000100001', name:'工序卡6.gif',url:'http://m.facezit.com/p-8552315.html', target:'_blank' },{ id:'000010000100022', pId:'0000100001', name:'工序卡7.dwg',url:'http://m.facezit.com/p-8552316.html', target:'_blank' },{ id:'000010000100023', pId:'0000100001', name:'工序卡7.gif',url:'http://m.facezit.com/p-8552317.html', target:'_blank' },{ id:'000010000100024', pId:'0000100001', name:'工序卡8.dwg',url:'http://m.facezit.com/p-8552318.html', target:'_blank' },{ id:'000010000100025', pId:'0000100001', name:'工序卡8.gif',url:'http://m.facezit.com/p-8552319.html', target:'_blank' },{ id:'000010000100026', pId:'0000100001', name:'工序卡9.dwg',url:'http://m.facezit.com/p-8552320.html', target:'_blank' },{ id:'000010000100027', pId:'0000100001', name:'工序卡9.gif',url:'http://m.facezit.com/p-8552321.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'專用夾具裝配圖.dwg',url:'http://m.facezit.com/p-8552322.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具體.dwg',url:'http://m.facezit.com/p-8552323.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8552324.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8552325.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8552326.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 = '7264568'; 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; }); });