'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床濾油器體的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CA6140車床濾油器體的設(shè)計 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'3個孔直徑9夾具圖.dwg (68KB)', click:'getBookinfo(8790019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'3個孔直徑9夾具裝配圖.dwg (84KB)', click:'getBookinfo(8790020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'出油口鉆夾具裝配圖.dwg (243KB)', click:'getBookinfo(8790021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'契形雙翼套筒.dwg (51KB)', click:'getBookinfo(8790022)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工藝過程卡片.dwg (282KB)', click:'getBookinfo(8790023)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'開口墊圈A4.dwg (36KB)', click:'getBookinfo(8790024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'快換鉆套.dwg (37KB)', click:'getBookinfo(8790025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'斜孔夾具體.dwg (78KB)', click:'getBookinfo(8790026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'斜孔夾具裝配圖.dwg (98KB)', click:'getBookinfo(8790027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'毛坯.dwg (54KB)', click:'getBookinfo(8790028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'目錄.doc (29KB)', click:'getBookinfo(8790029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'緊固螺釘A4.dwg (37KB)', click:'getBookinfo(8790030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'螺母A4.dwg (36KB)', click:'getBookinfo(8790031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'襯套A4.dwg (36KB)', click:'getBookinfo(8790032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'設(shè)計說明書.doc (432KB)', click:'getBookinfo(8790033)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床濾油器體的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'3個孔直徑9夾具圖.dwg',url:'http://m.facezit.com/p-8790019.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'3個孔直徑9夾具裝配圖.dwg',url:'http://m.facezit.com/p-8790020.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'出油口鉆夾具裝配圖.dwg',url:'http://m.facezit.com/p-8790021.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'契形雙翼套筒.dwg',url:'http://m.facezit.com/p-8790022.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工藝過程卡片.dwg',url:'http://m.facezit.com/p-8790023.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'開口墊圈A4.dwg',url:'http://m.facezit.com/p-8790024.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'快換鉆套.dwg',url:'http://m.facezit.com/p-8790025.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'斜孔夾具體.dwg',url:'http://m.facezit.com/p-8790026.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'斜孔夾具裝配圖.dwg',url:'http://m.facezit.com/p-8790027.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'毛坯.dwg',url:'http://m.facezit.com/p-8790028.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8790029.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'緊固螺釘A4.dwg',url:'http://m.facezit.com/p-8790030.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'螺母A4.dwg',url:'http://m.facezit.com/p-8790031.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'襯套A4.dwg',url:'http://m.facezit.com/p-8790032.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8790033.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 = '3424443'; 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; }); });