'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【jx501】動車用減震器筒體切管機設(shè)計[鐵路]【ktrwfy】[2a0].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'A1-尺寸聯(lián)系圖.dwg (79KB)', click:'getBookinfo(8818919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1-托架.dwg (71KB)', click:'getBookinfo(8818920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2-主軸箱后端蓋圖.dwg (47KB)', click:'getBookinfo(8818921)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A2-主軸箱裝配圖.dwg (95KB)', click:'getBookinfo(8818922)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-活動擋板.dwg (53KB)', click:'getBookinfo(8818923)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-v帶輪.dwg (63KB)', click:'getBookinfo(8818924)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-主動軸.dwg (70KB)', click:'getBookinfo(8818925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A3-主軸箱前端蓋.dwg (83KB)', click:'getBookinfo(8818926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A3-主軸箱簡圖.dwg (86KB)', click:'getBookinfo(8818927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A3-從動軸.dwg (71KB)', click:'getBookinfo(8818928)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A3-加工工序圖.dwg (79KB)', click:'getBookinfo(8818929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A3-加工示意圖.dwg (132KB)', click:'getBookinfo(8818930)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'A3-電器圖.dwg (47KB)', click:'getBookinfo(8818931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'A3-齒輪.dwg (55KB)', click:'getBookinfo(8818932)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'A4-生產(chǎn)率計算卡.dwg (43KB)', click:'getBookinfo(8818933)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'A4-進給機構(gòu).dwg (109KB)', click:'getBookinfo(8818934)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf (1123KB)', click:'getBookinfo(8818935)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00003', pId:'1', name:'任務(wù)書.doc (34KB)', click:'getBookinfo(8818936)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'外文翻譯.doc (67KB)', click:'getBookinfo(8818937)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'封面.doc (25KB)', click:'getBookinfo(8818938)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'開題報告.doc (40KB)', click:'getBookinfo(8818939)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'摘要.doc (29KB)', click:'getBookinfo(8818940)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'目錄.doc (36KB)', click:'getBookinfo(8818941)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'計劃周記進度檢查表.xls (13KB)', click:'getBookinfo(8818942)', icon:'/Images/filetype/XLS16.PNG'},{ id:'00010', pId:'1', name:'設(shè)計說明書[16000字,50頁].doc (1127KB)', click:'getBookinfo(8818943)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【jx501】動車用減震器筒體切管機設(shè)計[鐵路]【ktrwfy】[2a0].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A1-尺寸聯(lián)系圖.dwg',url:'http://m.facezit.com/p-8818919.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A1-托架.dwg',url:'http://m.facezit.com/p-8818920.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A2-主軸箱后端蓋圖.dwg',url:'http://m.facezit.com/p-8818921.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A2-主軸箱裝配圖.dwg',url:'http://m.facezit.com/p-8818922.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-活動擋板.dwg',url:'http://m.facezit.com/p-8818923.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-v帶輪.dwg',url:'http://m.facezit.com/p-8818924.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-主動軸.dwg',url:'http://m.facezit.com/p-8818925.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A3-主軸箱前端蓋.dwg',url:'http://m.facezit.com/p-8818926.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A3-主軸箱簡圖.dwg',url:'http://m.facezit.com/p-8818927.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A3-從動軸.dwg',url:'http://m.facezit.com/p-8818928.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A3-加工工序圖.dwg',url:'http://m.facezit.com/p-8818929.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A3-加工示意圖.dwg',url:'http://m.facezit.com/p-8818930.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'A3-電器圖.dwg',url:'http://m.facezit.com/p-8818931.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'A3-齒輪.dwg',url:'http://m.facezit.com/p-8818932.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'A4-生產(chǎn)率計算卡.dwg',url:'http://m.facezit.com/p-8818933.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'A4-進給機構(gòu).dwg',url:'http://m.facezit.com/p-8818934.html', target:'_blank' },{ id:'00002', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8818935.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8818936.html', target:'_blank' },{ id:'00004', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8818937.html', target:'_blank' },{ id:'00005', pId:'1', name:'封面.doc',url:'http://m.facezit.com/p-8818938.html', target:'_blank' },{ id:'00006', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8818939.html', target:'_blank' },{ id:'00007', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8818940.html', target:'_blank' },{ id:'00008', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8818941.html', target:'_blank' },{ id:'00009', pId:'1', name:'計劃周記進度檢查表.xls',url:'http://m.facezit.com/p-8818942.html', target:'_blank' },{ id:'00010', pId:'1', name:'設(shè)計說明書[16000字,50頁].doc',url:'http://m.facezit.com/p-8818943.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 = '3518742'; 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; }); });