'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'本的電氣安裝工程通用投標(biāo)初步施工組織設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'本的電氣安裝工程通用投標(biāo)初步施工組織設(shè)計(jì) (包含10個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'投標(biāo)文件初步施組-1.doc (128KB)', click:'getBookinfo(8285470)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'投標(biāo)文件初步施組-10.doc (82KB)', click:'getBookinfo(8285471)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'投標(biāo)文件初步施組-2.doc (68KB)', click:'getBookinfo(8285472)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'投標(biāo)文件初步施組-3.doc (79KB)', click:'getBookinfo(8285473)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'投標(biāo)文件初步施組-4.doc (133KB)', click:'getBookinfo(8285474)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'投標(biāo)文件初步施組-5.doc (59KB)', click:'getBookinfo(8285475)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'投標(biāo)文件初步施組-6.doc (101KB)', click:'getBookinfo(8285476)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'投標(biāo)文件初步施組-7.doc (105KB)', click:'getBookinfo(8285477)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'投標(biāo)文件初步施組-8.doc (70KB)', click:'getBookinfo(8285478)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'投標(biāo)文件初步施組-9.doc (116KB)', click:'getBookinfo(8285479)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'本的電氣安裝工程通用投標(biāo)初步施工組織設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'投標(biāo)文件初步施組-1.doc',url:'http://www.nydnatest.com/p-8285470.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'投標(biāo)文件初步施組-10.doc',url:'http://www.nydnatest.com/p-8285471.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'投標(biāo)文件初步施組-2.doc',url:'http://www.nydnatest.com/p-8285472.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'投標(biāo)文件初步施組-3.doc',url:'http://www.nydnatest.com/p-8285473.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'投標(biāo)文件初步施組-4.doc',url:'http://www.nydnatest.com/p-8285474.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'投標(biāo)文件初步施組-5.doc',url:'http://www.nydnatest.com/p-8285475.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'投標(biāo)文件初步施組-6.doc',url:'http://www.nydnatest.com/p-8285476.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'投標(biāo)文件初步施組-7.doc',url:'http://www.nydnatest.com/p-8285477.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'投標(biāo)文件初步施組-8.doc',url:'http://www.nydnatest.com/p-8285478.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'投標(biāo)文件初步施組-9.doc',url:'http://www.nydnatest.com/p-8285479.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 = '6674518'; 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; }); });