'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'彎管接頭塑料模設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[A3-052]注塑模-彎管接頭塑料模設計(無論文)[Z] (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'發(fā)客戶資料-彎管接頭塑料模設計 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'A0-彎管接頭裝配圖.gif (18KB)', click:'getBookinfo(8590088)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'A2-動模板.gif (12KB)', click:'getBookinfo(8590089)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'A3-左型心滑塊.gif (10KB)', click:'getBookinfo(8590090)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'A3-斜導柱.gif (5KB)', click:'getBookinfo(8590091)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'A3-楔緊塊.gif (6KB)', click:'getBookinfo(8590092)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'A4-定位環(huán).gif (7KB)', click:'getBookinfo(8590093)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'A4-工件圖.gif (9KB)', click:'getBookinfo(8590094)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'A4-拉料桿.gif (7KB)', click:'getBookinfo(8590095)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'A4-推桿.gif (6KB)', click:'getBookinfo(8590096)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'內容簡介.gif (11KB)', click:'getBookinfo(8590097)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'內容簡介.txt (0KB)', click:'getBookinfo(8590098)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100002', pId:'00001', name:'A0-彎管接頭裝配圖.dwg (111KB)', click:'getBookinfo(8590099)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2-動模板.dwg (63KB)', click:'getBookinfo(8590100)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-左型心滑塊.dwg (45KB)', click:'getBookinfo(8590101)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-斜導柱.dwg (52KB)', click:'getBookinfo(8590102)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-楔緊塊.dwg (51KB)', click:'getBookinfo(8590103)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A4-定位環(huán).dwg (44KB)', click:'getBookinfo(8590104)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A4-工件圖.dwg (66KB)', click:'getBookinfo(8590105)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A4-拉料桿.dwg (47KB)', click:'getBookinfo(8590106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A4-推桿.dwg (45KB)', click:'getBookinfo(8590107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'發(fā)客戶資料-彎管接頭塑料模設計.rar (95KB)', click:'getBookinfo(8590108)', icon:'/Images/filetype/RAR16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'彎管接頭塑料模設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'A0-彎管接頭裝配圖.gif',url:'http://m.facezit.com/p-8590088.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'A2-動模板.gif',url:'http://m.facezit.com/p-8590089.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'A3-左型心滑塊.gif',url:'http://m.facezit.com/p-8590090.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'A3-斜導柱.gif',url:'http://m.facezit.com/p-8590091.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'A3-楔緊塊.gif',url:'http://m.facezit.com/p-8590092.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'A4-定位環(huán).gif',url:'http://m.facezit.com/p-8590093.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'A4-工件圖.gif',url:'http://m.facezit.com/p-8590094.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'A4-拉料桿.gif',url:'http://m.facezit.com/p-8590095.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'A4-推桿.gif',url:'http://m.facezit.com/p-8590096.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'內容簡介.gif',url:'http://m.facezit.com/p-8590097.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'內容簡介.txt',url:'http://m.facezit.com/p-8590098.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0-彎管接頭裝配圖.dwg',url:'http://m.facezit.com/p-8590099.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A2-動模板.dwg',url:'http://m.facezit.com/p-8590100.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-左型心滑塊.dwg',url:'http://m.facezit.com/p-8590101.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-斜導柱.dwg',url:'http://m.facezit.com/p-8590102.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-楔緊塊.dwg',url:'http://m.facezit.com/p-8590103.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A4-定位環(huán).dwg',url:'http://m.facezit.com/p-8590104.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A4-工件圖.dwg',url:'http://m.facezit.com/p-8590105.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A4-拉料桿.dwg',url:'http://m.facezit.com/p-8590106.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A4-推桿.dwg',url:'http://m.facezit.com/p-8590107.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'發(fā)客戶資料-彎管接頭塑料模設計.rar',url:'http://m.facezit.com/p-8590108.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 = '7920074'; 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; }); });