@titaui/pc 1.11.2 → 1.11.3-2.beta-1
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.
- package/lib/components/avatar/text-avatar/index.css +7 -0
- package/lib/components/avatar/text-avatar/index.js +32 -7
- package/lib/components/button/icon-btn/index.js +17 -8
- package/lib/components/button/rect-btn/index.js +7 -7
- package/lib/components/change-okr-modal/Item.js +15 -15
- package/lib/components/communication/index.js +30 -29
- package/lib/components/drawer/index.js +7 -6
- package/lib/components/drop-selector/index.js +25 -10
- package/lib/components/dynamic/constant.js +43 -36
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +243 -0
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +6 -2
- package/lib/components/dynamic/dynamic-item/dynamic-interview/img/wifi.svg +24 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview/index.css +51 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview/index.js +50 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview/interview-content.js +65 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/img/wifi.svg +24 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.css +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.js +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/interview-content.js +69 -0
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +6 -6
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +7 -7
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +11 -11
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +14 -14
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +10 -10
- package/lib/components/dynamic/dynamic-item/index.js +70 -41
- package/lib/components/dynamic/dynamic-list/index.js +5 -13
- package/lib/components/e-priority/index.js +18 -12
- package/lib/components/eReport/eReportShare/index.js +12 -12
- package/lib/components/file-list/components/single-file/index.js +11 -11
- package/lib/components/form/form-fields/date/index.css +24 -0
- package/lib/components/form/form-fields/date/index.js +102 -0
- package/lib/components/form/form-fields/input/index.js +10 -10
- package/lib/components/form/form-fields/user/index.css +23 -3
- package/lib/components/form/form-fields/user/index.js +18 -8
- package/lib/components/form/form-fields/user/user-input.js +15 -6
- package/lib/components/form/index.js +10 -3
- package/lib/components/grid-layout/sub-employee-okr/person-okr.js +11 -5
- package/lib/components/icon-button-list/index.css +2 -57
- package/lib/components/icon-button-list/index.js +10 -7
- package/lib/components/img-viewer/index.css +10 -3
- package/lib/components/img-viewer/index.js +57 -18
- package/lib/components/mblog/components/MblogContent.js +5 -2
- package/lib/components/mblog/index.js +31 -30
- package/lib/components/menus/components/menu-tree/images/interview-menu/my-interview.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/interview-menu/template.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/interview-menu/todo.svg +16 -0
- package/lib/components/menus/components/menu-tree/index.css +4 -2
- package/lib/components/menus/components/menu-tree/tree-node/index.css +85 -1
- package/lib/components/menus/export-modules/interview-menus/constant.js +30 -0
- package/lib/components/menus/export-modules/interview-menus/handle-highlight.js +63 -0
- package/lib/components/menus/export-modules/interview-menus/index.css +7 -0
- package/lib/components/menus/export-modules/interview-menus/index.js +128 -0
- package/lib/components/menus/index.js +11 -5
- package/lib/components/nav-top/components/menu/index.js +14 -14
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +25 -19
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +48 -10
- package/lib/components/nav-top/components/user-message/constant.js +1 -0
- package/lib/components/nav-top/components/user-message/hrMessage.js +22 -19
- package/lib/components/nav-top/components/user-message/index.js +23 -20
- package/lib/components/nav-top/request.apis.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +7 -7
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +3 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +10 -0
- package/lib/components/okr-detail/detail-header/actions.js +62 -66
- package/lib/components/okr-detail/detail-header/index.css +2 -2
- package/lib/components/okr-detail/detail-header/index.js +205 -194
- package/lib/components/okr-detail/index.js +21 -19
- package/lib/components/okr-detail/okr-list/index.js +5 -3
- package/lib/components/okr-flow/child-node/index.css +67 -21
- package/lib/components/okr-flow/child-node/work-node.js +61 -24
- package/lib/components/okr-flow/empty/index.css +8 -1
- package/lib/components/okr-flow/export-modal/index.js +63 -21
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.css +3 -1
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +30 -24
- package/lib/components/okr-flow/images/loading-light.gif +0 -0
- package/lib/components/okr-flow/okr-map/index.js +43 -22
- package/lib/components/okr-flow/request-apis.js +15 -8
- package/lib/components/okr-flow/root-node/index.css +2 -2
- package/lib/components/okr-flow/root-node/index.js +26 -25
- package/lib/components/okr-flow/utils/index.js +45 -29
- package/lib/components/okr-flow/utils/tree-handler.js +29 -18
- package/lib/components/okr-progress-modal/index.css +1 -1
- package/lib/components/okrcase-library/index.css +6 -4
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +36 -30
- package/lib/components/pagination/index.css +3 -3
- package/lib/components/pagination/select.css +58 -23
- package/lib/components/period-selector/index.css +9 -3
- package/lib/components/period-selector/index.js +14 -11
- package/lib/components/picker/components/panels/date-panel/date-body.js +118 -0
- package/lib/components/picker/components/panels/date-panel/date-head.js +87 -0
- package/lib/components/picker/components/panels/date-panel/index.css +14 -0
- package/lib/components/picker/components/panels/date-panel/index.js +49 -0
- package/lib/components/picker/components/panels/month-panel/index.css +27 -0
- package/lib/components/picker/components/panels/month-panel/index.js +63 -0
- package/lib/components/picker/components/panels/month-panel/month-body.js +89 -0
- package/lib/components/picker/components/panels/month-panel/month-head.js +47 -0
- package/lib/components/picker/components/panels/panel-body/index.js +53 -0
- package/lib/components/picker/components/panels/panel-head/index.js +48 -0
- package/lib/components/picker/components/panels/year-panel/index.css +23 -0
- package/lib/components/picker/components/panels/year-panel/index.js +65 -0
- package/lib/components/picker/components/panels/year-panel/year-body.js +92 -0
- package/lib/components/picker/components/panels/year-panel/year-head.js +35 -0
- package/lib/components/picker/components/picker-trigger/index.css +57 -0
- package/lib/components/picker/components/picker-trigger/index.js +94 -0
- package/lib/components/picker/context.js +15 -0
- package/lib/components/picker/index.css +121 -0
- package/lib/components/picker/index.js +13 -0
- package/lib/components/picker/picker-panels.js +182 -0
- package/lib/components/picker/picker.js +132 -0
- package/lib/components/picker/type.js +5 -0
- package/lib/components/picker/utils.js +28 -0
- package/lib/components/popup/index.js +4 -4
- package/lib/components/radio/index.css +9 -9
- package/lib/components/scroll-container/index.js +423 -0
- package/lib/components/scroll-container/style.css +35 -0
- package/lib/components/scrollbar/scroll-mask/index.js +1 -1
- package/lib/components/superset-charts/components/chart/index.js +1 -1
- package/lib/components/superset-charts/utils/axios.js +5 -13
- package/lib/components/survey-model/contact.js +93 -0
- package/lib/components/survey-model/index.css +141 -0
- package/lib/components/survey-model/index.js +268 -0
- package/lib/components/survey-model/instance.js +86 -0
- package/lib/components/survey-model/request-api.js +80 -0
- package/lib/components/task-tree/helper.js +61 -0
- package/lib/components/task-tree/images/P1.svg +15 -0
- package/lib/components/task-tree/images/P2.svg +15 -0
- package/lib/components/task-tree/images/P3.svg +15 -0
- package/lib/components/task-tree/images/P4.svg +15 -0
- package/lib/components/task-tree/images/P5.svg +15 -0
- package/lib/components/task-tree/images/arrow.svg +9 -0
- package/lib/components/task-tree/images/empty-131.png +0 -0
- package/lib/components/task-tree/images/followed.svg +33 -0
- package/lib/components/task-tree/images/nice.svg +108 -0
- package/lib/components/task-tree/images/struc12.png +0 -0
- package/lib/components/task-tree/images/struc2.png +0 -0
- package/lib/components/task-tree/images/xialat-s.svg +13 -0
- package/lib/components/task-tree/index.js +22 -0
- package/lib/components/task-tree/mock.js +944 -0
- package/lib/components/task-tree/precls.js +8 -0
- package/lib/components/task-tree/request-apis.js +88 -0
- package/lib/components/task-tree/task-item-node/constant.js +45 -0
- package/lib/components/task-tree/task-item-node/e-empty.js +29 -0
- package/lib/components/task-tree/task-item-node/e-project.js +212 -0
- package/lib/components/task-tree/task-item-node/e-status-dropdown.js +94 -0
- package/lib/components/task-tree/task-item-node/e-task.js +426 -0
- package/lib/components/task-tree/task-item-node/get-process-color.js +62 -0
- package/lib/components/task-tree/task-item-node/index.css +289 -0
- package/lib/components/task-tree/task-item-node/task-node-render.js +43 -0
- package/lib/components/task-tree/task-tree.css +16 -0
- package/lib/components/task-tree/task-tree.js +49 -0
- package/lib/components/time-picker/index.css +123 -0
- package/lib/components/time-picker/index.js +13 -0
- package/lib/components/time-picker/time-picker-selector.js +138 -0
- package/lib/components/time-picker/time-picker.js +336 -0
- package/lib/components/time-picker/timer-picker-input.js +96 -0
- package/lib/components/time-picker/utils.js +52 -0
- package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.css +1 -0
- package/lib/components/wechat-btn/index.css +14 -0
- package/lib/components/wechat-btn/index.js +338 -0
- package/lib/components-v1/radio/radio.js +3 -3
- package/lib/components-v1/radio/style/index.css +8 -8
- package/lib/index.js +101 -77
- package/lib/pages/aha2021/index.js +5 -1
- package/lib/pages/okr-map/export-modules/okr-map/header/index.css +7 -2
- package/lib/pages/okr-map/export-modules/okr-map/header/index.js +73 -34
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +65 -42
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +26 -14
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +58 -13
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +28 -20
- package/lib/pages/okr-map/number-select/index.css +12 -9
- package/lib/pages/okr-map/number-select/index.js +3 -3
- package/lib/utils/auth.js +65 -8
- package/lib/utils/bs-global.js +18 -6
- package/lib/utils/hooks.js +72 -0
- package/lib/utils/open-data.js +63 -43
- package/package.json +6 -2
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -223
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -31
- package/.prettierrc.js +0 -90
- package/.vscode/settings.json +0 -5
|
@@ -208,14 +208,16 @@ var MblogContent = /*#__PURE__*/function (_PureComponent) {
|
|
|
208
208
|
style: {
|
|
209
209
|
opacity: isFocus ? "0.8" : "1"
|
|
210
210
|
}
|
|
211
|
-
}, placeholderText)), /*#__PURE__*/_react["default"].createElement(_style.TextareaWrapper,
|
|
211
|
+
}, placeholderText)), /*#__PURE__*/_react["default"].createElement(_style.TextareaWrapper, {
|
|
212
|
+
className: "textarea-wrap"
|
|
213
|
+
}, /*#__PURE__*/_react["default"].createElement(_style.Textarea, {
|
|
212
214
|
ref: "textareaSetHeight",
|
|
213
215
|
value: textareaValue,
|
|
214
216
|
onChange: function onChange() {},
|
|
215
217
|
className: "textarea-setheight"
|
|
216
218
|
}), /*#__PURE__*/_react["default"].createElement(_style.Textarea, {
|
|
217
219
|
ref: "textareaInput",
|
|
218
|
-
className: "".concat(visibility === 1 ? "" : "private__bg"),
|
|
220
|
+
className: "textarea-content ".concat(visibility === 1 ? "" : "private__bg"),
|
|
219
221
|
value: textareaValue,
|
|
220
222
|
onFocus: this._handlerFocus,
|
|
221
223
|
onBlur: this._handlerBlur,
|
|
@@ -224,6 +226,7 @@ var MblogContent = /*#__PURE__*/function (_PureComponent) {
|
|
|
224
226
|
onPaste: this._handlerPaste,
|
|
225
227
|
onChange: this._handleInputChange
|
|
226
228
|
})), /*#__PURE__*/_react["default"].createElement(_style.Tips, {
|
|
229
|
+
className: "textarea-tips",
|
|
227
230
|
onMouseDown: this._handlerTipsLabelClick,
|
|
228
231
|
color: maxLength && textareaValueLen > maxLength ? "#EB4447" : textareaValueLen > 0 ? "#2879ff" : "#BFC3C7"
|
|
229
232
|
}, textareaValueLen, "/", maxLength));
|
|
@@ -99,7 +99,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
99
99
|
var atAll = !!contentValue.match(/@\[所有同事:all_members\]/g);
|
|
100
100
|
|
|
101
101
|
_this.setState({
|
|
102
|
-
isInputAt: contentValue.charAt(start - 1) ==
|
|
102
|
+
isInputAt: contentValue.charAt(start - 1) == '@',
|
|
103
103
|
// isInputEnterSubmit: contentValue === 'isInputEnterSubmit',
|
|
104
104
|
textareaValue: contentValue,
|
|
105
105
|
isAllowSubmit: _this.allowSubmit(contentValue),
|
|
@@ -111,25 +111,25 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
_this.onActionsTextChange = function (actionValue) {
|
|
114
|
-
if (actionValue ===
|
|
114
|
+
if (actionValue === 'allowSendSMS') {
|
|
115
115
|
return _this.setState({
|
|
116
116
|
isSendSMS: true
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
if (actionValue ===
|
|
120
|
+
if (actionValue === 'public') {
|
|
121
121
|
return _this.setState({
|
|
122
122
|
visibility: 1
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
if (actionValue ===
|
|
126
|
+
if (actionValue === 'private') {
|
|
127
127
|
return _this.setState({
|
|
128
128
|
visibility: 2
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
if (actionValue ===
|
|
132
|
+
if (actionValue === 'department') {
|
|
133
133
|
return _this.setState({
|
|
134
134
|
visibility: 3
|
|
135
135
|
});
|
|
@@ -172,7 +172,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
172
172
|
var _this$refs$textEditor2;
|
|
173
173
|
|
|
174
174
|
var successFilesPath = uploadSuccessFilesPath.filter(function (item) {
|
|
175
|
-
return item !==
|
|
175
|
+
return item !== '';
|
|
176
176
|
});
|
|
177
177
|
var successFilesPathLen = successFilesPath.length; // @ts-ignore
|
|
178
178
|
|
|
@@ -223,7 +223,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
223
223
|
submitStatus = _this$props2.submitStatus;
|
|
224
224
|
var sentData = {}; // 发送的数据
|
|
225
225
|
|
|
226
|
-
var FileUrl = uploadSuccessFilesPath.join(
|
|
226
|
+
var FileUrl = uploadSuccessFilesPath.join(','); // 附件链接
|
|
227
227
|
|
|
228
228
|
if (isShowAttachment) {
|
|
229
229
|
// @ts-ignore
|
|
@@ -243,10 +243,10 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
243
243
|
|
|
244
244
|
sentData.Content = (0, _index.htmlEncodeByRegExp)(textareaValue); // @ts-ignore
|
|
245
245
|
|
|
246
|
-
if (submitType ===
|
|
246
|
+
if (submitType === 'submit' && submitStatus !== 2) {
|
|
247
247
|
// 发送
|
|
248
248
|
_this.props.onMblogSubmit(submitType, sentData);
|
|
249
|
-
} else if (submitType ===
|
|
249
|
+
} else if (submitType === 'cancel') {
|
|
250
250
|
// 取消
|
|
251
251
|
_this.props.onMblogSubmit(submitType);
|
|
252
252
|
}
|
|
@@ -323,9 +323,9 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
323
323
|
_this.state = {
|
|
324
324
|
uploadSuccessFilesPath: [],
|
|
325
325
|
isAllowSubmit: false,
|
|
326
|
-
localStroageKey:
|
|
326
|
+
localStroageKey: '',
|
|
327
327
|
// 本地存储key
|
|
328
|
-
textareaValue:
|
|
328
|
+
textareaValue: '',
|
|
329
329
|
isSendSMS: false,
|
|
330
330
|
visibility: 1,
|
|
331
331
|
isInputAt: false,
|
|
@@ -359,7 +359,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
359
359
|
if (submitStatus === 1) {
|
|
360
360
|
// 发送成功,清空内容
|
|
361
361
|
this.setState({
|
|
362
|
-
textareaValue:
|
|
362
|
+
textareaValue: '',
|
|
363
363
|
uploadSuccessFilesPath: [],
|
|
364
364
|
isSendSMS: false,
|
|
365
365
|
isAllowSubmit: false
|
|
@@ -379,7 +379,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
379
379
|
contentClassName = _this$props3.contentClassName,
|
|
380
380
|
isHasPlaceholder = _this$props3.isHasPlaceholder,
|
|
381
381
|
_this$props3$placehol = _this$props3.placeholderText,
|
|
382
|
-
placeholderText = _this$props3$placehol === void 0 ?
|
|
382
|
+
placeholderText = _this$props3$placehol === void 0 ? '有事需要提醒ta,请@ta' : _this$props3$placehol,
|
|
383
383
|
maxLength = _this$props3.maxLength,
|
|
384
384
|
autoResizing = _this$props3.autoResizing,
|
|
385
385
|
initialTextHeight = _this$props3.initialTextHeight,
|
|
@@ -387,36 +387,36 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
387
387
|
actionClassName = _this$props3.actionClassName,
|
|
388
388
|
isShowAttachment = _this$props3.isShowAttachment,
|
|
389
389
|
_this$props3$attachme = _this$props3.attachmentText,
|
|
390
|
-
attachmentText = _this$props3$attachme === void 0 ? (0, _getLocale.getLocale)(
|
|
390
|
+
attachmentText = _this$props3$attachme === void 0 ? (0, _getLocale.getLocale)('Mod_Annexes') : _this$props3$attachme,
|
|
391
391
|
attachmentTipText = _this$props3.attachmentTipText,
|
|
392
392
|
fileNumLimit = _this$props3.fileNumLimit,
|
|
393
393
|
attachmentPreviewBox = _this$props3.attachmentPreviewBox,
|
|
394
394
|
_this$props3$atAllTex = _this$props3.atAllText,
|
|
395
|
-
atAllText = _this$props3$atAllTex === void 0 ? (0, _getLocale.getLocale)(
|
|
395
|
+
atAllText = _this$props3$atAllTex === void 0 ? (0, _getLocale.getLocale)('Mod_AllColleagues') : _this$props3$atAllTex,
|
|
396
396
|
_this$props3$atAllVal = _this$props3.atAllValue,
|
|
397
|
-
atAllValue = _this$props3$atAllVal === void 0 ?
|
|
397
|
+
atAllValue = _this$props3$atAllVal === void 0 ? '@[所有同事:all_members] ' : _this$props3$atAllVal,
|
|
398
398
|
_this$props3$atAllTip = _this$props3.atAllTipText,
|
|
399
|
-
atAllTipText = _this$props3$atAllTip === void 0 ? (0, _getLocale.getLocale)(
|
|
399
|
+
atAllTipText = _this$props3$atAllTip === void 0 ? (0, _getLocale.getLocale)('OKR_MyO_Popup_Allcolleagues') : _this$props3$atAllTip,
|
|
400
400
|
isShowAt = _this$props3.isShowAt,
|
|
401
401
|
showAtAll = _this$props3.showAtAll,
|
|
402
402
|
_this$props3$atText = _this$props3.atText,
|
|
403
|
-
atText = _this$props3$atText === void 0 ? (0, _getLocale.getLocale)(
|
|
403
|
+
atText = _this$props3$atText === void 0 ? (0, _getLocale.getLocale)('Mod_colleague') : _this$props3$atText,
|
|
404
404
|
_this$props3$atTipTex = _this$props3.atTipText,
|
|
405
|
-
atTipText = _this$props3$atTipTex === void 0 ? (0, _getLocale.getLocale)(
|
|
405
|
+
atTipText = _this$props3$atTipTex === void 0 ? (0, _getLocale.getLocale)('OKR_MyO_Popup_Butt_Colleagues') : _this$props3$atTipTex,
|
|
406
406
|
userSelectorPopAlign = _this$props3.userSelectorPopAlign,
|
|
407
407
|
isShowEmotion = _this$props3.isShowEmotion,
|
|
408
408
|
_this$props3$emotionT = _this$props3.emotionText,
|
|
409
|
-
emotionText = _this$props3$emotionT === void 0 ? (0, _getLocale.getLocale)(
|
|
409
|
+
emotionText = _this$props3$emotionT === void 0 ? (0, _getLocale.getLocale)('Mod_Expressions') : _this$props3$emotionT,
|
|
410
410
|
emotionTipText = _this$props3.emotionTipText,
|
|
411
411
|
emotionsSelectorPopAlign = _this$props3.emotionsSelectorPopAlign,
|
|
412
412
|
isShowSendSms = _this$props3.isShowSendSms,
|
|
413
413
|
_this$props3$sendSmsT = _this$props3.sendSmsTipText,
|
|
414
|
-
sendSmsTipText = _this$props3$sendSmsT === void 0 ? (0, _getLocale.getLocale)(
|
|
414
|
+
sendSmsTipText = _this$props3$sendSmsT === void 0 ? (0, _getLocale.getLocale)('Tasks_Tab_MyS_Thecollenotified') : _this$props3$sendSmsT,
|
|
415
415
|
isShowRange = _this$props3.isShowRange,
|
|
416
416
|
isShowRangeDropDown = _this$props3.isShowRangeDropDown,
|
|
417
417
|
isShowBtnCancel = _this$props3.isShowBtnCancel,
|
|
418
418
|
_this$props3$submitTe = _this$props3.submitText,
|
|
419
|
-
submitText = _this$props3$submitTe === void 0 ? (0, _getLocale.getLocale)(
|
|
419
|
+
submitText = _this$props3$submitTe === void 0 ? (0, _getLocale.getLocale)('Mod_Publish') : _this$props3$submitTe,
|
|
420
420
|
setTextareaRef = _this$props3.setTextareaRef,
|
|
421
421
|
disableRangeSelect = _this$props3.disableRangeSelect,
|
|
422
422
|
showUser = _this$props3.showUser;
|
|
@@ -431,7 +431,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
431
431
|
isShowDragMask = _this$state2.isShowDragMask,
|
|
432
432
|
isAtAll = _this$state2.isAtAll;
|
|
433
433
|
var fSize = (0, _bsGlobal.getUploadMaxSize)();
|
|
434
|
-
var fTip = attachmentTipText || (0, _getLocale.getLocale)(
|
|
434
|
+
var fTip = attachmentTipText || (0, _getLocale.getLocale)('OKR_MyO_KRP_Draganddropu').replace('50MB', "".concat(fSize, "MB"));
|
|
435
435
|
var user = (0, _bsGlobal.getUserInfo)();
|
|
436
436
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
437
437
|
className: prefix
|
|
@@ -445,7 +445,8 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
445
445
|
},
|
|
446
446
|
name: user.Name,
|
|
447
447
|
color: user.UserAvatar.Color,
|
|
448
|
-
src: user.UserAvatar.Medium
|
|
448
|
+
src: user.UserAvatar.Medium,
|
|
449
|
+
userId: user.Id
|
|
449
450
|
})), /*#__PURE__*/_react["default"].createElement(_style.MBlogBox, {
|
|
450
451
|
className: className,
|
|
451
452
|
ref: "mblogbox",
|
|
@@ -523,7 +524,7 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
523
524
|
}
|
|
524
525
|
}), /*#__PURE__*/_react["default"].createElement(_style.PreviewBox, {
|
|
525
526
|
id: this.previewid
|
|
526
|
-
}), !(0, _platform.isPlatform)(
|
|
527
|
+
}), !(0, _platform.isPlatform)('wx') && isShowDragMask && /*#__PURE__*/_react["default"].createElement(_style.DragEffect, {
|
|
527
528
|
className: "tu-icon-inbox-upload"
|
|
528
529
|
})));
|
|
529
530
|
}
|
|
@@ -535,12 +536,12 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
535
536
|
exports["default"] = MBlog;
|
|
536
537
|
MBlog.defaultProps = {
|
|
537
538
|
// 样式相关
|
|
538
|
-
contentClassName:
|
|
539
|
+
contentClassName: '',
|
|
539
540
|
// 输入框class
|
|
540
|
-
actionClassName:
|
|
541
|
+
actionClassName: '',
|
|
541
542
|
// 功能栏class
|
|
542
543
|
// 输入相关
|
|
543
|
-
defaultContent:
|
|
544
|
+
defaultContent: '',
|
|
544
545
|
isHasPlaceholder: false,
|
|
545
546
|
maxLength: 2000,
|
|
546
547
|
autoFocus: false,
|
|
@@ -550,7 +551,7 @@ MBlog.defaultProps = {
|
|
|
550
551
|
// 附件
|
|
551
552
|
isShowAttachment: true,
|
|
552
553
|
// attachmentTipText: `<p>支持拖拽上传</p><p>单次最多支持上传20个</p><p>每个不超过50MB</p>`,
|
|
553
|
-
attachmentTipText:
|
|
554
|
+
attachmentTipText: '',
|
|
554
555
|
fileNumLimit: 20,
|
|
555
556
|
fileSizeLimit: 50,
|
|
556
557
|
// @同事
|
|
@@ -558,7 +559,7 @@ MBlog.defaultProps = {
|
|
|
558
559
|
// @所有同事
|
|
559
560
|
// @表情
|
|
560
561
|
isShowEmotion: true,
|
|
561
|
-
emotionTipText:
|
|
562
|
+
emotionTipText: '',
|
|
562
563
|
// @按钮相关
|
|
563
564
|
isShowSendSms: true,
|
|
564
565
|
isShowRange: true,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>切片</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="1--我的面谈(空页面)" transform="translate(-36.000000, -193.000000)" fill-rule="nonzero">
|
|
6
|
+
<g id="主菜单" transform="translate(16.000000, 74.000000)">
|
|
7
|
+
<g id="编组-3" transform="translate(12.000000, 108.000000)">
|
|
8
|
+
<g id="my-uniEA10" transform="translate(8.000000, 11.000000)">
|
|
9
|
+
<path d="M8.4,13.35 L8.4,4.65 C8.4,3.3245166 7.3254834,2.25 6,2.25 L4.65,2.25 C3.3245166,2.25 2.25,3.3245166 2.25,4.65 L2.25,13.35 C2.25,14.6754834 3.3245166,15.75 4.65,15.75 L6,15.75 C7.3254834,15.75 8.4,14.6754834 8.4,13.35 Z M7.2,4.65 L7.2,13.35 C7.2,14.0127417 6.6627417,14.55 6,14.55 L4.65,14.55 C3.9872583,14.55 3.45,14.0127417 3.45,13.35 L3.45,4.65 C3.45,3.9872583 3.9872583,3.45 4.65,3.45 L6,3.45 C6.6627417,3.45 7.2,3.9872583 7.2,4.65 Z M15.75,7.05 L15.75,4.65 C15.75,3.3245166 14.6754834,2.25 13.35,2.25 L12,2.25 C10.6745166,2.25 9.6,3.3245166 9.6,4.65 L9.6,7.05 C9.6,8.3754834 10.6745166,9.45 12,9.45 L13.35,9.45 C14.6754834,9.45 15.75,8.3754834 15.75,7.05 Z M14.55,4.65 L14.55,7.05 C14.55,7.7127417 14.0127417,8.25 13.35,8.25 L12,8.25 C11.3372583,8.25 10.8,7.7127417 10.8,7.05 L10.8,4.65 C10.8,3.9872583 11.3372583,3.45 12,3.45 L13.35,3.45 C14.0127417,3.45 14.55,3.9872583 14.55,4.65 Z" id="形状结合" fill="#141C28"></path>
|
|
10
|
+
<path d="M12.825,10.125 L12.525,10.125 C11.1995166,10.125 10.125,11.1995166 10.125,12.525 L10.125,13.875 C10.125,15.2004834 11.1995166,16.275 12.525,16.275 L12.825,16.275 C14.1504834,16.275 15.225,15.2004834 15.225,13.875 L15.225,12.525 C15.225,11.1995166 14.1504834,10.125 12.825,10.125 Z M12.525,11.325 L12.825,11.325 C13.4877417,11.325 14.025,11.8622583 14.025,12.525 L14.025,13.875 C14.025,14.5377417 13.4877417,15.075 12.825,15.075 L12.525,15.075 C11.8622583,15.075 11.325,14.5377417 11.325,13.875 L11.325,12.525 C11.325,11.8622583 11.8622583,11.325 12.525,11.325 Z" id="矩形" fill="#2879FF" transform="translate(12.675000, 13.200000) rotate(-270.000000) translate(-12.675000, -13.200000) "></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>切片</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="1--我的面谈(空页面)" transform="translate(-36.000000, -193.000000)" fill-rule="nonzero">
|
|
6
|
+
<g id="主菜单" transform="translate(16.000000, 74.000000)">
|
|
7
|
+
<g id="编组-3" transform="translate(12.000000, 108.000000)">
|
|
8
|
+
<g id="my-uniEA10" transform="translate(8.000000, 11.000000)">
|
|
9
|
+
<path d="M8.4,13.35 L8.4,4.65 C8.4,3.3245166 7.3254834,2.25 6,2.25 L4.65,2.25 C3.3245166,2.25 2.25,3.3245166 2.25,4.65 L2.25,13.35 C2.25,14.6754834 3.3245166,15.75 4.65,15.75 L6,15.75 C7.3254834,15.75 8.4,14.6754834 8.4,13.35 Z M7.2,4.65 L7.2,13.35 C7.2,14.0127417 6.6627417,14.55 6,14.55 L4.65,14.55 C3.9872583,14.55 3.45,14.0127417 3.45,13.35 L3.45,4.65 C3.45,3.9872583 3.9872583,3.45 4.65,3.45 L6,3.45 C6.6627417,3.45 7.2,3.9872583 7.2,4.65 Z M15.75,7.05 L15.75,4.65 C15.75,3.3245166 14.6754834,2.25 13.35,2.25 L12,2.25 C10.6745166,2.25 9.6,3.3245166 9.6,4.65 L9.6,7.05 C9.6,8.3754834 10.6745166,9.45 12,9.45 L13.35,9.45 C14.6754834,9.45 15.75,8.3754834 15.75,7.05 Z M14.55,4.65 L14.55,7.05 C14.55,7.7127417 14.0127417,8.25 13.35,8.25 L12,8.25 C11.3372583,8.25 10.8,7.7127417 10.8,7.05 L10.8,4.65 C10.8,3.9872583 11.3372583,3.45 12,3.45 L13.35,3.45 C14.0127417,3.45 14.55,3.9872583 14.55,4.65 Z" id="形状结合" fill="#141C28"></path>
|
|
10
|
+
<path d="M12.825,10.125 L12.525,10.125 C11.1995166,10.125 10.125,11.1995166 10.125,12.525 L10.125,13.875 C10.125,15.2004834 11.1995166,16.275 12.525,16.275 L12.825,16.275 C14.1504834,16.275 15.225,15.2004834 15.225,13.875 L15.225,12.525 C15.225,11.1995166 14.1504834,10.125 12.825,10.125 Z M12.525,11.325 L12.825,11.325 C13.4877417,11.325 14.025,11.8622583 14.025,12.525 L14.025,13.875 C14.025,14.5377417 13.4877417,15.075 12.825,15.075 L12.525,15.075 C11.8622583,15.075 11.325,14.5377417 11.325,13.875 L11.325,12.525 C11.325,11.8622583 11.8622583,11.325 12.525,11.325 Z" id="矩形" fill="#2879FF" transform="translate(12.675000, 13.200000) rotate(-270.000000) translate(-12.675000, -13.200000) "></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>切片</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="1--我的面谈(空页面)" transform="translate(-36.000000, -154.000000)">
|
|
6
|
+
<g id="主菜单" transform="translate(16.000000, 74.000000)">
|
|
7
|
+
<g id="编组-2" transform="translate(12.000000, 68.000000)">
|
|
8
|
+
<g id="my-pingjia" transform="translate(8.000000, 12.000000)">
|
|
9
|
+
<path d="M8.27325151,3.13900494 C9.5964935,3.12490975 10.6807275,4.1866934 10.6949744,5.5127536 L10.6949744,5.5127536 L10.7394684,16.8508053 C10.7410247,17.2508295 10.5826695,17.6348736 10.2996546,17.9174173 L10.2996546,17.9174173 L8.55030355,19.6638553 C8.08228638,20.1310932 7.32446405,20.1306668 6.85697232,19.6629026 L6.85697232,19.6629026 L4.95309066,17.7579113 C4.67078334,17.4754395 4.51288969,17.0918689 4.51446839,16.6923966 L4.51446839,16.6923966 L4.55888072,5.54139364 C4.56409801,4.23109054 5.6197044,3.16769584 6.92917896,3.15360726 L6.92917896,3.15360726 Z M9.40618374,7.72173222 L5.74745666,7.72086621 L5.71250843,16.6971724 C5.71227163,16.7570932 5.72997546,16.8152251 5.76266186,16.8643796 L5.80023289,16.9102753 L7.70411455,18.8152666 L9.45346558,17.0688286 C9.51006857,17.0123198 9.5417396,16.935511 9.54142834,16.8555062 L9.54142834,16.8555062 L9.50557153,7.71353876 C9.47324366,7.71892786 9.4400412,7.72173222 9.40618374,7.72173222 Z M8.28613292,4.33774469 L6.94206036,4.35227626 C6.28732309,4.35932055 5.75951989,4.8910179 5.75691124,5.54616945 L5.75691124,5.54616945 L5.75245666,6.52086621 L9.40618374,6.52173222 L9.50045666,6.52886621 L9.4969851,5.52359553 C9.49031554,4.90296434 9.01342868,4.39757074 8.40868498,4.34262792 L8.28613292,4.33774469 Z M16.8128747,10.5688778 C17.0471893,10.8031923 17.0471893,11.1830913 16.8128747,11.4174059 L13.5248282,14.7054524 C13.2905136,14.939767 12.9106147,14.939767 12.6763001,14.7054524 C12.4419855,14.4711379 12.4419855,14.0912389 12.6763001,13.8569243 L15.9643466,10.5688778 C16.1986612,10.3345632 16.5785602,10.3345632 16.8128747,10.5688778 Z M15.1158185,8.8718215 C15.350133,9.10613607 15.350133,9.48603506 15.1158185,9.72034964 L13.2066302,11.6295379 C12.9723156,11.8638525 12.5924166,11.8638525 12.358102,11.6295379 C12.1237874,11.3952234 12.1237874,11.0153244 12.358102,10.7810098 L14.2672903,8.8718215 C14.5016049,8.63750692 14.8815039,8.63750692 15.1158185,8.8718215 Z" id="形状结合" fill="#141C28" fill-rule="nonzero" transform="translate(10.751534, 11.576436) rotate(-315.000000) translate(-10.751534, -11.576436) "></path>
|
|
10
|
+
<path d="M5.85312229,10.1205844 C6.18449314,10.1205844 6.45312229,10.3892136 6.45312229,10.7205844 L6.45312229,13.4205844 C6.45312229,13.7519553 6.18449314,14.0205844 5.85312229,14.0205844 C5.52175144,14.0205844 5.25312229,13.7519553 5.25312229,13.4205844 L5.25312229,10.7205844 C5.25312229,10.3892136 5.52175144,10.1205844 5.85312229,10.1205844 Z" id="矩形" fill="#2879FF" transform="translate(5.853122, 12.070584) rotate(-495.000000) translate(-5.853122, -12.070584) "></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
display: inline-block;
|
|
12
12
|
height: 100%;
|
|
13
13
|
width: 100%;
|
|
14
|
-
content:
|
|
14
|
+
content: '';
|
|
15
15
|
opacity: 0;
|
|
16
16
|
background: #e9f1ff;
|
|
17
17
|
border-radius: 12px;
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
animation: selectMenuOpacity 0.4s 1 forwards;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.titaui-menus-tree .rc-tree-treenode-selected .titaui-menus-tree__menu-item-node-title
|
|
23
|
+
.titaui-menus-tree .rc-tree-treenode-selected .titaui-menus-tree__menu-item-node-title,
|
|
24
|
+
.titaui-menus-tree .rc-tree-treenode-selected .titaui-menus-tree__ass-template-node-title,
|
|
25
|
+
.titaui-menus-tree .rc-tree-treenode-selected .titaui-menus-tree__ass-manage-node-title {
|
|
24
26
|
color: #2879ff;
|
|
25
27
|
font-weight: 600;
|
|
26
28
|
}
|
|
@@ -122,6 +122,18 @@
|
|
|
122
122
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
.titaui-menus-tree__sub-menu-item-node-icon.my-interview {
|
|
126
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.titaui-menus-tree__sub-menu-item-node-icon.todo {
|
|
130
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.titaui-menus-tree__sub-menu-item-node-icon.template {
|
|
134
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
135
|
+
}
|
|
136
|
+
|
|
125
137
|
.titaui-menus-tree__menu-item-node {
|
|
126
138
|
display: flex;
|
|
127
139
|
align-items: center;
|
|
@@ -218,6 +230,18 @@
|
|
|
218
230
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
219
231
|
}
|
|
220
232
|
|
|
233
|
+
.titaui-menus-tree__menu-item-node-icon.my-interview {
|
|
234
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.titaui-menus-tree__menu-item-node-icon.todo {
|
|
238
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.titaui-menus-tree__menu-item-node-icon.template {
|
|
242
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
243
|
+
}
|
|
244
|
+
|
|
221
245
|
.titaui-menus-tree__parent-menu-node {
|
|
222
246
|
display: flex;
|
|
223
247
|
align-items: center;
|
|
@@ -314,6 +338,18 @@
|
|
|
314
338
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
315
339
|
}
|
|
316
340
|
|
|
341
|
+
.titaui-menus-tree__parent-menu-node-icon.my-interview {
|
|
342
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.titaui-menus-tree__parent-menu-node-icon.todo {
|
|
346
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.titaui-menus-tree__parent-menu-node-icon.template {
|
|
350
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
351
|
+
}
|
|
352
|
+
|
|
317
353
|
.titaui-menus-tree__no-follower-node, .titaui-menus-tree__no-subordinates-node {
|
|
318
354
|
display: flex;
|
|
319
355
|
align-items: center;
|
|
@@ -482,6 +518,18 @@
|
|
|
482
518
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
483
519
|
}
|
|
484
520
|
|
|
521
|
+
.titaui-menus-tree__company-all-node-icon.my-interview {
|
|
522
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.titaui-menus-tree__company-all-node-icon.todo {
|
|
526
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.titaui-menus-tree__company-all-node-icon.template {
|
|
530
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
531
|
+
}
|
|
532
|
+
|
|
485
533
|
.titaui-menus-tree__ass-template-node {
|
|
486
534
|
display: flex;
|
|
487
535
|
align-items: center;
|
|
@@ -578,6 +626,18 @@
|
|
|
578
626
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
579
627
|
}
|
|
580
628
|
|
|
629
|
+
.titaui-menus-tree__ass-template-node-icon.my-interview {
|
|
630
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.titaui-menus-tree__ass-template-node-icon.todo {
|
|
634
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.titaui-menus-tree__ass-template-node-icon.template {
|
|
638
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
639
|
+
}
|
|
640
|
+
|
|
581
641
|
.titaui-menus-tree__ass-template-node-suffix {
|
|
582
642
|
display: inline-block;
|
|
583
643
|
height: 18px;
|
|
@@ -684,6 +744,18 @@
|
|
|
684
744
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
685
745
|
}
|
|
686
746
|
|
|
747
|
+
.titaui-menus-tree__ass-manage-node-icon.my-interview {
|
|
748
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.titaui-menus-tree__ass-manage-node-icon.todo {
|
|
752
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.titaui-menus-tree__ass-manage-node-icon.template {
|
|
756
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
757
|
+
}
|
|
758
|
+
|
|
687
759
|
.titaui-menus-tree__ass-manage-node-suffix {
|
|
688
760
|
display: inline-block;
|
|
689
761
|
height: 18px;
|
|
@@ -791,6 +863,18 @@
|
|
|
791
863
|
background-image: url("../images/appraisal-menu/baobiao.svg");
|
|
792
864
|
}
|
|
793
865
|
|
|
866
|
+
.titaui-menus-tree__user-concern-node-icon.my-interview {
|
|
867
|
+
background-image: url("../images/interview-menu/my-interview.svg");
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.titaui-menus-tree__user-concern-node-icon.todo {
|
|
871
|
+
background-image: url("../images/interview-menu/todo.svg");
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.titaui-menus-tree__user-concern-node-icon.template {
|
|
875
|
+
background-image: url("../images/interview-menu/template.svg");
|
|
876
|
+
}
|
|
877
|
+
|
|
794
878
|
.titaui-menus-tree__user-concern-node-add {
|
|
795
879
|
display: inline-block;
|
|
796
880
|
position: absolute;
|
|
@@ -813,7 +897,7 @@
|
|
|
813
897
|
|
|
814
898
|
.titaui-menus-tree__user-concern-node-add:hover:before {
|
|
815
899
|
position: absolute;
|
|
816
|
-
content:
|
|
900
|
+
content: '';
|
|
817
901
|
display: inline-block;
|
|
818
902
|
width: 24px;
|
|
819
903
|
height: 24px;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _getLocale = require("../../../../utils/getLocale");
|
|
9
|
+
|
|
10
|
+
var getMenus = function getMenus() {
|
|
11
|
+
return [{
|
|
12
|
+
icon: "my-interview",
|
|
13
|
+
label: (0, _getLocale.getLocale)("Ooo_Mo_My1on1"),
|
|
14
|
+
key: "myInterview",
|
|
15
|
+
href: "#/interview?reactRouterName=myInterview"
|
|
16
|
+
}, {
|
|
17
|
+
icon: "todo",
|
|
18
|
+
label: (0, _getLocale.getLocale)("Ooo_Tas_ActionPlans"),
|
|
19
|
+
key: "todos",
|
|
20
|
+
href: "#/interview?reactRouterName=todos"
|
|
21
|
+
}, {
|
|
22
|
+
icon: "template",
|
|
23
|
+
label: (0, _getLocale.getLocale)("Ooo_Mo_Templates"),
|
|
24
|
+
key: "template",
|
|
25
|
+
href: "#/interview?reactRouterName=template"
|
|
26
|
+
}];
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
var _default = getMenus;
|
|
30
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
9
|
+
|
|
10
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
11
|
+
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
|
|
14
|
+
var MY_INTERVIEW = 'myInterview';
|
|
15
|
+
var TODOS = 'todos';
|
|
16
|
+
var TEMPLATE = 'template';
|
|
17
|
+
|
|
18
|
+
var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
19
|
+
function JudgeManageHighLightMenu(hash) {
|
|
20
|
+
_classCallCheck(this, JudgeManageHighLightMenu);
|
|
21
|
+
|
|
22
|
+
this.search = null;
|
|
23
|
+
this.search = hash;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
_createClass(JudgeManageHighLightMenu, [{
|
|
27
|
+
key: "isMyInterview",
|
|
28
|
+
value: function isMyInterview() {
|
|
29
|
+
return !!this.search.match(/\?reactRouterName=myInterview/) || !this.search.match(/\?reactRouterName=/);
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
key: "isTodos",
|
|
33
|
+
value: function isTodos() {
|
|
34
|
+
return !!this.search.match(/\?reactRouterName=todos/);
|
|
35
|
+
}
|
|
36
|
+
}, {
|
|
37
|
+
key: "isTemplate",
|
|
38
|
+
value: function isTemplate() {
|
|
39
|
+
return !!this.search.match(/\?reactRouterName=template/);
|
|
40
|
+
}
|
|
41
|
+
}, {
|
|
42
|
+
key: "getHighLightMenu",
|
|
43
|
+
value: function getHighLightMenu() {
|
|
44
|
+
if (this.isMyInterview()) {
|
|
45
|
+
return MY_INTERVIEW;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (this.isTodos()) {
|
|
49
|
+
return TODOS;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (this.isTemplate()) {
|
|
53
|
+
return TEMPLATE;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
return '';
|
|
57
|
+
}
|
|
58
|
+
}]);
|
|
59
|
+
|
|
60
|
+
return JudgeManageHighLightMenu;
|
|
61
|
+
}();
|
|
62
|
+
|
|
63
|
+
exports["default"] = JudgeManageHighLightMenu;
|