@titaui/pc 1.12.0-beta.1 → 1.12.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/name-avatar/index.css +1 -0
- package/lib/components/avatar/name-avatar/index.js +22 -13
- package/lib/components/avatar/text-avatar/index.css +2 -2
- package/lib/components/avatar/text-avatar/index.js +6 -6
- package/lib/components/button/rect-btn/index.css +45 -11
- package/lib/components/button/rect-btn/index.js +12 -6
- package/lib/components/change-okr-modal/index.js +7 -6
- package/lib/components/checkbox/index.css +3 -3
- package/lib/{pages/aha2021 → components/contact-kefu}/img/canceled.svg +0 -0
- package/lib/{pages/aha2021 → components/contact-kefu}/img/kefu.svg +0 -0
- package/lib/{pages/aha2021 → components/contact-kefu}/img/not-try.png +0 -0
- package/lib/components/contact-kefu/img/notice.png +0 -0
- package/lib/{pages/aha2021 → components/contact-kefu}/img/try.png +0 -0
- package/lib/components/contact-kefu/index.css +85 -0
- package/lib/components/contact-kefu/index.js +102 -0
- package/lib/components/create-okr-modal/index.js +45 -41
- package/lib/components/create-okr-modal/request-api.js +1 -1
- package/lib/components/dialog-confirm/index.css +2 -2
- package/lib/components/drawer/headerAction.js +5 -1
- package/lib/components/drawer/headerDrop.js +42 -4
- package/lib/components/drawer/index.css +33 -0
- package/lib/components/drawer/index.js +26 -3
- package/lib/components/dynamic/constant.js +38 -33
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +48 -10
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +4 -2
- package/lib/components/dynamic/new-ui.css +4 -4
- package/lib/components/dynamic/online-broadcast/data.js +19 -1
- package/lib/components/e-priority/index.css +4 -4
- package/lib/components/e-priority/index.js +10 -2
- package/lib/components/form/form-fields/radios/index.css +4 -0
- package/lib/components/form/form-fields/radios/index.js +4 -3
- package/lib/components/mblog/components/MblogContent.js +5 -2
- 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 +72 -24
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +2 -1
- package/lib/components/nav-top/components/user-message/components/todos/index.css +1 -0
- package/lib/components/nav-top/index.js +6 -2
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.js +20 -4
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +9 -1
- package/lib/components/okr-detail/components/base-okr-type/index.css +4 -0
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +1 -0
- package/lib/components/okr-detail/components/header/index.js +10 -3
- package/lib/components/okr-detail/components/header/o-name.js +10 -3
- package/lib/components/okr-detail/components/o-classify.js +5 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +16 -16
- 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/constant.js +53 -0
- package/lib/components/okr-detail/detail-header/delete-confirm/delete-confirm.js +111 -54
- package/lib/components/okr-detail/detail-header/delete-confirm/index.css +63 -0
- package/lib/components/okr-detail/detail-header/index.css +11 -0
- package/lib/components/okr-detail/detail-header/index.js +228 -234
- package/lib/components/okr-detail/helper.js +108 -0
- package/lib/components/okr-detail/index.js +21 -4
- package/lib/components/okr-detail/okr-list/index.js +13 -6
- package/lib/components/okr-detail/request-apis.js +14 -8
- package/lib/components/okr-flow/child-node/index.css +1 -1
- package/lib/components/okr-flow/export-modal/index.js +66 -3
- package/lib/components/okr-period-selector/index.js +9 -5
- package/lib/components/okr-period-selector/select-cycle.js +23 -19
- package/lib/components/operation-records/index.js +1 -1
- package/lib/components/operation-records/style.js +1 -1
- package/lib/components/radio/index.css +3 -3
- package/lib/components/survey-model/index.js +3 -0
- package/lib/components/task-relation-modal/index.js +0 -1
- package/lib/components/task-relation-modal/request-api.js +2 -1
- package/lib/components/task-relation-modal/tree-node/category-node/index.css +0 -11
- package/lib/components/task-relation-modal/tree-node/category-node/index.js +1 -3
- package/lib/components/task-relation-modal/tree-node/kr-node/index.css +0 -16
- package/lib/components/task-relation-modal/tree-node/kr-node/index.js +0 -6
- package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +0 -16
- package/lib/components/task-relation-modal/tree-node/milestone-node/index.js +0 -4
- package/lib/components/task-tree/index.js +1 -7
- package/lib/components/task-tree/task-item-node/constant.js +39 -22
- package/lib/components/task-tree/task-item-node/e-status-dropdown.js +38 -8
- package/lib/components/task-tree/task-item-node/e-task.js +24 -24
- package/lib/components/task-tree/task-item-node/index.css +28 -18
- package/lib/components/task-tree/task-tree.css +1 -1
- package/lib/components/textarea/index.css +142 -0
- package/lib/components/textarea/index.js +262 -0
- package/lib/components/time-picker/time-picker.js +34 -102
- package/lib/components/time-picker/timer-picker-input.js +0 -6
- package/lib/components/toast/index.js +5 -3
- package/lib/components/user-selector/empty/index.css +5 -0
- package/lib/components/user-selector/empty/index.js +9 -3
- package/lib/components/user-selector/export-modules/depart-search-selector/index.js +48 -17
- package/lib/components/user-selector/images/no-auth.png +0 -0
- package/lib/components/user-selector/searched-panel/index.js +1 -0
- package/lib/components-v1/radio/radio.js +1 -1
- package/lib/index.js +48 -0
- package/lib/pages/aha2021/index.css +1 -26
- package/lib/pages/aha2021/index.js +3 -82
- package/lib/pages/new-okr-list/header/common.js +52 -0
- package/lib/pages/new-okr-list/header/index.css +45 -0
- package/lib/pages/new-okr-list/header/index.js +40 -16
- package/lib/pages/new-okr-list/header/operate-record.js +136 -0
- package/lib/pages/new-okr-list/index.js +4 -2
- package/lib/pages/new-okr-list/list/index.js +19 -2
- package/lib/pages/new-okr-list/request-api.js +8 -2
- package/lib/pages/okr-map/unsupport-ie/index.js +3 -5
- package/lib/utils/format-time.js +8 -1
- package/lib/utils/open-data.js +5 -1
- package/package.json +1 -1
- package/lib/components/okr-detail/detail-header/delete-confirm/style.js +0 -38
- package/lib/components/task-tree/mock.js +0 -944
|
@@ -29,6 +29,8 @@ var _getLocale = require("../../../../utils/getLocale");
|
|
|
29
29
|
|
|
30
30
|
var _context = require("../../context");
|
|
31
31
|
|
|
32
|
+
var _constant = require("../../constant");
|
|
33
|
+
|
|
32
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
33
35
|
|
|
34
36
|
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); }
|
|
@@ -61,12 +63,13 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
61
63
|
|
|
62
64
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
63
65
|
|
|
64
|
-
var prefix =
|
|
66
|
+
var prefix = "titaui-dynamic-item";
|
|
65
67
|
|
|
66
68
|
var DynamicFooter = function DynamicFooter(_ref) {
|
|
67
69
|
var _getBSGlobal;
|
|
68
70
|
|
|
69
|
-
var data = _ref.data
|
|
71
|
+
var data = _ref.data,
|
|
72
|
+
dailyReportType = _ref.dailyReportType;
|
|
70
73
|
var feedId = data.feedId,
|
|
71
74
|
feedComments = data.feedComments,
|
|
72
75
|
praiseType = data.praiseType,
|
|
@@ -95,8 +98,9 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
95
98
|
setUpvoteModalVisible = _useState8[1];
|
|
96
99
|
|
|
97
100
|
var communicationRef = (0, _react.useRef)();
|
|
98
|
-
var
|
|
99
|
-
|
|
101
|
+
var productName = _constant.PlanReportTrackActionNameMap[dailyReportType];
|
|
102
|
+
var hasRewardBtn = !!((_getBSGlobal = (0, _bsGlobal.getBSGlobal)("WebHead")) !== null && _getBSGlobal !== void 0 && _getBSGlobal.AppHead.find(function (item) {
|
|
103
|
+
return item.AppId === "950";
|
|
100
104
|
}));
|
|
101
105
|
|
|
102
106
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
@@ -108,16 +112,18 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
108
112
|
};
|
|
109
113
|
|
|
110
114
|
var onChangeParse = function onChangeParse(type) {
|
|
111
|
-
var _getBSGlobal2 = (0, _bsGlobal.getBSGlobal)(
|
|
115
|
+
var _getBSGlobal2 = (0, _bsGlobal.getBSGlobal)("loginUserInfo"),
|
|
112
116
|
Id = _getBSGlobal2.Id;
|
|
113
117
|
|
|
114
118
|
var data = _toConsumableArray(praiseData).filter(function (item) {
|
|
115
119
|
return Number("".concat(item.userId)) !== Number("".concat(Id));
|
|
116
120
|
});
|
|
117
121
|
|
|
122
|
+
var actionName = "";
|
|
123
|
+
|
|
118
124
|
if (type) {
|
|
119
|
-
var avatar = (0, _bsGlobal.getBSGlobal)(
|
|
120
|
-
var name = (0, _bsGlobal.getBSGlobal)(
|
|
125
|
+
var avatar = (0, _bsGlobal.getBSGlobal)("loginUserInfo").UserAvatar;
|
|
126
|
+
var name = (0, _bsGlobal.getBSGlobal)("loginUserInfo").Name;
|
|
121
127
|
avatar.color = avatar.Color;
|
|
122
128
|
avatar.medium = avatar.Medium;
|
|
123
129
|
var parseUser = {
|
|
@@ -127,8 +133,18 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
127
133
|
praiseType: type
|
|
128
134
|
};
|
|
129
135
|
setPraiseData([parseUser].concat(_toConsumableArray(data)));
|
|
136
|
+
actionName = "点赞";
|
|
130
137
|
} else {
|
|
131
138
|
setPraiseData(data);
|
|
139
|
+
actionName = "取消点赞";
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (window.titaTracker) {
|
|
143
|
+
window.titaTracker("action").record({
|
|
144
|
+
actionName: actionName,
|
|
145
|
+
actionGroup: "互动",
|
|
146
|
+
productName: productName
|
|
147
|
+
});
|
|
132
148
|
}
|
|
133
149
|
};
|
|
134
150
|
|
|
@@ -143,6 +159,14 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
143
159
|
};
|
|
144
160
|
|
|
145
161
|
if (window.util) {
|
|
162
|
+
if (window.titaTracker) {
|
|
163
|
+
window.titaTracker("action").record({
|
|
164
|
+
actionName: "打开打赏弹层",
|
|
165
|
+
actionGroup: "互动",
|
|
166
|
+
productName: productName
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
|
|
146
170
|
window.util.rewardGetFile(function (myReward) {
|
|
147
171
|
myReward.renderPayReward(data);
|
|
148
172
|
});
|
|
@@ -151,12 +175,25 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
151
175
|
|
|
152
176
|
var renderUpvoteCount = function renderUpvoteCount(type, count) {
|
|
153
177
|
if (count === 0) {
|
|
154
|
-
return
|
|
178
|
+
return "";
|
|
155
179
|
}
|
|
156
180
|
|
|
157
181
|
return count || type;
|
|
158
182
|
};
|
|
159
183
|
|
|
184
|
+
var handleReply = function handleReply(_ref2) {
|
|
185
|
+
var submitType = _ref2.submitType;
|
|
186
|
+
var actionName = submitType === "delete" ? "删除评论" : "评论";
|
|
187
|
+
|
|
188
|
+
if (window.titaTracker) {
|
|
189
|
+
window.titaTracker("action").record({
|
|
190
|
+
actionName: actionName,
|
|
191
|
+
actionGroup: "互动",
|
|
192
|
+
productName: productName
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
|
|
160
197
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
198
|
className: (0, _classnames["default"])("".concat(prefix, "__footer"))
|
|
162
199
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -189,7 +226,7 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
189
226
|
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
190
227
|
condition: hasRewardBtn
|
|
191
228
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
192
|
-
overlay: (0, _getLocale.getLocale)(
|
|
229
|
+
overlay: (0, _getLocale.getLocale)("Feed_Approval"),
|
|
193
230
|
align: {
|
|
194
231
|
offset: [0, 0]
|
|
195
232
|
},
|
|
@@ -199,7 +236,7 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
199
236
|
className: (0, _classnames["default"])("".concat(prefix, "__footer-icon"), "".concat(prefix, "__footer-icon-redenvelopes"))
|
|
200
237
|
}))), /*#__PURE__*/_react["default"].createElement("span", {
|
|
201
238
|
onClick: handleCommentClick,
|
|
202
|
-
className: (0, _classnames["default"])(
|
|
239
|
+
className: (0, _classnames["default"])("tu-icon-pinglun-m", "".concat(prefix, "__footer-icon"))
|
|
203
240
|
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
204
241
|
condition: feedComments.total > 0
|
|
205
242
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -234,6 +271,7 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
234
271
|
usePropsComment: usePropsComment,
|
|
235
272
|
communication: feedComments.comments,
|
|
236
273
|
totalCommunicationNum: feedComments.total,
|
|
274
|
+
onReplyChange: handleReply,
|
|
237
275
|
showUser: true,
|
|
238
276
|
showDefaultInput: true
|
|
239
277
|
}))));
|
|
@@ -17,7 +17,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
17
17
|
|
|
18
18
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
19
|
|
|
20
|
-
var prefixCls =
|
|
20
|
+
var prefixCls = "titaui-dynamic-item";
|
|
21
21
|
|
|
22
22
|
var DynamicAIDialy = function DynamicAIDialy(_ref) {
|
|
23
23
|
var data = _ref.data;
|
|
@@ -26,12 +26,14 @@ var DynamicAIDialy = function DynamicAIDialy(_ref) {
|
|
|
26
26
|
return (0, _utils.getChartProps)(data.biId);
|
|
27
27
|
}, [data.biId]);
|
|
28
28
|
|
|
29
|
+
var type = chartQuery.type;
|
|
29
30
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
30
31
|
className: prefixCls
|
|
31
32
|
}, /*#__PURE__*/_react["default"].createElement(_supersetCharts["default"], _extends({
|
|
32
33
|
feedData: data
|
|
33
34
|
}, chartQuery)), /*#__PURE__*/_react["default"].createElement(_dynamicFooter["default"], {
|
|
34
|
-
data: data
|
|
35
|
+
data: data,
|
|
36
|
+
dailyReportType: type
|
|
35
37
|
}));
|
|
36
38
|
};
|
|
37
39
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.titaui-new-ui-dynamic__no-more-data::before {
|
|
132
|
-
content:
|
|
132
|
+
content: '';
|
|
133
133
|
display: inline-block;
|
|
134
134
|
margin-right: 12px;
|
|
135
135
|
width: 192px;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.titaui-new-ui-dynamic__no-more-data::after {
|
|
142
|
-
content:
|
|
142
|
+
content: '';
|
|
143
143
|
display: inline-block;
|
|
144
144
|
margin-left: 12px;
|
|
145
145
|
width: 192px;
|
|
@@ -150,8 +150,8 @@
|
|
|
150
150
|
|
|
151
151
|
.titaui-new-ui-dynamic__go-to-top {
|
|
152
152
|
position: fixed;
|
|
153
|
-
bottom:
|
|
154
|
-
right:
|
|
153
|
+
bottom: 20px;
|
|
154
|
+
right: 86px;
|
|
155
155
|
display: flex;
|
|
156
156
|
align-items: center;
|
|
157
157
|
justify-content: center;
|
|
@@ -18,10 +18,28 @@ exports.onlineBroadcastData = exports["default"] = void 0;
|
|
|
18
18
|
// href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697741";
|
|
19
19
|
// }
|
|
20
20
|
var onlineBroadcastData = [{
|
|
21
|
+
hasOnline: true,
|
|
22
|
+
preContent: "「OKR」支持上级审批,管理更规范",
|
|
23
|
+
preHref: "https://wiki.tita.com/x/F4SeAQ",
|
|
24
|
+
isNew: true,
|
|
25
|
+
date: "5/05"
|
|
26
|
+
}, {
|
|
27
|
+
hasOnline: true,
|
|
28
|
+
preContent: "「考核」更多位置支持离职人员筛选啦",
|
|
29
|
+
preHref: "https://wiki.tita.com/x/pwDQAQ",
|
|
30
|
+
isNew: true,
|
|
31
|
+
date: "4/29"
|
|
32
|
+
}, {
|
|
33
|
+
hasOnline: true,
|
|
34
|
+
preContent: "「1 on 1」面谈全新上线",
|
|
35
|
+
preHref: "https://wiki.tita.com/pages/viewpage.action?pageId=27165723",
|
|
36
|
+
isNew: true,
|
|
37
|
+
date: "4/27"
|
|
38
|
+
}, {
|
|
21
39
|
hasOnline: true,
|
|
22
40
|
preContent: "「考核」OKR 维度支持按 KR 评分啦",
|
|
23
41
|
preHref: "https://wiki.tita.com/x/JYOeAQ",
|
|
24
|
-
isNew:
|
|
42
|
+
isNew: false,
|
|
25
43
|
date: "4/11"
|
|
26
44
|
}, {
|
|
27
45
|
hasOnline: true,
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
vertical-align: top;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.tita-okrdt-tree__e-task-node-priority
|
|
37
|
+
.tita-okrdt-tree__e-task-node-priority-label span {
|
|
38
38
|
display: inline-block;
|
|
39
39
|
vertical-align: text-bottom;
|
|
40
40
|
height: 16px;
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
vertical-align: top;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.tita-okrdt-tree__e-project-node-priority
|
|
106
|
+
.tita-okrdt-tree__e-project-node-priority-label span {
|
|
107
107
|
display: inline-block;
|
|
108
108
|
vertical-align: text-bottom;
|
|
109
109
|
height: 16px;
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
vertical-align: top;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.tita-okrdt-tree__e-task-level2-node-priority
|
|
167
|
+
.tita-okrdt-tree__e-task-level2-node-priority-label span {
|
|
168
168
|
display: inline-block;
|
|
169
169
|
vertical-align: text-bottom;
|
|
170
170
|
height: 16px;
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
.tita-okrdt-tree__e-empty-node {
|
|
195
195
|
font-size: 12px;
|
|
196
196
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
197
|
-
color: #
|
|
197
|
+
color: #f6bd16;
|
|
198
198
|
line-height: 18px;
|
|
199
199
|
padding-left: 12px;
|
|
200
200
|
}
|
|
@@ -11,10 +11,14 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
|
|
14
|
+
var _titaUi = require("tita-ui");
|
|
15
|
+
|
|
14
16
|
var _dropSelector = _interopRequireDefault(require("../drop-selector"));
|
|
15
17
|
|
|
16
18
|
var _getLocale = require("../../utils/getLocale");
|
|
17
19
|
|
|
20
|
+
var _constant = require("../task-tree/task-item-node/constant");
|
|
21
|
+
|
|
18
22
|
require("./index.css");
|
|
19
23
|
|
|
20
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -64,9 +68,13 @@ var EPriority = function EPriority(props) {
|
|
|
64
68
|
checked: level,
|
|
65
69
|
canEdit: hasAuth && status !== '5',
|
|
66
70
|
limitHeight: false,
|
|
67
|
-
trigger: /*#__PURE__*/_react["default"].createElement("
|
|
71
|
+
trigger: /*#__PURE__*/_react["default"].createElement("div", {
|
|
72
|
+
className: (0, _classnames["default"])("".concat(preCls, "__e-task-node-priority-label"))
|
|
73
|
+
}, /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
|
|
74
|
+
content: (0, _constant.getPriorityTextMapping)()[level]
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
68
76
|
className: (0, _classnames["default"])("".concat(preCls, "__e-task-node-priority-p").concat(level))
|
|
69
|
-
})
|
|
77
|
+
})))
|
|
70
78
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector["default"].IconItem, {
|
|
71
79
|
name: "1"
|
|
72
80
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -33,17 +33,18 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
33
33
|
|
|
34
34
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
35
35
|
|
|
36
|
-
var prefixCls =
|
|
36
|
+
var prefixCls = 'form-field-radio';
|
|
37
37
|
|
|
38
38
|
var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
39
39
|
var _props$className = props.className,
|
|
40
|
-
className = _props$className === void 0 ?
|
|
40
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
41
41
|
label = props.label,
|
|
42
42
|
onChange = props.onChange,
|
|
43
43
|
radios = props.radios,
|
|
44
44
|
require = props.require,
|
|
45
45
|
value = props.value,
|
|
46
|
-
radioClass = props.radioClass
|
|
46
|
+
_props$radioClass = props.radioClass,
|
|
47
|
+
radioClass = _props$radioClass === void 0 ? '' : _props$radioClass;
|
|
47
48
|
|
|
48
49
|
var _useState = (0, _react.useState)(value),
|
|
49
50
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -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-details ".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));
|
|
@@ -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
|
|
@@ -117,6 +117,97 @@
|
|
|
117
117
|
position: relative;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
.titaui-nav-top-menu__tips {
|
|
121
|
+
position: relative;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.titaui-nav-top-menu__tips-new {
|
|
125
|
+
width: 36px;
|
|
126
|
+
height: 26px;
|
|
127
|
+
position: absolute;
|
|
128
|
+
top: 4px;
|
|
129
|
+
right: -12px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.titaui-nav-top-menu__tips-box {
|
|
133
|
+
width: 308px;
|
|
134
|
+
height: 142px;
|
|
135
|
+
box-sizing: border-box;
|
|
136
|
+
padding: 16px;
|
|
137
|
+
background: #5c8eff;
|
|
138
|
+
box-shadow: 0px 8px 24px 0px rgba(127, 145, 180, 0.3);
|
|
139
|
+
border: 1px solid #eff0f1;
|
|
140
|
+
border-radius: 12px;
|
|
141
|
+
z-index: 99;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.titaui-nav-top-menu__tips-box-head {
|
|
145
|
+
padding-left: 24px;
|
|
146
|
+
background-image: url("./img/wecome-temp.png");
|
|
147
|
+
background-position: 0 0;
|
|
148
|
+
background-repeat: no-repeat;
|
|
149
|
+
background-size: 20px 20px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.titaui-nav-top-menu__tips-box-title {
|
|
153
|
+
display: block;
|
|
154
|
+
font-size: 14px;
|
|
155
|
+
color: #ffffff;
|
|
156
|
+
line-height: 22px;
|
|
157
|
+
font-weight: 600;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.titaui-nav-top-menu__tips-box-content {
|
|
161
|
+
font-size: 12px;
|
|
162
|
+
color: #ffffff;
|
|
163
|
+
line-height: 20px;
|
|
164
|
+
margin-top: 10px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.titaui-nav-top-menu__tips-box-ok {
|
|
168
|
+
height: 28px;
|
|
169
|
+
margin-top: 8px;
|
|
170
|
+
margin-left: 210px;
|
|
171
|
+
background: #ffffff;
|
|
172
|
+
box-shadow: 0px -4px 12px 0px rgba(127, 145, 180, 0.2);
|
|
173
|
+
border-radius: 14px;
|
|
174
|
+
box-sizing: border-box;
|
|
175
|
+
padding: 3px 17px;
|
|
176
|
+
font-size: 14px;
|
|
177
|
+
color: #2879ff;
|
|
178
|
+
line-height: 22px;
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.titaui-nav-top-menu__tips-triangle {
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: -4px;
|
|
185
|
+
left: 50%;
|
|
186
|
+
margin-left: -4px;
|
|
187
|
+
width: 0;
|
|
188
|
+
height: 0;
|
|
189
|
+
border-left: 5px solid transparent;
|
|
190
|
+
border-right: 5px solid transparent;
|
|
191
|
+
border-bottom: 5px solid #fff;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.titaui-nav-top-menu__tips-triangle::after {
|
|
195
|
+
content: '';
|
|
196
|
+
width: 0;
|
|
197
|
+
height: 0;
|
|
198
|
+
position: absolute;
|
|
199
|
+
left: -4px;
|
|
200
|
+
top: 2px;
|
|
201
|
+
border-left: solid 4px transparent;
|
|
202
|
+
border-right: solid 4px transparent;
|
|
203
|
+
border-bottom: solid 4px #5c8eff;
|
|
204
|
+
z-index: 99;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.titaui-nav-top-menu__tips-hide {
|
|
208
|
+
display: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
120
211
|
.titaui-nav-top-menu .rc-overflow-item {
|
|
121
212
|
position: relative;
|
|
122
213
|
}
|
|
@@ -21,6 +21,8 @@ var _conditionRender = _interopRequireDefault(require("../../../../components/co
|
|
|
21
21
|
|
|
22
22
|
var _useGlobalValue3 = _interopRequireDefault(require("../../useGlobalValue"));
|
|
23
23
|
|
|
24
|
+
var _new = _interopRequireDefault(require("./img/new.svg"));
|
|
25
|
+
|
|
24
26
|
require("./index.css");
|
|
25
27
|
|
|
26
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -52,6 +54,15 @@ var popupAlign = {
|
|
|
52
54
|
},
|
|
53
55
|
targetOffset: [0, 0]
|
|
54
56
|
};
|
|
57
|
+
var NewFeatureGuidePopupAlign = {
|
|
58
|
+
offset: [104, -5],
|
|
59
|
+
overflow: {
|
|
60
|
+
adjustX: true,
|
|
61
|
+
adjustY: true
|
|
62
|
+
},
|
|
63
|
+
targetOffset: [0, 0]
|
|
64
|
+
};
|
|
65
|
+
var NEWMENUS = '#/interview';
|
|
55
66
|
|
|
56
67
|
var Menu = function Menu(_ref) {
|
|
57
68
|
var menus = _ref.menus,
|
|
@@ -59,8 +70,13 @@ var Menu = function Menu(_ref) {
|
|
|
59
70
|
|
|
60
71
|
var _useState = (0, _react.useState)(false),
|
|
61
72
|
_useState2 = _slicedToArray(_useState, 2),
|
|
62
|
-
|
|
63
|
-
|
|
73
|
+
isKnow = _useState2[0],
|
|
74
|
+
setIsKonw = _useState2[1];
|
|
75
|
+
|
|
76
|
+
var _useState3 = (0, _react.useState)(false),
|
|
77
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
78
|
+
popupVisible = _useState4[0],
|
|
79
|
+
setPopupVisible = _useState4[1];
|
|
64
80
|
|
|
65
81
|
var _useGlobalValue = (0, _useGlobalValue3["default"])(),
|
|
66
82
|
_useGlobalValue2 = _slicedToArray(_useGlobalValue, 1),
|
|
@@ -84,33 +100,66 @@ var Menu = function Menu(_ref) {
|
|
|
84
100
|
}
|
|
85
101
|
};
|
|
86
102
|
|
|
87
|
-
var
|
|
88
|
-
|
|
103
|
+
var handleClick = function handleClick() {
|
|
104
|
+
setIsKonw(true);
|
|
105
|
+
localStorage.setItem("isNewMenuItem__".concat(userId), "".concat(userId));
|
|
89
106
|
};
|
|
90
107
|
|
|
108
|
+
(0, _react.useEffect)(function () {
|
|
109
|
+
var isKnow = localStorage.getItem("isNewMenuItem__".concat(userId));
|
|
110
|
+
|
|
111
|
+
if (isKnow) {
|
|
112
|
+
setIsKonw(true);
|
|
113
|
+
}
|
|
114
|
+
}, []);
|
|
115
|
+
|
|
116
|
+
var popup = /*#__PURE__*/_react["default"].createElement("div", {
|
|
117
|
+
className: "".concat(prefix, "__tips")
|
|
118
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
|
+
className: (0, _classnames["default"])("".concat(prefix, "__tips-box"), _defineProperty({}, "".concat(prefix, "__tips-hide"), isKnow))
|
|
120
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
121
|
+
className: "".concat(prefix, "__tips-box-head")
|
|
122
|
+
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
|
123
|
+
className: "".concat(prefix, "__tips-box-title")
|
|
124
|
+
}, "1 : 1 \u9762\u8C08\uFF08\u4E00\u5BF9\u4E00\u9762\u8C08\uFF09\u4E0A\u7EBF\u5566\uFF01"), /*#__PURE__*/_react["default"].createElement("p", {
|
|
125
|
+
className: "".concat(prefix, "__tips-box-content")
|
|
126
|
+
}, "\u52A9\u529B\u7ECF\u7406\u548C\u4E0B\u7EA7\u8FDB\u884C\u6301\u7EED\u6C9F\u901A\uFF0C\u4E3A\u4E0D\u540C\u573A\u666F\u63D0\u4F9B\u4E30\u5BCC\u7684\u6C9F\u901A\u6A21\u677F\uFF0C\u5373\u523B\u4E86\u89E3\uFF0CGo~")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
127
|
+
className: "".concat(prefix, "__tips-box-ok"),
|
|
128
|
+
onClick: handleClick
|
|
129
|
+
}, "\u597D\u54D2")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
130
|
+
className: (0, _classnames["default"])("".concat(prefix, "__tips-triangle"), _defineProperty({}, "".concat(prefix, "__tips-hide"), isKnow))
|
|
131
|
+
}));
|
|
132
|
+
|
|
91
133
|
var renderRawItem = function renderRawItem(menu) {
|
|
134
|
+
var href = menu.href;
|
|
135
|
+
|
|
136
|
+
if (menu.title === 'Learning') {
|
|
137
|
+
href = "".concat(apiPath, "/").concat(userId, "/eLearningHome#/");
|
|
138
|
+
}
|
|
139
|
+
|
|
92
140
|
return /*#__PURE__*/_react["default"].createElement(_rcOverflow["default"].Item, {
|
|
93
141
|
component: "span"
|
|
94
142
|
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
95
|
-
condition: menu.
|
|
143
|
+
condition: menu.id
|
|
144
|
+
}, /*#__PURE__*/_react["default"].createElement(_popup["default"], {
|
|
145
|
+
popupVisible: !isKnow,
|
|
146
|
+
popup: menu.href === NEWMENUS ? popup : null,
|
|
147
|
+
mask: false,
|
|
148
|
+
action: ['focus'],
|
|
149
|
+
popupAlign: NewFeatureGuidePopupAlign
|
|
96
150
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
97
151
|
className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id)),
|
|
98
|
-
href:
|
|
152
|
+
href: href,
|
|
99
153
|
target: "_self",
|
|
100
154
|
onClick: function onClick() {
|
|
101
155
|
return handleTracker(menu);
|
|
102
156
|
}
|
|
103
157
|
}, menu.title, menu.href === '#dynamic' && feedNum > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
104
158
|
className: (0, _classnames["default"])("".concat(prefix, "__menu--hasNum"), _defineProperty({}, "".concat(prefix, "__menu--hasNum-active"), activeMenuId === menu.id && menu.href === '#dynamic'))
|
|
105
|
-
}, feedNum > 100 ? '99+' : feedNum)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
onClick: function onClick() {
|
|
110
|
-
handleTracker(menu);
|
|
111
|
-
handleClickToLearning();
|
|
112
|
-
}
|
|
113
|
-
}, menu.title)));
|
|
159
|
+
}, feedNum > 100 ? '99+' : feedNum), menu.href === NEWMENUS && /*#__PURE__*/_react["default"].createElement("img", {
|
|
160
|
+
src: _new["default"],
|
|
161
|
+
className: "".concat(prefix, "__tips-new")
|
|
162
|
+
})))));
|
|
114
163
|
};
|
|
115
164
|
|
|
116
165
|
var renderRest = function renderRest(items) {
|
|
@@ -122,18 +171,17 @@ var Menu = function Menu(_ref) {
|
|
|
122
171
|
var popContent = /*#__PURE__*/_react["default"].createElement("div", {
|
|
123
172
|
className: "".concat(prefix, "__hide-menus")
|
|
124
173
|
}, items.map(function (menu) {
|
|
174
|
+
var href = menu.href;
|
|
175
|
+
|
|
176
|
+
if (menu.title === 'Learning') {
|
|
177
|
+
href = "".concat(apiPath, "/").concat(userId, "/eLearningHome#/");
|
|
178
|
+
}
|
|
179
|
+
|
|
125
180
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
126
|
-
condition: menu.
|
|
127
|
-
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
128
|
-
className: (0, _classnames["default"])("".concat(prefix, "__menu-hide"), _defineProperty({}, "".concat(prefix, "__menu-hide--active"), activeMenuId === menu.id)),
|
|
129
|
-
href: "".concat(menu.href),
|
|
130
|
-
key: menu.id,
|
|
131
|
-
target: "_self"
|
|
132
|
-
}, menu.title)), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
133
|
-
condition: menu.title === 'Learning'
|
|
181
|
+
condition: menu.id
|
|
134
182
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
135
183
|
className: (0, _classnames["default"])("".concat(prefix, "__menu-hide"), _defineProperty({}, "".concat(prefix, "__menu-hide--active"), activeMenuId === menu.id)),
|
|
136
|
-
href:
|
|
184
|
+
href: href,
|
|
137
185
|
key: menu.id,
|
|
138
186
|
target: "_self"
|
|
139
187
|
}, menu.title)));
|
|
@@ -84,7 +84,8 @@ function Inform(props) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
if (objType === _constant.EObjType.Interview) {
|
|
87
|
-
(0, _tools.openPage)(
|
|
87
|
+
messageType !== 153 && (0, _tools.openPage)( // 153:删除面谈的通知类型
|
|
88
|
+
"".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#/interview?reactRouterName=detail&hideNavTop=true&recordId=").concat(objId, "&toUserId=").concat(user === null || user === void 0 ? void 0 : user.userId));
|
|
88
89
|
return;
|
|
89
90
|
}
|
|
90
91
|
|