'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'crv轎車分動器設計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'326 CR-V轎車分動器設計【說明書+CAD】 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'中期檢查表.doc (112KB)', click:'getBookinfo(8149060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'任務書.doc (112KB)', click:'getBookinfo(8149061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'分時四驅(qū)分動器-A0.dwg (203KB)', click:'getBookinfo(8149062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'同步器花鍵轂-A2.dwg (90KB)', click:'getBookinfo(8149063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'同步器鎖環(huán)-A2.dwg (95KB)', click:'getBookinfo(8149064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'圖紙合集.dwg (284KB)', click:'getBookinfo(8149065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'開題報告.doc (234KB)', click:'getBookinfo(8149066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'接合齒圈-A2.dwg (86KB)', click:'getBookinfo(8149067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'接合齒圈2-A2.dwg (86KB)', click:'getBookinfo(8149068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'說明書.doc (1214KB)', click:'getBookinfo(8149069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'說明書封皮.doc (23KB)', click:'getBookinfo(8149070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'說明書封皮中文.doc (28KB)', click:'getBookinfo(8149071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'說明書摘要.doc (30KB)', click:'getBookinfo(8149072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'說明書目錄.doc (32KB)', click:'getBookinfo(8149073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'輸入軸-A2.dwg (97KB)', click:'getBookinfo(8149074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'輸出軸-A2.dwg (106KB)', click:'getBookinfo(8149075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'輸出軸低速擋齒輪-A2.dwg (88KB)', click:'getBookinfo(8149076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'輸出軸高速擋齒輪-A2.dwg (88KB)', click:'getBookinfo(8149077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'題目審定表.doc (118KB)', click:'getBookinfo(8149078)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'crv轎車分動器設計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8149060.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'任務書.doc',url:'http://m.facezit.com/p-8149061.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'分時四驅(qū)分動器-A0.dwg',url:'http://m.facezit.com/p-8149062.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'同步器花鍵轂-A2.dwg',url:'http://m.facezit.com/p-8149063.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'同步器鎖環(huán)-A2.dwg',url:'http://m.facezit.com/p-8149064.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'圖紙合集.dwg',url:'http://m.facezit.com/p-8149065.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8149066.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'接合齒圈-A2.dwg',url:'http://m.facezit.com/p-8149067.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'接合齒圈2-A2.dwg',url:'http://m.facezit.com/p-8149068.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8149069.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'說明書封皮.doc',url:'http://m.facezit.com/p-8149070.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書封皮中文.doc',url:'http://m.facezit.com/p-8149071.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'說明書摘要.doc',url:'http://m.facezit.com/p-8149072.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'說明書目錄.doc',url:'http://m.facezit.com/p-8149073.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'輸入軸-A2.dwg',url:'http://m.facezit.com/p-8149074.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'輸出軸-A2.dwg',url:'http://m.facezit.com/p-8149075.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'輸出軸低速擋齒輪-A2.dwg',url:'http://m.facezit.com/p-8149076.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'輸出軸高速擋齒輪-A2.dwg',url:'http://m.facezit.com/p-8149077.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'題目審定表.doc',url:'http://m.facezit.com/p-8149078.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 = '3525449'; 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; }); });