Przeglądaj źródła

操作条增加reload 方法

unknown 5 lat temu
rodzic
commit
42e5c2aee4

+ 1 - 1
o2web/source/x_component_Attendance/HolidayExplorer.js

@@ -219,7 +219,7 @@ MWF.xApplication.Attendance.HolidayExplorer.Holiday = new Class({
             "</td>" +
             "</tr>" +
             "<tr>" +
-            "<td style='height: 30px; line-height: 30px;  text-align: left'>"+lp.makeUpClassDay+":</td>" +
+            "<td valign='top' style='height: 30px; line-height: 30px;  text-align: left'>"+lp.makeUpClassDay+":</td>" +
             "<td style='; text-align: right;' id='makeUpClassDayTd'>" +
             (!this.isNew && !this.isEdited  ? "" :makeupClassArea )+
             (!this.isNew && !this.isEdited  ? "" : "<div id='addMakeupClass' style='color: #354f67;cursor: pointer;'>增加补班日期</div>" )+

+ 3 - 1
o2web/source/x_component_cms_Xform/Actionbar.js

@@ -1,7 +1,9 @@
 MWF.xDesktop.requireApp("process.Xform", "Actionbar", null, false);
 MWF.xApplication.cms.Xform.Actionbar = MWF.CMSActionbar =  new Class({
     Extends: MWF.APPActionbar,
-
+    reload : function(){
+        this._loadUserInterface();
+    },
     _loadUserInterface: function(){
         //if (this.form.json.mode == "Mobile"){
         //    this.node.empty();

+ 3 - 0
o2web/source/x_component_process_Xform/Actionbar.js

@@ -5,6 +5,9 @@ MWF.xApplication.process.Xform.Actionbar = MWF.APPActionbar =  new Class({
 	Extends: MWF.APP$Module,
     options: {
         "moduleEvents": ["load", "queryLoad", "postLoad", "afterLoad"]
+    },
+    reload : function(){
+	    this._loadUserInterface();
     },
 	_loadUserInterface: function(){
         // if (this.form.json.mode == "Mobile"){