'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'_立式加工中心主軸組件的結(jié)構(gòu)設(shè)計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'主軸.dwg (79KB)', click:'getBookinfo(8596381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'主軸撥塊.dwg (53KB)', click:'getBookinfo(8596382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'壓板.dwg (45KB)', click:'getBookinfo(8596383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'垂直絲桿.dwg (62KB)', click:'getBookinfo(8596384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'大帶輪.dwg (66KB)', click:'getBookinfo(8596385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'大帶輪擋圈.dwg (55KB)', click:'getBookinfo(8596386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'套筒.dwg (46KB)', click:'getBookinfo(8596387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'套筒1.dwg (46KB)', click:'getBookinfo(8596388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'密封套筒.dwg (54KB)', click:'getBookinfo(8596389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'密封端蓋.dwg (53KB)', click:'getBookinfo(8596390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'密封端蓋1.dwg (65KB)', click:'getBookinfo(8596391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'密封端蓋2.dwg (63KB)', click:'getBookinfo(8596392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'小帶輪.dwg (60KB)', click:'getBookinfo(8596393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'小帶輪擋圈.dwg (54KB)', click:'getBookinfo(8596394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'帶輪蓋.dwg (52KB)', click:'getBookinfo(8596395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'拉桿.dwg (68KB)', click:'getBookinfo(8596396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'擋油盤.dwg (51KB)', click:'getBookinfo(8596397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'擋油盤1.dwg (55KB)', click:'getBookinfo(8596398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'擋油盤2.dwg (55KB)', click:'getBookinfo(8596399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'正文_立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.doc (10691KB)', click:'getBookinfo(8596400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'目錄.doc (40KB)', click:'getBookinfo(8596401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'立式加工中心主軸組件結(jié)構(gòu)圖.dwg (278KB)', click:'getBookinfo(8596402)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'軸承座.dwg (60KB)', click:'getBookinfo(8596403)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'軸承端蓋.dwg (55KB)', click:'getBookinfo(8596404)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'主軸.dwg',url:'http://m.facezit.com/p-8596381.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'主軸撥塊.dwg',url:'http://m.facezit.com/p-8596382.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'壓板.dwg',url:'http://m.facezit.com/p-8596383.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'垂直絲桿.dwg',url:'http://m.facezit.com/p-8596384.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'大帶輪.dwg',url:'http://m.facezit.com/p-8596385.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'大帶輪擋圈.dwg',url:'http://m.facezit.com/p-8596386.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'套筒.dwg',url:'http://m.facezit.com/p-8596387.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'套筒1.dwg',url:'http://m.facezit.com/p-8596388.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'密封套筒.dwg',url:'http://m.facezit.com/p-8596389.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'密封端蓋.dwg',url:'http://m.facezit.com/p-8596390.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'密封端蓋1.dwg',url:'http://m.facezit.com/p-8596391.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'密封端蓋2.dwg',url:'http://m.facezit.com/p-8596392.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'小帶輪.dwg',url:'http://m.facezit.com/p-8596393.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'小帶輪擋圈.dwg',url:'http://m.facezit.com/p-8596394.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'帶輪蓋.dwg',url:'http://m.facezit.com/p-8596395.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'拉桿.dwg',url:'http://m.facezit.com/p-8596396.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'擋油盤.dwg',url:'http://m.facezit.com/p-8596397.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'擋油盤1.dwg',url:'http://m.facezit.com/p-8596398.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'擋油盤2.dwg',url:'http://m.facezit.com/p-8596399.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'正文_立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.doc',url:'http://m.facezit.com/p-8596400.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8596401.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'立式加工中心主軸組件結(jié)構(gòu)圖.dwg',url:'http://m.facezit.com/p-8596402.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'軸承座.dwg',url:'http://m.facezit.com/p-8596403.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'軸承端蓋.dwg',url:'http://m.facezit.com/p-8596404.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 = '7921243'; 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; }); });