'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'機械手wo換刀機械手.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'機械手(wo)-換刀機械手 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'內(nèi)容截圖 (包含0個文件)', },{ id:'0000100002', pId:'00001', name:'初稿 (包含5個文件)', },{ id:'000010000200001', pId:'0000100002', name:'此圖不給老師 (包含1個文件)', },{ id:'00001000020000100001', pId:'000010000200001', name:'機械手裝配圖.dwg (165KB)', click:'getBookinfo(8822061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'方案.dwg (191KB)', click:'getBookinfo(8822062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'論文.doc (190KB)', click:'getBookinfo(8822063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'驅(qū)動裝置外形圖及裝配圖.dwg (342KB)', click:'getBookinfo(8822064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'臥式加工中心換刀機械手的設(shè)計 (包含8個文件)', },{ id:'000010000300001', pId:'0000100003', name:'acad.lsp.bak.lnk (0KB)', },{ id:'000010000300002', pId:'0000100003', name:'回轉(zhuǎn)液壓缸.dwg (98KB)', click:'getBookinfo(8822065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'機械手.dwg (237KB)', click:'getBookinfo(8822066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'目錄.doc (40KB)', click:'getBookinfo(8822067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300005', pId:'0000100003', name:'論文(最終).doc (321KB)', click:'getBookinfo(8822068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300006', pId:'0000100003', name:'驅(qū)動外形.dwg (77KB)', click:'getBookinfo(8822069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300007', pId:'0000100003', name:'驅(qū)動裝置.bak (774KB)', },{ id:'000010000300008', pId:'0000100003', name:'驅(qū)動裝置.dwg (496KB)', click:'getBookinfo(8822070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'CAD字體.rar (2707KB)', click:'getBookinfo(8822071)', icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100005', pId:'00001', name:'換刀機械手.dwg (115KB)', click:'getBookinfo(8822072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'方案.dwg (192KB)', click:'getBookinfo(8822073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'氣壓圖形符號.doc (466KB)', click:'getBookinfo(8822074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'零件圖.dwg (244KB)', click:'getBookinfo(8822075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'驅(qū)動裝置.bak (158KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'機械手wo換刀機械手.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000020000100001', pId:'000010000200001', name:'機械手裝配圖.dwg',url:'http://m.facezit.com/p-8822061.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'方案.dwg',url:'http://m.facezit.com/p-8822062.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'論文.doc',url:'http://m.facezit.com/p-8822063.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'驅(qū)動裝置外形圖及裝配圖.dwg',url:'http://m.facezit.com/p-8822064.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'回轉(zhuǎn)液壓缸.dwg',url:'http://m.facezit.com/p-8822065.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'機械手.dwg',url:'http://m.facezit.com/p-8822066.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'目錄.doc',url:'http://m.facezit.com/p-8822067.html', target:'_blank' },{ id:'000010000300005', pId:'0000100003', name:'論文(最終).doc',url:'http://m.facezit.com/p-8822068.html', target:'_blank' },{ id:'000010000300006', pId:'0000100003', name:'驅(qū)動外形.dwg',url:'http://m.facezit.com/p-8822069.html', target:'_blank' },{ id:'000010000300008', pId:'0000100003', name:'驅(qū)動裝置.dwg',url:'http://m.facezit.com/p-8822070.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'CAD字體.rar',url:'http://m.facezit.com/p-8822071.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'換刀機械手.dwg',url:'http://m.facezit.com/p-8822072.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'方案.dwg',url:'http://m.facezit.com/p-8822073.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'氣壓圖形符號.doc',url:'http://m.facezit.com/p-8822074.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8822075.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 = '3519822'; 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; }); });