소스 검색

Merge branch 'fix/homepage_todo_show' into 'wrdp'

首页日程安排标题显示重叠的问题

See merge request o2oa/o2oa!2039
胡起 5 년 전
부모
커밋
d576500631
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      o2web/source/o2_core/o2/widget/O2Identity.js
  2. 1 0
      o2web/source/x_component_Homepage/$Main/default/style.css

+ 1 - 1
o2web/source/o2_core/o2/widget/O2Identity.js

@@ -284,7 +284,7 @@ o2.widget.O2Duty = new Class({
     getPersonData: function(){
     getPersonData: function(){
         if (!this.data.woUnit){
         if (!this.data.woUnit){
             this.action.actions = {"getUnitduty": {"uri": "/jaxrs/unitduty/{id}"}};
             this.action.actions = {"getUnitduty": {"uri": "/jaxrs/unitduty/{id}"}};
-            this.action.invoke({"name": "getUnitduty", "async": false, "parameter": {"id": (this.data.Id || this.data.name)}, "success": function(json){
+            this.action.invoke({"name": "getUnitduty", "async": false, "parameter": {"id": (this.data.id || this.data.name)}, "success": function(json){
                 this.data = json.data;
                 this.data = json.data;
             }.bind(this)});
             }.bind(this)});
         }
         }

+ 1 - 0
o2web/source/x_component_Homepage/$Main/default/style.css

@@ -684,6 +684,7 @@
 }
 }
 .o2_homepage_calender_item_title {
 .o2_homepage_calender_item_title {
     height: 30px;
     height: 30px;
+    overflow: hidden;
 }
 }
 .o2_homepage_calender_item_title_icon {
 .o2_homepage_calender_item_title_icon {
     height: 6px;
     height: 6px;