'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'上下料機(jī)械手設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'上下料機(jī)械手設(shè)計 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'PLC接線圖A1.dwg (71KB)', click:'getBookinfo(8495890)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'PLC接線圖A1.JPG (65KB)', click:'getBookinfo(8495891)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'買家售后必讀.jpg (438KB)', click:'getBookinfo(8495892)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'手爪A2.dwg (80KB)', click:'getBookinfo(8495893)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'整體裝配圖A0.dwg (185KB)', click:'getBookinfo(8495894)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'整體裝配圖A0.JPG (78KB)', click:'getBookinfo(8495895)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'朱巖巖開題報告.doc (51KB)', click:'getBookinfo(8495896)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'機(jī)械手手臂聯(lián)結(jié)座A2.dwg (56KB)', click:'getBookinfo(8495897)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'機(jī)械手設(shè)計論文.doc (822KB)', click:'getBookinfo(8495898)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'液壓系統(tǒng)圖A1.dwg (74KB)', click:'getBookinfo(8495899)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'液壓系統(tǒng)圖A1.JPG (58KB)', click:'getBookinfo(8495900)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'腰部結(jié)構(gòu)圖A1.dwg (71KB)', click:'getBookinfo(8495901)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'說明書(論文)目錄.doc (30KB)', click:'getBookinfo(8495902)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'上下料機(jī)械手設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'PLC接線圖A1.dwg',url:'http://m.facezit.com/p-8495890.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'PLC接線圖A1.JPG',url:'http://m.facezit.com/p-8495891.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'買家售后必讀.jpg',url:'http://m.facezit.com/p-8495892.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'手爪A2.dwg',url:'http://m.facezit.com/p-8495893.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'整體裝配圖A0.dwg',url:'http://m.facezit.com/p-8495894.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'整體裝配圖A0.JPG',url:'http://m.facezit.com/p-8495895.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'朱巖巖開題報告.doc',url:'http://m.facezit.com/p-8495896.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'機(jī)械手手臂聯(lián)結(jié)座A2.dwg',url:'http://m.facezit.com/p-8495897.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'機(jī)械手設(shè)計論文.doc',url:'http://m.facezit.com/p-8495898.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'液壓系統(tǒng)圖A1.dwg',url:'http://m.facezit.com/p-8495899.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'液壓系統(tǒng)圖A1.JPG',url:'http://m.facezit.com/p-8495900.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'腰部結(jié)構(gòu)圖A1.dwg',url:'http://m.facezit.com/p-8495901.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'說明書(論文)目錄.doc',url:'http://m.facezit.com/p-8495902.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 = '7256843'; 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; }); });