'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床撥叉831003.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CA6140車床撥叉831003 (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'831003撥叉1 (包含9個文件)', },{ id:'000010000100001', pId:'0000100001', name:'chen (包含8個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'Drawing1.dwg (58KB)', click:'getBookinfo(8234605)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'Drawing2.dwg (59KB)', click:'getBookinfo(8234606)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'Drawing22222.dwg (93KB)', click:'getBookinfo(8234607)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'Drawing3.dwg (54KB)', click:'getBookinfo(8234608)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'lishiyan卡.dwg (52KB)', click:'getBookinfo(8234609)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'夾具總圖.dwg (58KB)', click:'getBookinfo(8234610)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'機械制造課程設計.doc (131KB)', click:'getBookinfo(8234611)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'機械加工工藝過程.doc (60KB)', click:'getBookinfo(8234612)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Drawing1.dwg (58KB)', click:'getBookinfo(8234613)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'Drawing2.dwg (47KB)', click:'getBookinfo(8234614)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'Drawing22222.dwg (93KB)', click:'getBookinfo(8234615)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'lishiyan卡.dwg (52KB)', click:'getBookinfo(8234616)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'夾具圖.dwg (50KB)', click:'getBookinfo(8234617)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'夾具零件圖.dwg (68KB)', click:'getBookinfo(8234618)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'撥叉831003三維.dwg (142KB)', click:'getBookinfo(8234619)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'撥叉毛坯圖.dwg (57KB)', click:'getBookinfo(8234620)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'撥叉零件圖.dwg (53KB)', click:'getBookinfo(8234621)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'機械制造課程設計.doc (131KB)', click:'getBookinfo(8234622)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'機械加工工藝過程.doc (60KB)', click:'getBookinfo(8234623)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'裝配圖.dwg (52KB)', click:'getBookinfo(8234624)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'說明書.doc (147KB)', click:'getBookinfo(8234625)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'鉆孔夾具體.dwg (79KB)', click:'getBookinfo(8234626)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'零件圖.dwg (66KB)', click:'getBookinfo(8234627)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉831003.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8234605.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'Drawing2.dwg',url:'http://m.facezit.com/p-8234606.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'Drawing22222.dwg',url:'http://m.facezit.com/p-8234607.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'Drawing3.dwg',url:'http://m.facezit.com/p-8234608.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'lishiyan卡.dwg',url:'http://m.facezit.com/p-8234609.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'夾具總圖.dwg',url:'http://m.facezit.com/p-8234610.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'機械制造課程設計.doc',url:'http://m.facezit.com/p-8234611.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'機械加工工藝過程.doc',url:'http://m.facezit.com/p-8234612.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8234613.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'Drawing2.dwg',url:'http://m.facezit.com/p-8234614.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'Drawing22222.dwg',url:'http://m.facezit.com/p-8234615.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'lishiyan卡.dwg',url:'http://m.facezit.com/p-8234616.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'夾具圖.dwg',url:'http://m.facezit.com/p-8234617.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'夾具零件圖.dwg',url:'http://m.facezit.com/p-8234618.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'撥叉831003三維.dwg',url:'http://m.facezit.com/p-8234619.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'撥叉毛坯圖.dwg',url:'http://m.facezit.com/p-8234620.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'撥叉零件圖.dwg',url:'http://m.facezit.com/p-8234621.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'機械制造課程設計.doc',url:'http://m.facezit.com/p-8234622.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'機械加工工藝過程.doc',url:'http://m.facezit.com/p-8234623.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8234624.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8234625.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'鉆孔夾具體.dwg',url:'http://m.facezit.com/p-8234626.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8234627.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 = '3770492'; 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; }); });