'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'某城市污水處理廠全套工藝圖(unitank工藝).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'某城市污水處理廠全套工藝圖(UNITANK工藝) (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'UNITANK.DWG (411KB)', click:'getBookinfo(8779089)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'UNITANK.dwl (0KB)', },{ id:'0000100003', pId:'00001', name:'工藝流程圖.dwg (598KB)', click:'getBookinfo(8779090)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'污泥池平面圖.dwg (145KB)', click:'getBookinfo(8779091)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'污泥池結構.DWG (71KB)', click:'getBookinfo(8779092)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'污泥濃縮池.dwg (567KB)', click:'getBookinfo(8779093)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'污泥濃縮池結構平面圖.DWG (163KB)', click:'getBookinfo(8779094)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'污泥脫水房.dwg (487KB)', click:'getBookinfo(8779095)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'沉砂池.dwg (247KB)', click:'getBookinfo(8779096)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'沉砂池平面圖.dwg (244KB)', click:'getBookinfo(8779097)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'配水井.dwg (157KB)', click:'getBookinfo(8779098)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'配水井.dwl (0KB)', },{ id:'0000100013', pId:'00001', name:'配水井平.剖面圖.dwg (136KB)', click:'getBookinfo(8779099)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'配水井結構平面圖、.dwg (424KB)', click:'getBookinfo(8779100)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'鼓風機房及變配電間.dwg (204KB)', click:'getBookinfo(8779101)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'某城市污水處理廠全套工藝圖(unitank工藝).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'UNITANK.DWG',url:'http://m.facezit.com/p-8779089.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工藝流程圖.dwg',url:'http://m.facezit.com/p-8779090.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'污泥池平面圖.dwg',url:'http://m.facezit.com/p-8779091.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'污泥池結構.DWG',url:'http://m.facezit.com/p-8779092.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'污泥濃縮池.dwg',url:'http://m.facezit.com/p-8779093.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'污泥濃縮池結構平面圖.DWG',url:'http://m.facezit.com/p-8779094.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'污泥脫水房.dwg',url:'http://m.facezit.com/p-8779095.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'沉砂池.dwg',url:'http://m.facezit.com/p-8779096.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'沉砂池平面圖.dwg',url:'http://m.facezit.com/p-8779097.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'配水井.dwg',url:'http://m.facezit.com/p-8779098.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'配水井平.剖面圖.dwg',url:'http://m.facezit.com/p-8779099.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'配水井結構平面圖、.dwg',url:'http://m.facezit.com/p-8779100.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'鼓風機房及變配電間.dwg',url:'http://m.facezit.com/p-8779101.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 = '3428704'; 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; }); });