'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'831007撥叉夾具設(shè)計(jì)銑斷工序三維proe圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D (包含20個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'1luogan.prt.1 (87KB)', },{ id:'0000100002', pId:'00001', name:'2luomu.prt.1 (84KB)', },{ id:'0000100003', pId:'00001', name:'dianban.prt.1 (201KB)', },{ id:'0000100004', pId:'00001', name:'duidaokuai.prt.1 (134KB)', },{ id:'0000100005', pId:'00001', name:'jiajuti1.prt.1 (396KB)', },{ id:'0000100006', pId:'00001', name:'lajinban.prt.1 (133KB)', },{ id:'0000100007', pId:'00001', name:'liandongban.prt.1 (137KB)', },{ id:'0000100008', pId:'00001', name:'lingxingxiao.prt.1 (145KB)', },{ id:'0000100009', pId:'00001', name:'luomu.prt.1 (85KB)', },{ id:'0000100010', pId:'00001', name:'PROE三維模型圖 (1).png (32KB)', click:'getBookinfo(8372573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'PROE三維模型圖 (2).png (20KB)', click:'getBookinfo(8372574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'PROE三維模型圖 (3).png (16KB)', click:'getBookinfo(8372575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'PROE三維模型圖 (4).png (43KB)', click:'getBookinfo(8372576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'prt0001.prt.1 (82KB)', },{ id:'0000100015', pId:'00001', name:'xichuangjiajuasm.asm.2 (116KB)', },{ id:'0000100016', pId:'00001', name:'xichuangjiajuasm.asm.3 (144KB)', },{ id:'0000100017', pId:'00001', name:'xichuangjiajuasm.asm.4 (117KB)', },{ id:'0000100018', pId:'00001', name:'yaban1.prt.1 (134KB)', },{ id:'0000100019', pId:'00001', name:'yuanzhuxiao.prt.1 (132KB)', },{ id:'0000100020', pId:'00001', name:'zhijia.prt.1 (214KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'831007撥叉夾具設(shè)計(jì)銑斷工序三維proe圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100010', pId:'00001', name:'PROE三維模型圖 (1).png',url:'http://m.facezit.com/p-8372573.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'PROE三維模型圖 (2).png',url:'http://m.facezit.com/p-8372574.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'PROE三維模型圖 (3).png',url:'http://m.facezit.com/p-8372575.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'PROE三維模型圖 (4).png',url:'http://m.facezit.com/p-8372576.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 = '7123453'; 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; }); });