@titaui/pc 1.12.26-beta.3 → 1.12.26-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/lib/components/attachments-preview/index.css +0 -7
  2. package/lib/components/change-okr-modal/Filter.js +1 -1
  3. package/lib/components/change-okr-modal/Item.js +1 -1
  4. package/lib/components/change-okr-modal/filterTab.js +1 -1
  5. package/lib/components/change-okr-modal/index.js +1 -1
  6. package/lib/components/communication/CommunicationAttachments.js +1 -1
  7. package/lib/components/communication/ConvertUserName.js +1 -1
  8. package/lib/components/communication/index.js +1 -1
  9. package/lib/components/create-okr-modal/objectType.js +1 -1
  10. package/lib/components/date-picker/BodyItem.js +4 -4
  11. package/lib/components/date-picker/CalendarBody.js +1 -1
  12. package/lib/components/date-picker/CalendarHeader.js +4 -4
  13. package/lib/components/date-picker/index.js +1 -1
  14. package/lib/components/date-range-picker/index.js +1 -1
  15. package/lib/components/delete-confirm-pop/ConfirmPop.js +4 -4
  16. package/lib/components/dialog-confirm/index.js +3 -1
  17. package/lib/components/dialog-upload/uploaded-preview.css +7 -4
  18. package/lib/components/dialog-upload/uploaded-preview.js +6 -4
  19. package/lib/components/drawer/index.js +2 -0
  20. package/lib/components/drawer/utils/dom.js +2 -0
  21. package/lib/components/dynamic/components/comments-dialog/encourage.js +13 -5
  22. package/lib/components/dynamic/components/comments-dialog/index.css +13 -2
  23. package/lib/components/dynamic/components/comments-dialog/index.js +3 -0
  24. package/lib/components/dynamic/dynamic-item/components/okr-progress/constant.js +2 -2
  25. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +16 -5
  26. package/lib/components/dynamic/dynamic-item/components/okr-progress/utils.js +19 -2
  27. package/lib/components/dynamic/dynamic-item/components/schedule/index.css +2 -1
  28. package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +1 -1
  29. package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +15 -2
  30. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.css +1 -0
  31. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +2 -2
  32. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +7 -5
  33. package/lib/components/dynamic/dynamic-list/index.js +4 -2
  34. package/lib/components/eReport/eReportListEmpty.js +1 -1
  35. package/lib/components/eReport/eReportLists/reportList.js +4 -4
  36. package/lib/components/eReport/eReportShare/index.js +1 -1
  37. package/lib/components/eReport/eReportShare/toast/index.js +1 -1
  38. package/lib/components/edit-kr-wight/EditKrWightModal.js +1 -1
  39. package/lib/components/edit-kr-wight/FormItemV2.js +1 -1
  40. package/lib/components/emotions-selector/selector-content.js +1 -1
  41. package/lib/components/emotions-selector/selector-pop.js +4 -4
  42. package/lib/components/ereport-list/index.js +4 -4
  43. package/lib/components/error-boundary/index.js +1 -1
  44. package/lib/components/guide-tip/index.css +4 -4
  45. package/lib/components/import-modal/helper.js +1 -1
  46. package/lib/components/import-modal/request-api.js +3 -1
  47. package/lib/components/mblog/components/ConfirmPop.js +1 -1
  48. package/lib/components/mblog/components/MblogAction.js +4 -4
  49. package/lib/components/mblog/components/MblogContent.js +1 -1
  50. package/lib/components/mblog/index.js +1 -1
  51. package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +1 -1
  52. package/lib/components/nav-top/components/app-center/images/demo.png +0 -0
  53. package/lib/components/nav-top/components/app-center/index.css +4 -0
  54. package/lib/components/new-confidence/index.js +9 -4
  55. package/lib/components/okr-detail/auth.js +1 -1
  56. package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +1 -1
  57. package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +1 -1
  58. package/lib/components/okr-detail/components/base-okr-type/object-type.js +1 -1
  59. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +4 -4
  60. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +1 -1
  61. package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +1 -1
  62. package/lib/components/okr-review/ReviewPop/components/Toast/index.js +1 -1
  63. package/lib/components/okr-review/ReviewPop/index.js +1 -1
  64. package/lib/components/okr-review/components/ReviewItem/index.js +4 -4
  65. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +4 -4
  66. package/lib/components/okr-review/index.js +1 -1
  67. package/lib/components/operation-records/OperationRecordItem.js +1 -1
  68. package/lib/components/operation-records/index.js +1 -1
  69. package/lib/components/point-demo/input/index.js +1 -1
  70. package/lib/components/praise-record/PraiseRecordItem.js +1 -1
  71. package/lib/components/praise-record/index.js +1 -1
  72. package/lib/components/range-picker-pop/index.js +1 -1
  73. package/lib/components/range-selector-pop/RangeList.js +1 -1
  74. package/lib/components/range-selector-pop/RangeSelectorPop.js +4 -4
  75. package/lib/components/rich-editor/models/schema.js +7 -7
  76. package/lib/components/rich-editor/plugins/block/block-quote/index.js +9 -9
  77. package/lib/components/rich-editor/plugins/block/heading/index.js +9 -9
  78. package/lib/components/rich-editor/plugins/block/lists/index.js +15 -15
  79. package/lib/components/rich-editor/plugins/block/paragraph/index.js +6 -6
  80. package/lib/components/rich-editor/plugins/core/index.js +5 -5
  81. package/lib/components/rich-editor/plugins/extension/alignment/index.js +6 -6
  82. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +5 -5
  83. package/lib/components/rich-editor/plugins/inline/color/index.js +12 -12
  84. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +9 -9
  85. package/lib/components/rich-editor/plugins/inline/em/index.js +6 -6
  86. package/lib/components/rich-editor/plugins/inline/link/index.js +9 -9
  87. package/lib/components/rich-editor/plugins/inline/strong/index.js +9 -9
  88. package/lib/components/rich-editor/plugins/inline/under-line/index.js +9 -9
  89. package/lib/components/rich-editor/react/reactNodeView.js +1 -1
  90. package/lib/components/rich-editor/react/uiProvider.js +4 -4
  91. package/lib/components/rich-editor/ui/Popup/index.js +4 -4
  92. package/lib/components/scroll-container/index.js +1 -1
  93. package/lib/components/select/Option.js +4 -4
  94. package/lib/components/select/index.js +1 -1
  95. package/lib/components/tita-chart/errorBoundary/index.js +4 -4
  96. package/lib/components/upload/components/uploadedPreview.js +1 -1
  97. package/lib/components/upload/index.js +1 -1
  98. package/lib/components/viewer/ImageListRender.js +1 -1
  99. package/lib/components/viewer/index.js +1 -1
  100. package/lib/components/write-summary-modal/index.js +1 -1
  101. package/lib/components/write-summary-modal/utils.js +21 -20
  102. package/lib/components-v1/animate/AnimateChild.js +4 -4
  103. package/lib/components-v1/animate/animate.js +1 -1
  104. package/lib/components-v1/avatar/index.js +4 -4
  105. package/lib/components-v1/buttonv2/ButtonOutlined.js +1 -1
  106. package/lib/components-v1/buttonv2/ButtonRounded.js +1 -1
  107. package/lib/components-v1/buttonv2/DefaultButton.js +1 -1
  108. package/lib/components-v1/confirm/index.js +1 -1
  109. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +4 -4
  110. package/lib/components-v1/dropDownSelector/dropDownSelector.js +1 -1
  111. package/lib/components-v1/input/Input.js +1 -1
  112. package/lib/components-v1/input/InputNumber.js +1 -1
  113. package/lib/components-v1/placement/placement.js +1 -1
  114. package/lib/components-v1/placement/placementInner.js +1 -1
  115. package/lib/components-v1/pop/Pop.js +1 -1
  116. package/lib/components-v1/pop/PopInner.js +1 -1
  117. package/lib/components-v1/portals/Portals.js +1 -1
  118. package/lib/components-v1/progress/CircleProgress.js +4 -4
  119. package/lib/components-v1/progress/LineProgress.js +1 -1
  120. package/lib/components-v1/progress/index.js +1 -1
  121. package/lib/components-v1/radio/radio.js +1 -1
  122. package/lib/components-v1/radio/radioGroup.js +1 -1
  123. package/lib/components-v1/radio/style/index.css +1 -1
  124. package/lib/components-v1/search/index.js +1 -1
  125. package/lib/components-v1/select/Option.js +4 -4
  126. package/lib/components-v1/select/index.js +1 -1
  127. package/lib/components-v1/tabs/index.js +1 -1
  128. package/lib/components-v1/textarea/index.js +1 -1
  129. package/lib/components-v1/transition/index.js +1 -1
  130. package/lib/components-v1/userSelector/UserSelectorPop.js +4 -4
  131. package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +1 -1
  132. package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
  133. package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +1 -1
  134. package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
  135. package/lib/components-v1/userSelector/components/MultiMode/index.js +4 -4
  136. package/lib/components-v1/userSelector/components/SearchBar.js +1 -1
  137. package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
  138. package/lib/components-v1/userSelector/components/UserItem.js +4 -4
  139. package/lib/components-v1/userSelector/index.js +1 -1
  140. package/lib/pages/appointment-demo/input/index.js +1 -1
  141. package/lib/pages/group-management/components/input-form/index.js +1 -1
  142. package/lib/utils/auth.js +1 -1
  143. package/package.json +2 -2
