'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'膜片彈簧離合器三維圖紙catia.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'膜片彈簧離合器 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'boxingpianmaoding.CATPart (496KB)', },{ id:'0000100002', pId:'00001', name:'boxingpianmaoding2.CATPart (533KB)', },{ id:'0000100003', pId:'00001', name:'boxingtanghuang5.CATPart (580KB)', },{ id:'0000100004', pId:'00001', name:'chuanlipian1.CATPart (454KB)', },{ id:'0000100005', pId:'00001', name:'chuanlipian2.CATPart (298KB)', },{ id:'0000100006', pId:'00001', name:'chuanlipianluoding .CATPart (214KB)', },{ id:'0000100007', pId:'00001', name:'chuanlipianmaoding.CATPart (347KB)', },{ id:'0000100008', pId:'00001', name:'congdongpanmaoding.CATPart (405KB)', },{ id:'0000100009', pId:'00001', name:'congdongpianduokongCATPart.CATPart (767KB)', },{ id:'0000100010', pId:'00001', name:'congdongppangu3.1.CATPart (364KB)', },{ id:'0000100011', pId:'00001', name:'gai12.CATPart (1221KB)', },{ id:'0000100012', pId:'00001', name:'jianzhenmochapian.CATPart (57KB)', },{ id:'0000100013', pId:'00001', name:'jianzhenpan3.2.3.CATPart (465KB)', },{ id:'0000100014', pId:'00001', name:'jianzhentanghuang4.CATPart (1239KB)', },{ id:'0000100015', pId:'00001', name:'LHQ.CATProduct (219KB)', },{ id:'0000100016', pId:'00001', name:'mochapain2.CATPart (2160KB)', },{ id:'0000100017', pId:'00001', name:'mochapain2fan.CATPart (2494KB)', },{ id:'0000100018', pId:'00001', name:'mochapianmaoding2.CATPart (143KB)', },{ id:'0000100019', pId:'00001', name:'mochapianmaoding3.CATPart (206KB)', },{ id:'0000100020', pId:'00001', name:'mochapianmaoding4.CATPart (135KB)', },{ id:'0000100021', pId:'00001', name:'mochapianmaoding5.CATPart (262KB)', },{ id:'0000100022', pId:'00001', name:'mopiantanhuang.CATPart (312KB)', },{ id:'0000100023', pId:'00001', name:'mopiantanhuangmaoding.CATPart (310KB)', },{ id:'0000100024', pId:'00001', name:'yapan.CATPart (473KB)', },{ id:'0000100025', pId:'00001', name:'zhichenghuan1.CATPart (78KB)', },{ id:'0000100026', pId:'00001', name:'zhichenghuan2.CATPart (76KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'膜片彈簧離合器三維圖紙catia.rar', open:true, icon:'/Images/filetype/RAR16.PNG'}]; $(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 = '7266501'; 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; }); });