'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【cm067】支承板彎曲模設計【rw】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'插圖 (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'支承板插圖.dwg (27KB)', click:'getBookinfo(8735291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'支承板插圖.gif (8KB)', click:'getBookinfo(8735292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'設計中的插圖.dwg (100KB)', click:'getBookinfo(8735293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'設計中的插圖.gif (19KB)', click:'getBookinfo(8735294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1-裝配圖.dwg (202KB)', click:'getBookinfo(8735295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3-上模座.dwg (64KB)', click:'getBookinfo(8735296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-下模座.dwg (62KB)', click:'getBookinfo(8735297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-凸模固定板.dwg (62KB)', click:'getBookinfo(8735298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-凹模固定板.dwg (85KB)', click:'getBookinfo(8735299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-凹模墊板.dwg (59KB)', click:'getBookinfo(8735300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A4-凸模.dwg (64KB)', click:'getBookinfo(8735301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A4-凹模.dwg (58KB)', click:'getBookinfo(8735302)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A4-定位板.dwg (55KB)', click:'getBookinfo(8735303)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A4-模柄.dwg (58KB)', click:'getBookinfo(8735304)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A4-頂件板.dwg (54KB)', click:'getBookinfo(8735305)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'A4-頂桿座.dwg (56KB)', click:'getBookinfo(8735306)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'【CAD圖紙-預覽】.pdf (864KB)', click:'getBookinfo(8735307)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'任務書.doc (52KB)', click:'getBookinfo(8735308)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'摘要.doc (27KB)', click:'getBookinfo(8735309)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'目錄.doc (90KB)', click:'getBookinfo(8735310)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'說明書【28頁,9500字左右】.doc (376KB)', click:'getBookinfo(8735311)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【cm067】支承板彎曲模設計【rw】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'支承板插圖.dwg',url:'http://m.facezit.com/p-8735291.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'支承板插圖.gif',url:'http://m.facezit.com/p-8735292.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'設計中的插圖.dwg',url:'http://m.facezit.com/p-8735293.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'設計中的插圖.gif',url:'http://m.facezit.com/p-8735294.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A1-裝配圖.dwg',url:'http://m.facezit.com/p-8735295.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3-上模座.dwg',url:'http://m.facezit.com/p-8735296.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-下模座.dwg',url:'http://m.facezit.com/p-8735297.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-凸模固定板.dwg',url:'http://m.facezit.com/p-8735298.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-凹模固定板.dwg',url:'http://m.facezit.com/p-8735299.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-凹模墊板.dwg',url:'http://m.facezit.com/p-8735300.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A4-凸模.dwg',url:'http://m.facezit.com/p-8735301.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A4-凹模.dwg',url:'http://m.facezit.com/p-8735302.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A4-定位板.dwg',url:'http://m.facezit.com/p-8735303.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A4-模柄.dwg',url:'http://m.facezit.com/p-8735304.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A4-頂件板.dwg',url:'http://m.facezit.com/p-8735305.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'A4-頂桿座.dwg',url:'http://m.facezit.com/p-8735306.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'【CAD圖紙-預覽】.pdf',url:'http://m.facezit.com/p-8735307.html', target:'_blank' },{ id:'00002', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8735308.html', target:'_blank' },{ id:'00003', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8735309.html', target:'_blank' },{ id:'00004', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8735310.html', target:'_blank' },{ id:'00005', pId:'1', name:'說明書【28頁,9500字左右】.doc',url:'http://m.facezit.com/p-8735311.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 = '3518641'; 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; }); });