'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'內(nèi)螺紋管接頭注塑模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'內(nèi)螺紋管接頭注塑模具設(shè)計(jì) (包含13個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'內(nèi)螺紋管接頭注塑模具設(shè)計(jì) (包含12個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'圖紙 (包含6個(gè)文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'A0.裝配圖.dwg (331KB)', click:'getBookinfo(8502803)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'A1.凹模.dwg (74KB)', click:'getBookinfo(8502804)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'A2.凸模.dwg (105KB)', click:'getBookinfo(8502805)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'A2.零件圖.dwg (49KB)', click:'getBookinfo(8502806)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'A3.定位圈.dwg (62KB)', click:'getBookinfo(8502807)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'acad.fas (2KB)', },{ id:'000010000100002', pId:'0000100001', name:'文擋 (包含3個(gè)文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'外文翻譯.doc (37KB)', click:'getBookinfo(8502808)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'摘要1.doc (24KB)', click:'getBookinfo(8502809)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200003', pId:'000010000100002', name:'說明書8.doc (199KB)', click:'getBookinfo(8502810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'打印要求.txt (0KB)', click:'getBookinfo(8502811)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'內(nèi)螺紋管接頭注塑模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'A0.裝配圖.dwg',url:'http://r1worldwide.com/p-8502803.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'A1.凹模.dwg',url:'http://r1worldwide.com/p-8502804.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'A2.凸模.dwg',url:'http://r1worldwide.com/p-8502805.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'A2.零件圖.dwg',url:'http://r1worldwide.com/p-8502806.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'A3.定位圈.dwg',url:'http://r1worldwide.com/p-8502807.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'外文翻譯.doc',url:'http://r1worldwide.com/p-8502808.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'摘要1.doc',url:'http://r1worldwide.com/p-8502809.html', target:'_blank' },{ id:'00001000010000200003', pId:'000010000100002', name:'說明書8.doc',url:'http://r1worldwide.com/p-8502810.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'打印要求.txt',url:'http://r1worldwide.com/p-8502811.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7257908'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });
copyright@ 2011-2023 聯(lián)系方式qq:9411152
本站所有資料均屬于原創(chuàng)者所有,僅提供參考和學(xué)習(xí)交流之用,請(qǐng)勿用做其他用途,轉(zhuǎn)載必究!如有侵犯您的權(quán)利請(qǐng)聯(lián)系本站,一經(jīng)查實(shí)我們會(huì)立即刪除相關(guān)內(nèi)容!