'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'制定ca6140車床撥叉的加工工藝,設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'制定CA6140車床撥叉的加工工藝,設(shè)計 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'不全 (包含6個文件)', },{ id:'000010000100001', pId:'0000100001', name:'acad.fas.lnk (1KB)', },{ id:'000010000100002', pId:'0000100001', name:'工藝規(guī)程設(shè)計.doc (166KB)', click:'getBookinfo(8183124)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'毛坯.dwg (68KB)', click:'getBookinfo(8183125)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'目錄.doc (19KB)', click:'getBookinfo(8183126)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'課程設(shè)計.dwg (138KB)', click:'getBookinfo(8183127)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'零件.dwg (61KB)', click:'getBookinfo(8183128)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'重復(fù)命題!內(nèi)容有區(qū)別 (包含12個文件)', },{ id:'000010000200001', pId:'0000100002', name:'acad.fas.lnk (1KB)', },{ id:'000010000200002', pId:'0000100002', name:'封皮任務(wù)書.doc (12KB)', click:'getBookinfo(8183129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'小底座.dwg (71KB)', click:'getBookinfo(8183130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'工序.dwg (59KB)', click:'getBookinfo(8183131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'底座.dwg (85KB)', click:'getBookinfo(8183132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'撥叉毛坯圖.dwg (66KB)', click:'getBookinfo(8183133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'撥叉零件圖.dwg (99KB)', click:'getBookinfo(8183134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'撥零件圖.dwl (0KB)', },{ id:'000010000200009', pId:'0000100002', name:'裝配圖.dwg (89KB)', click:'getBookinfo(8183135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200010', pId:'0000100002', name:'設(shè)計說明書.doc (193KB)', click:'getBookinfo(8183136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200011', pId:'0000100002', name:'鉆摸.dwg (48KB)', click:'getBookinfo(8183137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200012', pId:'0000100002', name:'零件圖.dwg (70KB)', click:'getBookinfo(8183138)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'制定ca6140車床撥叉的加工工藝,設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'工藝規(guī)程設(shè)計.doc',url:'http://m.facezit.com/p-8183124.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'毛坯.dwg',url:'http://m.facezit.com/p-8183125.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'目錄.doc',url:'http://m.facezit.com/p-8183126.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'課程設(shè)計.dwg',url:'http://m.facezit.com/p-8183127.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'零件.dwg',url:'http://m.facezit.com/p-8183128.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'封皮任務(wù)書.doc',url:'http://m.facezit.com/p-8183129.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'小底座.dwg',url:'http://m.facezit.com/p-8183130.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'工序.dwg',url:'http://m.facezit.com/p-8183131.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'底座.dwg',url:'http://m.facezit.com/p-8183132.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'撥叉毛坯圖.dwg',url:'http://m.facezit.com/p-8183133.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'撥叉零件圖.dwg',url:'http://m.facezit.com/p-8183134.html', target:'_blank' },{ id:'000010000200009', pId:'0000100002', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8183135.html', target:'_blank' },{ id:'000010000200010', pId:'0000100002', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8183136.html', target:'_blank' },{ id:'000010000200011', pId:'0000100002', name:'鉆摸.dwg',url:'http://m.facezit.com/p-8183137.html', target:'_blank' },{ id:'000010000200012', pId:'0000100002', name:'零件圖.dwg',url:'http://m.facezit.com/p-8183138.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 = '3528885'; 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; }); });