@@ -1,10 +1,3 @@
1
- .attachments-preview {
2
- display: grid;
3
- grid-template-columns: 1fr 1fr;
4
- column-gap: 10px;
5
- row-gap: 10px;
6
- }
7
-
8
1
  .attachments-preview-item {
9
2
  margin: 5px 10px 5px 0;
10
3
  width: 344px;
@@ -63,7 +63,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
63
63
 
64
64
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
65
65
 
66
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
66
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
67
67
 
68
68
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
69
69
 
@@ -33,7 +33,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
33
33
 
34
34
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35
35
 
36
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
37
37
 
38
38
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
39
39
 
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
25
25
 
26
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -63,7 +63,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
63
63
 
64
64
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
65
65
 
66
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
66
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
67
67
 
68
68
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
69
69
 
@@ -29,7 +29,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
29
29
 
30
30
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
31
 
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
34
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
27
27
 
28
28
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
29
 
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
@@ -57,7 +57,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
57
57
 
58
58
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
59
59
 
60
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
60
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
61
61
 
62
62
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
63
63
 
@@ -49,7 +49,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
49
49
 
50
50
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
51
51
 
52
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
52
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
53
53
 
54
54
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
55
55
 
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
27
27
 
28
28
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
29
 
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
@@ -47,7 +47,7 @@ var BodyItem = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(BodyItem);
48
48
 
49
49
  function BodyItem() {
50
- var _this;
50
+ var _temp, _this;
51
51
 
52
52
  _classCallCheck(this, BodyItem);
53
53
 
@@ -55,7 +55,7 @@ var BodyItem = /*#__PURE__*/function (_Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.getClass = function () {
58
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.getClass = function () {
59
59
  var _this$props = _this.props,
60
60
  isAllowSelect = _this$props.isAllowSelect,
61
61
  date = _this$props.date,
@@ -86,7 +86,7 @@ var BodyItem = /*#__PURE__*/function (_Component) {
86
86
  if (_this.disabled) return;
87
87
 
88
88
  _this.props.onSelectDate((0, _moment["default"])(date.format("YYYY/MM/DD")));
89
- }, _assertThisInitialized(_this)));
89
+ }, _temp));
90
90
  }
