'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'變速箱體制造工藝規(guī)程及專用夾具設(shè)計(jì)鉆10φ12【11張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'全套CAD圖紙5張.dwg (766KB)', click:'getBookinfo(8319490)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'加工工藝過程卡.doc (168KB)', click:'getBookinfo(8319491)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'墊板.DWG (59KB)', click:'getBookinfo(8319492)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'定位銷.DWG (78KB)', click:'getBookinfo(8319493)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'機(jī)械加工工序卡.doc (844KB)', click:'getBookinfo(8319494)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'菱形銷.DWG (59KB)', click:'getBookinfo(8319495)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'設(shè)計(jì)說明書.doc (1237KB)', click:'getBookinfo(8319496)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'調(diào)節(jié)螺桿.DWG (49KB)', click:'getBookinfo(8319497)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'起吊螺絲.DWG (86KB)', click:'getBookinfo(8319498)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'鉤型壓板.DWG (93KB)', click:'getBookinfo(8319499)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'變速箱體制造工藝規(guī)程及專用夾具設(shè)計(jì)鉆10φ12【11張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'全套CAD圖紙5張.dwg',url:'http://www.nydnatest.com/p-8319490.html', target:'_blank' },{ id:'00002', pId:'1', name:'加工工藝過程卡.doc',url:'http://www.nydnatest.com/p-8319491.html', target:'_blank' },{ id:'00003', pId:'1', name:'墊板.DWG',url:'http://www.nydnatest.com/p-8319492.html', target:'_blank' },{ id:'00004', pId:'1', name:'定位銷.DWG',url:'http://www.nydnatest.com/p-8319493.html', target:'_blank' },{ id:'00005', pId:'1', name:'機(jī)械加工工序卡.doc',url:'http://www.nydnatest.com/p-8319494.html', target:'_blank' },{ id:'00006', pId:'1', name:'菱形銷.DWG',url:'http://www.nydnatest.com/p-8319495.html', target:'_blank' },{ id:'00007', pId:'1', name:'設(shè)計(jì)說明書.doc',url:'http://www.nydnatest.com/p-8319496.html', target:'_blank' },{ id:'00008', pId:'1', name:'調(diào)節(jié)螺桿.DWG',url:'http://www.nydnatest.com/p-8319497.html', target:'_blank' },{ id:'00009', pId:'1', name:'起吊螺絲.DWG',url:'http://www.nydnatest.com/p-8319498.html', target:'_blank' },{ id:'00010', pId:'1', name:'鉤型壓板.DWG',url:'http://www.nydnatest.com/p-8319499.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 = '6791824'; 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; }); });