@titaui/pc 1.11.51 → 1.11.52-beta.11
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/button/images/blue.svg +21 -0
- package/lib/components/button/images/red.svg +21 -0
- package/lib/components/button/images/white.svg +19 -0
- package/lib/components/button/rect-btn/index.js +3 -3
- package/lib/components/change-okr-modal/Item.js +19 -18
- package/lib/components/change-okr-modal/styledComponents.js +9 -9
- package/lib/components/checkbox/index.css +4 -0
- package/lib/components/contact-kefu/index.css +11 -1
- package/lib/components/contact-kefu/index.js +10 -4
- package/lib/components/create-okr-modal/createSuccessCmp.js +47 -19
- package/lib/components/create-okr-modal/fields/index.css +14 -3
- package/lib/components/create-okr-modal/fields/o-new-name.js +30 -19
- package/lib/components/create-okr-modal/fields/okr-parent.js +7 -5
- package/lib/components/create-okr-modal/index.js +200 -133
- package/lib/components/create-okr-modal/kr-items/index.css +23 -13
- package/lib/components/create-okr-modal/kr-items/krDatas.js +95 -76
- package/lib/components/create-okr-modal/kr-items/krItem.js +53 -56
- package/lib/components/create-okr-modal/style.js +5 -5
- package/lib/components/date-picker/BodyItem.js +3 -3
- package/lib/components/date-picker/CalendarHeader.js +3 -3
- package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
- package/lib/components/dynamic/constant.js +1 -1
- package/lib/components/dynamic/dynamic-item/components/feed-operate/index.js +8 -8
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +8 -8
- package/lib/components/dynamic/dynamic-list/index.js +14 -7
- package/lib/components/dynamic/index.js +9 -12
- package/lib/components/dynamic/request-api.js +7 -68
- package/lib/components/eReport/eReportLists/reportList.js +3 -3
- package/lib/components/emotions-selector/selector-pop.js +3 -3
- package/lib/components/ereport-list/index.js +3 -3
- package/lib/components/mblog/components/MblogAction.js +3 -3
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +11 -9
- package/lib/components/nav-top/components/menu/index.js +18 -16
- package/lib/components/nav-top/index.js +2 -2
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +1 -1
- package/lib/components/okr-detail/components/header/edit-name.js +86 -40
- package/lib/components/okr-detail/components/header/index.css +120 -41
- package/lib/components/okr-detail/components/header/index.js +36 -46
- package/lib/components/okr-detail/components/header/o-classify.js +152 -0
- package/lib/components/okr-detail/components/header/o-name.js +7 -5
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.css +58 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +159 -63
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +9 -9
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +15 -13
- package/lib/components/okr-detail/detail-header/index.js +8 -4
- package/lib/components/okr-detail/e-list/index.js +2 -2
- package/lib/components/okr-detail/okr-list/create-kr-item/index.css +17 -0
- package/lib/components/okr-detail/okr-list/create-kr-item/index.js +75 -53
- package/lib/components/okr-detail/request-apis.js +73 -69
- package/lib/components/okr-detail/schedule/components/kr-progress/index.js +3 -1
- package/lib/components/okr-detail/schedule/components/o-progress/index.js +34 -32
- package/lib/components/okr-detail/schedule/components/sub-o-progress/index.js +3 -1
- package/lib/components/okr-flow/child-node/kr-node.js +3 -1
- package/lib/components/okr-flow/child-node/work-node.js +3 -1
- package/lib/components/okr-progress/components/kr-progress/index.js +5 -3
- package/lib/components/okr-progress/components/o-progress/index.js +3 -1
- package/lib/components/okr-progress/components/sub-o-progress/index.js +3 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +3 -3
- package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
- package/lib/components/okr-share/common-painter/openDataPainter.js +9 -6
- package/lib/components/okr-share/common-painter/utils.js +183 -36
- package/lib/components/okr-share/index.css +5 -4
- package/lib/components/okr-share/pink-card/card.js +3 -3
- package/lib/components/okr-share/pink-card/drawKrs.js +93 -18
- package/lib/components/okr-share/pink-card/index.js +20 -12
- package/lib/components/open-data-painter/index.js +6 -5
- package/lib/components/period-selector/interface.js +7 -0
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +16 -10
- package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
- package/lib/components/rich-editor/models/schema.js +6 -6
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
- package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
- package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
- package/lib/components/rich-editor/plugins/core/index.js +4 -4
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
- package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
- package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
- package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
- package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
- package/lib/components/rich-editor/react/uiProvider.js +3 -3
- package/lib/components/rich-editor/ui/Popup/index.js +3 -3
- package/lib/components/search-input/index.css +1 -1
- package/lib/components/search-key-handle/index.js +9 -7
- package/lib/components/select/Option.js +3 -3
- package/lib/components/select-layer/index.css +1 -1
- package/lib/components/task-relation-modal/helper.js +139 -2
- package/lib/components/task-relation-modal/image/loading.gif +0 -0
- package/lib/components/task-relation-modal/index.js +9 -0
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.css +18 -0
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.js +262 -0
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/search-form.js +135 -0
- package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.css +0 -0
- package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.js +129 -0
- package/lib/components/task-relation-modal/okr-relation/request-api.js +106 -0
- package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.css +120 -0
- package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.js +185 -0
- package/lib/components/task-relation-modal/request-api.js +28 -2
- package/lib/components/task-relation-modal/search/okr-status-select.js +3 -3
- package/lib/components/task-relation-modal/search/principal.js +36 -19
- package/lib/components/task-relation-modal/search/search-dropdown/index.css +2 -1
- package/lib/components/task-relation-modal/search/search-dropdown/index.js +1 -1
- package/lib/components/{dynamic/dynamic-topping/index.js → task-relation-modal/search/task-relation.js} +45 -44
- package/lib/components/task-relation-modal/search/task-status-select.js +87 -0
- package/lib/components/{dynamic/dynamic-liking/index.js → task-relation-modal/search/work-relation.js} +43 -39
- package/lib/components/task-relation-modal/search/work-status-select.js +74 -0
- package/lib/components/task-relation-modal/tree/category-tree/index.css +3 -3
- package/lib/components/task-relation-modal/tree/okr-tree/index.css +1 -1
- package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +16 -2
- package/lib/components/task-relation-modal/tree/task-list/index.css +0 -0
- package/lib/components/task-relation-modal/tree/task-list/index.js +1 -0
- package/lib/components/task-relation-modal/tree/work-list/index.css +14 -0
- package/lib/components/task-relation-modal/tree/work-list/index.js +176 -0
- package/lib/components/task-relation-modal/tree/work-list/search-form.js +123 -0
- package/lib/components/task-relation-modal/tree/work-tree/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/category-node/index.css +1 -12
- 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 +4 -10
- 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-relation-modal/tree-node/o-node/index.js +8 -8
- package/lib/components/task-relation-modal/tree-node/work-node/index.js +3 -1
- package/lib/components/task-relation-modal/work-relation/index.css +0 -0
- package/lib/components/task-relation-modal/work-relation/index.js +256 -0
- package/lib/components/tita-chart/errorBoundary/index.js +3 -3
- package/lib/components/tooltip/index.js +3 -0
- package/lib/components/tooltip/tooltip-rows/index.css +26 -0
- package/lib/components/{dynamic/advertise → tooltip/tooltip-rows}/index.js +65 -85
- package/lib/components/user-selector/category-selector-panel/index.js +6 -1
- package/lib/components/{dynamic/quick-operation/components/create-task/index.js → user-selector/category-selector-panel/subordinate-tree.js} +37 -20
- package/lib/components/user-selector/constant.js +10 -2
- 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 +45 -17
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +3 -1
- package/lib/components/user-selector/images/no-auth.png +0 -0
- package/lib/components/user-selector/request-apis.js +28 -9
- package/lib/components/user-selector/searched-panel/index.js +21 -7
- package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +46 -18
- package/lib/components/wechat-btn/index.css +5 -1
- package/lib/components-v1/animate/AnimateChild.js +3 -3
- package/lib/components-v1/avatar/index.js +3 -3
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
- package/lib/components-v1/progress/CircleProgress.js +3 -3
- package/lib/components-v1/select/Option.js +3 -3
- package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
- package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
- package/lib/components-v1/userSelector/components/SingleMode.js +7 -5
- package/lib/components-v1/userSelector/components/UserItem.js +3 -3
- package/lib/pages/home/components/data-list/table/columns/krName.js +3 -1
- package/lib/pages/home/components/data-list/table/columns/okrName.js +4 -2
- package/lib/utils/open-data.js +213 -65
- package/lib/utils/planDataJson.js +11115 -0
- package/package.json +3 -2
- package/lib/components/dynamic/advertise/components/next-btn/index.css +0 -27
- package/lib/components/dynamic/advertise/components/next-btn/index.js +0 -32
- package/lib/components/dynamic/advertise/components/pre-btn/index.css +0 -26
- package/lib/components/dynamic/advertise/components/pre-btn/index.js +0 -32
- package/lib/components/dynamic/advertise/index.css +0 -21
- package/lib/components/dynamic/advertise/interface.js +0 -5
- package/lib/components/dynamic/advertise/util.js +0 -28
- package/lib/components/dynamic/components/dynamic-search-input/index.css +0 -81
- package/lib/components/dynamic/components/dynamic-search-input/index.js +0 -203
- package/lib/components/dynamic/components/first-level-tabs/index.css +0 -101
- package/lib/components/dynamic/components/first-level-tabs/index.js +0 -131
- package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +0 -23
- 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 +0 -146
- package/lib/components/dynamic/dynamic-like-ranking/index.js +0 -180
- package/lib/components/dynamic/dynamic-like-ranking/item.js +0 -105
- package/lib/components/dynamic/dynamic-like-ranking/mock.js +0 -84
- package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +0 -30
- package/lib/components/dynamic/dynamic-liking/index.css +0 -81
- package/lib/components/dynamic/dynamic-liking/item.js +0 -75
- package/lib/components/dynamic/dynamic-liking/mock.js +0 -83
- package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +0 -16
- package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +0 -30
- package/lib/components/dynamic/dynamic-topping/index.css +0 -141
- package/lib/components/dynamic/dynamic-topping/interface.js +0 -5
- package/lib/components/dynamic/dynamic-topping/item.js +0 -153
- package/lib/components/dynamic/dynamic-topping/request-api.js +0 -36
- package/lib/components/dynamic/dynamic.css +0 -173
- package/lib/components/dynamic/dynamic.js +0 -428
- package/lib/components/dynamic/export-module/index.js +0 -37
- package/lib/components/dynamic/img/dynamic-top.svg +0 -14
- 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 +0 -184
- package/lib/components/dynamic/my-team/index.js +0 -263
- package/lib/components/dynamic/my-team/request-api.js +0 -52
- package/lib/components/dynamic/my-team/util.js +0 -20
- package/lib/components/dynamic/new-ui.css +0 -192
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +0 -58
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +0 -68
- package/lib/components/dynamic/online-broadcast/data.js +0 -95
- package/lib/components/dynamic/online-broadcast/img/broadcast.svg +0 -14
- 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 +0 -46
- package/lib/components/dynamic/online-broadcast/index.js +0 -61
- package/lib/components/dynamic/online-broadcast/interfact.js +0 -5
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-okr/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-share/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-task/index.css +0 -25
- 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 +0 -51
- package/lib/components/dynamic/quick-operation/index.js +0 -120
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.okr-relation-tree__empty {
|
|
2
|
+
height: 384px;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
color: #A4ACB9;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.okr-relation-tree__header {
|
|
10
|
+
font-size: 12px;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
color: #A4ACB9;
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
margin-bottom: 11px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.okr-relation-tree__header-name {
|
|
20
|
+
width: 332px;
|
|
21
|
+
margin-left: 12px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.okr-relation-tree__header-status {
|
|
25
|
+
width: 60px;
|
|
26
|
+
margin-left: 40px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.okr-relation-tree__header-principer {
|
|
30
|
+
width: 60px;
|
|
31
|
+
margin-left: 40px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.okr-relation-tree__header-time {
|
|
35
|
+
width: 176px;
|
|
36
|
+
margin-left: 40px;
|
|
37
|
+
text-align: right;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.okr-relation-tree__header::after {
|
|
41
|
+
content: '';
|
|
42
|
+
display: block;
|
|
43
|
+
position: absolute;
|
|
44
|
+
bottom: -11px;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 1px;
|
|
47
|
+
background-color: #e9ecf0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.okr-relation-tree__content {
|
|
51
|
+
margin-right: -32px;
|
|
52
|
+
margin-left: -4px;
|
|
53
|
+
height: 305px;
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
line-height: 22px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.okr-relation-tree__content-item {
|
|
60
|
+
width: 776px;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: flex-start;
|
|
63
|
+
padding: 6px 4px;
|
|
64
|
+
border-radius: 8px;
|
|
65
|
+
margin-top: 12px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.okr-relation-tree__content-item:nth-of-type(1) {
|
|
69
|
+
margin-top: 9px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.okr-relation-tree__content-item:hover {
|
|
73
|
+
background-color: #f0f4fa;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.okr-relation-tree__content-item-name {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
display: -webkit-box;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
text-overflow: ellipsis;
|
|
81
|
+
word-break: break-all;
|
|
82
|
+
-webkit-box-orient: vertical;
|
|
83
|
+
-webkit-line-clamp: 2;
|
|
84
|
+
width: 332px;
|
|
85
|
+
margin-left: 12px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.okr-relation-tree__content-item-name:hover {
|
|
89
|
+
color: #2879ff;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.okr-relation-tree__content-item-name:focus-within {
|
|
93
|
+
color: red;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.okr-relation-tree__content-item-status {
|
|
97
|
+
width: 60px;
|
|
98
|
+
margin-left: 40px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.okr-relation-tree__content-item-principer {
|
|
102
|
+
width: 60px;
|
|
103
|
+
margin-left: 40px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.okr-relation-tree__content-item-time {
|
|
107
|
+
width: 176px;
|
|
108
|
+
margin-left: 40px;
|
|
109
|
+
text-align: right;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.okr-relation-tree__content-pagination {
|
|
113
|
+
margin-top: 14px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.okr-relation-tree__checkbox {
|
|
117
|
+
height: 22px;
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.TaskTree = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _checkbox = _interopRequireDefault(require("../../../../checkbox"));
|
|
11
|
+
|
|
12
|
+
var _helper = require("../../../helper");
|
|
13
|
+
|
|
14
|
+
var _openData = require("../../../../../utils/open-data");
|
|
15
|
+
|
|
16
|
+
var _tools = require("../../../../../utils/tools");
|
|
17
|
+
|
|
18
|
+
var _tooltipText = _interopRequireDefault(require("../../../../tooltip/tooltip-text"));
|
|
19
|
+
|
|
20
|
+
var _helpers = require("../../../../../utils/helpers");
|
|
21
|
+
|
|
22
|
+
var _scrollbar = _interopRequireDefault(require("../../../../scrollbar"));
|
|
23
|
+
|
|
24
|
+
var _radio = _interopRequireDefault(require("../../../radio"));
|
|
25
|
+
|
|
26
|
+
require("./index.css");
|
|
27
|
+
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
|
+
|
|
30
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
31
|
+
|
|
32
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
33
|
+
|
|
34
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
35
|
+
|
|
36
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
37
|
+
|
|
38
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
39
|
+
|
|
40
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
41
|
+
|
|
42
|
+
var preCls = 'okr-relation-tree';
|
|
43
|
+
|
|
44
|
+
var TaskTree = function TaskTree(_ref) {
|
|
45
|
+
var data = _ref.data,
|
|
46
|
+
selected = _ref.selected,
|
|
47
|
+
multiple = _ref.multiple,
|
|
48
|
+
setSelected = _ref.setSelected,
|
|
49
|
+
pageSize = _ref.pageSize,
|
|
50
|
+
_ref$isWork = _ref.isWork,
|
|
51
|
+
isWork = _ref$isWork === void 0 ? false : _ref$isWork;
|
|
52
|
+
var scrollStyle = {
|
|
53
|
+
height: '100%',
|
|
54
|
+
backgroundColor: 'transparent',
|
|
55
|
+
width: '100%'
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var handleName = function handleName(id) {
|
|
59
|
+
if (isWork) {
|
|
60
|
+
window.open("#work?work_id=".concat(id, "&to_user_id=").concat((0, _helpers.getLoginUserInfo)().Id, "&status=1"));
|
|
61
|
+
} else {
|
|
62
|
+
window.Talent.app.vent.trigger('global-pull-screen', id, 'task');
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
var handlerCheckAll = function handlerCheckAll(checked) {
|
|
67
|
+
if (checked) {
|
|
68
|
+
var ids = [];
|
|
69
|
+
data.forEach(function (item) {
|
|
70
|
+
var obj = {};
|
|
71
|
+
obj['id'] = item.id;
|
|
72
|
+
ids.push(obj);
|
|
73
|
+
});
|
|
74
|
+
setSelected(ids);
|
|
75
|
+
} else {
|
|
76
|
+
setSelected([]);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
var isSelectedAll = function isSelectedAll() {
|
|
81
|
+
if (selected.length === pageSize) {
|
|
82
|
+
return true;
|
|
83
|
+
} else {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
var onCheckHandler = function onCheckHandler(checked, id) {
|
|
89
|
+
if (checked) {
|
|
90
|
+
if (multiple) {
|
|
91
|
+
setSelected([{
|
|
92
|
+
id: id
|
|
93
|
+
}].concat(_toConsumableArray(selected)));
|
|
94
|
+
} else {
|
|
95
|
+
setSelected([{
|
|
96
|
+
id: id
|
|
97
|
+
}]);
|
|
98
|
+
}
|
|
99
|
+
} else {
|
|
100
|
+
if (multiple) {
|
|
101
|
+
var newArr = selected.filter(function (item) {
|
|
102
|
+
return item.id !== id;
|
|
103
|
+
});
|
|
104
|
+
setSelected(newArr);
|
|
105
|
+
} else {
|
|
106
|
+
setSelected([]);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
var hasId = function hasId(id) {
|
|
112
|
+
if (!id) return false;
|
|
113
|
+
return !!selected.find(function (item) {
|
|
114
|
+
return item.id === id;
|
|
115
|
+
});
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
if (!(data !== null && data !== void 0 && data.length)) return /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
|
+
className: "".concat(preCls, "__empty")
|
|
120
|
+
}, "\u6682\u65E0", isWork ? '项目' : '任务', "\u6570\u636E");
|
|
121
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
122
|
+
className: preCls
|
|
123
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
124
|
+
className: "".concat(preCls, "__header")
|
|
125
|
+
}, multiple && /*#__PURE__*/_react["default"].createElement("span", {
|
|
126
|
+
className: "".concat(preCls, "__checkbox")
|
|
127
|
+
}, /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
|
|
128
|
+
onChange: handlerCheckAll,
|
|
129
|
+
name: 'all',
|
|
130
|
+
checked: isSelectedAll()
|
|
131
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
132
|
+
className: "".concat(preCls, "__header-name")
|
|
133
|
+
}, isWork ? '项目' : '任务'), /*#__PURE__*/_react["default"].createElement("span", {
|
|
134
|
+
className: "".concat(preCls, "__header-status")
|
|
135
|
+
}, "\u72B6\u6001"), /*#__PURE__*/_react["default"].createElement("span", {
|
|
136
|
+
className: "".concat(preCls, "__header-principer")
|
|
137
|
+
}, "\u8D1F\u8D23\u4EBA"), /*#__PURE__*/_react["default"].createElement("span", {
|
|
138
|
+
className: "".concat(preCls, "__header-time")
|
|
139
|
+
}, "\u8D77\u6B62\u65F6\u95F4")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
140
|
+
className: "".concat(preCls, "__content")
|
|
141
|
+
}, /*#__PURE__*/_react["default"].createElement(_scrollbar["default"].Mask, {
|
|
142
|
+
style: scrollStyle,
|
|
143
|
+
maskHeight: 16
|
|
144
|
+
}, data.map(function (item) {
|
|
145
|
+
var _item$principalUser, _item$principalUser2, _item$principalUser3;
|
|
146
|
+
|
|
147
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
|
+
className: "".concat(preCls, "__content-item"),
|
|
149
|
+
key: item.id
|
|
150
|
+
}, multiple && /*#__PURE__*/_react["default"].createElement("span", {
|
|
151
|
+
className: "".concat(preCls, "__checkbox")
|
|
152
|
+
}, /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
|
|
153
|
+
onChange: onCheckHandler,
|
|
154
|
+
name: item.id,
|
|
155
|
+
checked: hasId(item.id)
|
|
156
|
+
})), !multiple && /*#__PURE__*/_react["default"].createElement("span", {
|
|
157
|
+
className: "".concat(preCls, "__checkbox")
|
|
158
|
+
}, /*#__PURE__*/_react["default"].createElement(_radio["default"], {
|
|
159
|
+
onChange: onCheckHandler,
|
|
160
|
+
id: item.id,
|
|
161
|
+
checked: hasId(item.id)
|
|
162
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
163
|
+
className: "".concat(preCls, "__content-item-name"),
|
|
164
|
+
onClick: function onClick() {
|
|
165
|
+
return handleName(item.id);
|
|
166
|
+
}
|
|
167
|
+
}, (0, _tools.htmlDecodeByRegExp)(item.name)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
168
|
+
className: "".concat(preCls, "__content-item-status")
|
|
169
|
+
}, item.status), /*#__PURE__*/_react["default"].createElement("div", {
|
|
170
|
+
className: "".concat(preCls, "__content-item-principer")
|
|
171
|
+
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
172
|
+
maxWidth: 60,
|
|
173
|
+
text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
174
|
+
name: (item === null || item === void 0 ? void 0 : (_item$principalUser = item.principalUser) === null || _item$principalUser === void 0 ? void 0 : _item$principalUser.name) || (item === null || item === void 0 ? void 0 : (_item$principalUser2 = item.principalUser) === null || _item$principalUser2 === void 0 ? void 0 : _item$principalUser2.Name),
|
|
175
|
+
id: item === null || item === void 0 ? void 0 : (_item$principalUser3 = item.principalUser) === null || _item$principalUser3 === void 0 ? void 0 : _item$principalUser3.userId
|
|
176
|
+
})
|
|
177
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
178
|
+
className: "".concat(preCls, "__content-item-time")
|
|
179
|
+
}, (0, _helper.formatDateStr)(item.startDate), " -", ' ', (0, _helper.formatDateStr)(item.endDate)));
|
|
180
|
+
}))));
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
exports.TaskTree = TaskTree;
|
|
184
|
+
var _default = TaskTree;
|
|
185
|
+
exports["default"] = _default;
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.updateLable = exports.relationWorks = exports.okrSearch = exports.getWorks = exports.getUserById = exports.getCategory = void 0;
|
|
6
|
+
exports.workData = exports.updateLable = exports.relationWorks = exports.okrSearch = exports.getWorks = exports.getUserById = exports.getCategory = void 0;
|
|
7
7
|
|
|
8
8
|
var _request = require("../../utils/request");
|
|
9
9
|
|
|
10
|
+
var _helpers = require("../../utils/helpers");
|
|
11
|
+
|
|
10
12
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
11
13
|
|
|
12
14
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -79,4 +81,28 @@ var getUserById = function getUserById(userId) {
|
|
|
79
81
|
});
|
|
80
82
|
};
|
|
81
83
|
|
|
82
|
-
exports.getUserById = getUserById;
|
|
84
|
+
exports.getUserById = getUserById;
|
|
85
|
+
|
|
86
|
+
var workData = function workData(params, pageNum, pageSize) {
|
|
87
|
+
var _params$keyWords2 = params.keyWords,
|
|
88
|
+
keyWords = _params$keyWords2 === void 0 ? "" : _params$keyWords2,
|
|
89
|
+
_params$status = params.status,
|
|
90
|
+
status = _params$status === void 0 ? 0 : _params$status,
|
|
91
|
+
_params$relation = params.relation,
|
|
92
|
+
relation = _params$relation === void 0 ? 0 : _params$relation,
|
|
93
|
+
userIds = params.userIds;
|
|
94
|
+
var url = "work/list?toUserId=".concat(userIds || (0, _helpers.getLoginUserInfo)().Id);
|
|
95
|
+
return (0, _request.rpost)("v1")(url, {
|
|
96
|
+
keyWords: keyWords,
|
|
97
|
+
orderType: 1,
|
|
98
|
+
pageNum: pageNum,
|
|
99
|
+
pageSize: pageSize,
|
|
100
|
+
relation: relation,
|
|
101
|
+
status: status,
|
|
102
|
+
userIds: userIds
|
|
103
|
+
}).then(function (res) {
|
|
104
|
+
return res;
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
exports.workData = workData;
|
|
@@ -37,7 +37,7 @@ function OkrStatusSelect(props) {
|
|
|
37
37
|
var onChange = props.onChange,
|
|
38
38
|
initValue = props.initValue;
|
|
39
39
|
|
|
40
|
-
var _useState = (0, _react.useState)((0, _getLocale.getLocale)("
|
|
40
|
+
var _useState = (0, _react.useState)((0, _getLocale.getLocale)("OKR_MyO_E_From_AllStates")),
|
|
41
41
|
_useState2 = _slicedToArray(_useState, 2),
|
|
42
42
|
selectText = _useState2[0],
|
|
43
43
|
setSelectText = _useState2[1];
|
|
@@ -48,13 +48,13 @@ function OkrStatusSelect(props) {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
var selectOptions = [{
|
|
51
|
-
label: (0, _getLocale.getLocale)("
|
|
51
|
+
label: (0, _getLocale.getLocale)("OKR_MyO_E_From_AllStates"),
|
|
52
52
|
value: 0
|
|
53
53
|
}, {
|
|
54
54
|
label: (0, _getLocale.getLocale)("Per_MyRe_text_Inprogress"),
|
|
55
55
|
value: 1
|
|
56
56
|
}, {
|
|
57
|
-
label: (0, _getLocale.getLocale)("
|
|
57
|
+
label: (0, _getLocale.getLocale)("Pro_page_Sta_Completed"),
|
|
58
58
|
value: 2
|
|
59
59
|
}];
|
|
60
60
|
return /*#__PURE__*/_react["default"].createElement(_selectLayer["default"], {
|
|
@@ -13,6 +13,8 @@ var _userSelector = _interopRequireDefault(require("../../user-selector"));
|
|
|
13
13
|
|
|
14
14
|
var _searchDropdown = _interopRequireDefault(require("./search-dropdown"));
|
|
15
15
|
|
|
16
|
+
var _openData = require("../../../utils/open-data");
|
|
17
|
+
|
|
16
18
|
var _getLocale = require("../../../utils/getLocale");
|
|
17
19
|
|
|
18
20
|
require("./search-dropdown/index.css");
|
|
@@ -41,7 +43,9 @@ function Principal(props) {
|
|
|
41
43
|
initValue = _props$initValue === void 0 ? [] : _props$initValue,
|
|
42
44
|
setRelation = props.setRelation,
|
|
43
45
|
_props$position = props.position,
|
|
44
|
-
position = _props$position === void 0 ?
|
|
46
|
+
position = _props$position === void 0 ? 'bottom' : _props$position,
|
|
47
|
+
_props$multiple = props.multiple,
|
|
48
|
+
multiple = _props$multiple === void 0 ? true : _props$multiple;
|
|
45
49
|
|
|
46
50
|
var _useState = (0, _react.useState)(initValue),
|
|
47
51
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -53,16 +57,24 @@ function Principal(props) {
|
|
|
53
57
|
isInit = _useState4[0],
|
|
54
58
|
setIsInit = _useState4[1];
|
|
55
59
|
|
|
56
|
-
var
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
var userSelectorRef = (0, _react.useRef)(document.createElement('div'));
|
|
61
|
+
|
|
62
|
+
var singleSelect = function singleSelect(users) {
|
|
63
|
+
var _users$;
|
|
60
64
|
|
|
61
|
-
|
|
65
|
+
if (multiple || !users || !((_users$ = users[0]) !== null && _users$ !== void 0 && _users$.data)) return;
|
|
66
|
+
var user = users[0];
|
|
67
|
+
var data = user.data;
|
|
68
|
+
setUsers([{
|
|
69
|
+
avatar: data.avatar,
|
|
70
|
+
name: data.name,
|
|
71
|
+
userId: data.userId
|
|
72
|
+
}]);
|
|
73
|
+
};
|
|
62
74
|
|
|
63
75
|
var onSelectUser = function onSelectUser(_ref) {
|
|
64
76
|
var users = _ref.users;
|
|
65
|
-
|
|
77
|
+
setUsers(users);
|
|
66
78
|
};
|
|
67
79
|
|
|
68
80
|
(0, _react.useEffect)(function () {
|
|
@@ -70,32 +82,37 @@ function Principal(props) {
|
|
|
70
82
|
}, []);
|
|
71
83
|
(0, _react.useEffect)(function () {
|
|
72
84
|
setRelation(0);
|
|
73
|
-
|
|
85
|
+
isInit && onChange(users);
|
|
86
|
+
}, [users]);
|
|
74
87
|
|
|
88
|
+
var renderName = function renderName() {
|
|
75
89
|
if (users.length > 0) {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
users.forEach(function (item, key) {
|
|
90
|
+
return users.map(function (item, key) {
|
|
79
91
|
if (key === users.length - 1) {
|
|
80
|
-
|
|
92
|
+
return /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
93
|
+
name: item.name,
|
|
94
|
+
id: item.userId
|
|
95
|
+
});
|
|
81
96
|
} else {
|
|
82
|
-
|
|
97
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
98
|
+
name: item.name,
|
|
99
|
+
id: item.userId
|
|
100
|
+
}), ",");
|
|
83
101
|
}
|
|
84
102
|
});
|
|
85
|
-
setSelectText(text);
|
|
86
103
|
} else {
|
|
87
|
-
|
|
104
|
+
return (0, _getLocale.getLocale)('Pro_page_Plan_Allpersonnel');
|
|
88
105
|
}
|
|
106
|
+
};
|
|
89
107
|
|
|
90
|
-
isInit && onChange(users);
|
|
91
|
-
}, [users]);
|
|
92
108
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
109
|
ref: userSelectorRef
|
|
94
110
|
}, /*#__PURE__*/_react["default"].createElement(_userSelector["default"], {
|
|
95
|
-
multiple:
|
|
111
|
+
multiple: multiple,
|
|
96
112
|
selectNodes: {
|
|
97
113
|
users: users
|
|
98
114
|
},
|
|
115
|
+
onSelect: singleSelect,
|
|
99
116
|
onOk: onSelectUser,
|
|
100
117
|
position: position,
|
|
101
118
|
disabledDepartSelect: true,
|
|
@@ -111,7 +128,7 @@ function Principal(props) {
|
|
|
111
128
|
popClass: "pull-screen-ignore"
|
|
112
129
|
}, /*#__PURE__*/_react["default"].createElement(_searchDropdown["default"], null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
113
130
|
className: "titaui-search-dropdown__principal-text"
|
|
114
|
-
},
|
|
131
|
+
}, renderName()))));
|
|
115
132
|
}
|
|
116
133
|
|
|
117
134
|
var _default = Principal;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
border: 1px solid #e9ecf0;
|
|
7
7
|
padding: 7px 28px 7px 12px;
|
|
8
8
|
position: relative;
|
|
9
|
-
border-radius:
|
|
9
|
+
border-radius: 16px;
|
|
10
10
|
font-size: 0;
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
transition: color 0.3s ease, border 0.3s ease;
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.titaui-search-dropdown .tu-icon-sort-down {
|
|
44
|
+
color: #6F7886;
|
|
44
45
|
font-size: 14px;
|
|
45
46
|
position: absolute;
|
|
46
47
|
right: 12px;
|
|
@@ -9,15 +9,11 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
-
|
|
14
|
-
var _item = _interopRequireDefault(require("./item"));
|
|
15
|
-
|
|
16
|
-
var _requestApi = require("./request-api");
|
|
17
|
-
|
|
18
12
|
var _getLocale = require("../../../utils/getLocale");
|
|
19
13
|
|
|
20
|
-
require("
|
|
14
|
+
var _selectLayer = _interopRequireDefault(require("../../select-layer"));
|
|
15
|
+
|
|
16
|
+
require("./search-dropdown/index.css");
|
|
21
17
|
|
|
22
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
19
|
|
|
@@ -37,46 +33,51 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
37
33
|
|
|
38
34
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
39
35
|
|
|
40
|
-
|
|
36
|
+
function Relation(props) {
|
|
37
|
+
var onChange = props.onChange,
|
|
38
|
+
initValue = props.initValue;
|
|
41
39
|
|
|
42
|
-
var
|
|
43
|
-
var _useState = (0, _react.useState)([]),
|
|
40
|
+
var _useState = (0, _react.useState)((0, _getLocale.getLocale)("Pro_page_Plan_FullRange")),
|
|
44
41
|
_useState2 = _slicedToArray(_useState, 2),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
var getData = function getData() {
|
|
49
|
-
(0, _requestApi.getDynamicTop)().then(function (res) {
|
|
50
|
-
if (res.Code === 1) {
|
|
51
|
-
setToppingData(res.Data);
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}; // @ts-ignore
|
|
55
|
-
|
|
42
|
+
selectText = _useState2[0],
|
|
43
|
+
setSelectText = _useState2[1];
|
|
56
44
|
|
|
57
|
-
window.reFreshDynamicTopping = getData;
|
|
58
45
|
(0, _react.useEffect)(function () {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
46
|
+
if (initValue === 0) {
|
|
47
|
+
setSelectText((0, _getLocale.getLocale)("Pro_page_Plan_FullRange"));
|
|
48
|
+
}
|
|
49
|
+
}, [initValue]);
|
|
50
|
+
|
|
51
|
+
var onChangeHandler = function onChangeHandler(key) {
|
|
52
|
+
setSelectText(key.label);
|
|
53
|
+
onChange(key.value);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
var selectOptions = [{
|
|
57
|
+
label: (0, _getLocale.getLocale)("Pro_page_Plan_FullRange"),
|
|
58
|
+
value: 0
|
|
59
|
+
}, {
|
|
60
|
+
label: (0, _getLocale.getLocale)("OKR_Menu_Title03_Owned"),
|
|
61
|
+
value: 1
|
|
62
|
+
}, {
|
|
63
|
+
label: (0, _getLocale.getLocale)("OKR_Menu_Title_Collaborator"),
|
|
64
|
+
value: 2
|
|
65
|
+
}, {
|
|
66
|
+
label: (0, _getLocale.getLocale)("Data_Idistributed"),
|
|
67
|
+
value: 3
|
|
68
|
+
}];
|
|
69
|
+
return /*#__PURE__*/_react["default"].createElement(_selectLayer["default"], {
|
|
70
|
+
onChangeSelect: onChangeHandler,
|
|
71
|
+
items: selectOptions,
|
|
72
|
+
initValue: initValue
|
|
64
73
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
-
className:
|
|
66
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
67
|
-
className:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
key: index,
|
|
75
|
-
refresh: getData,
|
|
76
|
-
data: item
|
|
77
|
-
});
|
|
78
|
-
}));
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
var _default = DynamicTop;
|
|
74
|
+
className: "titaui-search-dropdown"
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
76
|
+
className: "titaui-search-dropdown__text"
|
|
77
|
+
}, selectText), /*#__PURE__*/_react["default"].createElement("span", {
|
|
78
|
+
className: "tu-icon-sort-down"
|
|
79
|
+
})));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
var _default = Relation;
|
|
82
83
|
exports["default"] = _default;
|