@titaui/pc 1.12.44 → 1.12.47

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.
@@ -97,6 +97,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
97
97
  _ref$suffixContent = _ref.suffixContent,
98
98
  suffixContent = _ref$suffixContent === void 0 ? '' : _ref$suffixContent,
99
99
  canEvaluate = _ref.canEvaluate,
100
+ activeKey = _ref.activeKey,
100
101
  _ref$setEvaluates = _ref.setEvaluates,
101
102
  setEvaluates = _ref$setEvaluates === void 0 ? function () {} : _ref$setEvaluates;
102
103
  var createDate = data.createDate,
@@ -224,7 +225,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
224
225
  };
225
226
 
226
227
  var handleClickEdit = function handleClickEdit() {
227
- window.open("#/summary/template?isCreate=false&hideNavTop=true&reportType=".concat(reportType, "&currentTime=").concat(dailyDate), '_blank');
228
+ window.open("#/summary/template?isCreate=false&hideNavTop=true&reportType=".concat(reportType, "&currentTime=").concat(dailyDate, "&activeKey=").concat(activeKey), '_self');
228
229
  };
229
230
 
230
231
  var handleCloseEvaluateDialog = /*#__PURE__*/function () {
@@ -192,13 +192,13 @@ var DynamicReply = function DynamicReply(_ref) {
192
192
  alt: ""
193
193
  }))), dailyContent.map(function (item) {
194
194
  if (item.contentType === _constant.dailyContentType.richText) {
195
- return /*#__PURE__*/_react["default"].createElement("div", {
195
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (item === null || item === void 0 ? void 0 : item.richContent) && /*#__PURE__*/_react["default"].createElement("div", {
196
196
  className: "".concat(prefix, "__work")
197
197
  }, item.title === "工作总结" ? (0, _getLocale.getLocale)('Tasks_Tab_MyS_JobSummary') : (0, _getLocale.getLocale)('Rep_Tab_Mys_NextWorkPlans'), /*#__PURE__*/_react["default"].createElement(_richEditor["default"], null, /*#__PURE__*/_react["default"].createElement(_richEditor.EditorComponent, {
198
198
  editable: false,
199
199
  initialState: !!item.richContent ? JSON.parse(item.richContent || '{}') : undefined,
200
200
  placeholder: (0, _getLocale.getLocale)('Rep_NewS_Notfilled')
201
- })));
201
+ }))));
202
202
  }
203
203
 
204
204
  if (item.contentType === _constant.dailyContentType.okr) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.44",
3
+ "version": "1.12.47",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",