'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'叉車滾輪的工裝設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'叉車滾輪的工裝設計 (包含39個文件)', },{ id:'0000100001', pId:'00001', name:'夾具圖 (包含22個文件)', },{ id:'000010000100001', pId:'0000100001', name:'01定位螺釘.exb (34KB)', },{ id:'000010000100002', pId:'0000100001', name:'02支撐架(21.6).exb (42KB)', },{ id:'000010000100003', pId:'0000100001', name:'02支撐架(25.2).exb (43KB)', },{ id:'000010000100004', pId:'0000100001', name:'02支撐架(29.3).exb (42KB)', },{ id:'000010000100005', pId:'0000100001', name:'03定位螺釘架.exb (25KB)', },{ id:'000010000100006', pId:'0000100001', name:'06橡膠壓輪.exb (21KB)', },{ id:'000010000100007', pId:'0000100001', name:'07壓輪墊圈.exb (21KB)', },{ id:'000010000100008', pId:'0000100001', name:'12拉塊.exb (24KB)', },{ id:'000010000100009', pId:'0000100001', name:'15聯(lián)桿座.exb (31KB)', },{ id:'000010000100010', pId:'0000100001', name:'20小聯(lián)桿.exb (30KB)', },{ id:'000010000100011', pId:'0000100001', name:'M1420夾具.exb (120KB)', },{ id:'000010000100012', pId:'0000100001', name:'壓輪軸.exb (34KB)', },{ id:'000010000100013', pId:'0000100001', name:'夾具裝配圖00.exb (170KB)', },{ id:'000010000100014', pId:'0000100001', name:'底版.exb (82KB)', },{ id:'000010000100015', pId:'0000100001', name:'掛板.exb (24KB)', },{ id:'000010000100016', pId:'0000100001', name:'斜墊塊.exb (28KB)', },{ id:'000010000100017', pId:'0000100001', name:'滾花箍圈.exb (21KB)', },{ id:'000010000100018', pId:'0000100001', name:'螺釘銷.exb (22KB)', },{ id:'000010000100019', pId:'0000100001', name:'軸承套.exb (25KB)', },{ id:'000010000100020', pId:'0000100001', name:'連桿.exb (34KB)', },{ id:'000010000100021', pId:'0000100001', name:'量具修改.exb (103KB)', },{ id:'000010000100022', pId:'0000100001', name:'頂尖.exb (24KB)', },{ id:'0000100002', pId:'00001', name:'工藝 (包含11個文件)', },{ id:'000010000200001', pId:'0000100002', name:'GL.L-FS 01(1).exb (22KB)', },{ id:'000010000200002', pId:'0000100002', name:'GL.L-SGV40-2RSC-10 01.exb (50KB)', },{ id:'000010000200003', pId:'0000100002', name:'GL.Z-SGV 40 2RS C-10 00.exb (50KB)', },{ id:'000010000200004', pId:'0000100002', name:'外圈圓弧參數(shù)圖.exb (19KB)', },{ id:'000010000200005', pId:'0000100002', name:'外圈工藝圖.exb (170KB)', },{ id:'000010000200006', pId:'0000100002', name:'外圈車加工圖.exb (47KB)', },{ id:'000010000200007', pId:'0000100002', name:'外圈鍛件圖.exb (20KB)', },{ id:'000010000200008', pId:'0000100002', name:'密封骨架.exb (38KB)', },{ id:'000010000200009', pId:'0000100002', name:'軸工藝圖.exb (169KB)', },{ id:'000010000200010', pId:'0000100002', name:'軸成品圖.exb (55KB)', },{ id:'000010000200011', pId:'0000100002', name:'軸車加工圖.exb (36KB)', },{ id:'0000100003', pId:'00001', name:'SG54-2RS-10 01(最新).xls (81KB)', click:'getBookinfo(8189754)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100004', pId:'00001', name:'SG54-2RS-10 02新.xls (82KB)', click:'getBookinfo(8189755)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100005', pId:'00001', name:'幻燈片.ppt (998KB)', click:'getBookinfo(8189756)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100006', pId:'00001', name:'畢業(yè)設計說明書.doc (382KB)', click:'getBookinfo(8189757)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'叉車滾輪的工裝設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100003', pId:'00001', name:'SG54-2RS-10 01(最新).xls',url:'http://canyonlakefaqs.com/p-8189754.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'SG54-2RS-10 02新.xls',url:'http://canyonlakefaqs.com/p-8189755.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'幻燈片.ppt',url:'http://canyonlakefaqs.com/p-8189756.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'畢業(yè)設計說明書.doc',url:'http://canyonlakefaqs.com/p-8189757.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 = '3532490'; 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; }); });