'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b197基于plc的散料包裝稱重控制系統(tǒng)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B197 基于PLC的散料包裝稱重控制系統(tǒng)設(shè)計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'基于PLC的散料包裝稱重控制系統(tǒng)設(shè)計 (包含20個文件)', },{ id:'000010000100001', pId:'0000100001', name:'基于PLC的散料包裝稱重控制系統(tǒng)設(shè)計(正文).doc (808KB)', click:'getBookinfo(8098002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'截圖217.png (27KB)', click:'getBookinfo(8098003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'截圖218.png (18KB)', click:'getBookinfo(8098004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'截圖219.png (29KB)', click:'getBookinfo(8098005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'截圖220.png (23KB)', click:'getBookinfo(8098006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'截圖221.png (19KB)', click:'getBookinfo(8098007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'截圖222.png (45KB)', click:'getBookinfo(8098008)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'截圖223.png (18KB)', click:'getBookinfo(8098009)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'截圖224.png (55KB)', click:'getBookinfo(8098010)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'截圖225.png (34KB)', click:'getBookinfo(8098011)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'截圖226.png (49KB)', click:'getBookinfo(8098012)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙1.dwg (393KB)', click:'getBookinfo(8098013)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙1.dwl (0KB)', },{ id:'000010000100014', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙2.dwg (393KB)', click:'getBookinfo(8098014)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙3.dwg (393KB)', click:'getBookinfo(8098015)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙4.dwg (393KB)', click:'getBookinfo(8098016)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙5.dwg (393KB)', click:'getBookinfo(8098017)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙6.dwg (393KB)', click:'getBookinfo(8098018)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙7.dwg (393KB)', click:'getBookinfo(8098019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'散料包裝稱重系統(tǒng)程序.mwp (4KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'b197基于plc的散料包裝稱重控制系統(tǒng)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'基于PLC的散料包裝稱重控制系統(tǒng)設(shè)計(正文).doc',url:'http://m.facezit.com/p-8098002.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'截圖217.png',url:'http://m.facezit.com/p-8098003.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'截圖218.png',url:'http://m.facezit.com/p-8098004.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'截圖219.png',url:'http://m.facezit.com/p-8098005.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'截圖220.png',url:'http://m.facezit.com/p-8098006.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'截圖221.png',url:'http://m.facezit.com/p-8098007.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'截圖222.png',url:'http://m.facezit.com/p-8098008.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'截圖223.png',url:'http://m.facezit.com/p-8098009.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'截圖224.png',url:'http://m.facezit.com/p-8098010.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'截圖225.png',url:'http://m.facezit.com/p-8098011.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'截圖226.png',url:'http://m.facezit.com/p-8098012.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙1.dwg',url:'http://m.facezit.com/p-8098013.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙2.dwg',url:'http://m.facezit.com/p-8098014.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙3.dwg',url:'http://m.facezit.com/p-8098015.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙4.dwg',url:'http://m.facezit.com/p-8098016.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙5.dwg',url:'http://m.facezit.com/p-8098017.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙6.dwg',url:'http://m.facezit.com/p-8098018.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'散料包裝稱重系統(tǒng)圖紙7.dwg',url:'http://m.facezit.com/p-8098019.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 = '3518029'; 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; }); });