'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'載重汽車前梁設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'載重汽車前梁設計 (包含29個文件)', },{ id:'0000100001', pId:'00001', name:'林圖 (包含26個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Drawing1.dwg (37KB)', click:'getBookinfo(8782889)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'內加固板.dwg (35KB)', click:'getBookinfo(8782890)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'內加固板1.dwg (35KB)', click:'getBookinfo(8782891)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'加固板.dwg (37KB)', click:'getBookinfo(8782892)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'加固板1.dwg (38KB)', click:'getBookinfo(8782893)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'復件 Drawing1.dwg (37KB)', click:'getBookinfo(8782894)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'底盤.dwg (33KB)', click:'getBookinfo(8782895)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'托盤.dwg (32KB)', click:'getBookinfo(8782896)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'托盤1.dwg (30KB)', click:'getBookinfo(8782897)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'托盤2.dwg (30KB)', click:'getBookinfo(8782898)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'托盤支架.dwg (32KB)', click:'getBookinfo(8782899)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'托盤支架1.dwg (32KB)', click:'getBookinfo(8782900)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'托盤支架2.dwg (32KB)', click:'getBookinfo(8782901)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'托盤支架3.dwg (31KB)', click:'getBookinfo(8782902)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'托盤支架4.dwg (32KB)', click:'getBookinfo(8782903)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'欄桿.dwg (39KB)', click:'getBookinfo(8782904)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'欄桿1.dwg (39KB)', click:'getBookinfo(8782905)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'欄桿結構圖.dwg (31KB)', click:'getBookinfo(8782906)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'欄桿結構圖1.dwg (43KB)', click:'getBookinfo(8782907)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'水平支架.dwg (33KB)', click:'getBookinfo(8782908)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'盤板.dwg (32KB)', click:'getBookinfo(8782909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100022', pId:'0000100001', name:'盤板1.dwg (30KB)', click:'getBookinfo(8782910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100023', pId:'0000100001', name:'空心盤.dwg (28KB)', click:'getBookinfo(8782911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100024', pId:'0000100001', name:'空心盤筋板.dwg (29KB)', click:'getBookinfo(8782912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100025', pId:'0000100001', name:'空心盤筋板1.dwg (29KB)', click:'getBookinfo(8782913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100026', pId:'0000100001', name:'車軸盤筋板.dwg (36KB)', click:'getBookinfo(8782914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'ZZQ 封面單面.doc (229KB)', click:'getBookinfo(8782915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'畢業(yè)設計論文.doc (402KB)', click:'getBookinfo(8782916)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'載重汽車前梁設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8782889.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'內加固板.dwg',url:'http://m.facezit.com/p-8782890.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'內加固板1.dwg',url:'http://m.facezit.com/p-8782891.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'加固板.dwg',url:'http://m.facezit.com/p-8782892.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'加固板1.dwg',url:'http://m.facezit.com/p-8782893.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'復件 Drawing1.dwg',url:'http://m.facezit.com/p-8782894.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'底盤.dwg',url:'http://m.facezit.com/p-8782895.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'托盤.dwg',url:'http://m.facezit.com/p-8782896.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'托盤1.dwg',url:'http://m.facezit.com/p-8782897.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'托盤2.dwg',url:'http://m.facezit.com/p-8782898.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'托盤支架.dwg',url:'http://m.facezit.com/p-8782899.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'托盤支架1.dwg',url:'http://m.facezit.com/p-8782900.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'托盤支架2.dwg',url:'http://m.facezit.com/p-8782901.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'托盤支架3.dwg',url:'http://m.facezit.com/p-8782902.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'托盤支架4.dwg',url:'http://m.facezit.com/p-8782903.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'欄桿.dwg',url:'http://m.facezit.com/p-8782904.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'欄桿1.dwg',url:'http://m.facezit.com/p-8782905.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'欄桿結構圖.dwg',url:'http://m.facezit.com/p-8782906.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'欄桿結構圖1.dwg',url:'http://m.facezit.com/p-8782907.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'水平支架.dwg',url:'http://m.facezit.com/p-8782908.html', target:'_blank' },{ id:'000010000100021', pId:'0000100001', name:'盤板.dwg',url:'http://m.facezit.com/p-8782909.html', target:'_blank' },{ id:'000010000100022', pId:'0000100001', name:'盤板1.dwg',url:'http://m.facezit.com/p-8782910.html', target:'_blank' },{ id:'000010000100023', pId:'0000100001', name:'空心盤.dwg',url:'http://m.facezit.com/p-8782911.html', target:'_blank' },{ id:'000010000100024', pId:'0000100001', name:'空心盤筋板.dwg',url:'http://m.facezit.com/p-8782912.html', target:'_blank' },{ id:'000010000100025', pId:'0000100001', name:'空心盤筋板1.dwg',url:'http://m.facezit.com/p-8782913.html', target:'_blank' },{ id:'000010000100026', pId:'0000100001', name:'車軸盤筋板.dwg',url:'http://m.facezit.com/p-8782914.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'ZZQ 封面單面.doc',url:'http://m.facezit.com/p-8782915.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'畢業(yè)設計論文.doc',url:'http://m.facezit.com/p-8782916.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 = '3422328'; 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ù)據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });