'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'支板的沖壓工藝與模具設(shè)計三角形【沖孔落料復合模】【13張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'翻譯 (包含1個文件)', },{ id:'0000100001', pId:'00001', name:'翻譯.doc (132KB)', click:'getBookinfo(8678909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A2-裝配圖.dwg (120KB)', click:'getBookinfo(8678910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A3-上模座.dwg (82KB)', click:'getBookinfo(8678911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-下模座.dwg (80KB)', click:'getBookinfo(8678912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A4-凸凹模.dwg (71KB)', click:'getBookinfo(8678913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A4-凸凹模固定板.dwg (76KB)', click:'getBookinfo(8678914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A4-凸模.dwg (103KB)', click:'getBookinfo(8678915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A4-凸模固定板.dwg (78KB)', click:'getBookinfo(8678916)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A4-卸料板.dwg (75KB)', click:'getBookinfo(8678917)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A4-墊板1.dwg (87KB)', click:'getBookinfo(8678918)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A4-墊板2.dwg (74KB)', click:'getBookinfo(8678919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A4-推件塊.dwg (85KB)', click:'getBookinfo(8678920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'A4-模柄.dwg (100KB)', click:'getBookinfo(8678921)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'A4-落料凹模.dwg (119KB)', click:'getBookinfo(8678922)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'中期調(diào)查表.doc (22KB)', click:'getBookinfo(8678923)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'任務(wù)書.doc (22KB)', click:'getBookinfo(8678924)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'圖紙合集.dwg (261KB)', click:'getBookinfo(8678925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'插圖清單.doc (22KB)', click:'getBookinfo(8678926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'摘要.doc (24KB)', click:'getBookinfo(8678927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'支板的沖壓工藝與模具設(shè)計.doc (495KB)', click:'getBookinfo(8678928)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'機械加工工藝過程卡.doc (42KB)', click:'getBookinfo(8678929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'目錄.doc (32KB)', click:'getBookinfo(8678930)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'評語.doc (17KB)', click:'getBookinfo(8678931)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'支板的沖壓工藝與模具設(shè)計三角形【沖孔落料復合?!俊?3張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'翻譯.doc',url:'http://algolinternational.com/p-8678909.html', target:'_blank' },{ id:'00002', pId:'1', name:'A2-裝配圖.dwg',url:'http://algolinternational.com/p-8678910.html', target:'_blank' },{ id:'00003', pId:'1', name:'A3-上模座.dwg',url:'http://algolinternational.com/p-8678911.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-下模座.dwg',url:'http://algolinternational.com/p-8678912.html', target:'_blank' },{ id:'00005', pId:'1', name:'A4-凸凹模.dwg',url:'http://algolinternational.com/p-8678913.html', target:'_blank' },{ id:'00006', pId:'1', name:'A4-凸凹模固定板.dwg',url:'http://algolinternational.com/p-8678914.html', target:'_blank' },{ id:'00007', pId:'1', name:'A4-凸模.dwg',url:'http://algolinternational.com/p-8678915.html', target:'_blank' },{ id:'00008', pId:'1', name:'A4-凸模固定板.dwg',url:'http://algolinternational.com/p-8678916.html', target:'_blank' },{ id:'00009', pId:'1', name:'A4-卸料板.dwg',url:'http://algolinternational.com/p-8678917.html', target:'_blank' },{ id:'00010', pId:'1', name:'A4-墊板1.dwg',url:'http://algolinternational.com/p-8678918.html', target:'_blank' },{ id:'00011', pId:'1', name:'A4-墊板2.dwg',url:'http://algolinternational.com/p-8678919.html', target:'_blank' },{ id:'00012', pId:'1', name:'A4-推件塊.dwg',url:'http://algolinternational.com/p-8678920.html', target:'_blank' },{ id:'00013', pId:'1', name:'A4-模柄.dwg',url:'http://algolinternational.com/p-8678921.html', target:'_blank' },{ id:'00014', pId:'1', name:'A4-落料凹模.dwg',url:'http://algolinternational.com/p-8678922.html', target:'_blank' },{ id:'00015', pId:'1', name:'中期調(diào)查表.doc',url:'http://algolinternational.com/p-8678923.html', target:'_blank' },{ id:'00016', pId:'1', name:'任務(wù)書.doc',url:'http://algolinternational.com/p-8678924.html', target:'_blank' },{ id:'00017', pId:'1', name:'圖紙合集.dwg',url:'http://algolinternational.com/p-8678925.html', target:'_blank' },{ id:'00018', pId:'1', name:'插圖清單.doc',url:'http://algolinternational.com/p-8678926.html', target:'_blank' },{ id:'00019', pId:'1', name:'摘要.doc',url:'http://algolinternational.com/p-8678927.html', target:'_blank' },{ id:'00020', pId:'1', name:'支板的沖壓工藝與模具設(shè)計.doc',url:'http://algolinternational.com/p-8678928.html', target:'_blank' },{ id:'00021', pId:'1', name:'機械加工工藝過程卡.doc',url:'http://algolinternational.com/p-8678929.html', target:'_blank' },{ id:'00022', pId:'1', name:'目錄.doc',url:'http://algolinternational.com/p-8678930.html', target:'_blank' },{ id:'00023', pId:'1', name:'評語.doc',url:'http://algolinternational.com/p-8678931.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 = '7261844'; 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; }); });