'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'磁極沖片落料模設(shè)計【26張圖紙】【無說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'上墊板.exb (75KB)', },{ id:'00002', pId:'1', name:'上模座.exb (74KB)', },{ id:'00003', pId:'1', name:'下把持板.exb (60KB)', },{ id:'00004', pId:'1', name:'凸凹模.exb (97KB)', },{ id:'00005', pId:'1', name:'凸銷螺母.exb (13KB)', },{ id:'00006', pId:'1', name:'凹模.exb (94KB)', },{ id:'00007', pId:'1', name:'圓柱壓縮彈簧 2.exb (18KB)', },{ id:'00008', pId:'1', name:'圓柱壓縮彈簧1.exb (18KB)', },{ id:'00009', pId:'1', name:'墊柱.exb (13KB)', },{ id:'00010', pId:'1', name:'導(dǎo)套.exb (17KB)', },{ id:'00011', pId:'1', name:'底座.exb (73KB)', },{ id:'00012', pId:'1', name:'打料板.exb (60KB)', },{ id:'00013', pId:'1', name:'打板.exb (24KB)', },{ id:'00014', pId:'1', name:'擋圈.exb (25KB)', },{ id:'00015', pId:'1', name:'活動定位銷.exb (12KB)', },{ id:'00016', pId:'1', name:'活動導(dǎo)柱.exb (26KB)', },{ id:'00017', pId:'1', name:'磁極沖片 零件.exb (50KB)', },{ id:'00018', pId:'1', name:'磁極沖片落料模裝配圖.exb (401KB)', },{ id:'00019', pId:'1', name:'脫料板.exb (71KB)', },{ id:'00020', pId:'1', name:'螺塞.exb (9KB)', },{ id:'00021', pId:'1', name:'螺釘套管.exb (14KB)', },{ id:'00022', pId:'1', name:'起重螺栓.exb (18KB)', },{ id:'00023', pId:'1', name:'鉚釘孔沖頭.exb (14KB)', },{ id:'00024', pId:'1', name:'錐套.exb (25KB)', },{ id:'00025', pId:'1', name:'阻尼孔沖頭.exb (13KB)', },{ id:'00026', pId:'1', name:'頂銷.exb (10KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'磁極沖片落料模設(shè)計【26張圖紙】【無說明書】.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 = '7265951'; 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; }); });