diff --git a/WebContent/Frame/jbpmdesigner/js/tracywindyUtils.js b/WebContent/Frame/jbpmdesigner/js/tracywindyUtils.js index f34def490..c2b28e69a 100644 --- a/WebContent/Frame/jbpmdesigner/js/tracywindyUtils.js +++ b/WebContent/Frame/jbpmdesigner/js/tracywindyUtils.js @@ -8,7 +8,7 @@ function getTracywindyRandomUrl(url){ tempUrl = "tracywindyRandom=" + Math.random(); } /* - * ×ÊÔ´URL Ìí¼Ó±êÖ¾·û + * ��ԴURL ��ӱ�־�� */ if(url.indexOf('?')>-1){ url += ("&" + tempUrl); @@ -17,19 +17,19 @@ function getTracywindyRandomUrl(url){ } return url; } -//¸ñʽ»¯Êý×ÖΪǧ·Öλ +//��ʽ������Ϊǧ��λ function formatNumberThousand(s) { if(isNaN(s)){ return s; } s += ""; s = s.replace(/,/g,""); -var re=/(\d{1,3})(?=(\d{3})+(?:$|\D))/g; //Ð¤Ò£ÔÆÖ¸µã +var re=/(\d{1,3})(?=(\d{3})+(?:$|\D))/g; //Фң��ָ�� var n1=s.replace(re,"$1,"); return n1; } -//ÅжÏparentObjÊÇ·ñÊÇobjµÄÉϼ¶ÔªËØ +//�ж�parentObj�Ƿ���obj���ϼ�Ԫ�� function isParent(obj,parentObj){ while (obj != undefined && obj != null && obj.tagName.toUpperCase() != 'BODY'){ if (obj == parentObj){ @@ -60,7 +60,7 @@ function clearForm(form) } } } -//»ñÈ¡ÈÕÆÚ +//��ȡ���� function getCurDateTime(date) { var d = new Date(); @@ -70,13 +70,13 @@ function getCurDateTime(date) } var week; switch (d.getDay()){ - case 1: week="ÐÇÆÚÒ»"; break; - case 2: week="ÐÇÆÚ¶þ"; break; - case 3: week="ÐÇÆÚÈý"; break; - case 4: week="ÐÇÆÚËÄ"; break; - case 5: week="ÐÇÆÚÎå"; break; - case 6: week="ÐÇÆÚÁù"; break; - default: week="ÐÇÆÚÌì"; + case 1: week="����һ"; break; + case 2: week="���ڶ�"; break; + case 3: week="������"; break; + case 4: week="������"; break; + case 5: week="������"; break; + case 6: week="������"; break; + default: week="������"; } var years = d.getFullYear(); var month = add_zero(d.getMonth()+1); @@ -100,13 +100,13 @@ function getCurDate(date) var ndate = years+"-"+month+"-"+days; return ndate; } -//²»×ãÁ½Î»µÄǰ±ß²¹0 +//������λ��ǰ�߲�0 function add_zero(temp) { if(temp<10) return "0"+temp; else return temp; } -//ÕÛµþÏÔÊ¾ÇøÓò +//�۵���ʾ���� function fieldsetHidden(e){ var src=getTarget(e); var legend = src.parentNode.parentNode; @@ -121,7 +121,7 @@ function fieldsetHidden(e){ } src.src = src.src.indexOf("Left")!=-1?src.src.replace(/Left/g,"Down"):src.src.replace(/Down/g,"Left"); } -//Åжϵ±Ç°Ê¹ÓÃä¯ÀÀÆ÷°æ±¾Àà +//�жϵ�ǰʹ��������汾�� var userAgent = navigator.userAgent.toLowerCase(); var SysBrowser = { version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1], @@ -131,16 +131,16 @@ var SysBrowser = { chrome: /chrome/.test( userAgent ), opera: /opera/.test( userAgent ), safari: /safari/.test( userAgent ), - trident : userAgent.indexOf('trident') > -1, //IEÄÚºË - presto : userAgent.indexOf('presto') > -1, //operaÄÚºË - webKit : userAgent.indexOf('applewebkit') > -1, //Æ»¹û¡¢¹È¸èÄÚºË - gecko : userAgent.indexOf('gecko') > -1 && userAgent.indexOf('khtml') == -1, //»ðºüÄÚºË - mobile : !!userAgent.match(/applewebkit.*mobile.*/)|| !!userAgent.match(/applewebkit/), //ÊÇ·ñÎªÒÆ¶¯ÖÕ¶Ë - ios : !!userAgent.match(/\(i[^;]+;( u;)? cpu.+mac os x/), //iosÖÕ¶Ë - android : userAgent.indexOf('android') > -1 || userAgent.indexOf('linux') > -1, //androidÖÕ¶Ë»òÕßucä¯ÀÀÆ÷ - iPhone : userAgent.indexOf('iphone') > -1 /*|| userAgent.indexOf('mac') > -1*/, //ÊÇ·ñΪiPhone»òÕßQQHDä¯ÀÀÆ÷ - iPad: userAgent.indexOf('ipad') > -1, //ÊÇ·ñiPad - webApp : userAgent.indexOf('safari') == -1,//ÊÇ·ñwebÓ¦¸Ã³ÌÐò£¬Ã»ÓÐÍ·²¿Óëµ×²¿ + trident : userAgent.indexOf('trident') > -1, //IE�ں� + presto : userAgent.indexOf('presto') > -1, //opera�ں� + webKit : userAgent.indexOf('applewebkit') > -1, //ƻ�����ȸ��ں� + gecko : userAgent.indexOf('gecko') > -1 && userAgent.indexOf('khtml') == -1, //����ں� + mobile : !!userAgent.match(/applewebkit.*mobile.*/)|| !!userAgent.match(/applewebkit/), //�Ƿ�Ϊ�ƶ��ն� + ios : !!userAgent.match(/\(i[^;]+;( u;)? cpu.+mac os x/), //ios�ն� + android : userAgent.indexOf('android') > -1 || userAgent.indexOf('linux') > -1, //android�ն˻���uc����� + iPhone : userAgent.indexOf('iphone') > -1 /*|| userAgent.indexOf('mac') > -1*/, //�Ƿ�ΪiPhone����QQHD����� + iPad: userAgent.indexOf('ipad') > -1, //�Ƿ�iPad + webApp : userAgent.indexOf('safari') == -1,//�Ƿ�webӦ�ó���û��ͷ����ײ� google:userAgent.indexOf('chrome')>-1, getBrowser:function(){ if(SysBrowser.msie) return "IE"; @@ -188,7 +188,7 @@ function stopDefault(e){ getEvent(e).returnValue=false; } } -//Ç¿ÖÆ¼Ón¸öСÊý30->30.00 +//ǿ�Ƽ�n����30->30.00 function forcePreciseDecimal(x,scale) { scale = scale||2; @@ -217,9 +217,9 @@ function decimalReal(num,v) var dight =(num*Math.pow(10,v)/Math.pow(10,v)).toFixed(v); return parseFloat(dight); } -//ËÄÉáÎåÈë +//�������� function decimal(num,v) -{ //num±íʾҪËÄÉáÎåÈëµÄÊý,v±íʾҪ±£ÁôµÄСÊýλÊý¡£ +{ //num��ʾҪ�����������,v��ʾҪ������С��λ���� if(0 == v) { return decimalReal(decimalReal(num,2),0); @@ -231,7 +231,7 @@ function getTracywindyObject(id) { return tracywindyObject[id]; } -//function ´¦Àícss +//function ����css String.prototype.trim=function(){ return this.replace(/(^\s{1,})|(\s{1,}$)/gim,""); }; @@ -267,14 +267,14 @@ function removeClass(element,classname) } element.className = oldClassArr.join(" "); } -//Éú³ÉΨһ±êʶ +//����Ψһ��ʶ function Guid(){ return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); } function GenerateGuid(){ return Guid()+Guid()+Guid()+Guid()+Guid()+Guid()+Guid()+Guid(); } -//ÏîÄ¿¸ù·¾¶ +//��Ŀ��·�� function getRootPath(){ var strFullPath=window.document.location.href; var strPath=window.document.location.pathname; @@ -284,7 +284,7 @@ function getRootPath(){ return (prePath+postPath); } -//¸´ÖÆÊôÐÔ +//�������� var tracywindyApplyTo=function(originalObj,targetobj){ for(var p in originalObj) { @@ -294,7 +294,7 @@ var tracywindyApplyTo=function(originalObj,targetobj){ } } }; -//Ö»ÄÜÊäÈëÊý×Ö +//ֻ���������� function validateNumber() { /*var e = window.event; @@ -304,14 +304,14 @@ function validateNumber() { pass = true; } - //С¼üÅÌ + //���� if(((keyCode>=96)&&(keyCode<=105))||(keyCode==110)) { pass = true; } e.returnValue = pass;*/ } -//µ¯³öÒ»¸öÈ«ÆÁ´°¿Ú +//����һ��ȫ������ function openFullScreenWindow(strURL,attachmentParams,winRef) { if(-1==strURL.indexOf("systemMathRandom")) @@ -381,9 +381,9 @@ function openFullScreenWindow(strURL,attachmentParams,winRef) var winoption ="left=0px,top=0px,height="+sheight+"px,width="+swidth+"px,toolbar=yes,menubar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes"; if(winRef){ window.loc = function(){ - winRef.location.href = strURL;//¸Ä±äÒ³ÃæµÄ location + winRef.location.href = strURL;//�ı�ҳ��� location }; - setTimeout("window.loc();",800);//Õâ¸öµÈ´ýºÜÖØÒª£¬Èç¹û²»µÈ´ýµÄ»°½«ÎÞ·¨ÊµÏÖ + setTimeout("window.loc();",800);//����ȴ�����Ҫ��������ȴ��Ļ����޷�ʵ�� }else{ window.open(strURL,'_blank',winoption); } @@ -411,20 +411,20 @@ function openFullScreenWindow(strURL,attachmentParams,winRef) tempSubmitForm.submit();*/ return false; } -function setCookie(name,value)//Á½¸ö²ÎÊý£¬Ò»¸öÊÇcookieµÄÃû×Ó£¬Ò»¸öÊÇÖµ +function setCookie(name,value)//����������һ����cookie�����ӣ�һ����ֵ { - var Days = 30; //´Ë cookie ½«±»±£´æ 30 Ìì + var Days = 30; //�� cookie �������� 30 �� var exp = new Date(); //new Date("December 31, 9998"); exp.setTime(exp.getTime() + Days*24*60*60*1000); document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString(); } -function getCookie(name)//È¡cookiesº¯Êý +function getCookie(name)//È¡cookies���� { var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)")); if(arr != null) return unescape(arr[2]); return ""; } -//ɾ³ýÊý×Ö¶àÓàµÄ0 +//ɾ�����ֶ����0 function nullToString(value) { if((typeof(value)=='undefined')||(value==null)) @@ -454,10 +454,10 @@ function empty2Other(sourceStr,replaceStr) { return !sourceStr ? replaceStr : sourceStr; } -//˵Ã÷£ºÉèÖÃij¸ötableÖеÄÊäÈë¿òΪֻ¶Á/¿É±à¼­ -//²ÎÊý1£º²Ù×÷tableµÄID -//²ÎÊý2:tableÄǸöÓòÊDz»²Ù×÷µÄÒÔ¡°,¡±·Ö¸ô -//²ÎÊý3:²Ù×÷ÀàÐÍ 0Ϊֻ¶Á 1Ϊ±à¼­ +//˵��������ij��table�е������Ϊֻ��/�ɱ༭ +//����1������table��ID +//����2:table�Ǹ����Dz��������ԡ�,���ָ� +//����3:�������� 0Ϊֻ�� 1Ϊ�༭ function formJSPInputHideOrShow(id,exceptFfield,stype){ if(document.getElementById(id)){ var inputs=jQuery("#"+id+" input[type='text'],#"+id+" textarea"); @@ -496,12 +496,12 @@ function formJSPInputHideOrShow(id,exceptFfield,stype){ }} } } -//²éѯ¶àÐпؼþÖбØÌîÏî +//��ѯ���пؼ��б����� function checkTracywindyTableData(talbeid,title){ var sourceTable= getTracywindyObject(talbeid); var sourceData=sourceTable.getRowsJsonData(); if(sourceData.length<=0){ - jQuery.messager.alert('Ìáʾ',"
ÇëÌîд"+title+"
",'error'); + jQuery.messager.alert('��ʾ',"
����д"+title+"
",'error'); return false; } var sourceColumn=sourceTable.columns; @@ -518,7 +518,7 @@ function checkTracywindyTableData(talbeid,title){ columndata=onecolumn[sourceColumn[i].name]; columndata=columndata+""; if(columndata==""|| columndata=="." ||columndata=="undefined" ){ - jQuery.messager.alert('Ìáʾ',"
"+title+"µÄ"+sourceColumn[i].header+"²»ÄÜΪ¿Õ
",'error'); + jQuery.messager.alert('��ʾ',"
"+title+"��"+sourceColumn[i].header+"������
",'error'); return false; } } @@ -527,7 +527,7 @@ function checkTracywindyTableData(talbeid,title){ } -//ÉÏ´«¸½¼þ +//�ϴ����� function attachmentUpWithUploadDate(config){ var _inputStyle = "width:215px;height:20px;cursor:pointer;outline:medium none;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;"; var _div1Style = "border:1px solid #FFFFFF;float:left;height:20px;margin-left:90px;margin-top:50px;position:absolute;width:215px;z-index:999;"; @@ -542,12 +542,12 @@ function attachmentUpWithUploadDate(config){ _uploadWindowHtml += '
'; _uploadWindowHtml += ' '; _uploadWindowHtml += ' '; - _uploadWindowHtml += ' '; - _uploadWindowHtml += ' '; + _uploadWindowHtml += ' '; + _uploadWindowHtml += ' '; _uploadWindowHtml += ' '; _uploadWindowHtml += ' '; _uploadWindowHtml += ' '; _uploadWindowHtml += '
ÊÕ¿îʱ¼ä£º
ÉÏ´«Îļþ£º
�տ�ʱ�䣺
�ϴ��ļ���
'; - _uploadWindowHtml += ' È·¶¨'; - _uploadWindowHtml += ' È¡Ïû'; + _uploadWindowHtml += ' ȷ��'; + _uploadWindowHtml += ' ȡ��'; _uploadWindowHtml += '
'; @@ -576,10 +576,10 @@ function attachmentUpWithUploadDate(config){ var uploadDate = _formBox.find('#id_uploadDate').val(); var file = _formBox.find('#_hiddenFileName').val(); if(file == false){ - alert("ÇëÑ¡ÔñÉÏ´«Îļþ"); + alert("��ѡ���ϴ��ļ�"); return false; } else if(uploadDate == false){ - alert("ÇëÊäÈëÊÕ¿îÈÕÆÚ"); + alert("�������տ�����"); return false; } config.parames = config.parames ? config.parames : {}; @@ -604,7 +604,7 @@ function attachmentUpWithUploadDate(config){ } -//ÉÏ´«¸½¼þ +//�ϴ����� function attachmentUpMini(config){ var openurl = config.url; var param = fileDownLoadParams(config,"url,title,parames","str"); @@ -631,8 +631,8 @@ function attachmentUpMini(config){ uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; - uploadAttachmentFileWindow_html += ' È·¶¨'; - uploadAttachmentFileWindow_html += ' È¡Ïû'; + uploadAttachmentFileWindow_html += ' ȷ��'; + uploadAttachmentFileWindow_html += ' ȡ��'; uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; @@ -653,7 +653,7 @@ function attachmentUpMini(config){ // jQuery("#id_downOrLoadFormWindow").window("open"); } -//ÉÏ´«¸½¼þ +//�ϴ����� function attachmentUp(config){ var openurl = config.url; @@ -681,8 +681,8 @@ function attachmentUp(config){ uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; - uploadAttachmentFileWindow_html += ' È·¶¨'; - uploadAttachmentFileWindow_html += ' È¡Ïû'; + uploadAttachmentFileWindow_html += ' ȷ��'; + uploadAttachmentFileWindow_html += ' ȡ��'; uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; uploadAttachmentFileWindow_html += ' '; @@ -708,7 +708,7 @@ function attachmentFormSubmit(url){ if(!window.currentImportExcelLoadMask) { - window.currentImportExcelLoadMask = new tracywindyLoadMask(document.body,"²Ù×÷½øÐÐÖÐ ÇëÉÔµÈ..."); + window.currentImportExcelLoadMask = new tracywindyLoadMask(document.body,"���������� ���Ե�..."); } if(window.currentImportExcelLoadMask){ @@ -732,7 +732,7 @@ function attachmentDown(config){ if(!window.currentImportExcelLoadMask) { - window.currentImportExcelLoadMask = new tracywindyLoadMask(document.body,"²Ù×÷½øÐÐÖÐ ÇëÉÔµÈ..."); + window.currentImportExcelLoadMask = new tracywindyLoadMask(document.body,"���������� ���Ե�..."); } var tempurl=config.url; window.currentImportExcelLoadMask.show(); @@ -790,7 +790,7 @@ function attachmentDown(config){ } function fileCreateWordByIds(config,uploadid){ if(!window.currentDeleteFileLoadMask) - {window.currentDeleteFileLoadMask = new tracywindyLoadMask(document.body,"ÕýÔÚºÏͬ ÇëÉÔµÈ..."); } + {window.currentDeleteFileLoadMask = new tracywindyLoadMask(document.body,"���ں�ͬ ���Ե�..."); } window.currentDeleteFileLoadMask.show(); var url="/leasing/template/CreateFileByTemplate.action"; tempurl=config.url||url; @@ -810,7 +810,7 @@ function fileCreateWordByIds(config,uploadid){ if(vlist.result=="success"){ var list=getTracywindyObject(uploadid); list.AddRows(vlist.message); - alert("ÎļþÉú³É³É¹¦"); + alert("�ļ����ɳɹ�"); }else{ alert(vlist.message); } @@ -856,29 +856,29 @@ function fileDownLoadParams(config, exectFeild, reType) { function getTaskTypeChineseName(taskType){ var chineseMapping = { - "PENDING":"´ý°ìÈÎÎñ", - "DELEGATE":"ίÍÐÈÎÎñ", - "ASSIGNMENTPENDING":"Ö¸ÅÉ´ý´¦ÀíÈÎÎñ", - "ASSIGNMENTCOMPLETED":"Ö¸ÅÉÒÑ´¦ÀíÈÎÎñ", - "READ":"´«ÔÄÈÎÎñ", - "SIGNATURE":"»áÇ©ÈÎÎñ" + "PENDING":"��������", + "DELEGATE":"������", + "ASSIGNMENTPENDING":"ָ�ɴ���������", + "ASSIGNMENTCOMPLETED":"ָ���Ѵ�������", + "READ":"��������", + "SIGNATURE":"��ǩ����" }; return chineseMapping[taskType.toUpperCase()]; } -//¼ÓÔØÄ£°å +//����� function loadTemplate(config){ - //×¢£ºconfig²ÎÊý - //templateDiv£º¼ÓÔØµÄÄ£°å·ÅÔÚλÖà - //oneClassify:Ò»¼¶·ÖÀà - //twoClassify:¶þ¼¶·ÖÀà - //threethClassify:Èý¼¶·ÖÀà - //fourClassify:Ëļ¶·ÖÀà - //fiveClassify:Îå¼¶·ÖÀà + //ע��config���� + //templateDiv�����ص�ģ�����λ�� + //oneClassify:һ������ + //twoClassify:�������� + //threethClassify:�������� + //fourClassify:����� + //fiveClassify:�弶���� var params=fileDownLoadParams(config,"","array"); var templateDiv=config.templateDiv; config.changeRowNum = config.changeRowNum || 4; - window.currentDeleteFileLoadMask = new tracywindyLoadMask(document.body,"ÕýÔÚ¼ÓÔØÄ£°å ÇëÉÔµÈ..."); + window.currentDeleteFileLoadMask = new tracywindyLoadMask(document.body,"���ڼ���ģ�� ���Ե�..."); currentDeleteFileLoadMask.show(); ajaxRequest({ url:getRootPath()+'/leasing/template/loadTemplateByClassify.action', @@ -892,13 +892,13 @@ function loadTemplate(config){ async:false, failure:function(res){ currentDeleteFileLoadMask.hide(); - alert("¼ÓÔØÄ£°åʧ°Ü!");}, + alert("����ģ��ʧ��!");}, params:params }); } function createWordByIds(config){ - //fileListTable:"È¡Îļþ¼þÃûÁеÄID" - //modename:'ÉÏÒ»¼¶·ÖÀà' + //fileListTable:"ȡ�ļ������е�ID" + //modename:'��һ������' config.fileListTable = config.fileListTable||"table_id_table_word_list_container"; var chk_value=[]; var tempid=""; @@ -912,15 +912,15 @@ function createWordByIds(config){ $('input[name="contract_word_list_check_box"]:checked').each(function(){ chk_value.push($(this).attr("checked",false)); }); - var filelist = getTracywindyObject(config.fileListTable).getRowsJsonData();//ºÏͬÇåµ¥ + var filelist = getTracywindyObject(config.fileListTable).getRowsJsonData();//��ͬ�嵥 if(chk_value.length<=0){ - jQuery.messager.alert('´íÎóÌáʾ',"
Ç빴ѡģ°å£¡
",'error') + jQuery.messager.alert('������ʾ',"
�빴ѡģ�壡
",'error') return false; }else{ for(var i=0;i²»ÄÜÖØ¸´Éú³É"+filelist[j].templatename+"£¡
",'error') + jQuery.messager.alert('������ʾ',"
�����ظ�����"+filelist[j].templatename+"��
",'error') return false; } } @@ -942,9 +942,9 @@ function showContractFile(value,tableObj,columnName,columnIndex,rowData){ var base = "{1}{2}"; var base2 = "{1}{2}"; var separator = "  "; - var updateFlag="±à¼­"; + var updateFlag="�༭"; var field=base.replace("{1}",updateFlag).replace("{2}",separator); - field=field+base2.replace("{1}","ÏÂÔØ").replace("{2}",separator); + field=field+base2.replace("{1}","����").replace("{2}",separator); return field; } function showWORDFile(doc_id){ @@ -954,7 +954,7 @@ function showWORDFile(doc_id){ } function importFinanceExcel(custid,initConfig){ - attachmentUp({url:"/leasing/finance/importFinacne.acl",modelname:'cardupload',custid:custid,title:'²ÆÎñ±¨±íÖд«',parames:initConfig}); + attachmentUp({url:"/leasing/finance/importFinacne.acl",modelname:'cardupload',custid:custid,title:'���ñ±¨±ï¿½ï¿½Ð´ï¿½',parames:initConfig}); } function DefaultAjaxCallBack(message){ if(window.currentImportExcelLoadMask){ @@ -967,9 +967,9 @@ function getFuncRightManage(userid,deptcolumn,managecolumn){ var params = {}; var datas = []; var conditon = ""; - params["userid"] = userid || "${sessionScope['login_userid']}"; //µÇ½ÈËID - params["deptcolumn"] = deptcolumn; //²¿ÃÅÌõ¼þ×Ö¶ÎÃû£¨¿Éº¬±ðÃû£¬È磺'contract_info.proj_dept'£© - params["managecolumn"] = managecolumn; //µ£µ±Ìõ¼þ×Ö¶ÎÃû£¨¿Éº¬±ðÃû£¬È磺'contract_info.proj_manage'£© + params["userid"] = userid || "${sessionScope['login_userid']}"; //��½��ID + params["deptcolumn"] = deptcolumn; //���������ֶ������ɺ��������磺'contract_info.proj_dept'�� + params["managecolumn"] = managecolumn; //���������ֶ������ɺ��������磺'contract_info.proj_manage'�� params["xmlFileName"] = "/eleasing/jsp/base/funcright_manage.xml"; $.ajax({ @@ -977,7 +977,6 @@ function getFuncRightManage(userid,deptcolumn,managecolumn){ async:false, params:params, success:function(res){ - debugger; var jsonData1 = ''; jsonData1=eval("(" + res.responseText + ")"); datas = jsonData1["datas"]; diff --git a/WebContent/Frame/page/resources/ueditor/third-party/video-js/video.dev.js b/WebContent/Frame/page/resources/ueditor/third-party/video-js/video.dev.js index d01ea6008..04c99d2c9 100644 --- a/WebContent/Frame/page/resources/ueditor/third-party/video-js/video.dev.js +++ b/WebContent/Frame/page/resources/ueditor/third-party/video-js/video.dev.js @@ -4414,12 +4414,10 @@ vjs.SeekBar.prototype.onMouseMove = function(event){ }; vjs.SeekBar.prototype.onMouseUp = function(event){ - debugger vjs.Slider.prototype.onMouseUp.call(this, event); this.player_.scrubbing = false; if (this.videoWasPlaying) { - debugger this.player_.play(); } }; diff --git a/WebContent/Tenwa/Core/OfficeTemplate/OnlineOperation/ntko/OfficeContorlFunctions.js b/WebContent/Tenwa/Core/OfficeTemplate/OnlineOperation/ntko/OfficeContorlFunctions.js index 329fddfea..3c88a72e4 100644 --- a/WebContent/Tenwa/Core/OfficeTemplate/OnlineOperation/ntko/OfficeContorlFunctions.js +++ b/WebContent/Tenwa/Core/OfficeTemplate/OnlineOperation/ntko/OfficeContorlFunctions.js @@ -1,10 +1,9 @@ -var OFFICE_CONTROL_OBJ;//¿Ø¼þ¶ÔÏó -var IsFileOpened; //¿Ø¼þÊÇ·ñ´ò¿ªÎĵµ +var OFFICE_CONTROL_OBJ;//�ؼ����� +var IsFileOpened; //�ؼ��Ƿ���ĵ� var fileType ; var fileTypeSimple; function intializePage(fileUrl) { - debugger; OFFICE_CONTROL_OBJ=document.getElementById("TANGER_OCX"); NTKO_OCX_OpenDoc(fileUrl); @@ -26,7 +25,7 @@ function onPageClose() { if(!OFFICE_CONTROL_OBJ.activeDocument.saved) { - if(confirm( "ÎĵµÐ޸Ĺý,»¹Ã»Óб£´æ,ÊÇ·ñÐèÒª±£´æ?")) + if(confirm( "�ĵ��޸Ĺ�,��û�б���,�Ƿ���Ҫ����?")) { saveFileToUrl(); } @@ -47,7 +46,7 @@ function setFileOpenedOrClosed(bool) fileType = OFFICE_CONTROL_OBJ.DocType ; } function trim(str) -{ //ɾ³ý×óÓÒÁ½¶ËµÄ¿Õ¸ñ +{ //ɾ���������˵Ŀո� //return str.replace(/(^\s*)|(\s*$)/g, ""); } function saveFileToUrl() @@ -85,18 +84,18 @@ function saveFileToUrl() default : fileType = "unkownfiletype"; } - result = OFFICE_CONTROL_OBJ.saveToURL(myUrl,//Ìá½»µ½µÄurlµØÖ· - "upLoadFile",//ÎļþÓòµÄid£¬ÀàËÆthis.maxMayShow){ this.mainNoticeBody.css("margin-top",$(window).height()+"px"); this.setAutoScroll(); @@ -31,16 +31,15 @@ CompanyNotice.prototype.initNoticeList=function(){ if(this.notcieLength>0){ var lastIndex=this.maxShowNumber; if(this.notcieLengthmore")); }else{ var showNotice="
"+(i+1)+"¡¢"+this.noticeJson[i].BoardTitle+""; + showNotice+="return false;\" hidefocus href='javascript:void(0)' >"+(i+1)+"��"+this.noticeJson[i].BoardTitle+""; if(this.noticeJson[i].IsNew=="Y"){ showNotice+="      " } @@ -59,8 +58,8 @@ CompanyNotice.prototype.initWindowResize=function(){ } CompanyNotice.prototype.resizeNotice=function(curHeight){ this.maxShowNumber=parseInt(curHeight/30); - this.loadNotice(); //¼ÓÔØÊý¾Ý - this.initNoticeList();//³õʼ»¯Ò³Ãæ + this.loadNotice(); //�������� + this.initNoticeList();//��ʼ��ҳ�� //this.initNoticeOnclick(); } CompanyNotice.prototype.createCallback=function(fn,args){ diff --git a/WebContent/Tenwa/Lease/voucher/TAX_CODE_LIST.jsp b/WebContent/Tenwa/Lease/voucher/TAX_CODE_LIST.jsp index ce7807336..a6b9d970a 100644 --- a/WebContent/Tenwa/Lease/voucher/TAX_CODE_LIST.jsp +++ b/WebContent/Tenwa/Lease/voucher/TAX_CODE_LIST.jsp @@ -26,7 +26,6 @@ AsControl.OpenView(sUrl,'','_self',''); } function viewAndEdit(){ - debugger; var sUrl = "/Tenwa/Lease/voucher/TAX_CODE_INFO.jsp"; var TaxId = getItemValue(0,getRow(0),'ID'); if(typeof(TaxId)=="undefined" || TaxId.length==0 ){ diff --git a/WebContent/js/tracywindy/tracywindyUtils.js b/WebContent/js/tracywindy/tracywindyUtils.js index 5044b6c66..424d0557d 100644 --- a/WebContent/js/tracywindy/tracywindyUtils.js +++ b/WebContent/js/tracywindy/tracywindyUtils.js @@ -763,7 +763,6 @@ function attachmentDown(config){ url:getRootPath()+tempurl, method:'POST', success:function(rs){ - debugger; var tempreturnType=returnType; var updatetable=config.uploadid; var contractlist= rs.responseText; @@ -978,7 +977,6 @@ function getFuncRightManage(userid,deptcolumn,managecolumn){ async:false, params:params, success:function(res){ - debugger; var jsonData1 = ''; jsonData1=eval("(" + res.responseText + ")"); datas = jsonData1["datas"];