'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床杠桿[831009]工藝及銑30215;30面夾具設(shè)計[版本3]【5張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡[7張] (包含8個文件)', },{ id:'0000100001', pId:'00001', name:'工藝卡1(A4).dwg (239KB)', click:'getBookinfo(8418337)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工藝卡1(A4)_recover.dwg (84KB)', click:'getBookinfo(8418338)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工藝卡2(A4).dwg (38KB)', click:'getBookinfo(8418339)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工藝卡3(A4).dwg (53KB)', click:'getBookinfo(8418340)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工藝卡4(A4).dwg (53KB)', click:'getBookinfo(8418341)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工藝卡5(A4).dwg (55KB)', click:'getBookinfo(8418342)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工藝卡6(A4).dwg (53KB)', click:'getBookinfo(8418343)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工藝卡7(A4).dwg (54KB)', click:'getBookinfo(8418344)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'工藝卡[1張] (包含1個文件)', },{ id:'0000200001', pId:'00002', name:'工藝過程卡片(A4).dwg (32KB)', click:'getBookinfo(8418345)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1-裝配圖.dwg (187KB)', click:'getBookinfo(8418346)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2-毛坯圖.dwg (53KB)', click:'getBookinfo(8418347)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-夾具體.dwg (72KB)', click:'getBookinfo(8418348)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A3-心軸.dwg (74KB)', click:'getBookinfo(8418349)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A3-零件圖.dwg (109KB)', click:'getBookinfo(8418350)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'夾具說明書.doc (503KB)', click:'getBookinfo(8418351)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工藝說明書.doc (988KB)', click:'getBookinfo(8418352)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'目錄.doc (26KB)', click:'getBookinfo(8418353)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'裝備課設(shè)任務(wù)書.doc (21KB)', click:'getBookinfo(8418354)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'裝備課設(shè)計劃書.doc (15KB)', click:'getBookinfo(8418355)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'說明書封面.doc (20KB)', click:'getBookinfo(8418356)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床杠桿[831009]工藝及銑30215;30面夾具設(shè)計[版本3]【5張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工藝卡1(A4).dwg',url:'http://m.facezit.com/p-8418337.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工藝卡1(A4)_recover.dwg',url:'http://m.facezit.com/p-8418338.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工藝卡2(A4).dwg',url:'http://m.facezit.com/p-8418339.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工藝卡3(A4).dwg',url:'http://m.facezit.com/p-8418340.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工藝卡4(A4).dwg',url:'http://m.facezit.com/p-8418341.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工藝卡5(A4).dwg',url:'http://m.facezit.com/p-8418342.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工藝卡6(A4).dwg',url:'http://m.facezit.com/p-8418343.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工藝卡7(A4).dwg',url:'http://m.facezit.com/p-8418344.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'工藝過程卡片(A4).dwg',url:'http://m.facezit.com/p-8418345.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1-裝配圖.dwg',url:'http://m.facezit.com/p-8418346.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2-毛坯圖.dwg',url:'http://m.facezit.com/p-8418347.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-夾具體.dwg',url:'http://m.facezit.com/p-8418348.html', target:'_blank' },{ id:'00006', pId:'1', name:'A3-心軸.dwg',url:'http://m.facezit.com/p-8418349.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-零件圖.dwg',url:'http://m.facezit.com/p-8418350.html', target:'_blank' },{ id:'00008', pId:'1', name:'夾具說明書.doc',url:'http://m.facezit.com/p-8418351.html', target:'_blank' },{ id:'00009', pId:'1', name:'工藝說明書.doc',url:'http://m.facezit.com/p-8418352.html', target:'_blank' },{ id:'00010', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8418353.html', target:'_blank' },{ id:'00011', pId:'1', name:'裝備課設(shè)任務(wù)書.doc',url:'http://m.facezit.com/p-8418354.html', target:'_blank' },{ id:'00012', pId:'1', name:'裝備課設(shè)計劃書.doc',url:'http://m.facezit.com/p-8418355.html', target:'_blank' },{ id:'00013', pId:'1', name:'說明書封面.doc',url:'http://m.facezit.com/p-8418356.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 = '7248263'; 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; }); });