'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'心型臺燈塑料注塑模具設(shè)計(jì)【13張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'凸模A2.dwg (63KB)', click:'getBookinfo(8530877)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'凹模A1.dwg (111KB)', click:'getBookinfo(8530878)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'動模座板A2.dwg (54KB)', click:'getBookinfo(8530879)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'四和一A2.dwg (140KB)', click:'getBookinfo(8530880)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型腔A2.dwg (124KB)', click:'getBookinfo(8530881)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'型芯A2.dwg (197KB)', click:'getBookinfo(8530882)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'塑件A2.dwg (288KB)', click:'getBookinfo(8530883)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'定模座板A2.dwg (45KB)', click:'getBookinfo(8530884)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'摘要.doc (26KB)', click:'getBookinfo(8530885)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'支撐板A1.dwg (73KB)', click:'getBookinfo(8530886)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'目錄.doc (47KB)', click:'getBookinfo(8530887)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'裝配圖A0.dwg (290KB)', click:'getBookinfo(8530888)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'說明書正文.doc (1602KB)', click:'getBookinfo(8530889)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'心型臺燈塑料注塑模具設(shè)計(jì)【13張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'凸模A2.dwg',url:'http://m.facezit.com/p-8530877.html', target:'_blank' },{ id:'00002', pId:'1', name:'凹模A1.dwg',url:'http://m.facezit.com/p-8530878.html', target:'_blank' },{ id:'00003', pId:'1', name:'動模座板A2.dwg',url:'http://m.facezit.com/p-8530879.html', target:'_blank' },{ id:'00004', pId:'1', name:'四和一A2.dwg',url:'http://m.facezit.com/p-8530880.html', target:'_blank' },{ id:'00005', pId:'1', name:'型腔A2.dwg',url:'http://m.facezit.com/p-8530881.html', target:'_blank' },{ id:'00006', pId:'1', name:'型芯A2.dwg',url:'http://m.facezit.com/p-8530882.html', target:'_blank' },{ id:'00007', pId:'1', name:'塑件A2.dwg',url:'http://m.facezit.com/p-8530883.html', target:'_blank' },{ id:'00008', pId:'1', name:'定模座板A2.dwg',url:'http://m.facezit.com/p-8530884.html', target:'_blank' },{ id:'00009', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8530885.html', target:'_blank' },{ id:'00010', pId:'1', name:'支撐板A1.dwg',url:'http://m.facezit.com/p-8530886.html', target:'_blank' },{ id:'00011', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8530887.html', target:'_blank' },{ id:'00012', pId:'1', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8530888.html', target:'_blank' },{ id:'00013', pId:'1', name:'說明書正文.doc',url:'http://m.facezit.com/p-8530889.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 = '7261216'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });
鏈接地址:http://m.facezit.com/p-7261216.html