'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4384接插件自動檢測裝置設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4384接插件自動檢測裝置設(shè)計 (包含44個文件)', },{ id:'0000100001', pId:'00001', name:'最終設(shè)計 (包含43個文件)', },{ id:'000010000100001', pId:'0000100001', name:'裝配圖 (包含41個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'6003軸承.SLDPRT (365KB)', },{ id:'00001000010000100002', pId:'000010000100001', name:'M3 x 10.SLDPRT (229KB)', },{ id:'00001000010000100003', pId:'000010000100001', name:'仿形塊.SLDPRT (138KB)', },{ id:'00001000010000100004', pId:'000010000100001', name:'側(cè)板.SLDPRT (263KB)', },{ id:'00001000010000100005', pId:'000010000100001', name:'減速器箱體.SLDPRT (88KB)', },{ id:'00001000010000100006', pId:'000010000100001', name:'套筒.SLDPRT (104KB)', },{ id:'00001000010000100007', pId:'000010000100001', name:'導(dǎo)軌.SLDPRT (248KB)', },{ id:'00001000010000100008', pId:'000010000100001', name:'導(dǎo)軌二.SLDPRT (193KB)', },{ id:'00001000010000100009', pId:'000010000100001', name:'導(dǎo)軌模組.SLDASM (226KB)', },{ id:'00001000010000100010', pId:'000010000100001', name:'平鍵.SLDPRT (123KB)', },{ id:'00001000010000100011', pId:'000010000100001', name:'底板1.SLDPRT (376KB)', },{ id:'00001000010000100012', pId:'000010000100001', name:'彈簧墊片.SLDPRT (117KB)', },{ id:'00001000010000100013', pId:'000010000100001', name:'感應(yīng)器.SLDPRT (230KB)', },{ id:'00001000010000100014', pId:'000010000100001', name:'感應(yīng)器二.SLDPRT (232KB)', },{ id:'00001000010000100015', pId:'000010000100001', name:'扣環(huán).SLDPRT (96KB)', },{ id:'00001000010000100016', pId:'000010000100001', name:'摩擦輪.SLDPRT (348KB)', },{ id:'00001000010000100017', pId:'000010000100001', name:'摩擦輪彈性擋圈.SLDPRT (149KB)', },{ id:'00001000010000100018', pId:'000010000100001', name:'支架.SLDPRT (114KB)', },{ id:'00001000010000100019', pId:'000010000100001', name:'顯示屏.SLDPRT (229KB)', },{ id:'00001000010000100020', pId:'000010000100001', name:'最終裝配體.SLDASM (2545KB)', },{ id:'00001000010000100021', pId:'000010000100001', name:'桿組.SLDASM (187KB)', },{ id:'00001000010000100022', pId:'000010000100001', name:'橡膠.SLDPRT (97KB)', },{ id:'00001000010000100023', pId:'000010000100001', name:'滾輪柱.SLDPRT (99KB)', },{ id:'00001000010000100024', pId:'000010000100001', name:'滾輪模組.SLDASM (181KB)', },{ id:'00001000010000100025', pId:'000010000100001', name:'蓋.SLDPRT (141KB)', },{ id:'00001000010000100026', pId:'000010000100001', name:'箱底.SLDPRT (165KB)', },{ id:'00001000010000100027', pId:'000010000100001', name:'組合.SLDASM (467KB)', },{ id:'00001000010000100028', pId:'000010000100001', name:'組合二.SLDASM (414KB)', },{ id:'00001000010000100029', pId:'000010000100001', name:'螺母.SLDPRT (213KB)', },{ id:'00001000010000100030', pId:'000010000100001', name:'螺釘 M5 x 20.SLDPRT (211KB)', },{ id:'00001000010000100031', pId:'000010000100001', name:'螺釘 M8 x 35.SLDPRT (211KB)', },{ id:'00001000010000100032', pId:'000010000100001', name:'軸承12.SLDPRT (390KB)', },{ id:'00001000010000100033', pId:'000010000100001', name:'軸承3.SLDPRT (325KB)', },{ id:'00001000010000100034', pId:'000010000100001', name:'銅帶.SLDPRT (203KB)', },{ id:'00001000010000100035', pId:'000010000100001', name:'銅帶二.SLDPRT (345KB)', },{ id:'00001000010000100036', pId:'000010000100001', name:'銷 3X16.SLDPRT (104KB)', },{ id:'00001000010000100037', pId:'000010000100001', name:'銷 5X20.SLDPRT (104KB)', },{ id:'00001000010000100038', pId:'000010000100001', name:'銷 5X30..SLDPRT (105KB)', },{ id:'00001000010000100039', pId:'000010000100001', name:'齒輪一.SLDPRT (396KB)', },{ id:'00001000010000100040', pId:'000010000100001', name:'齒輪模組.SLDASM (337KB)', },{ id:'00001000010000100041', pId:'000010000100001', name:'齒輪軸.SLDPRT (174KB)', },{ id:'000010000100002', pId:'0000100001', name:'說明書1.doc (2331KB)', click:'getBookinfo(8186354)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4384接插件自動檢測裝置設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'說明書1.doc',url:'http://canyonlakefaqs.com/p-8186354.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 = '3530070'; 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; }); });