'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'中軸碗.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中軸碗 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'圖 (包含14個文件)', },{ id:'000010000100001', pId:'0000100001', name:'上固定板.dwg (31KB)', click:'getBookinfo(8871957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'上墊板.dwg (29KB)', click:'getBookinfo(8871958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'上模座.dwg (34KB)', click:'getBookinfo(8871959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'下固定板.dwg (30KB)', click:'getBookinfo(8871960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'下墊板.dwg (30KB)', click:'getBookinfo(8871961)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'下模座.dwg (35KB)', click:'getBookinfo(8871962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'下頂塊.dwg (27KB)', click:'getBookinfo(8871963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'沖孔凸模.dwg (28KB)', click:'getBookinfo(8871964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'凸 凹 模.dwg (35KB)', click:'getBookinfo(8871965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'凸凹模.dwg (28KB)', click:'getBookinfo(8871966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'凹模.dwg (30KB)', click:'getBookinfo(8871967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'卸料板.dwg (28KB)', click:'getBookinfo(8871968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'蓋板.dwg (29KB)', click:'getBookinfo(8871969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'裝配圖.dwg (60KB)', click:'getBookinfo(8871970)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中文及英文摘要.doc (15KB)', click:'getBookinfo(8871971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'沖孔凸模機(jī)械加工工序卡.doc (294KB)', click:'getBookinfo(8871972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'沖孔凸模機(jī)械加工工藝過程卡.doc (52KB)', click:'getBookinfo(8871973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'正文.doc (582KB)', click:'getBookinfo(8871974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'目錄.doc (18KB)', click:'getBookinfo(8871975)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'中軸碗.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'上固定板.dwg',url:'http://facezit.com/p-8871957.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'上墊板.dwg',url:'http://facezit.com/p-8871958.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'上模座.dwg',url:'http://facezit.com/p-8871959.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'下固定板.dwg',url:'http://facezit.com/p-8871960.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'下墊板.dwg',url:'http://facezit.com/p-8871961.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'下模座.dwg',url:'http://facezit.com/p-8871962.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'下頂塊.dwg',url:'http://facezit.com/p-8871963.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'沖孔凸模.dwg',url:'http://facezit.com/p-8871964.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'凸 凹 模.dwg',url:'http://facezit.com/p-8871965.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'凸凹模.dwg',url:'http://facezit.com/p-8871966.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'凹模.dwg',url:'http://facezit.com/p-8871967.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'卸料板.dwg',url:'http://facezit.com/p-8871968.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'蓋板.dwg',url:'http://facezit.com/p-8871969.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'裝配圖.dwg',url:'http://facezit.com/p-8871970.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中文及英文摘要.doc',url:'http://facezit.com/p-8871971.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'沖孔凸模機(jī)械加工工序卡.doc',url:'http://facezit.com/p-8871972.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'沖孔凸模機(jī)械加工工藝過程卡.doc',url:'http://facezit.com/p-8871973.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'正文.doc',url:'http://facezit.com/p-8871974.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'目錄.doc',url:'http://facezit.com/p-8871975.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 = '3633676'; 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; }); });