'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'撥叉831002的工藝規(guī)程及銑32x32端面的工裝夾具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'撥叉831002的工藝規(guī)程及銑32X32端面的工裝夾具設(shè)計(jì) (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡片[12張] (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'工序卡片總結(jié)1.doc (80KB)', click:'getBookinfo(8778662)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'工序卡片總結(jié)10.doc (77KB)', click:'getBookinfo(8778663)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工序卡片總結(jié)11.doc (75KB)', click:'getBookinfo(8778664)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'工序卡片總結(jié)12.doc (83KB)', click:'getBookinfo(8778665)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'工序卡片總結(jié)2.doc (73KB)', click:'getBookinfo(8778666)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工序卡片總結(jié)3.doc (83KB)', click:'getBookinfo(8778667)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工序卡片總結(jié)4.doc (78KB)', click:'getBookinfo(8778668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'工序卡片總結(jié)5.doc (76KB)', click:'getBookinfo(8778669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'工序卡片總結(jié)6.doc (81KB)', click:'getBookinfo(8778670)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'工序卡片總結(jié)7.doc (79KB)', click:'getBookinfo(8778671)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'工序卡片總結(jié)8.doc (85KB)', click:'getBookinfo(8778672)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'工序卡片總結(jié)9.doc (82KB)', click:'getBookinfo(8778673)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'銑夾具設(shè)計(jì) (包含2個文件)', },{ id:'000010000200001', pId:'0000100002', name:'831002銑32-32面夾具體.dwg (117KB)', click:'getBookinfo(8778674)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'裝配圖.dxf (425KB)', },{ id:'0000100003', pId:'00001', name:'機(jī)械加工工藝過程卡片.doc (57KB)', click:'getBookinfo(8778675)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'毛坯圖.dxf (365KB)', },{ id:'0000100005', pId:'00001', name:'目 錄.doc (21KB)', click:'getBookinfo(8778676)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'課程設(shè)計(jì)--撥叉831002的工藝規(guī)程及銑32X32端面的工裝夾具設(shè)計(jì).doc (581KB)', click:'getBookinfo(8778677)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'零件圖.dxf (228KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'撥叉831002的工藝規(guī)程及銑32x32端面的工裝夾具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'工序卡片總結(jié)1.doc',url:'http://www.nydnatest.com/p-8778662.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'工序卡片總結(jié)10.doc',url:'http://www.nydnatest.com/p-8778663.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工序卡片總結(jié)11.doc',url:'http://www.nydnatest.com/p-8778664.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'工序卡片總結(jié)12.doc',url:'http://www.nydnatest.com/p-8778665.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'工序卡片總結(jié)2.doc',url:'http://www.nydnatest.com/p-8778666.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工序卡片總結(jié)3.doc',url:'http://www.nydnatest.com/p-8778667.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工序卡片總結(jié)4.doc',url:'http://www.nydnatest.com/p-8778668.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'工序卡片總結(jié)5.doc',url:'http://www.nydnatest.com/p-8778669.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'工序卡片總結(jié)6.doc',url:'http://www.nydnatest.com/p-8778670.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'工序卡片總結(jié)7.doc',url:'http://www.nydnatest.com/p-8778671.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'工序卡片總結(jié)8.doc',url:'http://www.nydnatest.com/p-8778672.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'工序卡片總結(jié)9.doc',url:'http://www.nydnatest.com/p-8778673.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'831002銑32-32面夾具體.dwg',url:'http://www.nydnatest.com/p-8778674.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'機(jī)械加工工藝過程卡片.doc',url:'http://www.nydnatest.com/p-8778675.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'目 錄.doc',url:'http://www.nydnatest.com/p-8778676.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'課程設(shè)計(jì)--撥叉831002的工藝規(guī)程及銑32X32端面的工裝夾具設(shè)計(jì).doc',url:'http://www.nydnatest.com/p-8778677.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 = '3428674'; 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; }); });