Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r15201 -r15440 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 15201) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 15440) @@ -60,10 +60,11 @@ * @param extObj Ext对象,暂时有top.Ext,top.Ext4,Ext * @param fieldId 要设置时间区域的id * @param myFn 自定义的方法(可选) + * @param url 自定义url(可选) */ -function getServerTime(format,extObj,fieldId,myFn) { +function getServerTime(format,extObj,fieldId,myFn,url) { extObj.Ajax.request({ - url : WWWROOT + '/system/serverTimeAction!getServerDateTime.do', + url : url || WWWROOT + '/system/serverTimeAction!getServerDateTime.do', params : {dateformat : format}, success : function(response, options) { var result = extObj.decode(response.responseText);