'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'模具彎管接頭塑料模設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'模具-彎管接頭塑料模設(shè)計 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'模具-彎管接頭塑料模設(shè)計 (包含10個文件)', },{ id:'000010000100001', pId:'0000100001', name:'動模板.dwg (69KB)', click:'getBookinfo(8698300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'定位環(huán).dwg (35KB)', click:'getBookinfo(8698301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工件圖.dwg (36KB)', click:'getBookinfo(8698302)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'左型心滑塊.dwg (38KB)', click:'getBookinfo(8698303)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'彎管接頭.dwg (159KB)', click:'getBookinfo(8698304)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'彎管接頭裝配圖.dwg (99KB)', click:'getBookinfo(8698305)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'拉料桿.dwg (49KB)', click:'getBookinfo(8698306)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'推桿.dwg (44KB)', click:'getBookinfo(8698307)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'斜導(dǎo)柱.dwg (73KB)', click:'getBookinfo(8698308)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'楔緊塊.dwg (99KB)', click:'getBookinfo(8698309)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'模具彎管接頭塑料模設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'動模板.dwg',url:'http://m.facezit.com/p-8698300.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'定位環(huán).dwg',url:'http://m.facezit.com/p-8698301.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工件圖.dwg',url:'http://m.facezit.com/p-8698302.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'左型心滑塊.dwg',url:'http://m.facezit.com/p-8698303.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'彎管接頭.dwg',url:'http://m.facezit.com/p-8698304.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'彎管接頭裝配圖.dwg',url:'http://m.facezit.com/p-8698305.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'拉料桿.dwg',url:'http://m.facezit.com/p-8698306.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'推桿.dwg',url:'http://m.facezit.com/p-8698307.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'斜導(dǎo)柱.dwg',url:'http://m.facezit.com/p-8698308.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'楔緊塊.dwg',url:'http://m.facezit.com/p-8698309.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 = '3634443'; 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; }); });