91
91
 
92
92
  _createClass(BodyItem, [{
@@ -29,7 +29,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
29
29
 
30
30
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
31
 
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
34
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
@@ -29,7 +29,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
29
29
 
30
30
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
31
 
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
34
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
@@ -87,7 +87,7 @@ var CalendarHeader = /*#__PURE__*/function (_Component) {
87
87
  var _super = _createSuper(CalendarHeader);
88
88
 
89
89
  function CalendarHeader() {
90
- var _this;
90
+ var _temp, _this;
91
91
 
92
92
  _classCallCheck(this, CalendarHeader);
93
93
 
@@ -95,7 +95,7 @@ var CalendarHeader = /*#__PURE__*/function (_Component) {
95
95
  args[_key] = arguments[_key];
96
96
  }
97
97
 
98
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.setDate = function (func) {
98
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.setDate = function (func) {
99
99
  var date = (0, _moment["default"])(_this.props.date);
100
100
 
101
101
  for (var _len2 = arguments.length, rest = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
@@ -113,7 +113,7 @@ var CalendarHeader = /*#__PURE__*/function (_Component) {
113
113
  }
114
114
 
115
115
  return years;
116
- }, _assertThisInitialized(_this)));
116
+ }, _temp));
117
117
  }
118
118
 
119
119
  _createClass(CalendarHeader, [{
@@ -29,7 +29,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
29
29
 
30
30
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
31
 
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
34
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
@@ -39,7 +39,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
39
39
 
40
40
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41
41
 
42
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
42
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
43
43
 
44
44
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
45
45
 
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
27
27
 
28
28
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
29
 
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
@@ -49,7 +49,7 @@ var ConfirmPop = /*#__PURE__*/function (_PureComponent) {
49
49
  var _super = _createSuper(ConfirmPop);
50
50
 
51
51
  function ConfirmPop() {
52
- var _this;
52
+ var _temp, _this;
53
53
 
54
54
  _classCallCheck(this, ConfirmPop);
55
55
 
@@ -57,13 +57,13 @@ var ConfirmPop = /*#__PURE__*/function (_PureComponent) {
57
57
  args[_key] = arguments[_key];
58
58
  }
59
59
 
60
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
60
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
61
61
  // @ts-ignore
62
62
  _this.refs.pop.show(_this.refs.trigger);
63
63
  }, _this.handleHide = function () {
64
64
  // @ts-ignore
65
65
  _this.refs.pop.hide();
66
- }, _assertThisInitialized(_this)));
66
+ }, _temp));
67
67
  }
