'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'方形墊片落料沖孔復(fù)合模設(shè)計(jì)諧振窗【14張cad圖紙和說(shuō)明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'上墊板A4.dwg (65KB)', click:'getBookinfo(8162134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'上模座A3.dwg (68KB)', click:'getBookinfo(8162135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'下墊板A4.dwg (61KB)', click:'getBookinfo(8162136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'下模座A2.dwg (78KB)', click:'getBookinfo(8162137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'沖中心孔凸模A4.dwg (52KB)', click:'getBookinfo(8162138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'沖圓孔凸模A4.dwg (52KB)', click:'getBookinfo(8162139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'凸凹模A4.dwg (62KB)', click:'getBookinfo(8162140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'凸凹模固定板A4.dwg (69KB)', click:'getBookinfo(8162141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'凸模固定板A4.dwg (72KB)', click:'getBookinfo(8162142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'凹模A4.dwg (64KB)', click:'getBookinfo(8162143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'卸料板A4.dwg (62KB)', click:'getBookinfo(8162144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'圖紙匯總.dwg (295KB)', click:'getBookinfo(8162145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'推件器A4.dwg (64KB)', click:'getBookinfo(8162146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'模柄A4.dwg (62KB)', click:'getBookinfo(8162147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'裝配圖A1.dwg (110KB)', click:'getBookinfo(8162148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'設(shè)計(jì)說(shuō)明書.doc (435KB)', click:'getBookinfo(8162149)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'方形墊片落料沖孔復(fù)合模設(shè)計(jì)諧振窗【14張cad圖紙和說(shuō)明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'上墊板A4.dwg',url:'http://m.facezit.com/p-8162134.html', target:'_blank' },{ id:'00002', pId:'1', name:'上模座A3.dwg',url:'http://m.facezit.com/p-8162135.html', target:'_blank' },{ id:'00003', pId:'1', name:'下墊板A4.dwg',url:'http://m.facezit.com/p-8162136.html', target:'_blank' },{ id:'00004', pId:'1', name:'下模座A2.dwg',url:'http://m.facezit.com/p-8162137.html', target:'_blank' },{ id:'00005', pId:'1', name:'沖中心孔凸模A4.dwg',url:'http://m.facezit.com/p-8162138.html', target:'_blank' },{ id:'00006', pId:'1', name:'沖圓孔凸模A4.dwg',url:'http://m.facezit.com/p-8162139.html', target:'_blank' },{ id:'00007', pId:'1', name:'凸凹模A4.dwg',url:'http://m.facezit.com/p-8162140.html', target:'_blank' },{ id:'00008', pId:'1', name:'凸凹模固定板A4.dwg',url:'http://m.facezit.com/p-8162141.html', target:'_blank' },{ id:'00009', pId:'1', name:'凸模固定板A4.dwg',url:'http://m.facezit.com/p-8162142.html', target:'_blank' },{ id:'00010', pId:'1', name:'凹模A4.dwg',url:'http://m.facezit.com/p-8162143.html', target:'_blank' },{ id:'00011', pId:'1', name:'卸料板A4.dwg',url:'http://m.facezit.com/p-8162144.html', target:'_blank' },{ id:'00012', pId:'1', name:'圖紙匯總.dwg',url:'http://m.facezit.com/p-8162145.html', target:'_blank' },{ id:'00013', pId:'1', name:'推件器A4.dwg',url:'http://m.facezit.com/p-8162146.html', target:'_blank' },{ id:'00014', pId:'1', name:'模柄A4.dwg',url:'http://m.facezit.com/p-8162147.html', target:'_blank' },{ id:'00015', pId:'1', name:'裝配圖A1.dwg',url:'http://m.facezit.com/p-8162148.html', target:'_blank' },{ id:'00016', pId:'1', name:'設(shè)計(jì)說(shuō)明書.doc',url:'http://m.facezit.com/p-8162149.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3527216'; 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("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });