@titaui/pc 1.11.4-0 → 1.11.4-0.beta-2
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 +9 -2
- package/lib/components/avatar/text-avatar/index.js +34 -9
- 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/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 +23 -17
- package/lib/components/menus/export-modules/interview-menus/handle-highlight.js +5 -5
- package/lib/components/menus/export-modules/interview-menus/index.css +7 -0
- package/lib/components/menus/export-modules/interview-menus/index.js +5 -4
- package/lib/components/nav-top/components/menu/img/new.svg +30 -0
- package/lib/components/nav-top/components/menu/img/wecome-temp.png +0 -0
- package/lib/components/nav-top/components/menu/index.css +91 -0
- package/lib/components/nav-top/components/menu/index.js +80 -32
- 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 +68 -22
- 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 +108 -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/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 +21 -19
- package/lib/components/picker/components/panels/date-panel/date-head.js +29 -8
- package/lib/components/picker/components/panels/month-panel/month-body.js +6 -4
- package/lib/components/picker/components/picker-trigger/index.css +31 -0
- package/lib/components/picker/components/picker-trigger/index.js +24 -15
- package/lib/components/picker/picker-panels.js +1 -1
- package/lib/components/picker/picker.js +12 -13
- 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-relation-modal/index.js +0 -1
- 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 +16 -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 +114 -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 +299 -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 +24 -0
- package/lib/components/time-picker/time-picker-selector.js +8 -12
- package/lib/components/time-picker/time-picker.js +94 -133
- package/lib/components/time-picker/timer-picker-input.js +3 -7
- package/lib/components/time-picker/utils.js +13 -2
- 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 +99 -91
- 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/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
- package/yarn-error.log +0 -22184
|
@@ -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;
|
|
@@ -4,21 +4,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
24
30
|
exports["default"] = _default;
|
|
@@ -11,9 +11,9 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
11
11
|
|
|
12
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
13
|
|
|
14
|
-
var MY_INTERVIEW =
|
|
15
|
-
var TODOS =
|
|
16
|
-
var TEMPLATE =
|
|
14
|
+
var MY_INTERVIEW = 'myInterview';
|
|
15
|
+
var TODOS = 'todos';
|
|
16
|
+
var TEMPLATE = 'template';
|
|
17
17
|
|
|
18
18
|
var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
19
19
|
function JudgeManageHighLightMenu(hash) {
|
|
@@ -26,7 +26,7 @@ var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
|
26
26
|
_createClass(JudgeManageHighLightMenu, [{
|
|
27
27
|
key: "isMyInterview",
|
|
28
28
|
value: function isMyInterview() {
|
|
29
|
-
return !!this.search.match(/\?reactRouterName=myInterview/);
|
|
29
|
+
return !!this.search.match(/\?reactRouterName=myInterview/) || !this.search.match(/\?reactRouterName=/);
|
|
30
30
|
}
|
|
31
31
|
}, {
|
|
32
32
|
key: "isTodos",
|
|
@@ -53,7 +53,7 @@ var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
|
53
53
|
return TEMPLATE;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
return
|
|
56
|
+
return '';
|
|
57
57
|
}
|
|
58
58
|
}]);
|
|
59
59
|
|
|
@@ -27,6 +27,8 @@ var _flipMenuCard = _interopRequireDefault(require("../../components/flip-menu-c
|
|
|
27
27
|
|
|
28
28
|
var _scrollbar = _interopRequireDefault(require("../../../scrollbar"));
|
|
29
29
|
|
|
30
|
+
require("./index.css");
|
|
31
|
+
|
|
30
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
31
33
|
|
|
32
34
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -104,18 +106,17 @@ function InterviewMenus(props) {
|
|
|
104
106
|
setSelectedMenuKeys(selectedKyes);
|
|
105
107
|
};
|
|
106
108
|
|
|
107
|
-
console.log(formateToTreeNodeData(_constant["default"]));
|
|
108
109
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
110
|
ref: menuRef,
|
|
110
|
-
className: (0, _classnames["default"])("".concat(preCls, "-
|
|
111
|
+
className: (0, _classnames["default"])("".concat(preCls, "-interview-menus"))
|
|
111
112
|
}, /*#__PURE__*/_react["default"].createElement(_flipMenuCard["default"], {
|
|
112
113
|
collapseMenu: collapseMenu,
|
|
113
114
|
ref: flipRef,
|
|
114
115
|
defaultWidth: _getLocale.isEn ? 210 : 180
|
|
115
116
|
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
116
|
-
className: (0, _classnames["default"])("".concat(preCls, "-
|
|
117
|
+
className: (0, _classnames["default"])("".concat(preCls, "-interview-menus-tree"))
|
|
117
118
|
}, /*#__PURE__*/_react["default"].createElement(_scrollbar["default"], null, /*#__PURE__*/_react["default"].createElement(_menuTree["default"], {
|
|
118
|
-
data: formateToTreeNodeData(_constant["default"]),
|
|
119
|
+
data: formateToTreeNodeData((0, _constant["default"])()),
|
|
119
120
|
selectedKeys: selectedMenuKeys,
|
|
120
121
|
expandedKeys: expandedKeys,
|
|
121
122
|
onSelect: onSelectHandler
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="36px" height="26px" viewBox="0 0 36 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>气泡</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<path d="M26.0757238,0 C26.0757238,0 26.5924276,0.590963041 26.752784,2.04150869 C26.8839846,3.22831876 26.7408566,3.5759702 26.6844729,3.66315551 L26.6693863,3.6833642 L26.6693863,3.6833642 C26.6636971,3.68904201 27.2516704,3.6353181 27.3942094,3.25925071 C27.5358931,2.88547554 28.1011492,5.62102555 27.2497105,6.55512322 C27.2725189,6.60410922 27.2788178,6.63812034 27.2701648,6.65847289 C27.7385548,7.67365164 28,8.80629392 28,10 C28,14.418278 24.418278,18 20,18 L8,18 C3.581722,18 5.41083001e-16,14.418278 0,10 C-5.41083001e-16,5.581722 3.581722,2 8,2 L20,2 C20.4454205,2 20.8823388,2.03640207 21.3079422,2.10639354 C21.2551772,2.04616026 21.2417596,2.01501277 21.2749755,2.02035937 C21.4000713,1.99627315 21.6377016,1.90182651 22.0846325,1.61171738 C22.9398664,1.05657029 23.1002227,0.823766663 23.1002227,0.823766663 C23.1002227,0.823766663 23.2249443,1.19983405 23.1714922,1.53113152 C23.1180401,1.86242898 23.064588,2.05941666 23.064588,2.05941666 C23.064588,2.05941666 24.2583519,1.98778477 24.9888641,1.27146594 C25.7193764,0.555147099 26.0757238,0 26.0757238,0 Z" id="path-1"></path>
|
|
6
|
+
<filter x="-25.0%" y="-27.8%" width="150.0%" height="177.8%" filterUnits="objectBoundingBox" id="filter-2">
|
|
7
|
+
<feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
|
8
|
+
<feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
9
|
+
<feColorMatrix values="0 0 0 0 0.941176471 0 0 0 0 0.368627451 0 0 0 0 0.368627451 0 0 0 0.4 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
|
|
10
|
+
</filter>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="控件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<g id="top-面谈" transform="translate(-797.000000, -7.000000)">
|
|
14
|
+
<g id="一级菜单" transform="translate(204.000000, 3.000000)">
|
|
15
|
+
<g id="气泡" transform="translate(597.000000, 6.000000)">
|
|
16
|
+
<text id="new" font-family="Arial-BoldMT, Arial" font-size="12" font-weight="bold" line-spacing="18" fill="#FFFFFF">
|
|
17
|
+
<tspan x="1" y="11">new</tspan>
|
|
18
|
+
</text>
|
|
19
|
+
<g id="hot" fill-rule="nonzero">
|
|
20
|
+
<g id="形状">
|
|
21
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
|
|
22
|
+
<use fill="#F05E5E" xlink:href="#path-1"></use>
|
|
23
|
+
</g>
|
|
24
|
+
<path d="M4.61115455,12.8702703 L4.61115455,10.2702703 C4.61115455,9.62882883 4.65224568,9.18918919 4.73442794,8.95135135 C4.8166102,8.71351351 4.96855182,8.52252252 5.1902528,8.37837838 C5.41195378,8.23423423 5.662323,8.16216216 5.94136044,8.16216216 C6.15923899,8.16216216 6.34558249,8.21261261 6.50039093,8.31351351 C6.65519937,8.41441441 6.76700547,8.55585586 6.83580923,8.73783784 C6.90461298,8.91981982 6.93901486,9.32072072 6.93901486,9.94054054 L6.93901486,9.94054054 L6.93901486,12.8702703 L8.5501694,12.8702703 L8.5501694,9.3027027 C8.5501694,8.85945946 8.52054557,8.51891892 8.46129789,8.28108108 C8.40205021,8.04324324 8.29693337,7.83063063 8.14594735,7.64324324 C7.99496134,7.45585586 7.77230475,7.3018018 7.47797759,7.18108108 C7.18365042,7.06036036 6.85874381,7 6.50325775,7 C5.69672487,7 5.0277995,7.32432432 4.49648163,7.97297297 L4.49648163,7.97297297 L4.49648163,7.12972973 L3,7.12972973 L3,12.8702703 L4.61115455,12.8702703 Z M12.6669273,13 C13.3358527,13 13.8929719,12.854955 14.3382851,12.5648649 C14.7835983,12.2747748 15.1094605,11.8522523 15.3158718,11.2972973 L15.3158718,11.2972973 L13.7104509,11.0432432 C13.622535,11.3315315 13.4925723,11.5405405 13.3205629,11.6702703 C13.1485536,11.8 12.9364087,11.8648649 12.6841282,11.8648649 C12.3133524,11.8648649 12.0037356,11.7396396 11.7552776,11.4891892 C11.5068196,11.2387387 11.3768569,10.8882883 11.3653896,10.4378378 L11.3653896,10.4378378 L15.4018765,10.4378378 C15.4248111,9.27387387 15.1744418,8.40990991 14.6507688,7.84594595 C14.1270958,7.28198198 13.4123013,7 12.5063852,7 C11.6998523,7 11.0328382,7.26936937 10.5053427,7.80810811 C9.97784728,8.34684685 9.71409956,9.09189189 9.71409956,10.0432432 C9.71409956,10.8396396 9.91477717,11.4990991 10.3161324,12.0216216 C10.8245157,12.6738739 11.608114,13 12.6669273,13 Z M13.8021892,9.50810811 L11.3940579,9.50810811 C11.3902354,9.09369369 11.5029971,8.76576577 11.732343,8.52432432 C11.9616888,8.28288288 12.2521936,8.16216216 12.6038572,8.16216216 C12.9325862,8.16216216 13.2116237,8.27657658 13.4409695,8.50540541 C13.6703154,8.73423423 13.7907219,9.06846847 13.8021892,9.50810811 L13.8021892,9.50810811 Z M19.4154287,12.8702703 L20.447485,9.17837838 L21.4967422,12.8702703 L23.0448267,12.8702703 L25,7.12972973 L23.41178,7.12972973 L22.2478499,10.8918919 L21.2329945,7.12972973 L19.6791764,7.12972973 L18.6299192,10.8918919 L17.4889236,7.12972973 L15.9236383,7.12972973 L17.8501433,12.8702703 L19.4154287,12.8702703 Z" id="new" fill="#FFFFFF"></path>
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
</g>
|
|
28
|
+
</g>
|
|
29
|
+
</g>
|
|
30
|
+
</svg>
|
|
Binary file
|