@titaui/pc 1.12.16 → 1.12.17-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/attachments-preview/index.css +11 -0
- package/lib/components/attachments-preview/index.js +112 -0
- package/lib/components/auto-save/img/failed.svg +17 -0
- package/lib/components/auto-save/img/success.svg +16 -0
- package/lib/components/auto-save/index.css +39 -0
- package/lib/components/auto-save/index.js +78 -0
- package/lib/components/auto-save/interface.js +5 -0
- package/lib/components/color-date-picker/index.css +72 -0
- package/lib/components/color-date-picker/index.js +129 -0
- package/lib/components/color-date-picker/interface.js +14 -0
- package/lib/components/dialog-confirm/index.css +1 -0
- package/lib/components/dialog-confirm/index.js +5 -3
- package/lib/components/dialog-upload/img/doc.svg +1 -0
- package/lib/components/dialog-upload/img/other.svg +1 -0
- package/lib/components/dialog-upload/img/pdf.svg +1 -0
- package/lib/components/dialog-upload/img/ppt.svg +1 -0
- package/lib/components/dialog-upload/img/radio.svg +1 -0
- package/lib/components/dialog-upload/img/video.svg +1 -0
- package/lib/components/dialog-upload/img/xls.svg +1 -0
- package/lib/components/dialog-upload/index.css +77 -0
- package/lib/components/dialog-upload/index.js +332 -0
- package/lib/components/dialog-upload/type.js +35 -0
- package/lib/components/dialog-upload/uploaded-preview.css +77 -0
- package/lib/components/dialog-upload/uploaded-preview.js +132 -0
- package/lib/components/dialog-upload/util.js +131 -0
- package/lib/components/drawer/index.css +5 -5
- package/lib/components/drawer/index.js +7 -7
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/api.js +27 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/encourage.js +119 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/APP-shoucang-m.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/ascore.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curEfforts.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curGood.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curGreat.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/efforts.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/good.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/great.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/halfscore.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/loading.gif +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/score.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/top.svg +14 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/index.css +75 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/index.js +195 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/rate.js +143 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/index.js +1 -5
- package/lib/components/dynamic/dynamic-item/components/okr-progress/constant.js +31 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.css +171 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +152 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/request-api.js +10 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/utils.js +10 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.js +26 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.js +26 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.css +197 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +222 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/request-api.js +20 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/util.js +134 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.css +10 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.js +60 -0
- package/lib/components/dynamic/dynamic-item/components/progress/index.css +25 -0
- package/lib/components/dynamic/dynamic-item/components/progress/index.js +71 -0
- package/lib/components/dynamic/dynamic-item/components/progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.css +35 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.js +55 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/constant.js +45 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +166 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +359 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/operate-record.js +49 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.css +24 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +52 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.css +50 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.js +65 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/constant.js +16 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +201 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +170 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +27 -0
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/evaluate-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.css +68 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +50 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +43 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js +87 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/constant.js +45 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +184 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +267 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/util.js +30 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/index.css +1 -0
- package/lib/components/dynamic/dynamic-item/index.js +18 -5
- package/lib/components/dynamic/dynamic-list/index.js +4 -4
- package/lib/components/form/form-fields/date/index.js +8 -7
- package/lib/components/import-modal/helper.js +225 -0
- package/lib/components/import-modal/image/loading.gif +0 -0
- package/lib/components/import-modal/import-okr-modal/index.css +18 -0
- package/lib/components/import-modal/import-okr-modal/index.js +137 -0
- package/lib/components/import-modal/import-task-modal/index.css +18 -0
- package/lib/components/import-modal/import-task-modal/index.js +243 -0
- package/lib/components/import-modal/import-task-modal/search-form.js +141 -0
- package/lib/components/import-modal/index.css +30 -0
- package/lib/components/import-modal/index.js +20 -0
- package/lib/components/import-modal/radio.js +62 -0
- package/lib/components/import-modal/request-api.js +204 -0
- package/lib/components/import-modal/search/category-select.js +74 -0
- package/lib/components/import-modal/search/okr-classify-select.js +74 -0
- package/lib/components/import-modal/search/okr-status-select.js +74 -0
- package/lib/components/import-modal/search/okr-type-select.js +87 -0
- package/lib/components/import-modal/search/principal.js +135 -0
- package/lib/components/import-modal/search/relation.js +80 -0
- package/lib/components/import-modal/search/search-dropdown/index.css +50 -0
- package/lib/components/import-modal/search/search-dropdown/index.js +32 -0
- package/lib/components/import-modal/search/task-relation.js +80 -0
- package/lib/components/import-modal/search/task-status-select.js +87 -0
- package/lib/components/import-modal/search/work-relation.js +83 -0
- package/lib/components/import-modal/search/work-status-select.js +74 -0
- package/lib/components/import-modal/tree/okr-tree/index.css +61 -0
- package/lib/components/import-modal/tree/okr-tree/index.js +269 -0
- package/lib/components/import-modal/tree/okr-tree/search-form.js +169 -0
- package/lib/components/import-modal/tree/task-work-tree/index.css +124 -0
- package/lib/components/import-modal/tree/task-work-tree/index.js +190 -0
- package/lib/components/import-modal/tree-node/index.css +0 -0
- package/lib/components/import-modal/tree-node/index.js +51 -0
- package/lib/components/import-modal/tree-node/kr-node/index.css +65 -0
- package/lib/components/import-modal/tree-node/kr-node/index.js +112 -0
- package/lib/components/import-modal/tree-node/milestone-node/index.css +61 -0
- package/lib/components/import-modal/tree-node/milestone-node/index.js +118 -0
- package/lib/components/import-modal/tree-node/o-node/index.css +53 -0
- package/lib/components/import-modal/tree-node/o-node/index.js +142 -0
- package/lib/components/import-modal/tree-node/work-node/index.css +51 -0
- package/lib/components/import-modal/tree-node/work-node/index.js +108 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/caidan-enjoy.svg +14 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/my-setup.svg +18 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/my-zongjie.svg +15 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/zongjie-s.svg +15 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.css +120 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +22 -2
- package/lib/components/menus/components/menu-tree/tree-node/subordinates.js +78 -0
- package/lib/components/menus/components/menu-tree/tree-node/summary-share.js +78 -0
- package/lib/components/menus/export-modules/appraisal-menus/index.js +6 -6
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +70 -70
- package/lib/components/menus/export-modules/interview-menus/constant.js +12 -12
- package/lib/components/menus/export-modules/okr-menus/index.js +6 -6
- package/lib/components/menus/export-modules/okr-menus/menus.js +60 -60
- package/lib/components/menus/export-modules/okr-menus/okr-front-menus.js +2 -2
- package/lib/components/menus/export-modules/summary-menus/depart-menus/helper.js +56 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.css +32 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +231 -0
- package/lib/components/menus/export-modules/summary-menus/index.css +9 -0
- package/lib/components/menus/export-modules/summary-menus/index.js +136 -0
- package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +76 -0
- package/lib/components/menus/export-modules/summary-menus/menus.js +189 -0
- package/lib/components/menus/export-modules/summary-menus/request-api.js +17 -0
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/helper.js +28 -0
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.css +14 -0
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +201 -0
- package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +242 -0
- package/lib/components/menus/i18n.js +8 -0
- package/lib/components/menus/index.js +6 -0
- package/lib/components/menus/request-apis.js +8 -2
- package/lib/components/nav-top/components/app-center/index.js +9 -9
- package/lib/components/nav-top/components/menu/index.js +19 -15
- package/lib/components/nav-top/components/user-message/index.js +19 -19
- package/lib/components/nav-top/index.js +18 -18
- package/lib/components/new-confidence/constant.js +53 -0
- package/lib/components/new-confidence/img/1.svg +40 -0
- package/lib/components/new-confidence/img/10.svg +33 -0
- package/lib/components/new-confidence/img/2.svg +40 -0
- package/lib/components/new-confidence/img/3.svg +40 -0
- package/lib/components/new-confidence/img/4.svg +40 -0
- package/lib/components/new-confidence/img/5.svg +40 -0
- package/lib/components/new-confidence/img/6.svg +40 -0
- package/lib/components/new-confidence/img/7.svg +40 -0
- package/lib/components/new-confidence/img/8.svg +40 -0
- package/lib/components/new-confidence/img/9.svg +40 -0
- package/lib/components/new-confidence/index.css +62 -0
- package/lib/components/new-confidence/index.js +115 -0
- package/lib/components/new-confidence/interface.js +5 -0
- package/lib/components/okr-detail/components/header/o-avatar.js +6 -6
- package/lib/components/okr-flow/export-modal/index.css +3 -3
- package/lib/components/okr-flow/export-modal/index.js +1 -1
- package/lib/components/order-have-award/index.js +6 -6
- package/lib/components/period-selector/components/button/style.js +5 -5
- package/lib/components/picker/components/cross.svg +17 -0
- package/lib/components/picker/components/panels/date-panel/date-body.js +31 -19
- package/lib/components/picker/components/panels/date-panel/date-head.js +8 -8
- package/lib/components/picker/components/panels/date-panel/index.js +1 -1
- package/lib/components/picker/components/panels/month-panel/index.css +5 -0
- package/lib/components/picker/components/panels/month-panel/index.js +34 -4
- package/lib/components/picker/components/panels/month-panel/month-body.js +4 -5
- package/lib/components/picker/components/panels/month-panel/month-head.js +1 -1
- package/lib/components/picker/components/panels/week-panel/index.css +42 -0
- package/lib/components/picker/components/panels/week-panel/index.js +49 -0
- package/lib/components/picker/components/panels/week-panel/utils.js +124 -0
- package/lib/components/picker/components/panels/week-panel/week-body.js +71 -0
- package/lib/components/picker/components/panels/week-panel/week-head.js +80 -0
- package/lib/components/picker/components/panels/year-panel/index.css +5 -0
- package/lib/components/picker/components/panels/year-panel/index.js +34 -3
- package/lib/components/picker/components/panels/year-panel/year-body.js +10 -3
- package/lib/components/picker/components/picker-trigger/index.css +6 -1
- package/lib/components/picker/components/picker-trigger/index.js +16 -11
- package/lib/components/picker/context.js +17 -2
- package/lib/components/picker/index.css +29 -1
- package/lib/components/picker/index.js +3 -0
- package/lib/components/picker/picker-panels.js +98 -61
- package/lib/components/picker/picker.js +44 -30
- package/lib/components/picker/range-picker/components/picker-trigger/index.css +97 -0
- package/lib/components/picker/range-picker/components/picker-trigger/index.js +109 -0
- package/lib/components/picker/range-picker/components/placeholder/index.js +91 -0
- package/lib/components/picker/range-picker/components/select-input/index.js +72 -0
- package/lib/components/picker/range-picker/components/shortcuts/index.js +45 -0
- package/lib/components/picker/range-picker/index.css +158 -0
- package/lib/components/picker/range-picker/index.js +263 -0
- package/lib/components/picker/utils.js +168 -11
- package/lib/components/promise-confirm/index.css +0 -0
- package/lib/components/promise-confirm/index.js +117 -0
- package/lib/components/promise-confirm/interface.js +5 -0
- package/lib/components/rate/index.css +111 -0
- package/lib/components/rate/index.js +52 -0
- package/lib/components/regulation-setting-item/index.css +33 -0
- package/lib/components/regulation-setting-item/index.js +37 -0
- package/lib/components/rich-editor/schemas/list.js +0 -1
- package/lib/components/rich-editor-at/components/index.css +66 -0
- package/lib/components/rich-editor-at/components/index.js +189 -0
- package/lib/components/rich-editor-at/index.css +40 -0
- package/lib/components/rich-editor-at/index.js +113 -0
- package/lib/components/rich-editor-upload/index.css +11 -0
- package/lib/components/rich-editor-upload/index.js +87 -0
- package/lib/components/search-input/index.js +5 -0
- package/lib/components/select-tags/index.js +7 -1
- package/lib/components/task-relation-modal/helper.js +6 -6
- package/lib/components/task-relation-modal/request-api.js +9 -9
- package/lib/components/task-relation-modal/tree/work-tree/search-form.js +4 -4
- package/lib/components/task-relation-modal/tree-node/work-node/index.js +5 -5
- package/lib/components/textarea/index.js +7 -5
- package/lib/components/tooltip/tooltip.js +2 -2
- package/lib/components/user-selector/category-selector-panel/depart-tree.js +1 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +1 -1
- package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.css +3 -3
- package/lib/components/user-selector/request-apis.js +13 -13
- package/lib/components/write-summary-modal/index.css +79 -0
- package/lib/components/write-summary-modal/index.js +167 -0
- package/lib/components/write-summary-modal/interface.js +19 -0
- package/lib/components/write-summary-modal/request-api.js +18 -0
- package/lib/components/write-summary-modal/utils.js +31 -0
- package/lib/index.js +56 -0
- package/lib/pages/aha2021/index.js +3 -3
- package/lib/pages/aha2021/new-menu-switcher/index.js +4 -4
- package/lib/pages/aha2021/request-api.js +1 -1
- package/lib/utils/bs-global.js +1 -1
- package/lib/utils/constant.js +14 -2
- package/lib/utils/helpers.js +56 -11
- package/lib/utils/planDataJson.js +1 -0
- package/package.json +2 -1
|
@@ -68,7 +68,7 @@ var DynamicAssessment = function DynamicAssessment(_ref) {
|
|
|
68
68
|
data: data
|
|
69
69
|
}, restProps, {
|
|
70
70
|
desc: renderDesc,
|
|
71
|
-
user: data.principalUser
|
|
71
|
+
user: data.principalUser || data.publishUser
|
|
72
72
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
73
73
|
className: "".concat(prefix, "__content")
|
|
74
74
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -54,7 +54,8 @@ var DynamicKr = function DynamicKr(_ref) {
|
|
|
54
54
|
|
|
55
55
|
var name = data.name,
|
|
56
56
|
krId = data.krId,
|
|
57
|
-
principalUser = data.principalUser
|
|
57
|
+
principalUser = data.principalUser,
|
|
58
|
+
publishUser = data.publishUser;
|
|
58
59
|
|
|
59
60
|
var handleClickKrTitle = function handleClickKrTitle() {
|
|
60
61
|
_drawerManager["default"].open('krDetail', {
|
|
@@ -87,7 +88,7 @@ var DynamicKr = function DynamicKr(_ref) {
|
|
|
87
88
|
data: data
|
|
88
89
|
}, restProps, {
|
|
89
90
|
desc: renderDesc,
|
|
90
|
-
user: principalUser
|
|
91
|
+
user: principalUser || publishUser
|
|
91
92
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
92
93
|
className: "".concat(prefix, "__content")
|
|
93
94
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png
ADDED
|
Binary file
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.titaui-dynamic-summary__evalute-card {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
background: rgba(240, 163, 38, 0.12);
|
|
5
|
+
border-radius: 12px;
|
|
6
|
+
margin-top: 24px;
|
|
7
|
+
padding: 16px 8px 14px 16px;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.titaui-dynamic-summary__evalute-card__head {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
color: #3F4755;
|
|
16
|
+
line-height: 22px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.titaui-dynamic-summary__evalute-card__head-img {
|
|
20
|
+
width: 24px;
|
|
21
|
+
height: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.titaui-dynamic-summary__evalute-card__head-name {
|
|
25
|
+
margin: 0 8px 0 6px;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-dynamic-summary__evalute-card__head-rate {
|
|
30
|
+
margin-left: 4px;
|
|
31
|
+
color: #F0A326;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.titaui-dynamic-summary__evalute-card__head-medal {
|
|
35
|
+
position: relative;
|
|
36
|
+
height: 18px;
|
|
37
|
+
padding: 0 8px 0 16px;
|
|
38
|
+
background: rgba(246, 189, 22, 0.16);
|
|
39
|
+
border-radius: 0px 14px 14px 0px;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
font-family: OPPOSans-R, OPPOSans;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
color: #BD7500;
|
|
44
|
+
line-height: 18px;
|
|
45
|
+
margin-left: 20px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.titaui-dynamic-summary__evalute-card__head-medal-img {
|
|
49
|
+
position: absolute;
|
|
50
|
+
left: -12px;
|
|
51
|
+
top: -6px;
|
|
52
|
+
width: 24px;
|
|
53
|
+
height: 24px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.titaui-dynamic-summary__evalute-card__bgc-img {
|
|
57
|
+
position: absolute;
|
|
58
|
+
width: 82px;
|
|
59
|
+
height: 86px;
|
|
60
|
+
right: 8px;
|
|
61
|
+
top: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.titaui-dynamic-summary__evalute-card__remark {
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
color: #3F4755;
|
|
67
|
+
line-height: 22px;
|
|
68
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 _getLocale = require("../../../../../../utils/getLocale");
|
|
11
|
+
|
|
12
|
+
var _fighting = _interopRequireDefault(require("../../img/fighting.png"));
|
|
13
|
+
|
|
14
|
+
var _veryGoodBig = _interopRequireDefault(require("./img/very-good-big.png"));
|
|
15
|
+
|
|
16
|
+
var _veryGoodSmall = _interopRequireDefault(require("./img/very-good-small.png"));
|
|
17
|
+
|
|
18
|
+
require("./index.css");
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
var preCls = 'titaui-dynamic-summary__evalute-card';
|
|
23
|
+
|
|
24
|
+
var EvaluteCard = function EvaluteCard(props) {
|
|
25
|
+
// const { evaluation } = props
|
|
26
|
+
// const { value, type, remark } = evaluation
|
|
27
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
28
|
+
className: preCls
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
30
|
+
className: "".concat(preCls, "__head")
|
|
31
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
32
|
+
src: _fighting["default"],
|
|
33
|
+
className: "".concat(preCls, "__head-img")
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
35
|
+
className: "".concat(preCls, "__head-name")
|
|
36
|
+
}, "cnjsk"), (0, _getLocale.getLocale)('Rep_NewS_EvaluationOF'), /*#__PURE__*/_react["default"].createElement("div", {
|
|
37
|
+
className: "".concat(preCls, "__head-medal")
|
|
38
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
39
|
+
src: _veryGoodSmall["default"],
|
|
40
|
+
className: "".concat(preCls, "__head-medal-img")
|
|
41
|
+
}), "\u592A\u68D2\u4E86")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
42
|
+
className: "".concat(preCls, "__remark")
|
|
43
|
+
}, "mjncj"), /*#__PURE__*/_react["default"].createElement("img", {
|
|
44
|
+
src: _veryGoodBig["default"],
|
|
45
|
+
className: "".concat(preCls, "__bgc-img")
|
|
46
|
+
}));
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
var _default = EvaluteCard;
|
|
50
|
+
exports["default"] = _default;
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.titaui-dynamic-summary__remind-view {
|
|
2
|
+
margin-top: 24px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.titaui-dynamic-summary__remind-view .titaui-pc-avator-container {
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.titaui-dynamic-summary__remind-view__title {
|
|
10
|
+
font-size: 18px;
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
color: #141c28;
|
|
13
|
+
line-height: 26px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.titaui-dynamic-summary__remind-view__list {
|
|
17
|
+
margin-top: 16px;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
row-gap: 10px;
|
|
21
|
+
column-gap: 10px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.titaui-dynamic-summary__remind-view__user {
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
height: 32px;
|
|
28
|
+
background: #f0f4fa;
|
|
29
|
+
border-radius: 16px;
|
|
30
|
+
padding: 5px 8px 5px 4px;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
color: #3f4755;
|
|
34
|
+
line-height: 22px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.titaui-dynamic-summary__remind-view__user-avatar {
|
|
38
|
+
border-radius: 15px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.titaui-dynamic-summary__remind-view__user-name {
|
|
42
|
+
margin-left: 6px;
|
|
43
|
+
}
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
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 _getLocale = require("../../../../../../utils/getLocale");
|
|
13
|
+
|
|
14
|
+
var _fighting = _interopRequireDefault(require("../../img/fighting.png"));
|
|
15
|
+
|
|
16
|
+
require("./index.css");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
var preCls = 'titaui-dynamic-summary__remind-view';
|
|
21
|
+
var userInfo = [{
|
|
22
|
+
id: 0,
|
|
23
|
+
name: 'cnehbvh',
|
|
24
|
+
avatar: _fighting["default"]
|
|
25
|
+
}, {
|
|
26
|
+
id: 1,
|
|
27
|
+
name: 'cnehbvhcnehbvh',
|
|
28
|
+
avatar: _fighting["default"]
|
|
29
|
+
}, {
|
|
30
|
+
id: 2,
|
|
31
|
+
name: 'cnehbvh',
|
|
32
|
+
avatar: _fighting["default"]
|
|
33
|
+
}, {
|
|
34
|
+
id: 3,
|
|
35
|
+
name: 'cnehbvh',
|
|
36
|
+
avatar: _fighting["default"]
|
|
37
|
+
}, {
|
|
38
|
+
id: 4,
|
|
39
|
+
name: 'cnehbvh',
|
|
40
|
+
avatar: _fighting["default"]
|
|
41
|
+
}, {
|
|
42
|
+
id: 5,
|
|
43
|
+
name: 'cnehbvhcnehbvh',
|
|
44
|
+
avatar: _fighting["default"]
|
|
45
|
+
}, {
|
|
46
|
+
id: 6,
|
|
47
|
+
name: 'cnehbvh',
|
|
48
|
+
avatar: _fighting["default"]
|
|
49
|
+
}, {
|
|
50
|
+
id: 7,
|
|
51
|
+
name: 'cnehbvhcnehbvh',
|
|
52
|
+
avatar: _fighting["default"]
|
|
53
|
+
}, {
|
|
54
|
+
id: 8,
|
|
55
|
+
name: 'cnehbvh',
|
|
56
|
+
avatar: _fighting["default"]
|
|
57
|
+
}, {
|
|
58
|
+
id: 9,
|
|
59
|
+
name: 'cnehbvhcnehbvh',
|
|
60
|
+
avatar: _fighting["default"]
|
|
61
|
+
}];
|
|
62
|
+
|
|
63
|
+
var RemindUserView = function RemindUserView(props) {
|
|
64
|
+
var data = props.data;
|
|
65
|
+
if (!data || !data.length) return null;
|
|
66
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
+
className: preCls
|
|
68
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
+
className: "".concat(preCls, "__title")
|
|
70
|
+
}, (0, _getLocale.getLocale)('OKR_MyO_himher')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
71
|
+
className: "".concat(preCls, "__list")
|
|
72
|
+
}, data.map(function (item) {
|
|
73
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
74
|
+
className: "".concat(preCls, "__user")
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
|
76
|
+
userId: item.userId,
|
|
77
|
+
name: item.name,
|
|
78
|
+
src: item.avatar.medium,
|
|
79
|
+
color: item.avatar.color
|
|
80
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
81
|
+
className: "".concat(preCls, "__user-name")
|
|
82
|
+
}, item.name));
|
|
83
|
+
})));
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
var _default = RemindUserView;
|
|
87
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Motion = exports.EEmotionType = void 0;
|
|
7
|
+
|
|
8
|
+
var _fighting = _interopRequireDefault(require("./img/fighting.png"));
|
|
9
|
+
|
|
10
|
+
var _happy = _interopRequireDefault(require("./img/happy.png"));
|
|
11
|
+
|
|
12
|
+
var _longStory = _interopRequireDefault(require("./img/long-story.png"));
|
|
13
|
+
|
|
14
|
+
var _pressure = _interopRequireDefault(require("./img/pressure.png"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
var EEmotionType;
|
|
19
|
+
exports.EEmotionType = EEmotionType;
|
|
20
|
+
|
|
21
|
+
(function (EEmotionType) {
|
|
22
|
+
EEmotionType[EEmotionType["Unset"] = 0] = "Unset";
|
|
23
|
+
EEmotionType[EEmotionType["Happy"] = 1] = "Happy";
|
|
24
|
+
EEmotionType[EEmotionType["Fighting"] = 2] = "Fighting";
|
|
25
|
+
EEmotionType[EEmotionType["HardToPutWords"] = 3] = "HardToPutWords";
|
|
26
|
+
EEmotionType[EEmotionType["Stressful"] = 4] = "Stressful";
|
|
27
|
+
})(EEmotionType || (exports.EEmotionType = EEmotionType = {}));
|
|
28
|
+
|
|
29
|
+
var Motion = [{
|
|
30
|
+
id: EEmotionType.Unset,
|
|
31
|
+
img: ""
|
|
32
|
+
}, {
|
|
33
|
+
id: EEmotionType.Happy,
|
|
34
|
+
img: _happy["default"]
|
|
35
|
+
}, {
|
|
36
|
+
id: EEmotionType.Fighting,
|
|
37
|
+
img: _fighting["default"]
|
|
38
|
+
}, {
|
|
39
|
+
id: EEmotionType.HardToPutWords,
|
|
40
|
+
img: _longStory["default"]
|
|
41
|
+
}, {
|
|
42
|
+
id: EEmotionType.Stressful,
|
|
43
|
+
img: _pressure["default"]
|
|
44
|
+
}];
|
|
45
|
+
exports.Motion = Motion;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
.titaui-dynamic-new-report-item {
|
|
2
|
+
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.titaui-dynamic-new-report-item .titaui-dynamic-title__content-text {
|
|
6
|
+
cursor: default;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.titaui-dynamic-new-report-item .titaui-dynamic-title__content-text:hover {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.titaui-dynamic-new-report-item__content {
|
|
14
|
+
margin-left: 88px;
|
|
15
|
+
line-height: 24px;
|
|
16
|
+
word-wrap: break-word;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.titaui-dynamic-new-report-item__content-title {
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
width: 100%;
|
|
24
|
+
margin-bottom: 16px;
|
|
25
|
+
display: flex;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-dynamic-new-report-item__content-mind {
|
|
30
|
+
width: 44px;
|
|
31
|
+
height: 44px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.titaui-dynamic-new-report-item__content ul {
|
|
35
|
+
list-style-type: disc;
|
|
36
|
+
padding-left: 20px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.titaui-dynamic-new-report-item__content ol {
|
|
40
|
+
list-style-type: decimal;
|
|
41
|
+
padding-left: 20px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.titaui-dynamic-new-report-item__content li {
|
|
45
|
+
list-style-type: inherit;
|
|
46
|
+
margin: 5px 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.titaui-dynamic-new-report-item__content table td {
|
|
50
|
+
padding: 3px 5px;
|
|
51
|
+
min-width: 50px;
|
|
52
|
+
height: 20px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.titaui-dynamic-new-report-item__content p {
|
|
56
|
+
margin: 5px 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.titaui-dynamic-new-report-item__content blockquote {
|
|
60
|
+
display: block;
|
|
61
|
+
border-left: 4px solid #e3ecf1;
|
|
62
|
+
padding: 5px;
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.titaui-dynamic-new-report-item__content p,
|
|
67
|
+
.titaui-dynamic-new-report-item__content li {
|
|
68
|
+
line-height: 1.7;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.titaui-dynamic-new-report-item__content a {
|
|
72
|
+
word-wrap: break-word;
|
|
73
|
+
word-break: break-all;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.titaui-dynamic-new-report-item__content pre {
|
|
77
|
+
padding: 10px;
|
|
78
|
+
margin: 5px 0px;
|
|
79
|
+
font-size: 0.8em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.titaui-dynamic-new-report-item__content pre code {
|
|
83
|
+
line-height: 1.5;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.titaui-dynamic-new-report-item__upload {
|
|
87
|
+
margin-top: 24px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.titaui-dynamic-new-report-item__summary {
|
|
91
|
+
margin-bottom: 24px;
|
|
92
|
+
margin-top: 12px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.titaui-dynamic-new-report-item__block-title {
|
|
96
|
+
font-size: 14px;
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
color: #3f4755;
|
|
99
|
+
line-height: 22px;
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
margin-bottom: 8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.titaui-dynamic-new-report-item__block-title::before {
|
|
106
|
+
content: '';
|
|
107
|
+
display: inline-block;
|
|
108
|
+
width: 4px;
|
|
109
|
+
height: 12px;
|
|
110
|
+
background: #2879ff;
|
|
111
|
+
border-radius: 2px;
|
|
112
|
+
margin-right: 4px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.titaui-dynamic-new-report-item__content-text {
|
|
116
|
+
margin-left: 8px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.titaui-dynamic-new-report-item__complete-type {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
font-size: 12px;
|
|
123
|
+
line-height: 18px;
|
|
124
|
+
margin-left: 8px;
|
|
125
|
+
border-radius: 12px;
|
|
126
|
+
padding: 2px 8px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.titaui-dynamic-new-report-item__complete-type-icon {
|
|
130
|
+
margin-right: 4px;
|
|
131
|
+
display: inline-block;
|
|
132
|
+
width: 14px;
|
|
133
|
+
height: 14px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.titaui-dynamic-new-report-item__complete-type-icon--normal {
|
|
137
|
+
background: url("../../img/dynamic-submit-normal.svg") no-repeat;
|
|
138
|
+
background-size: 14px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.titaui-dynamic-new-report-item__complete-type-icon--delay {
|
|
142
|
+
background: url("../../img/dynamic-submit-delay.svg") no-repeat;
|
|
143
|
+
background-size: 14px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.titaui-dynamic-new-report-item__complete-type--normal {
|
|
147
|
+
color: #5ad8a6;
|
|
148
|
+
background-color: rgba(90, 216, 166, 0.16);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.titaui-dynamic-new-report-item__complete-type--delay {
|
|
152
|
+
color: #624dff;
|
|
153
|
+
background-color: rgba(98, 77, 255, 0.16);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.titaui-dynamic-new-report-item__complete-type--unsubmit {
|
|
157
|
+
color: #f05e5e;
|
|
158
|
+
background-color: rgba(240, 94, 94, 0.16);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.titaui-dynamic-new-report-item .highlight {
|
|
162
|
+
color: #f05e5e;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.titaui-dynamic-new-report-item__operate-desc {
|
|
166
|
+
font-size: 14px;
|
|
167
|
+
font-weight: 600;
|
|
168
|
+
color: #89919f;
|
|
169
|
+
line-height: 24px;
|
|
170
|
+
margin-left: 4px;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.titaui-dynamic-new-report-item__work {
|
|
175
|
+
margin-top: 24px;
|
|
176
|
+
font-size: 18px;
|
|
177
|
+
font-weight: 600;
|
|
178
|
+
color: #141c28;
|
|
179
|
+
line-height: 26px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.titaui-dynamic-new-report-item__work .tita-rich-editor {
|
|
183
|
+
min-height: auto;
|
|
184
|
+
}
|