68
68
 
69
69
  _createClass(ConfirmPop, [{
@@ -92,7 +92,9 @@ function DialogConfirm(props) {
92
92
  return /*#__PURE__*/_react["default"].createElement("span", {
93
93
  className: "tu-icon-tishi",
94
94
  style: {
95
- color: "#FFBC00"
95
+ color: "#FFBC00",
96
+ fontSize: '18px',
97
+ verticalAlign: '-2px'
96
98
  }
97
99
  });
98
100
 
@@ -1,10 +1,13 @@
1
1
  .titaui-dialog-upload-preview {
2
2
  height: 60px;
3
- padding: 10px;
3
+ padding: 10px 12px;
4
4
  box-sizing: border-box;
5
5
  font-size: 12px;
6
- background-color: #f7f8fa;
7
- display: flex;
6
+ background-color: #f0f4fa;
7
+ display: inline-flex;
8
+ width: 320px;
9
+ margin-right: 10px;
10
+ margin-bottom: 10px;
8
11
  align-items: center;
9
12
  border-radius: 8px;
10
13
  }
@@ -25,7 +28,7 @@
25
28
  }
26
29
 
27
30
  .titaui-dialog-upload-preview__file-title {
28
- width: 184px;
31
+ width: 156px;
29
32
  font-size: 14px;
30
33
  line-height: 22px;
31
34
  color: #3f4755;
@@ -35,10 +35,12 @@ var UploadedPreview = function UploadedPreview(_ref) {
35
35
  var renderPreviewThumbnail = function renderPreviewThumbnail() {
36
36
  // 上传中或不是图片文件时用默认icon
37
37
  if (uploadResultItem.uploadStatus === 2 || !(0, _util.isImg)(uploadResultItem.MediaType || uploadResultItem.FileType)) {
38
- return /*#__PURE__*/_react["default"].createElement("img", {
39
- src: (0, _util.getFileTypeMapIcon)(uploadResultItem.MediaType || uploadResultItem.FileType),
40
- className: "upload-preview-img"
41
- });
38
+ if (uploadResultItem.MediaType || uploadResultItem.FileType) {
39
+ return /*#__PURE__*/_react["default"].createElement("img", {
40
+ src: (0, _util.getFileTypeMapIcon)(uploadResultItem.MediaType || uploadResultItem.FileType),
41
+ className: "upload-preview-img"
42
+ });
43
+ }
42
44
  }
43
45
 
44
46
  return /*#__PURE__*/_react["default"].createElement("img", {
@@ -94,6 +94,8 @@ var Drawer = function Drawer(props) {
94
94
  }
95
95
 
96
96
  var autoClose = function autoClose(e) {
97
+ console.log('e.targe', e.targe);
98
+
97
99
  if ((0, _dom.hasAncestorElement)(e.target, 'document-mouse-event-ignore,rc-tooltip,titaui-popup,rc-dialog-root,common-modal,in-modal,task-hot-add')) {
98
100
  return;
99
101
  }
@@ -13,6 +13,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
13
13
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
14
14
 
15
15
  function hasAncestorElement(node, className) {
16
+ console.log('is(node, className)1', node); // console.log('is(node, className)2', className)
17
+
16
18
  if (!node) return false;
17
19
  if (is(node, className)) return true;
18
20
  return hasAncestorElement(node.parentNode, className);
@@ -58,17 +58,20 @@ var encourageList = [{
58
58
  text: (0, _getLocale.getLocale)('Rep_NewS_Marvelous'),
59
59
  icon: _great["default"],
60
60
  curIcon: _curGreat["default"],
61
- id: '1'
61
+ id: '1',
62
+ textColor: '#BD7500'
62
63
  }, {
63
64
  text: (0, _getLocale.getLocale)('Rep_NewS_Welldone'),
64
65
  icon: _good["default"],
65
66
  curIcon: _curGood["default"],
66
- id: '2'
67
+ id: '2',
68
+ textColor: '#CC663D'
67
69
  }, {
68
70
  text: (0, _getLocale.getLocale)('Rep_NewS_MakePerEffo'),
69
71
  icon: _efforts["default"],
70
72
  curIcon: _curEfforts["default"],
71
- id: '3'
73
+ id: '3',
74
+ textColor: '#D61900'
72
75
  }];
73
76
 
74
77
  var Encourage = function Encourage(props) {
@@ -95,7 +98,7 @@ var Encourage = function Encourage(props) {
95
98
  };
96
99
 
97
100
  return /*#__PURE__*/_react["default"].createElement("div", {
98
- className: "encourage_container",
101
+ className: 'encourage_container',
99
102
  onMouseOut: function onMouseOut() {}
100
103
  }, encourageList.map(function (item) {
101
104
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -109,7 +112,12 @@ var Encourage = function Encourage(props) {
109
112
  }
110
113
  }, /*#__PURE__*/_react["default"].createElement("img", {
111
114
  src: encourageState === item.id ? item.curIcon : item.icon
112
- }), /*#__PURE__*/_react["default"].createElement("span", {
115
+ }), encourageState === item.id ? /*#__PURE__*/_react["default"].createElement("span", {
116
+ className: "encourage-text",
117
+ style: {
118
+ color: item.textColor
119
+ }
120
+ }, item.text) : /*#__PURE__*/_react["default"].createElement("span", {
113
121
  className: "encourage-text"
114
122
  }, item.text));
115
123
  }));
@@ -35,7 +35,7 @@
35
35
  .encourage_container .encourage {
36
36
  background: #f0f4fa;
37
37
  border-radius: 12px;
38
- padding: 7px 12px;
38
+ padding: 6px 12px;
39
39
  display: flex;
40
40
  justify-content: center;
41
41
  align-items: center;
@@ -45,6 +45,7 @@
45
45
 
46
46
  .encourage_container .encourage .encourage-text {
47
47
  color: #89919F;
48
+ margin-left: 6px;
48
49
  }
49
50
 
50
51
  .encourage_container .encourage img {
@@ -96,10 +97,20 @@
96
97
  margin-top: 7px;
97
98
  }
98
99
 
100
+ .remind-text .regulation-setting-item__content {
101
+ display: flex;
102
+ flex-direction: column;
103
+ align-items: flex-start;
104
+ }
105
+
99
106
  .remind-dialog-content {
100
- padding: 16px 26px 5px;
107
+ padding: 6px 26px 5px;
101
108
  }
102
109
 
103
110
  .remind-dialog-content .titaui-textArea {
104
111
  width: 398px;
105
112
  }
113
+
114
+ .remind-dialog-content .anticon {
115
+ font-size: 24px;
116
+ }
@@ -92,6 +92,7 @@ var RemindDialog = function RemindDialog(props) {
92
92
  return _toast["default"].Warning("综合评分与奖章鼓励,任选其一");
93
93
  }
94
94
 
95
+ if ((remark === null || remark === void 0 ? void 0 : remark.length) > 5000) return false;
95
96
  var evaluateType = "";
96
97
  var value = "";
97
98
 
@@ -152,6 +153,8 @@ var RemindDialog = function RemindDialog(props) {
152
153
  }, [visible]);
153
154
  var onCloseHandler = (0, _react.useCallback)(function () {
154
155
  closeDialog();
156
+ setEencourageState("");
157
+ setRatingScore(0);
155
158
  }, []);
156
159
  return /*#__PURE__*/_react["default"].createElement(_dialog["default"], {
157
160
  visible: visible,
@@ -17,9 +17,9 @@ var OkrRiskMapping = {
17
17
  // 正常推进
18
18
  1: "normal",
19
19
  // 正常推进
20
- 2: "risk",
20
+ 2: "delay",
21
21
  // 注意风险
22
- 3: "delay",
22
+ 3: "risk",
23
23
  // 已有风险
24
24
  4: "end",
25
25
  // kr及o全都完成
@@ -25,6 +25,8 @@ var _tableRowOProject = _interopRequireDefault(require("../table-row-o-project")
25
25
 
26
26
  var _constant = require("./constant");
27
27
 
28
+ var _interface = require("../task-progress/interface");
29
+
28
30
  require("./index.css");
29
31
 
30
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -50,15 +52,24 @@ var isImport = false;
50
52
 
51
53
  var OkrProgress = function OkrProgress(_ref) {
52
54
  var data = _ref.data,
53
- _ref$type = _ref.type,
54
- type = _ref$type === void 0 ? 'day' : _ref$type,
55
- title = _ref.title;
55
+ reportType = _ref.reportType;
56
56
 
57
57
  var _useState = (0, _react.useState)(),
58
58
  _useState2 = _slicedToArray(_useState, 2),
59
59
  rowsData = _useState2[0],
60
60
  setRowsData = _useState2[1];
61
61
 
62
+ var renderTitle = (0, _react.useMemo)(function () {
63
+ if (reportType === _interface.EReportType.Daily) {
64
+ return (0, _getLocale.getLocale)("Rep_NewS_ToOKRpro");
65
+ } else if (reportType === _interface.EReportType.Weekly) {
66
+ return (0, _getLocale.getLocale)("Rep_NewS_ThisOKRprogr");
67
+ } else if (reportType === _interface.EReportType.Month) {
68
+ return (0, _getLocale.getLocale)("Rep_NewS_TmonOKRpro");
69
+ }
70
+
71
+ return "";
72
+ }, [reportType]);
62
73
  var krOrder = 0;
63
74
  var renderTable = (0, _react.useMemo)(function () {
64
75
  return /*#__PURE__*/_react["default"].createElement("table", null, /*#__PURE__*/_react["default"].createElement("thead", null, /*#__PURE__*/_react["default"].createElement("tr", {
@@ -88,7 +99,7 @@ var OkrProgress = function OkrProgress(_ref) {
88
99
  id: item.Id
89
100
  })), /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement(_progress["default"], {
90
101
  type: "o",
91
- status: _constant.OkrRiskMapping[item.Status],
102
+ status: _constant.OkrRiskMapping[item.RiskLevel],
92
103
  value: item.Progress
93
104
  })), /*#__PURE__*/_react["default"].createElement("td", null), /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement(_schedule["default"], {
94
105
  value: item.LastContent,
@@ -136,7 +147,7 @@ var OkrProgress = function OkrProgress(_ref) {
136
147
  className: prefix
137
148
  }, /*#__PURE__*/_react["default"].createElement("div", {
138
149
  className: "".concat(prefix, "__title")
139
- }, title), /*#__PURE__*/_react["default"].createElement("div", {
150
+ }, renderTitle), /*#__PURE__*/_react["default"].createElement("div", {
140
151
  className: "".concat(prefix, "__table")
141
152
  }, renderTable));
142
153
  };
@@ -3,8 +3,25 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.formatOkrsData = void 0;
6
+ exports.formatOkrsData = exports.OkrRiskMapping = void 0;
7
7
 
8
8
  var formatOkrsData = function formatOkrsData(data) {};
9
9
 
10
- exports.formatOkrsData = formatOkrsData;
10
+ exports.formatOkrsData = formatOkrsData;
11
+ var OkrRiskMapping = {
12
+ 0: "normal",
13
+ // 正常推进
14
+ 1: "normal",
15
+ // 正常推进
16
+ 2: "delay",
17
+ // 注意风险
18
+ 3: "risk",
19
+ // 已有风险
20
+ 4: "end",
21
+ // kr及o全都完成
22
+ 5: "delay",
23
+ // 延期完成
24
+ 6: "normal" // 正常推进
25
+
26
+ };
27
+ exports.OkrRiskMapping = OkrRiskMapping;
@@ -1,11 +1,12 @@
1
1
  .titaui-dynamic-summary-schedule {
2
- padding: 4px 0;
2
+ padding: 8px 0;
3
3
  }
4
4
 
5
5
  .titaui-dynamic-summary-schedule__content-text {
6
6
  font-size: 14px;
7
7
  color: #141c28;
8
8
  line-height: 22px;
9
+ white-space: pre-wrap;
9
10
  }
10
11
 
11
12
  .titaui-dynamic-summary-schedule__content-date {
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
5
- margin-bottom: 24px;
5
+ margin-bottom: 16px;
6
6
  padding: 24px 0 0 20px;
7
7
  }
8
8
 
@@ -15,6 +15,8 @@ var _tooltip = _interopRequireDefault(require("../../../../tooltip"));
15
15
 
16
16
  var _getLocale = require("../../../../../utils/getLocale");
17
17
 
18
+ var _interface = require("./interface");
19
+
18
20
  var _utils = require("./utils");
19
21
 
20
22
  var _renderRow = _interopRequireDefault(require("./render-row"));
@@ -45,7 +47,7 @@ var prefix = 'titaui-dynamic-summary-task-progress';
45
47
 
46
48
  var TaskProgress = function TaskProgress(_ref) {
47
49
  var data = _ref.data,
48
- title = _ref.title;
50
+ reportType = _ref.reportType;
49
51
 
50
52
  var _useState = (0, _react.useState)({
51
53
  1: [],
@@ -78,6 +80,17 @@ var TaskProgress = function TaskProgress(_ref) {
78
80
  setActiveId(3);
79
81
  };
80
82
 
83
+ var renderTitle = (0, _react.useMemo)(function () {
84
+ if (reportType === _interface.EReportType.Daily) {
85
+ return (0, _getLocale.getLocale)("Rep_NewS_Toworkasks");
86
+ } else if (reportType === _interface.EReportType.Weekly) {
87
+ return (0, _getLocale.getLocale)("Rep_NewS_Thisetasks");
88
+ } else if (reportType === _interface.EReportType.Month) {
89
+ return (0, _getLocale.getLocale)("Rep_NewS_Taskormonth");
90
+ }
91
+
92
+ return "";
93
+ }, [reportType]);
81
94
  var renderTable = (0, _react.useMemo)(function () {
82
95
  return /*#__PURE__*/_react["default"].createElement("table", null, /*#__PURE__*/_react["default"].createElement("thead", null, /*#__PURE__*/_react["default"].createElement("tr", {
83
96
  className: "".concat(prefix, "__table-title")
@@ -140,7 +153,7 @@ var TaskProgress = function TaskProgress(_ref) {
140
153
  className: prefix
141
154
  }, /*#__PURE__*/_react["default"].createElement("div", {
142
155
  className: "".concat(prefix, "__title")
143
- }, title), statusStatistic.done + statusStatistic.doing + statusStatistic.overDue > 0 && /*#__PURE__*/_react["default"].createElement("div", {
156
+ }, renderTitle), statusStatistic.done + statusStatistic.doing + statusStatistic.overDue > 0 && /*#__PURE__*/_react["default"].createElement("div", {
144
157
  className: "".concat(prefix, "__statistic")
145
158
  }, statusStatistic.done > 0 && /*#__PURE__*/_react["default"].createElement("span", {
146
159
  onClick: handleFilterDone,
@@ -17,6 +17,7 @@
17
17
  font-size: 14px;
18
18
  color: #3F4755;
19
19
  line-height: 22px;
20
+ margin-bottom: 4px;
20
21
  }
21
22
 
22
23
  .titaui-dynamic-summary__evalute-card__head .titaui-pc-avator-container {
@@ -19,7 +19,6 @@
19
19
  .titaui-dynamic-new-report-item__content-title {
20
20
  display: inline-flex;
21
21
  align-items: center;
22
- justify-content: space-between;
23
22
  width: 100%;
24
23
  padding-bottom: 4px;
25
24
  display: flex;
@@ -29,6 +28,8 @@
29
28
  .titaui-dynamic-new-report-item__content-mind {
30
29
  width: 44px;
31
30
  height: 44px;
31
+ position: absolute;
32
+ right: 0;
32
33
  }
33
34
 
34
35
  .titaui-dynamic-new-report-item__upload {
@@ -112,7 +113,6 @@
112
113
 
113
114
  .titaui-dynamic-new-report-item__operate-desc {
114
115
  font-size: 14px;
115
- font-weight: 600;
116
116
  color: #89919f;
117
117
  line-height: 24px;
118
118
  margin-left: 4px;