'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b504智能化醫(yī)療診斷系統(tǒng)的設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B504智能化醫(yī)療診斷系統(tǒng)的設(shè)計(jì) (包含14個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'主程序流程圖.DWG (188KB)', click:'getBookinfo(8096812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'仿真圖.BMP (3154KB)', click:'getBookinfo(8096813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'仿真圖.DSN (114KB)', },{ id:'0000100004', pId:'00001', name:'仿真圖.PDF (40KB)', click:'getBookinfo(8096814)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100005', pId:'00001', name:'仿真圖.PWI (1KB)', },{ id:'0000100006', pId:'00001', name:'截圖11.png (27KB)', click:'getBookinfo(8096815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'截圖12.png (15KB)', click:'getBookinfo(8096816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'顯示模塊電路.DWG (109KB)', click:'getBookinfo(8096817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'智能化醫(yī)療診斷系統(tǒng)設(shè)計(jì)說(shuō)明書.doc (1349KB)', click:'getBookinfo(8096818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'正負(fù)電壓轉(zhuǎn)換電路設(shè)計(jì).DWG (109KB)', click:'getBookinfo(8096819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'正負(fù)電壓轉(zhuǎn)換電路設(shè)計(jì).dwl (0KB)', },{ id:'0000100012', pId:'00001', name:'系統(tǒng)總體框圖.DWG (107KB)', click:'getBookinfo(8096820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'論文格式模板.doc (234KB)', click:'getBookinfo(8096821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'過(guò)程管理手冊(cè)填寫模板.doc (950KB)', click:'getBookinfo(8096822)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'b504智能化醫(yī)療診斷系統(tǒng)的設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'主程序流程圖.DWG',url:'http://www.nydnatest.com/p-8096812.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'仿真圖.BMP',url:'http://www.nydnatest.com/p-8096813.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'仿真圖.PDF',url:'http://www.nydnatest.com/p-8096814.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'截圖11.png',url:'http://www.nydnatest.com/p-8096815.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'截圖12.png',url:'http://www.nydnatest.com/p-8096816.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'顯示模塊電路.DWG',url:'http://www.nydnatest.com/p-8096817.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'智能化醫(yī)療診斷系統(tǒng)設(shè)計(jì)說(shuō)明書.doc',url:'http://www.nydnatest.com/p-8096818.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'正負(fù)電壓轉(zhuǎn)換電路設(shè)計(jì).DWG',url:'http://www.nydnatest.com/p-8096819.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'系統(tǒng)總體框圖.DWG',url:'http://www.nydnatest.com/p-8096820.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'論文格式模板.doc',url:'http://www.nydnatest.com/p-8096821.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'過(guò)程管理手冊(cè)填寫模板.doc',url:'http://www.nydnatest.com/p-8096822.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 = '3517943'; 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; }); });