@titaui/pc 1.11.27-beta.8 → 1.11.29
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 +0 -1
- package/lib/components/avatar/name-avatar/index.js +13 -22
- 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.css +11 -45
- package/lib/components/button/rect-btn/index.js +13 -19
- package/lib/components/change-okr-modal/Item.js +14 -14
- package/lib/components/change-okr-modal/index.js +1 -2
- package/lib/components/create-okr-modal/index.js +1 -3
- 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 +1 -5
- package/lib/components/drawer/headerDrop.js +4 -42
- package/lib/components/drawer/index.css +0 -33
- package/lib/components/drawer/index.js +3 -26
- package/lib/components/drop-selector/index.js +25 -10
- package/lib/components/dynamic/advertise/components/next-btn/index.css +27 -0
- package/lib/components/dynamic/advertise/components/next-btn/index.js +32 -0
- package/lib/components/dynamic/advertise/components/pre-btn/index.css +26 -0
- package/lib/components/dynamic/advertise/components/pre-btn/index.js +32 -0
- package/lib/components/dynamic/advertise/index.css +21 -0
- package/lib/components/dynamic/advertise/index.js +126 -0
- package/lib/components/dynamic/advertise/interface.js +5 -0
- package/lib/components/dynamic/advertise/util.js +28 -0
- package/lib/components/dynamic/components/dynamic-search-input/index.css +81 -0
- package/lib/components/dynamic/components/dynamic-search-input/index.js +203 -0
- package/lib/components/dynamic/components/first-level-tabs/index.css +101 -0
- package/lib/components/dynamic/components/first-level-tabs/index.js +131 -0
- package/lib/components/dynamic/constant.js +33 -32
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +9 -9
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +1 -1
- 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 +5 -5
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +6 -6
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +10 -10
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +13 -13
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +9 -9
- package/lib/components/dynamic/dynamic-item/index.js +50 -32
- package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +23 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-empty.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.css +146 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.js +180 -0
- package/lib/components/dynamic/dynamic-like-ranking/item.js +105 -0
- package/lib/components/dynamic/dynamic-like-ranking/mock.js +84 -0
- package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +30 -0
- package/lib/components/dynamic/dynamic-liking/index.css +81 -0
- package/lib/{pages/new-okr-list/header/operate-record.js → components/dynamic/dynamic-liking/index.js} +39 -91
- package/lib/components/dynamic/dynamic-liking/item.js +75 -0
- package/lib/components/dynamic/dynamic-liking/mock.js +83 -0
- package/lib/components/dynamic/dynamic-list/index.js +7 -15
- package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +16 -0
- package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +30 -0
- package/lib/components/dynamic/dynamic-topping/index.css +141 -0
- package/lib/components/dynamic/dynamic-topping/index.js +82 -0
- package/lib/components/dynamic/dynamic-topping/interface.js +5 -0
- package/lib/components/dynamic/dynamic-topping/item.js +153 -0
- package/lib/components/dynamic/dynamic-topping/request-api.js +36 -0
- package/lib/components/dynamic/dynamic.css +173 -0
- package/lib/components/dynamic/dynamic.js +428 -0
- package/lib/components/dynamic/export-module/index.js +37 -0
- package/lib/components/dynamic/img/dynamic-top.svg +14 -0
- package/lib/components/dynamic/index.js +12 -9
- package/lib/components/dynamic/my-team/img/add-subordinate.png +0 -0
- package/lib/components/dynamic/my-team/img/line.png +0 -0
- package/lib/components/dynamic/my-team/img/team.png +0 -0
- package/lib/components/dynamic/my-team/index.css +184 -0
- package/lib/components/dynamic/my-team/index.js +263 -0
- package/lib/components/dynamic/my-team/request-api.js +52 -0
- package/lib/components/dynamic/my-team/util.js +20 -0
- package/lib/components/dynamic/new-ui.css +192 -0
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +58 -0
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +68 -0
- package/lib/components/dynamic/online-broadcast/data.js +77 -0
- package/lib/components/dynamic/online-broadcast/img/broadcast.svg +14 -0
- package/lib/components/dynamic/online-broadcast/img/new.png +0 -0
- package/lib/components/dynamic/online-broadcast/img/preview.png +0 -0
- package/lib/components/dynamic/online-broadcast/index.css +46 -0
- package/lib/components/dynamic/online-broadcast/index.js +61 -0
- package/lib/components/dynamic/online-broadcast/interfact.js +5 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +39 -0
- package/lib/components/dynamic/quick-operation/components/create-okr/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +39 -0
- package/lib/components/dynamic/quick-operation/components/create-share/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +39 -0
- package/lib/components/dynamic/quick-operation/components/create-task/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +44 -0
- package/lib/components/dynamic/quick-operation/img/new-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-task.png +0 -0
- package/lib/components/dynamic/quick-operation/index.css +51 -0
- package/lib/components/dynamic/quick-operation/index.js +120 -0
- package/lib/components/dynamic/request-api.js +68 -7
- package/lib/components/e-priority/index.js +8 -8
- package/lib/components/eReport/eReportShare/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 +5 -5
- package/lib/components/icon-button-list/index.js +3 -3
- package/lib/components/img-viewer/index.css +3 -3
- package/lib/components/img-viewer/index.js +11 -11
- 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/index.js +4 -8
- package/lib/components/nav-top/request.apis.js +3 -1
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.js +4 -20
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +1 -9
- package/lib/components/okr-detail/components/header/index.js +3 -10
- package/lib/components/okr-detail/components/header/o-name.js +3 -10
- package/lib/components/okr-detail/components/o-classify.js +1 -5
- 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 +10 -14
- 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 +23 -23
- package/lib/components/okr-detail/detail-header/delete-confirm/delete-confirm.js +43 -98
- package/lib/components/okr-detail/detail-header/delete-confirm/style.js +38 -0
- package/lib/components/okr-detail/detail-header/index.css +0 -11
- package/lib/components/okr-detail/detail-header/index.js +234 -228
- package/lib/components/okr-detail/index.js +21 -40
- package/lib/components/okr-detail/okr-list/index.js +8 -11
- package/lib/components/okr-detail/request-apis.js +4 -10
- package/lib/components/okr-flow/child-node/index.css +6 -6
- package/lib/components/okr-flow/child-node/work-node.js +21 -21
- package/lib/components/okr-flow/export-modal/index.js +33 -19
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +14 -14
- package/lib/components/okr-flow/okr-map/index.js +5 -5
- package/lib/components/okr-flow/request-apis.js +4 -4
- package/lib/components/okr-flow/root-node/index.js +25 -24
- package/lib/components/okr-flow/utils/index.js +5 -5
- package/lib/components/okr-flow/utils/tree-handler.js +17 -17
- package/lib/components/okr-period-selector/index.js +5 -9
- package/lib/components/okr-period-selector/select-cycle.js +19 -23
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +30 -30
- package/lib/components/operation-records/index.js +1 -1
- package/lib/components/operation-records/style.js +1 -1
- package/lib/components/pagination/index.css +3 -3
- package/lib/components/pagination/select.css +58 -23
- package/lib/components/period-selector/index.css +3 -3
- package/lib/components/period-selector/index.js +11 -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/publish-dynamic-modal/publish-dynamic-modal.js +10 -16
- package/lib/components/radio/index.css +9 -9
- package/lib/components/scrollbar/scroll-mask/index.js +1 -1
- package/lib/components/superset-charts/utils/axios.js +5 -5
- package/lib/components/survey-model/index.css +18 -18
- package/lib/components/survey-model/instance.js +1 -1
- package/lib/components/task-relation-modal/request-api.js +1 -2
- 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/toast/index.js +3 -5
- package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.css +1 -0
- package/lib/components-v1/radio/radio.js +3 -3
- package/lib/components-v1/radio/style/index.css +8 -8
- package/lib/index.js +0 -40
- package/lib/pages/aha2021/index.js +5 -1
- package/lib/pages/new-okr-list/header/index.css +0 -45
- package/lib/pages/new-okr-list/header/index.js +16 -38
- package/lib/pages/new-okr-list/index.js +1 -3
- package/lib/pages/new-okr-list/list/index.js +2 -19
- package/lib/pages/new-okr-list/request-api.js +2 -8
- package/lib/pages/okr-map/export-modules/okr-map/header/index.js +24 -24
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +31 -31
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +2 -2
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +11 -11
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +8 -8
- package/lib/pages/okr-map/number-select/index.js +2 -2
- package/lib/pages/okr-map/unsupport-ie/index.js +5 -3
- package/lib/utils/auth.js +6 -6
- package/lib/utils/bs-global.js +12 -12
- package/lib/utils/format-time.js +1 -8
- package/lib/utils/hooks.js +72 -0
- package/lib/utils/open-data.js +27 -31
- package/package.json +6 -3
- 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/lib/components/okr-detail/detail-header/constant.js +0 -53
- package/lib/components/okr-detail/detail-header/delete-confirm/index.css +0 -55
- package/lib/components/okr-detail/helper.js +0 -108
- package/lib/components/textarea/index.css +0 -142
- package/lib/components/textarea/index.js +0 -259
- package/lib/pages/new-okr-list/header/common.js +0 -52
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.titaui-dynamic-interview__operate-desc {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
font-weight: 400;
|
|
4
|
+
color: #89919f;
|
|
5
|
+
line-height: 24px;
|
|
6
|
+
margin-left: 4px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.titaui-dynamic-interview__content {
|
|
11
|
+
height: 56px;
|
|
12
|
+
background: rgba(40, 121, 255, 0.06);
|
|
13
|
+
border-radius: 18px;
|
|
14
|
+
display: flex;
|
|
15
|
+
padding: 0 12px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
margin-left: 88px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.titaui-dynamic-interview__content .titaui-pc-avator-container {
|
|
21
|
+
height: 32px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.titaui-dynamic-interview__wifi {
|
|
25
|
+
margin: 0 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.titaui-dynamic-interview__name {
|
|
29
|
+
margin-left: 12px;
|
|
30
|
+
flex: 1;
|
|
31
|
+
width: 0;
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
font-weight: normal;
|
|
34
|
+
line-height: 24px;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.titaui-dynamic-interview__name div {
|
|
42
|
+
max-width: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.titaui-dynamic-interview__name a {
|
|
46
|
+
color: #141c28;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.titaui-dynamic-interview__name a:hover {
|
|
50
|
+
color: #2879ff;
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _getLocale = require("../../../../utils/getLocale");
|
|
13
|
+
|
|
14
|
+
var _header = _interopRequireDefault(require("../components/header"));
|
|
15
|
+
|
|
16
|
+
var _interviewContent = _interopRequireDefault(require("./interview-content"));
|
|
17
|
+
|
|
18
|
+
require("./index.css");
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
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); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
var preCls = "titaui-dynamic-interview";
|
|
27
|
+
|
|
28
|
+
function DynamicInterview(_ref) {
|
|
29
|
+
var data = _ref.data,
|
|
30
|
+
onDeleteFeed = _ref.onDeleteFeed;
|
|
31
|
+
var publishUser = data.publishUser;
|
|
32
|
+
var renderDesc = (0, _react.useMemo)(function () {
|
|
33
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
34
|
+
className: "".concat(preCls, "__operate-desc")
|
|
35
|
+
}, (0, _getLocale.getLocale)("Ooo_Feed_Initiated11"));
|
|
36
|
+
}, []);
|
|
37
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
38
|
+
className: preCls
|
|
39
|
+
}, /*#__PURE__*/_react["default"].createElement(_header["default"], {
|
|
40
|
+
data: data,
|
|
41
|
+
onDeleteFeed: onDeleteFeed,
|
|
42
|
+
desc: renderDesc,
|
|
43
|
+
user: publishUser
|
|
44
|
+
}), /*#__PURE__*/_react["default"].createElement(_interviewContent["default"], {
|
|
45
|
+
data: data
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
var _default = DynamicInterview;
|
|
50
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _avatar = _interopRequireDefault(require("../../../../components/avatar"));
|
|
11
|
+
|
|
12
|
+
var _wifi = _interopRequireDefault(require("./img/wifi.svg"));
|
|
13
|
+
|
|
14
|
+
require("./index.css");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
var preCls = "titaui-dynamic-interview";
|
|
19
|
+
|
|
20
|
+
function InterviewContent(_ref) {
|
|
21
|
+
var data = _ref.data;
|
|
22
|
+
var principalUser = data.principalUser,
|
|
23
|
+
publishUser = data.publishUser,
|
|
24
|
+
interviewName = data.interviewName,
|
|
25
|
+
interviewId = data.interviewId;
|
|
26
|
+
var _window$location = window.location,
|
|
27
|
+
host = _window$location.host,
|
|
28
|
+
pathname = _window$location.pathname;
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
30
|
+
className: "".concat(preCls, "__content")
|
|
31
|
+
}, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
|
32
|
+
name: publishUser.name,
|
|
33
|
+
userId: publishUser.userId,
|
|
34
|
+
color: publishUser.avatar.color,
|
|
35
|
+
src: publishUser.avatar.medium,
|
|
36
|
+
size: {
|
|
37
|
+
width: 32,
|
|
38
|
+
textNum: 1,
|
|
39
|
+
fontSize: 12
|
|
40
|
+
}
|
|
41
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
|
42
|
+
className: "".concat(preCls, "__wifi"),
|
|
43
|
+
src: _wifi["default"],
|
|
44
|
+
alt: "wifi"
|
|
45
|
+
}), principalUser && /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
|
46
|
+
name: principalUser.name,
|
|
47
|
+
userId: principalUser.userId,
|
|
48
|
+
color: principalUser.avatar.color,
|
|
49
|
+
src: principalUser.avatar.medium,
|
|
50
|
+
size: {
|
|
51
|
+
width: 32,
|
|
52
|
+
textNum: 1,
|
|
53
|
+
fontSize: 12
|
|
54
|
+
}
|
|
55
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
+
className: "".concat(preCls, "__name")
|
|
57
|
+
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
58
|
+
href: "//".concat(host).concat(pathname, "#/interview?hideNavTop=true&reactRouterName=detail&recordId=").concat(interviewId, "&toUserId=").concat(principalUser.userId),
|
|
59
|
+
target: "_blank",
|
|
60
|
+
rel: "noreferrer"
|
|
61
|
+
}, interviewName || "")));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
var _default = InterviewContent;
|
|
65
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="26px" height="21px" viewBox="0 0 26 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>wife</title>
|
|
4
|
+
<g id="面谈" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="5-面谈详情页" transform="translate(-106.000000, -17.000000)" fill="#2879FF" fill-rule="nonzero">
|
|
6
|
+
<g id="面谈人员" transform="translate(58.000000, 8.000000)">
|
|
7
|
+
<g id="wife" transform="translate(48.000000, 9.000000)">
|
|
8
|
+
<g id="编组-7">
|
|
9
|
+
<path d="M12.9658057,9.52816561 C12.2775701,9.52816561 11.7154472,10.0876457 11.7154472,10.7794706 C11.7154472,11.4687707 12.2775701,12.0281656 12.9658057,12.0281656 C13.6566846,12.0281656 14.2150114,11.4687707 14.2150114,10.7794706 C14.2150114,10.0876456 13.6567127,9.52816561 12.9658057,9.52816561 Z" id="路径" transform="translate(12.965229, 10.778166) scale(-1, 1) rotate(-270.000000) translate(-12.965229, -10.778166) "></path>
|
|
10
|
+
<path d="M9.13463077,9.00453638 C7.22941357,9.00453638 5.46172542,9.94655067 4.4067363,11.531305 C4.21117005,11.8188062 4.28841241,12.2143692 4.56884115,12.4134588 C4.67951673,12.488903 4.8030426,12.5227718 4.92136651,12.5227718 C5.12207849,12.5227718 5.31891006,12.4238384 5.44114247,12.2443421 C6.26193014,11.0108739 7.64371594,10.2770207 9.13463077,10.2770207 C10.6051595,10.2770207 11.975276,10.9978496 12.7974415,12.1987571 C12.9930077,12.488903 13.3866146,12.5578919 13.6696865,12.3562145 C13.9527303,12.1584046 14.019625,11.7576376 13.8202346,11.4714161 C12.766567,9.92573457 11.0116729,9.00453638 9.13463077,9.00453638 Z" id="路径" opacity="0.75" transform="translate(9.116567, 10.763654) scale(-1, 1) rotate(-270.000000) translate(-9.116567, -10.763654) "></path>
|
|
11
|
+
<path d="M6.05410015,8.5147913 C3.20198248,8.5147913 0.543996987,9.78992023 -1.2301585,12.0095944 C-1.45015998,12.2828485 -1.40899404,12.6836155 -1.13880053,12.9047724 C-0.873780866,13.1272944 -0.480089595,13.0869418 -0.261409722,12.8137162 C1.27472015,10.8919513 3.58023651,9.78733243 6.05410012,9.78733243 C8.52942591,9.78733243 10.8310057,10.8919513 12.3723094,12.8137162 C12.4932483,12.9711167 12.675908,13.0479259 12.8560371,13.0479259 C12.994972,13.0479259 13.1326135,13.0010612 13.2484349,12.9073887 C13.5198937,12.6861749 13.555942,12.2854647 13.3371778,12.0122106 C11.5643439,9.78992023 8.91150413,8.5147913 6.05410015,8.5147913 Z" id="路径" fill-opacity="0.5" transform="translate(6.053981, 10.781599) scale(-1, 1) rotate(-270.000000) translate(-6.053981, -10.781599) "></path>
|
|
12
|
+
<path d="M12.8458611,12.5083657 C10.3885313,9.64071899 6.80164139,8 2.99995194,8 C-0.796479272,8 -4.38722148,9.64069054 -6.84325778,12.5070575 C-7.07222913,12.7724914 -7.0477939,13.1745381 -6.78662652,13.4048234 C-6.52804606,13.6351656 -6.13050251,13.609117 -5.9053553,13.346271 C-3.68352045,10.757054 -0.438836284,9.26858839 2.99992386,9.26858839 C6.43882458,9.26858839 9.6860957,10.757054 11.9040782,13.346271 C12.0301629,13.4894244 12.202503,13.5635889 12.3749556,13.5635889 C12.5190645,13.5635889 12.6708497,13.5128283 12.7866429,13.4048234 C13.0465168,13.1745665 13.0722737,12.7737995 12.8458611,12.5083657 Z" id="路径" fill-opacity="0.25" transform="translate(3.000000, 10.781794) scale(-1, 1) rotate(-270.000000) translate(-3.000000, -10.781794) "></path>
|
|
13
|
+
</g>
|
|
14
|
+
<g id="编组-7" transform="translate(18.500000, 10.500000) scale(-1, 1) translate(-18.500000, -10.500000) translate(11.000000, 0.000000)">
|
|
15
|
+
<path d="M12.9658057,9.52816561 C12.2775701,9.52816561 11.7154472,10.0876457 11.7154472,10.7794706 C11.7154472,11.4687707 12.2775701,12.0281656 12.9658057,12.0281656 C13.6566846,12.0281656 14.2150114,11.4687707 14.2150114,10.7794706 C14.2150114,10.0876456 13.6567127,9.52816561 12.9658057,9.52816561 Z" id="路径" transform="translate(12.965229, 10.778166) scale(-1, 1) rotate(-270.000000) translate(-12.965229, -10.778166) "></path>
|
|
16
|
+
<path d="M9.13463077,9.00453638 C7.22941357,9.00453638 5.46172542,9.94655067 4.4067363,11.531305 C4.21117005,11.8188062 4.28841241,12.2143692 4.56884115,12.4134588 C4.67951673,12.488903 4.8030426,12.5227718 4.92136651,12.5227718 C5.12207849,12.5227718 5.31891006,12.4238384 5.44114247,12.2443421 C6.26193014,11.0108739 7.64371594,10.2770207 9.13463077,10.2770207 C10.6051595,10.2770207 11.975276,10.9978496 12.7974415,12.1987571 C12.9930077,12.488903 13.3866146,12.5578919 13.6696865,12.3562145 C13.9527303,12.1584046 14.019625,11.7576376 13.8202346,11.4714161 C12.766567,9.92573457 11.0116729,9.00453638 9.13463077,9.00453638 Z" id="路径" opacity="0.75" transform="translate(9.116567, 10.763654) scale(-1, 1) rotate(-270.000000) translate(-9.116567, -10.763654) "></path>
|
|
17
|
+
<path d="M6.05410015,8.5147913 C3.20198248,8.5147913 0.543996987,9.78992023 -1.2301585,12.0095944 C-1.45015998,12.2828485 -1.40899404,12.6836155 -1.13880053,12.9047724 C-0.873780866,13.1272944 -0.480089595,13.0869418 -0.261409722,12.8137162 C1.27472015,10.8919513 3.58023651,9.78733243 6.05410012,9.78733243 C8.52942591,9.78733243 10.8310057,10.8919513 12.3723094,12.8137162 C12.4932483,12.9711167 12.675908,13.0479259 12.8560371,13.0479259 C12.994972,13.0479259 13.1326135,13.0010612 13.2484349,12.9073887 C13.5198937,12.6861749 13.555942,12.2854647 13.3371778,12.0122106 C11.5643439,9.78992023 8.91150413,8.5147913 6.05410015,8.5147913 Z" id="路径" fill-opacity="0.5" transform="translate(6.053981, 10.781599) scale(-1, 1) rotate(-270.000000) translate(-6.053981, -10.781599) "></path>
|
|
18
|
+
<path d="M12.8458611,12.5083657 C10.3885313,9.64071899 6.80164139,8 2.99995194,8 C-0.796479272,8 -4.38722148,9.64069054 -6.84325778,12.5070575 C-7.07222913,12.7724914 -7.0477939,13.1745381 -6.78662652,13.4048234 C-6.52804606,13.6351656 -6.13050251,13.609117 -5.9053553,13.346271 C-3.68352045,10.757054 -0.438836284,9.26858839 2.99992386,9.26858839 C6.43882458,9.26858839 9.6860957,10.757054 11.9040782,13.346271 C12.0301629,13.4894244 12.202503,13.5635889 12.3749556,13.5635889 C12.5190645,13.5635889 12.6708497,13.5128283 12.7866429,13.4048234 C13.0465168,13.1745665 13.0722737,12.7737995 12.8458611,12.5083657 Z" id="路径" fill-opacity="0.25" transform="translate(3.000000, 10.781794) scale(-1, 1) rotate(-270.000000) translate(-3.000000, -10.781794) "></path>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</g>
|
|
23
|
+
</g>
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.titaui-dynamic-interview-share__text {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
font-weight: 400;
|
|
4
|
+
color: #3f4755;
|
|
5
|
+
line-height: 24px;
|
|
6
|
+
margin-left: 88px;
|
|
7
|
+
margin-bottom: 12px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.titaui-dynamic-interview-share__operate-desc {
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
color: #89919f;
|
|
14
|
+
line-height: 24px;
|
|
15
|
+
margin-left: 4px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.titaui-dynamic-interview-share__content {
|
|
20
|
+
height: 56px;
|
|
21
|
+
background: rgba(40, 121, 255, 0.06);
|
|
22
|
+
border-radius: 18px;
|
|
23
|
+
display: flex;
|
|
24
|
+
padding: 0 12px;
|
|
25
|
+
align-items: center;
|
|
26
|
+
margin-left: 88px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-dynamic-interview-share__wifi {
|
|
30
|
+
margin: 0 8px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.titaui-dynamic-interview-share__name {
|
|
34
|
+
margin-left: 12px;
|
|
35
|
+
flex: 1;
|
|
36
|
+
width: 0;
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
font-weight: normal;
|
|
39
|
+
color: #141c28;
|
|
40
|
+
line-height: 24px;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
text-overflow: ellipsis;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.titaui-dynamic-interview-share__name div {
|
|
48
|
+
max-width: 100%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.titaui-dynamic-interview-share__name a {
|
|
52
|
+
color: #141c28;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.titaui-dynamic-interview-share__name a:hover {
|
|
56
|
+
color: #2879ff;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.titaui-dynamic-interview-share .titaui-pc-avator-container {
|
|
60
|
+
height: 32px;
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _getLocale = require("../../../../utils/getLocale");
|
|
13
|
+
|
|
14
|
+
var _header = _interopRequireDefault(require("../components/header"));
|
|
15
|
+
|
|
16
|
+
var _interviewContent = _interopRequireDefault(require("./interview-content"));
|
|
17
|
+
|
|
18
|
+
require("./index.css");
|
|
19
|
+
|
|
20
|
+
var _openData = require("../../../../utils/open-data");
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
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); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
var preCls = "titaui-dynamic-interview-share";
|
|
29
|
+
|
|
30
|
+
function DynamicInterviewShare(_ref) {
|
|
31
|
+
var data = _ref.data,
|
|
32
|
+
onDeleteFeed = _ref.onDeleteFeed,
|
|
33
|
+
_ref$hasDynamicOperea = _ref.hasDynamicOpereateAuth,
|
|
34
|
+
hasDynamicOpereateAuth = _ref$hasDynamicOperea === void 0 ? false : _ref$hasDynamicOperea;
|
|
35
|
+
var publishUser = data.publishUser,
|
|
36
|
+
content = data.content,
|
|
37
|
+
shareFeedSource = data.shareFeedSource;
|
|
38
|
+
var isPublisher = data.publishUser.userId === window.BSGlobal.loginUserInfo.Id;
|
|
39
|
+
var renderDesc = (0, _react.useMemo)(function () {
|
|
40
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
41
|
+
className: "".concat(preCls, "__operate-desc")
|
|
42
|
+
}, (0, _getLocale.getLocale)("Ooo_Mo_Sharedconver"));
|
|
43
|
+
}, []);
|
|
44
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
45
|
+
className: preCls
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement(_header["default"], {
|
|
47
|
+
data: data,
|
|
48
|
+
onDeleteFeed: onDeleteFeed,
|
|
49
|
+
desc: renderDesc,
|
|
50
|
+
user: publishUser,
|
|
51
|
+
showDelete: hasDynamicOpereateAuth || isPublisher,
|
|
52
|
+
showTopping: hasDynamicOpereateAuth
|
|
53
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
54
|
+
className: "".concat(preCls, "__text")
|
|
55
|
+
}, (0, _openData.parseTag)(content)), /*#__PURE__*/_react["default"].createElement(_interviewContent["default"], {
|
|
56
|
+
data: shareFeedSource
|
|
57
|
+
}));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
var _default = DynamicInterviewShare;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _avatar = _interopRequireDefault(require("../../../../components/avatar"));
|
|
11
|
+
|
|
12
|
+
var _wifi = _interopRequireDefault(require("./img/wifi.svg"));
|
|
13
|
+
|
|
14
|
+
require("./index.css");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
var preCls = "titaui-dynamic-interview-share";
|
|
19
|
+
|
|
20
|
+
function InterviewContent(_ref) {
|
|
21
|
+
var data = _ref.data;
|
|
22
|
+
if (!data) return null;
|
|
23
|
+
|
|
24
|
+
var _ref2 = data || {},
|
|
25
|
+
toUser = _ref2.toUser,
|
|
26
|
+
fromUser = _ref2.fromUser,
|
|
27
|
+
content = _ref2.content,
|
|
28
|
+
objId = _ref2.objId;
|
|
29
|
+
|
|
30
|
+
var _window$location = window.location,
|
|
31
|
+
host = _window$location.host,
|
|
32
|
+
pathname = _window$location.pathname;
|
|
33
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
34
|
+
className: "".concat(preCls, "__content")
|
|
35
|
+
}, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
|
36
|
+
name: fromUser.name,
|
|
37
|
+
userId: fromUser.userId,
|
|
38
|
+
color: fromUser.avatar.color,
|
|
39
|
+
src: fromUser.avatar.medium,
|
|
40
|
+
size: {
|
|
41
|
+
width: 32,
|
|
42
|
+
textNum: 1,
|
|
43
|
+
fontSize: 12
|
|
44
|
+
}
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
|
46
|
+
className: "".concat(preCls, "__wifi"),
|
|
47
|
+
src: _wifi["default"],
|
|
48
|
+
alt: "wifi"
|
|
49
|
+
}), toUser && /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
|
50
|
+
name: toUser.name,
|
|
51
|
+
userId: toUser.userId,
|
|
52
|
+
color: toUser.avatar.color,
|
|
53
|
+
src: toUser.avatar.medium,
|
|
54
|
+
size: {
|
|
55
|
+
width: 32,
|
|
56
|
+
textNum: 1,
|
|
57
|
+
fontSize: 12
|
|
58
|
+
}
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
+
className: "".concat(preCls, "__name")
|
|
61
|
+
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
62
|
+
href: "//".concat(host).concat(pathname, "#/interview?hideNavTop=true&reactRouterName=detail&recordId=").concat(objId, "&toUserId=").concat(toUser.userId),
|
|
63
|
+
target: "_blank",
|
|
64
|
+
rel: "noreferrer"
|
|
65
|
+
}, content || "")));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
var _default = InterviewContent;
|
|
69
|
+
exports["default"] = _default;
|
|
@@ -41,7 +41,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
41
41
|
|
|
42
42
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
43
43
|
|
|
44
|
-
var prefix =
|
|
44
|
+
var prefix = 'titaui-dynamic-kr-item';
|
|
45
45
|
|
|
46
46
|
var DynamicKr = function DynamicKr(_ref) {
|
|
47
47
|
var data = _ref.data,
|
|
@@ -55,13 +55,13 @@ var DynamicKr = function DynamicKr(_ref) {
|
|
|
55
55
|
principalUser = data.principalUser;
|
|
56
56
|
|
|
57
57
|
var handleClickKrTitle = function handleClickKrTitle() {
|
|
58
|
-
_drawerManager["default"].open(
|
|
58
|
+
_drawerManager["default"].open('krDetail', {
|
|
59
59
|
krId: krId
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
var handleClickOTitle = function handleClickOTitle() {
|
|
64
|
-
_drawerManager["default"].open(
|
|
64
|
+
_drawerManager["default"].open('okrDetail', {
|
|
65
65
|
okrId: data.obj.objId
|
|
66
66
|
});
|
|
67
67
|
};
|
|
@@ -71,13 +71,13 @@ var DynamicKr = function DynamicKr(_ref) {
|
|
|
71
71
|
className: "".concat(prefix, "__operate-desc")
|
|
72
72
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
73
73
|
className: "".concat(prefix, "__operate-desc-wrapper")
|
|
74
|
-
}, (0, _getLocale.getLocale)(
|
|
74
|
+
}, (0, _getLocale.getLocale)('Mod_InChargeof'), (0, _constant.getObjTypeMapText)(data.obj.objType), /*#__PURE__*/_react["default"].createElement("span", {
|
|
75
75
|
className: "".concat(prefix, "__object-name"),
|
|
76
76
|
onClick: handleClickOTitle
|
|
77
77
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
|
|
78
78
|
text: (0, _tools.htmlDecodeByRegExp)(data.obj.objName),
|
|
79
79
|
isPercent: true
|
|
80
|
-
})), (0, _getLocale.getLocale)(
|
|
80
|
+
})), (0, _getLocale.getLocale)('Mod_skeyresults')));
|
|
81
81
|
}, []);
|
|
82
82
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
83
83
|
className: prefix
|
|
@@ -43,7 +43,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
43
43
|
|
|
44
44
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
45
45
|
|
|
46
|
-
var prefix =
|
|
46
|
+
var prefix = 'titaui-dynamic-milestone-item';
|
|
47
47
|
|
|
48
48
|
var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
49
49
|
var data = _ref.data,
|
|
@@ -60,7 +60,7 @@ var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
|
60
60
|
searchKeyWord = _useContext.searchKeyWord;
|
|
61
61
|
|
|
62
62
|
var handleClickTaskTitle = function handleClickTaskTitle() {
|
|
63
|
-
window.Talent.app.vent.trigger(
|
|
63
|
+
window.Talent.app.vent.trigger('global-pull-screen', data.mileStoneId, 'milestone', new window.Talent.Model(data), {
|
|
64
64
|
option: true,
|
|
65
65
|
width: 465,
|
|
66
66
|
React: _react["default"],
|
|
@@ -92,13 +92,13 @@ var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
|
92
92
|
className: "".concat(prefix, "__operate-desc")
|
|
93
93
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
94
94
|
className: "".concat(prefix, "__operate-desc-wrapper")
|
|
95
|
-
}, (0, _getLocale.getLocale)(
|
|
95
|
+
}, (0, _getLocale.getLocale)('Mod_InChargeof'), (0, _getLocale.getLocale)('Menu_Title_Projects'), /*#__PURE__*/_react["default"].createElement("span", {
|
|
96
96
|
className: "".concat(prefix, "__object-name"),
|
|
97
97
|
onClick: handleClickTitle
|
|
98
98
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
|
|
99
99
|
text: (0, _tools.htmlDecodeByRegExp)(obj.objName),
|
|
100
100
|
isPercent: true
|
|
101
|
-
})), (0, _getLocale.getLocale)(
|
|
101
|
+
})), (0, _getLocale.getLocale)('Mod_smilestone')));
|
|
102
102
|
}, []);
|
|
103
103
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
104
104
|
className: prefix
|
|
@@ -115,7 +115,7 @@ var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
|
115
115
|
className: "".concat(prefix, "__content-title")
|
|
116
116
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
117
117
|
className: "".concat(prefix, "__content-title-type")
|
|
118
|
-
}, (0, _getLocale.getLocale)(
|
|
118
|
+
}, (0, _getLocale.getLocale)('Pro_page_Plan_Milestone')), /*#__PURE__*/_react["default"].createElement("span", {
|
|
119
119
|
className: "".concat(prefix, "__content-title-text")
|
|
120
120
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
|
|
121
121
|
isPercent: true,
|
|
@@ -128,7 +128,7 @@ var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
|
128
128
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
129
129
|
className: "".concat(prefix, "__content-status-text")
|
|
130
130
|
}, _constant.MileStoneStatusClass2StatusTypeText[status]), /*#__PURE__*/_react["default"].createElement("i", {
|
|
131
|
-
className: (0, _classnames["default"])(
|
|
131
|
+
className: (0, _classnames["default"])('tu-icon-deferred', "".concat(prefix, "__content-status-icon"))
|
|
132
132
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
133
133
|
className: "".concat(prefix, "__content-time-range")
|
|
134
134
|
}, startDate, "-", endDate)))));
|
|
@@ -51,7 +51,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
51
51
|
|
|
52
52
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
53
53
|
|
|
54
|
-
var prefix =
|
|
54
|
+
var prefix = 'titaui-dynamic-progress-item';
|
|
55
55
|
|
|
56
56
|
var DynamicProgress = function DynamicProgress(_ref) {
|
|
57
57
|
var data = _ref.data,
|
|
@@ -78,22 +78,22 @@ var DynamicProgress = function DynamicProgress(_ref) {
|
|
|
78
78
|
objId = obj.objId;
|
|
79
79
|
|
|
80
80
|
if (objType === _constant.EObjType.Kr) {
|
|
81
|
-
_drawerManager["default"].open(
|
|
81
|
+
_drawerManager["default"].open('krDetail', {
|
|
82
82
|
krId: objId
|
|
83
83
|
});
|
|
84
84
|
} else if (objType === _constant.EObjType.O) {
|
|
85
|
-
_drawerManager["default"].open(
|
|
85
|
+
_drawerManager["default"].open('okrDetail', {
|
|
86
86
|
okrId: objId
|
|
87
87
|
});
|
|
88
88
|
} else if (objType === _constant.EObjType.Task) {
|
|
89
|
-
window.Talent.app.vent.trigger(
|
|
89
|
+
window.Talent.app.vent.trigger('global-pull-screen', objId, 'task');
|
|
90
90
|
} else if (objType === _constant.EObjType.Project) {
|
|
91
91
|
window.open(window.location.href.replace(window.location.hash, "#work?iTalentNavCode=tita-work&work_id=".concat(objId)));
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
var handleClickOTitle = function handleClickOTitle() {
|
|
96
|
-
_drawerManager["default"].open(
|
|
96
|
+
_drawerManager["default"].open('okrDetail', {
|
|
97
97
|
okrId: relationParentId
|
|
98
98
|
});
|
|
99
99
|
};
|
|
@@ -104,7 +104,7 @@ var DynamicProgress = function DynamicProgress(_ref) {
|
|
|
104
104
|
if (obj && obj.objType === _constant.EObjType.Kr) {
|
|
105
105
|
dom = /*#__PURE__*/_react["default"].createElement("span", {
|
|
106
106
|
className: "".concat(prefix, "__obj-wrapper")
|
|
107
|
-
}, (0, _getLocale.getLocale)(
|
|
107
|
+
}, (0, _getLocale.getLocale)('Mod_Updated'), (0, _getLocale.getLocale)('Mod_Objective'), /*#__PURE__*/_react["default"].createElement("span", {
|
|
108
108
|
className: "".concat(prefix, "__object-name"),
|
|
109
109
|
onClick: handleClickOTitle
|
|
110
110
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
|
|
@@ -113,19 +113,19 @@ var DynamicProgress = function DynamicProgress(_ref) {
|
|
|
113
113
|
keyWord: searchKeyWord
|
|
114
114
|
}),
|
|
115
115
|
isPercent: true
|
|
116
|
-
})), (0, _getLocale.getLocale)(
|
|
116
|
+
})), (0, _getLocale.getLocale)('Mod_skeyrprogress'));
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
if (obj && obj.objType === _constant.EObjType.O) {
|
|
120
|
-
dom = "".concat((0, _getLocale.getLocale)(
|
|
120
|
+
dom = "".concat((0, _getLocale.getLocale)('Mod_Updated')).concat((0, _getLocale.getLocale)('Mod_objectiveprog'));
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
if (obj && obj.objType === _constant.EObjType.Task) {
|
|
124
|
-
dom = "".concat((0, _getLocale.getLocale)(
|
|
124
|
+
dom = "".concat((0, _getLocale.getLocale)('Mod_Updated')).concat((0, _getLocale.getLocale)('Data_Taskprogress'));
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
if (obj && obj.objType === _constant.EObjType.Project) {
|
|
128
|
-
dom = "".concat((0, _getLocale.getLocale)(
|
|
128
|
+
dom = "".concat((0, _getLocale.getLocale)('Mod_Updated')).concat((0, _getLocale.getLocale)('Mod_ProjectProgress'));
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -45,7 +45,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
45
45
|
|
|
46
46
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
47
47
|
|
|
48
|
-
var prefix =
|
|
48
|
+
var prefix = 'titaui-dynamic-reply-item';
|
|
49
49
|
|
|
50
50
|
var DynamicReply = function DynamicReply(_ref) {
|
|
51
51
|
var data = _ref.data,
|
|
@@ -58,25 +58,25 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
58
58
|
publishUser = data.publishUser;
|
|
59
59
|
|
|
60
60
|
var handleShowTaskDrawer = function handleShowTaskDrawer(taskId) {
|
|
61
|
-
window.Talent.app.vent.trigger(
|
|
61
|
+
window.Talent.app.vent.trigger('global-pull-screen', taskId, 'task');
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
var handleClickTitle = function handleClickTitle() {
|
|
65
65
|
if (data.replayObjType === _constant.EObjType.Kr) {
|
|
66
|
-
_drawerManager["default"].open(
|
|
66
|
+
_drawerManager["default"].open('krDetail', {
|
|
67
67
|
krId: data.replayObjId
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
if (data.replayObjType === _constant.EObjType.O) {
|
|
72
|
-
_drawerManager["default"].open(
|
|
72
|
+
_drawerManager["default"].open('okrDetail', {
|
|
73
73
|
okrId: data.replayObjId
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
var handleClickOTitle = function handleClickOTitle() {
|
|
79
|
-
_drawerManager["default"].open(
|
|
79
|
+
_drawerManager["default"].open('okrDetail', {
|
|
80
80
|
okrId: data.obj.objId
|
|
81
81
|
});
|
|
82
82
|
};
|
|
@@ -85,13 +85,13 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
85
85
|
var dom;
|
|
86
86
|
|
|
87
87
|
if (replayObjType === _constant.EObjType.O) {
|
|
88
|
-
dom =
|
|
88
|
+
dom = '的目标复盘';
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
if (replayObjType === _constant.EObjType.Kr) {
|
|
92
92
|
dom = /*#__PURE__*/_react["default"].createElement("span", {
|
|
93
93
|
className: "".concat(prefix, "__operate-desc-wrapper")
|
|
94
|
-
}, (0, _getLocale.getLocale)(
|
|
94
|
+
}, (0, _getLocale.getLocale)('Mod_Objective'), /*#__PURE__*/_react["default"].createElement("span", {
|
|
95
95
|
className: "".concat(prefix, "__object-name"),
|
|
96
96
|
onClick: handleClickOTitle
|
|
97
97
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
|
|
@@ -118,17 +118,17 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
118
118
|
}, /*#__PURE__*/_react["default"].createElement(_title["default"], {
|
|
119
119
|
content: data.replayObjName,
|
|
120
120
|
onClickTitle: handleClickTitle,
|
|
121
|
-
type: "".concat(data.replayObjType === 65 ?
|
|
122
|
-
typeBgColor: "".concat(data.replayObjType === 65 ?
|
|
123
|
-
titleBgColor: "".concat(data.replayObjType === 65 ?
|
|
124
|
-
contentColor: "".concat(data.replayObjType === 65 ?
|
|
121
|
+
type: "".concat(data.replayObjType === 65 ? 'KR' : (0, _getLocale.getLocale)('Mod_Objective')),
|
|
122
|
+
typeBgColor: "".concat(data.replayObjType === 65 ? 'rgba(90, 216, 166, 0.5)' : 'rgba(40, 121, 255, 0.5)'),
|
|
123
|
+
titleBgColor: "".concat(data.replayObjType === 65 ? 'rgba(90, 216, 166, 0.1)' : 'rgba(40, 121, 255, 0.1)'),
|
|
124
|
+
contentColor: "".concat(data.replayObjType === 65 ? '#5AD8A6' : '#2879FF')
|
|
125
125
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
126
126
|
className: "".concat(prefix, "__detail")
|
|
127
127
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
128
128
|
className: "".concat(prefix, "__detail-gain")
|
|
129
129
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
130
130
|
className: "".concat(prefix, "__detail-block-title")
|
|
131
|
-
}, (0, _getLocale.getLocale)(
|
|
131
|
+
}, (0, _getLocale.getLocale)('OKR_MyO_KRP_Pop_Value')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
132
|
className: "".concat(prefix, "__detail-block-content")
|
|
133
133
|
}, /*#__PURE__*/_react["default"].createElement(_searchKeyHandle["default"], {
|
|
134
134
|
str: (0, _tools.htmlDecodeByHtmlRegExp)(data.gains),
|
|
@@ -139,7 +139,7 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
139
139
|
className: "".concat(prefix, "__detail-drawback")
|
|
140
140
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
141
|
className: "".concat(prefix, "__detail-block-title")
|
|
142
|
-
}, (0, _getLocale.getLocale)(
|
|
142
|
+
}, (0, _getLocale.getLocale)('OKR_MyO_KRP_Pop_Problems'), " ", index + 1), /*#__PURE__*/_react["default"].createElement("div", {
|
|
143
143
|
className: "".concat(prefix, "__detail-block-content")
|
|
144
144
|
}, /*#__PURE__*/_react["default"].createElement(_searchKeyHandle["default"], {
|
|
145
145
|
str: (0, _tools.htmlDecodeByHtmlRegExp)(item.drawback),
|