'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'傳動軸的加工工藝及夾具設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'傳動軸的加工工藝及夾具設計 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'工序圖 (包含8個文件)', },{ id:'000010000100001', pId:'0000100001', name:'工序03.dwg (34KB)', click:'getBookinfo(8791818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'工序05.dwg (33KB)', click:'getBookinfo(8791819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工序10.dwg (38KB)', click:'getBookinfo(8791820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'工序15.dwg (49KB)', click:'getBookinfo(8791821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'工序20.dwg (42KB)', click:'getBookinfo(8791822)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工序25.dwg (39KB)', click:'getBookinfo(8791823)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工序35.dwg (42KB)', click:'getBookinfo(8791824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'工序40.dwg (39KB)', click:'getBookinfo(8791825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'90度外圓車刀.dwg (43KB)', click:'getBookinfo(8791826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'單頭雙極限卡規(guī).dwg (37KB)', click:'getBookinfo(8791827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具.dwg (80KB)', click:'getBookinfo(8791828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'夾具零件圖.dwg (75KB)', click:'getBookinfo(8791829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'尺寸鏈圖.dwg (140KB)', click:'getBookinfo(8791830)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序流程圖.dwg (91KB)', click:'getBookinfo(8791831)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'機械加工工藝規(guī)程.doc (1176KB)', click:'getBookinfo(8791832)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'說明書.doc (943KB)', click:'getBookinfo(8791833)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'軸工作量規(guī)公差帶圖.dwg (30KB)', click:'getBookinfo(8791834)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'零件--毛坯合圖.dwg (85KB)', click:'getBookinfo(8791835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'零件圖.dwg (73KB)', click:'getBookinfo(8791836)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'傳動軸的加工工藝及夾具設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'工序03.dwg',url:'http://m.facezit.com/p-8791818.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'工序05.dwg',url:'http://m.facezit.com/p-8791819.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工序10.dwg',url:'http://m.facezit.com/p-8791820.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'工序15.dwg',url:'http://m.facezit.com/p-8791821.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'工序20.dwg',url:'http://m.facezit.com/p-8791822.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工序25.dwg',url:'http://m.facezit.com/p-8791823.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工序35.dwg',url:'http://m.facezit.com/p-8791824.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'工序40.dwg',url:'http://m.facezit.com/p-8791825.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'90度外圓車刀.dwg',url:'http://m.facezit.com/p-8791826.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'單頭雙極限卡規(guī).dwg',url:'http://m.facezit.com/p-8791827.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具.dwg',url:'http://m.facezit.com/p-8791828.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'夾具零件圖.dwg',url:'http://m.facezit.com/p-8791829.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'尺寸鏈圖.dwg',url:'http://m.facezit.com/p-8791830.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序流程圖.dwg',url:'http://m.facezit.com/p-8791831.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'機械加工工藝規(guī)程.doc',url:'http://m.facezit.com/p-8791832.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8791833.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'軸工作量規(guī)公差帶圖.dwg',url:'http://m.facezit.com/p-8791834.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'零件--毛坯合圖.dwg',url:'http://m.facezit.com/p-8791835.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8791836.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 = '3424647'; 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; }); });