'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'萬向節(jié)滑動叉機加工藝及工夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'UG圖 (包含1個文件)', },{ id:'0000100001', pId:'00001', name:'wxjhdc.prt (828KB)', },{ id:'00002', pId:'1', name:'萬向節(jié)夾具[二套] (包含7個文件)', },{ id:'0000200001', pId:'00002', name:'夾具1 (包含2個文件)', },{ id:'000020000100001', pId:'0000200001', name:'夾具裝配圖(1).dwg (147KB)', click:'getBookinfo(8718379)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000020000100002', pId:'0000200001', name:'夾具零件圖.dwg (126KB)', click:'getBookinfo(8718380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'夾具2 (包含3個文件)', },{ id:'000020000200001', pId:'0000200002', name:'夾具裝配圖.dwg (232KB)', click:'getBookinfo(8718381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000020000200002', pId:'0000200002', name:'零件圖.dwg (82KB)', click:'getBookinfo(8718382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000020000200003', pId:'0000200002', name:'零件圖1.dwg (74KB)', click:'getBookinfo(8718383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任務(wù)書 (包含1個文件)', },{ id:'0000300001', pId:'00003', name:'任務(wù)書.doc (59KB)', click:'getBookinfo(8718384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'原創(chuàng)性聲明 (包含1個文件)', },{ id:'0000400001', pId:'00004', name:'學(xué)士學(xué)位論文原創(chuàng)性聲明.doc (61KB)', click:'getBookinfo(8718385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'外文翻譯 (包含1個文件)', },{ id:'0000500001', pId:'00005', name:'外文翻譯.doc (45KB)', click:'getBookinfo(8718386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工藝卡+工序卡 (包含16個文件)', },{ id:'0000600001', pId:'00006', name:'工序卡 (包含12個文件)', },{ id:'000060000100001', pId:'0000600001', name:'工序15.dwg (82KB)', click:'getBookinfo(8718387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100002', pId:'0000600001', name:'工序20.dwg (82KB)', click:'getBookinfo(8718388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100003', pId:'0000600001', name:'工序25.dwg (80KB)', click:'getBookinfo(8718389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100004', pId:'0000600001', name:'工序30.dwg (121KB)', click:'getBookinfo(8718390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100005', pId:'0000600001', name:'工序35.dwg (85KB)', click:'getBookinfo(8718391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100006', pId:'0000600001', name:'工序40.dwg (73KB)', click:'getBookinfo(8718392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100007', pId:'0000600001', name:'工序45.dwg (83KB)', click:'getBookinfo(8718393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100008', pId:'0000600001', name:'工序50.dwg (71KB)', click:'getBookinfo(8718394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100009', pId:'0000600001', name:'工序55.dwg (81KB)', click:'getBookinfo(8718395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100010', pId:'0000600001', name:'工序60.dwg (84KB)', click:'getBookinfo(8718396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100011', pId:'0000600001', name:'工序65.dwg (85KB)', click:'getBookinfo(8718397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000100012', pId:'0000600001', name:'工序70.dwg (82KB)', click:'getBookinfo(8718398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000600002', pId:'00006', name:'工藝卡 (包含2個文件)', },{ id:'000060000200001', pId:'0000600002', name:'工藝卡1.dwg (79KB)', click:'getBookinfo(8718399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000060000200002', pId:'0000600002', name:'工藝卡2.dwg (59KB)', click:'getBookinfo(8718400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'開題報告 (包含2個文件)', },{ id:'0000700001', pId:'00007', name:'萬向節(jié)開題報告.doc (102KB)', click:'getBookinfo(8718401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000700002', pId:'00007', name:'外文翻譯封面.doc (63KB)', click:'getBookinfo(8718402)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'摘要 (包含1個文件)', },{ id:'0000800001', pId:'00008', name:'摘要.doc (26KB)', click:'getBookinfo(8718403)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'論文 (包含1個文件)', },{ id:'0000900001', pId:'00009', name:'萬向節(jié)滑動叉機加工藝及工夾具設(shè)計.doc (267KB)', click:'getBookinfo(8718404)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'論文封面 (包含1個文件)', },{ id:'0001000001', pId:'00010', name:'畢業(yè)設(shè)計(論文)封面.doc (101KB)', click:'getBookinfo(8718405)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'萬向節(jié)滑動叉.dwg (117KB)', click:'getBookinfo(8718406)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'萬向節(jié)滑動叉機加工藝及工夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000020000100001', pId:'0000200001', name:'夾具裝配圖(1).dwg',url:'http://m.facezit.com/p-8718379.html', target:'_blank' },{ id:'000020000100002', pId:'0000200001', name:'夾具零件圖.dwg',url:'http://m.facezit.com/p-8718380.html', target:'_blank' },{ id:'000020000200001', pId:'0000200002', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8718381.html', target:'_blank' },{ id:'000020000200002', pId:'0000200002', name:'零件圖.dwg',url:'http://m.facezit.com/p-8718382.html', target:'_blank' },{ id:'000020000200003', pId:'0000200002', name:'零件圖1.dwg',url:'http://m.facezit.com/p-8718383.html', target:'_blank' },{ id:'0000300001', pId:'00003', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8718384.html', target:'_blank' },{ id:'0000400001', pId:'00004', name:'學(xué)士學(xué)位論文原創(chuàng)性聲明.doc',url:'http://m.facezit.com/p-8718385.html', target:'_blank' },{ id:'0000500001', pId:'00005', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8718386.html', target:'_blank' },{ id:'000060000100001', pId:'0000600001', name:'工序15.dwg',url:'http://m.facezit.com/p-8718387.html', target:'_blank' },{ id:'000060000100002', pId:'0000600001', name:'工序20.dwg',url:'http://m.facezit.com/p-8718388.html', target:'_blank' },{ id:'000060000100003', pId:'0000600001', name:'工序25.dwg',url:'http://m.facezit.com/p-8718389.html', target:'_blank' },{ id:'000060000100004', pId:'0000600001', name:'工序30.dwg',url:'http://m.facezit.com/p-8718390.html', target:'_blank' },{ id:'000060000100005', pId:'0000600001', name:'工序35.dwg',url:'http://m.facezit.com/p-8718391.html', target:'_blank' },{ id:'000060000100006', pId:'0000600001', name:'工序40.dwg',url:'http://m.facezit.com/p-8718392.html', target:'_blank' },{ id:'000060000100007', pId:'0000600001', name:'工序45.dwg',url:'http://m.facezit.com/p-8718393.html', target:'_blank' },{ id:'000060000100008', pId:'0000600001', name:'工序50.dwg',url:'http://m.facezit.com/p-8718394.html', target:'_blank' },{ id:'000060000100009', pId:'0000600001', name:'工序55.dwg',url:'http://m.facezit.com/p-8718395.html', target:'_blank' },{ id:'000060000100010', pId:'0000600001', name:'工序60.dwg',url:'http://m.facezit.com/p-8718396.html', target:'_blank' },{ id:'000060000100011', pId:'0000600001', name:'工序65.dwg',url:'http://m.facezit.com/p-8718397.html', target:'_blank' },{ id:'000060000100012', pId:'0000600001', name:'工序70.dwg',url:'http://m.facezit.com/p-8718398.html', target:'_blank' },{ id:'000060000200001', pId:'0000600002', name:'工藝卡1.dwg',url:'http://m.facezit.com/p-8718399.html', target:'_blank' },{ id:'000060000200002', pId:'0000600002', name:'工藝卡2.dwg',url:'http://m.facezit.com/p-8718400.html', target:'_blank' },{ id:'0000700001', pId:'00007', name:'萬向節(jié)開題報告.doc',url:'http://m.facezit.com/p-8718401.html', target:'_blank' },{ id:'0000700002', pId:'00007', name:'外文翻譯封面.doc',url:'http://m.facezit.com/p-8718402.html', target:'_blank' },{ id:'0000800001', pId:'00008', name:'摘要.doc',url:'http://m.facezit.com/p-8718403.html', target:'_blank' },{ id:'0000900001', pId:'00009', name:'萬向節(jié)滑動叉機加工藝及工夾具設(shè)計.doc',url:'http://m.facezit.com/p-8718404.html', target:'_blank' },{ id:'0001000001', pId:'00010', name:'畢業(yè)設(shè)計(論文)封面.doc',url:'http://m.facezit.com/p-8718405.html', target:'_blank' },{ id:'00011', pId:'1', name:'萬向節(jié)滑動叉.dwg',url:'http://m.facezit.com/p-8718406.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 = '3435136'; 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; }); });