@titaui/pc 1.15.89 → 1.15.90-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/avatar/name-avatar/index.css +1 -1
- package/lib/components/avatar/text-avatar/index.css +1 -1
- package/lib/components/book-demo/components/pc/components/content/index.js +8 -6
- package/lib/components/book-demo/components/pc/index.js +22 -18
- package/lib/components/book-demo/constant.js +115 -0
- package/lib/components/book-demo/interface.js +1 -0
- package/lib/components/change-okr-modal/Filter.js +3 -1
- package/lib/components/change-okr-modal/Item.js +3 -1
- package/lib/components/common-share/publishMblog.js +3 -1
- package/lib/components/common-share/request-apis.js +4 -2
- package/lib/components/communication/style.js +1 -1
- package/lib/components/confidence/index.css +4 -4
- package/lib/components/create-okr-modal/fields/index.css +6 -6
- package/lib/components/create-okr-modal/fields/okr-classify.js +3 -1
- package/lib/components/create-okr-modal/fields/okr-new-user-selector.js +4 -1
- package/lib/components/create-okr-modal/fields/okr-type.js +3 -1
- package/lib/components/create-okr-modal/index.css +6 -6
- package/lib/components/create-okr-modal/index.js +3 -1
- package/lib/components/create-okr-modal/kr-items/index.css +3 -3
- package/lib/components/create-okr-modal/request-api.js +4 -2
- package/lib/components/create-okr-modal/utils/helper.js +3 -1
- package/lib/components/dialog/index.css +2 -2
- package/lib/components/dialog-confirm/index.css +5 -5
- package/lib/components/dialog-confirm/index.js +3 -1
- package/lib/components/dynamic/components/comments-dialog/api.js +4 -2
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +11 -6
- package/lib/components/dynamic/dynamic-item/components/schedule/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.js +34 -7
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +0 -1
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/utils.js +2 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +8 -2
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-discovery/dynamic-footer.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/index.css +2 -2
- package/lib/components/dynamic/dynamic-item/index.js +4 -2
- package/lib/components/dynamic/dynamic-list/index.css +1 -1
- package/lib/components/dynamic/request-api.js +3 -1
- package/lib/components/e-priority/index.css +4 -4
- package/lib/components/eReport/eReportListEmpty.js +1 -1
- package/lib/components/eReport/eReportLists/style.js +2 -2
- package/lib/components/eReport/eReportShare/index.js +3 -1
- package/lib/components/edit-kr-wight/style/index.js +5 -5
- package/lib/components/emotions-selector/style.js +1 -1
- package/lib/components/ereport-list/style.js +2 -2
- package/lib/components/file-list/index.css +1 -1
- package/lib/components/form/form-fields/cycle/index.css +1 -1
- package/lib/components/form/form-fields/department/index.css +2 -2
- package/lib/components/form/form-fields/dropdown/index.js +2 -2
- package/lib/components/form/form-fields/duties/index.css +2 -2
- package/lib/components/form/form-fields/input/index.css +6 -2
- package/lib/components/form/form-fields/input/index.js +9 -7
- package/lib/components/form/form-fields/input-verification-code/index.css +2 -2
- package/lib/components/form/form-fields/password/index.css +2 -2
- package/lib/components/form/form-fields/textarea/index.css +2 -2
- package/lib/components/form/form-fields/user/index.css +2 -2
- package/lib/components/grid-layout/commen-components/index.css +1 -1
- package/lib/components/grid-layout/personal-info/index.js +4 -4
- package/lib/components/grid-layout/sub-employee-okr/index.js +3 -1
- package/lib/components/grid-layout/util/network.js +4 -2
- package/lib/components/grid-page/personal-info/index.js +4 -4
- package/lib/components/guide-tip/index.js +4 -1
- package/lib/components/help-card/index.js +3 -1
- package/lib/components/help-card/request-api.js +4 -2
- package/lib/components/hr-header/index.js +4 -2
- package/lib/components/img-viewer/index.css +1 -1
- package/lib/components/import-modal/helper.js +1 -1
- package/lib/components/import-modal/request-api.js +6 -2
- package/lib/components/import-modal/search/search-dropdown/index.css +1 -1
- package/lib/components/import-modal/tree/okr-tree/search-form.js +2 -2
- package/lib/components/import-modal/tree/task-work-tree/index.js +3 -1
- package/lib/components/import-modal/tree-node/kr-node/index.css +1 -1
- package/lib/components/import-modal/tree-node/milestone-node/index.css +1 -1
- package/lib/components/import-modal/tree-node/work-node/index.js +3 -1
- package/lib/components/magnet/index.js +5 -0
- package/lib/components/mblog/index.js +3 -1
- package/lib/components/menus/components/menu-card/index.js +3 -1
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +7 -5
- package/lib/components/menus/export-modules/okr-menus/menus.js +3 -1
- package/lib/components/menus/export-modules/okr-menus/subordinate-menus/index.js +3 -1
- package/lib/components/menus/export-modules/research-menu/index.css +9 -0
- package/lib/components/menus/export-modules/research-menu/index.js +120 -0
- package/lib/components/menus/export-modules/research-menu/menu-highlight.js +44 -0
- package/lib/components/menus/export-modules/research-menu/menus.js +78 -0
- package/lib/components/menus/export-modules/research-menu/research-front-menus.js +158 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/index.css +9 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/index.js +120 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/menu-highlight.js +52 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/menus.js +80 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/request-api.js +5 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/survey-front-menus.js +178 -0
- package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +8 -0
- package/lib/components/menus/export-modules/summary-menus/menus.js +13 -2
- package/lib/components/menus/export-modules/summary-menus/request-api.js +8 -2
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +3 -1
- package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +30 -8
- package/lib/components/menus/i18n.js +1 -0
- package/lib/components/menus/index.js +12 -0
- package/lib/components/menus/request-apis.js +4 -2
- package/lib/components/nav-top/components/app-center/images/research.png +0 -0
- package/lib/components/nav-top/components/app-center/index.css +11 -3
- package/lib/components/nav-top/components/app-center/index.js +13 -5
- package/lib/components/nav-top/components/menu/index.css +1 -1
- package/lib/components/nav-top/index.css +1 -1
- package/lib/components/nav-top/index.js +21 -11
- package/lib/components/nav-top/request.apis.js +6 -5
- package/lib/components/nav-top/utils.js +1 -1
- package/lib/components/okr-detail/base-info/base-info.css +1 -1
- package/lib/components/okr-detail/base-info/base-info.js +11 -15
- package/lib/components/okr-detail/base-info/other-infos/classify/index.css +1 -1
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.css +2 -2
- package/lib/components/okr-detail/base-info/other-infos/okr-type/index.css +1 -1
- package/lib/components/okr-detail/base-info/other-infos/principal/index.css +1 -1
- package/lib/components/okr-detail/base-info/other-infos/visibility/index.css +1 -1
- package/lib/components/okr-detail/components/ao-nice/index.css +1 -1
- package/lib/components/okr-detail/components/editable-input/index.css +1 -1
- package/lib/components/okr-detail/components/header/index.css +7 -7
- package/lib/components/okr-detail/components/icon-text/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.css +4 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/index.css +7 -7
- package/lib/components/okr-detail/components/okr-tree/tree-node/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.css +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.css +3 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.css +1 -1
- package/lib/components/okr-detail/components/score/index.css +1 -1
- package/lib/components/okr-detail/detail-footer/index.js +3 -1
- package/lib/components/okr-detail/detail-header/actions.js +3 -3
- package/lib/components/okr-detail/detail-header/index.js +3 -1
- package/lib/components/okr-detail/e-list/search-form/index.css +2 -2
- package/lib/components/okr-detail/index.js +6 -2
- package/lib/components/okr-detail/okr-list/empty/index.css +2 -2
- package/lib/components/okr-detail/okr-list/index.css +4 -4
- package/lib/components/okr-detail/request-apis.js +3 -1
- package/lib/components/okr-detail/schedule/components/detail-title/index.css +1 -1
- package/lib/components/okr-detail/schedule/components/kr-progress/index.css +2 -2
- package/lib/components/okr-detail/schedule/components/o-progress/index.css +7 -7
- package/lib/components/okr-detail/schedule/components/o-progress/index.js +6 -2
- package/lib/components/okr-detail/schedule/components/sub-o-progress/index.css +1 -1
- package/lib/components/okr-detail/schedule/components/title/index.css +1 -1
- package/lib/components/okr-detail/schedule/util.js +3 -1
- package/lib/components/okr-excel/setting.js +6 -4
- package/lib/components/okr-filter-drawer/filter-form.js +3 -1
- package/lib/components/okr-flow/child-node/index.css +2 -2
- package/lib/components/okr-flow/empty/index.css +1 -1
- package/lib/components/okr-flow/open-data/index.js +3 -1
- package/lib/components/okr-flow/request-apis.js +4 -2
- package/lib/components/okr-flow/utils/config.js +7 -3
- package/lib/components/okr-guide/index.css +15 -17
- package/lib/components/okr-guide/index.js +3 -1
- package/lib/components/okr-progress/components/detail-title/index.css +1 -1
- package/lib/components/okr-progress/components/kr-progress/index.css +2 -2
- package/lib/components/okr-progress/components/o-progress/index.css +7 -7
- package/lib/components/okr-progress/components/o-progress/index.js +6 -2
- package/lib/components/okr-progress/components/sub-o-progress/index.css +1 -1
- package/lib/components/okr-progress/components/title/index.css +1 -1
- package/lib/components/okr-progress/util.js +3 -1
- package/lib/components/okr-progress-detail/index.css +1 -1
- package/lib/components/okr-progress-modal/index.css +2 -2
- package/lib/components/okr-progress-modal/request-apis.js +4 -2
- package/lib/components/okr-review/common.js +1 -1
- package/lib/components/okr-share/publishMblog.js +3 -1
- package/lib/components/okr-share/request-apis.js +4 -2
- package/lib/components/okrcase-library/index.css +1 -1
- package/lib/components/okrcase-library/index.js +3 -1
- package/lib/components/operation-records/index.js +56 -8
- package/lib/components/order-have-award/index.js +6 -2
- package/lib/components/part-notice/index.js +5 -1
- package/lib/components/password-input/index.css +1 -1
- package/lib/components/period-selector/helper/index.js +3 -1
- package/lib/components/photo-card/components/card/index.css +3 -3
- package/lib/components/photo-card/index.css +1 -1
- package/lib/components/point-demo/index.js +9 -7
- package/lib/components/point-demo/point-demo.js +5 -3
- package/lib/components/promise-confirm/index.js +3 -2
- package/lib/components/search-dropdown/index.css +1 -1
- package/lib/components/select-layer/index.css +1 -1
- package/lib/components/select-tags/index.js +5 -3
- package/lib/components/status-time/index.css +1 -1
- package/lib/components/stop-taking-modal/index.js +3 -1
- package/lib/components/superset-charts/utils/axios.js +4 -2
- package/lib/components/survey-model/index.js +7 -7
- package/lib/components/survey-model/instance.js +4 -2
- package/lib/components/switch/index.css +1 -1
- package/lib/components/tabs/index.css +1 -1
- package/lib/components/task-relation-modal/helper.js +1 -1
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/search-form.js +2 -2
- package/lib/components/task-relation-modal/okr-relation/request-api.js +3 -1
- package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.js +3 -1
- package/lib/components/task-relation-modal/request-api.js +3 -1
- package/lib/components/task-relation-modal/search/search-dropdown/index.css +1 -1
- package/lib/components/task-relation-modal/tree/category-tree/index.css +3 -3
- package/lib/components/task-relation-modal/tree/okr-tree/index.css +2 -2
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +3 -1
- package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree/work-list/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree/work-tree/index.css +2 -2
- package/lib/components/task-relation-modal/tree/work-tree/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree-node/category-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/kr-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/work-node/index.js +3 -1
- package/lib/components/task-tree/task-item-node/index.css +5 -5
- package/lib/components/textarea/index.js +4 -2
- package/lib/components/tooltip/index.css +1 -1
- package/lib/components/upload/index.js +4 -2
- package/lib/components/upvote/request-apis.js +4 -2
- package/lib/components/user-selector/empty/group.js +4 -2
- package/lib/components/user-selector/request-apis.js +4 -2
- package/lib/components/version-change-modal/index.css +2 -2
- package/lib/components/version-change-modal/index.js +6 -2
- package/lib/components/video-modal/index.js +3 -1
- package/lib/components/weekly-report/card.js +9 -9
- package/lib/components/word-cloud/request-apis.js +4 -2
- package/lib/index.js +8 -0
- package/lib/pages/aha2021/index.js +9 -9
- package/lib/pages/appointment-demo/drop-down-box/index.css +1 -1
- package/lib/pages/appointment-demo/input/index.css +1 -1
- package/lib/pages/group-management/components/input-form/index.css +1 -1
- package/lib/pages/group-management/components/openData/index.js +9 -3
- package/lib/pages/group-management/groupInterface.js +10 -4
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +5 -3
- package/lib/pages/group-management/page-view/index.css +1 -1
- package/lib/pages/like-ranking/index.js +3 -1
- package/lib/pages/new-okr-list/header/index.js +10 -4
- package/lib/pages/new-okr-list/index.js +2 -41
- package/lib/pages/okr-map/export-modules/okr-map/header/index.css +3 -3
- package/lib/pages/okr-map/export-modules/okr-map/index.css +1 -1
- 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/index.css +1 -1
- package/lib/pages/okr-map/hooks/useStorage.js +3 -1
- package/lib/pages/okr-map/level2-search/index.css +1 -1
- package/lib/pages/okr-map/no-okr/index.css +1 -1
- package/lib/pages/okr-map/number-select/index.css +1 -1
- package/lib/pages/okr-map/open-data/index.js +3 -1
- package/lib/pages/okr-map/request-apis.js +4 -2
- package/lib/pages/okr-map/share-dialog/index.css +3 -3
- package/lib/pages/okr-map/unsupport-ie/index.css +1 -1
- package/lib/pages/okr-map/utils.js +10 -7
- package/lib/pages/personal-info/components/base-info/index.css +1 -1
- package/lib/pages/personal-info/components/person-photo/index.css +1 -1
- package/lib/utils/auth.js +22 -14
- package/lib/utils/bs-global.js +21 -8
- package/lib/utils/helpers.js +15 -5
- package/lib/utils/open-data.js +14 -6
- package/lib/utils/platform.js +15 -5
- package/lib/utils/request-v1.js +9 -3
- package/lib/utils/request.js +3 -3
- package/package.json +2 -3
|
@@ -96,8 +96,10 @@ function _taker() {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
function getApiUrl(url) {
|
|
99
|
+
var _getTenantInfo;
|
|
100
|
+
|
|
99
101
|
var uid = (0, _bsGlobal.getUserInfo)().Id;
|
|
100
|
-
var tid = (0, _bsGlobal.getTenantInfo)().Id;
|
|
102
|
+
var tid = (_getTenantInfo = (0, _bsGlobal.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.Id;
|
|
101
103
|
var apiServer = (0, _bsGlobal.getBSGlobal)("apiPath");
|
|
102
104
|
return "".concat(apiServer, "/api/v1/").concat(tid, "/").concat(uid, "/").concat(url);
|
|
103
105
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
.titaui-dialog .rc-dialog-title {
|
|
52
52
|
font-size: 18px;
|
|
53
|
-
font-family:
|
|
53
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
54
54
|
font-weight: 600;
|
|
55
55
|
color: #141c28;
|
|
56
56
|
line-height: 26px;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
.titaui-dialog__btn > span {
|
|
89
89
|
font-size: 14px;
|
|
90
|
-
font-family:
|
|
90
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
91
91
|
font-weight: 400;
|
|
92
92
|
line-height: 20px;
|
|
93
93
|
text-align: center;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
.titaui-dialog-confirm__btn-sure-text {
|
|
28
28
|
font-size: 14px;
|
|
29
|
-
font-family:
|
|
29
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
30
30
|
font-weight: 400;
|
|
31
31
|
line-height: 20px;
|
|
32
32
|
}
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
.titaui-dialog-confirm__btn-cancel-text {
|
|
46
46
|
font-size: 14px;
|
|
47
|
-
font-family:
|
|
47
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
48
48
|
font-weight: 400;
|
|
49
49
|
line-height: 22px;
|
|
50
50
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
.titaui-dialog-confirm__btn-warning-text {
|
|
73
73
|
font-size: 14px;
|
|
74
|
-
font-family:
|
|
74
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
75
75
|
font-weight: 400;
|
|
76
76
|
line-height: 20px;
|
|
77
77
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
|
|
118
118
|
.titaui-dialog-confirm__body-title-text {
|
|
119
119
|
font-size: 16px;
|
|
120
|
-
font-family:
|
|
120
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
121
121
|
font-weight: 600;
|
|
122
122
|
color: #141c28;
|
|
123
123
|
line-height: 24px;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
margin-top: 6px;
|
|
130
130
|
min-height: 34px;
|
|
131
131
|
font-size: 14px;
|
|
132
|
-
font-family:
|
|
132
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
133
133
|
font-weight: 400;
|
|
134
134
|
color: #6f7886;
|
|
135
135
|
line-height: 22px;
|
|
@@ -61,7 +61,9 @@ function WarningButton(props) {
|
|
|
61
61
|
children = props.children,
|
|
62
62
|
disabled = props.disabled;
|
|
63
63
|
|
|
64
|
-
var onClickHandler = function onClickHandler() {
|
|
64
|
+
var onClickHandler = function onClickHandler(e) {
|
|
65
|
+
e.stopPropagation();
|
|
66
|
+
|
|
65
67
|
if (!disabled) {
|
|
66
68
|
onClick();
|
|
67
69
|
}
|
|
@@ -7,9 +7,11 @@ exports.userId = exports.tenantId = exports.setSummaryEvaluate = exports.getSumm
|
|
|
7
7
|
|
|
8
8
|
var _request = require("@titaui/request");
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _window$BSGlobal, _window$BSGlobal$tena, _window$BSGlobal2, _window$BSGlobal2$log;
|
|
11
|
+
|
|
12
|
+
var tenantId = ((_window$BSGlobal = window.BSGlobal) === null || _window$BSGlobal === void 0 ? void 0 : (_window$BSGlobal$tena = _window$BSGlobal.tenantInfo) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.Id) || 0;
|
|
11
13
|
exports.tenantId = tenantId;
|
|
12
|
-
var userId = window.BSGlobal
|
|
14
|
+
var userId = ((_window$BSGlobal2 = window.BSGlobal) === null || _window$BSGlobal2 === void 0 ? void 0 : (_window$BSGlobal2$log = _window$BSGlobal2.loginUserInfo) === null || _window$BSGlobal2$log === void 0 ? void 0 : _window$BSGlobal2$log.Id) || 0; // 获取评价数据
|
|
13
15
|
|
|
14
16
|
exports.userId = userId;
|
|
15
17
|
|
|
@@ -9,6 +9,8 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
12
14
|
var _tooltip = _interopRequireDefault(require("../../../../tooltip"));
|
|
13
15
|
|
|
14
16
|
var _newConfidence = _interopRequireDefault(require("../../../../new-confidence"));
|
|
@@ -29,8 +31,6 @@ var _interface = require("../task-progress/interface");
|
|
|
29
31
|
|
|
30
32
|
require("./index.css");
|
|
31
33
|
|
|
32
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
33
|
-
|
|
34
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
35
35
|
|
|
36
36
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -58,7 +58,8 @@ var OkrProgress = function OkrProgress(_ref) {
|
|
|
58
58
|
var _rowsData$Rows, _rowsData$Rows2;
|
|
59
59
|
|
|
60
60
|
var data = _ref.data,
|
|
61
|
-
reportType = _ref.reportType
|
|
61
|
+
reportType = _ref.reportType,
|
|
62
|
+
title = _ref.title;
|
|
62
63
|
|
|
63
64
|
var _useState = (0, _react.useState)(),
|
|
64
65
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -120,7 +121,9 @@ var OkrProgress = function OkrProgress(_ref) {
|
|
|
120
121
|
})), /*#__PURE__*/_react["default"].createElement("td", null), /*#__PURE__*/_react["default"].createElement("td", {
|
|
121
122
|
className: "padding-td"
|
|
122
123
|
}, /*#__PURE__*/_react["default"].createElement(_schedule["default"], {
|
|
123
|
-
|
|
124
|
+
oldValue: item.LastRichContent || item.LastContent || '' // oldValue={item.LastRichContent || ""}
|
|
125
|
+
,
|
|
126
|
+
value: item.LastContents,
|
|
124
127
|
date: item.LastContentTime,
|
|
125
128
|
id: item.Id
|
|
126
129
|
})));
|
|
@@ -142,7 +145,9 @@ var OkrProgress = function OkrProgress(_ref) {
|
|
|
142
145
|
})), /*#__PURE__*/_react["default"].createElement("td", {
|
|
143
146
|
className: "padding-td"
|
|
144
147
|
}, /*#__PURE__*/_react["default"].createElement(_schedule["default"], {
|
|
145
|
-
|
|
148
|
+
oldValue: item.LastRichContent || item.LastContent || '' // oldValue={item.LastRichContent || ''}
|
|
149
|
+
,
|
|
150
|
+
value: item === null || item === void 0 ? void 0 : item.LastContents,
|
|
146
151
|
date: item.LastContentTime,
|
|
147
152
|
id: item.Id
|
|
148
153
|
})));
|
|
@@ -178,7 +183,7 @@ var OkrProgress = function OkrProgress(_ref) {
|
|
|
178
183
|
className: (0, _classnames["default"])("".concat(prefix, "__title-arrow"), _defineProperty({}, "".concat(prefix, "__title-arrow--show"), !tableVisible))
|
|
179
184
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
180
185
|
className: (0, _classnames["default"])('tu-icon-caret-down', "".concat(prefix, "__title-arrow-icon"), _defineProperty({}, "".concat(prefix, "__title-arrow-icon--rotate"), !tableVisible))
|
|
181
|
-
}))),
|
|
186
|
+
}))), title, /*#__PURE__*/_react["default"].createElement("div", {
|
|
182
187
|
className: "".concat(prefix, "__title-total")
|
|
183
188
|
}, rowsData === null || rowsData === void 0 ? void 0 : (_rowsData$Rows2 = rowsData.Rows) === null || _rowsData$Rows2 === void 0 ? void 0 : _rowsData$Rows2.length)), tableVisible && /*#__PURE__*/_react["default"].createElement("div", {
|
|
184
189
|
className: "".concat(prefix, "__table")
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
white-space: pre-wrap;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.titaui-dynamic-summary-schedule__content-richContent {
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
color: #141c28;
|
|
15
|
+
line-height: 22px;
|
|
16
|
+
white-space: pre-wrap;
|
|
17
|
+
margin-bottom: 30px;
|
|
18
|
+
}
|
|
19
|
+
|
|
12
20
|
.titaui-dynamic-summary-schedule__content-date {
|
|
13
21
|
font-size: 12px;
|
|
14
22
|
color: #89919f;
|
|
@@ -7,8 +7,12 @@ exports["default"] = exports.Schedule = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
11
|
+
|
|
10
12
|
var _scrollbar = _interopRequireDefault(require("../../../../scrollbar"));
|
|
11
13
|
|
|
14
|
+
var _openData = require("../../../../../utils/open-data");
|
|
15
|
+
|
|
12
16
|
require("./index.css");
|
|
13
17
|
|
|
14
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -16,24 +20,47 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
16
20
|
var prefix = "titaui-dynamic-summary-schedule";
|
|
17
21
|
|
|
18
22
|
var Schedule = function Schedule(_ref) {
|
|
19
|
-
var value = _ref.value
|
|
23
|
+
var value = _ref.value,
|
|
24
|
+
oldValue = _ref.oldValue;
|
|
20
25
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
21
26
|
className: prefix
|
|
22
27
|
}, /*#__PURE__*/_react["default"].createElement(_scrollbar["default"], {
|
|
23
28
|
style: {
|
|
24
29
|
maxHeight: 164
|
|
25
30
|
}
|
|
26
|
-
}, value && /*#__PURE__*/_react["default"].createElement("div", {
|
|
31
|
+
}, (value === null || value === void 0 ? void 0 : value.length) !== 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
27
32
|
className: "".concat(prefix, "__content")
|
|
28
|
-
},
|
|
29
|
-
|
|
33
|
+
}, value === null || value === void 0 ? void 0 : value.map(function (val) {
|
|
34
|
+
if (!val.EntityId) return /*#__PURE__*/_react["default"].createElement("div", {
|
|
35
|
+
className: "".concat(prefix, "__content-richContent")
|
|
36
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
37
|
+
dangerouslySetInnerHTML: {
|
|
38
|
+
__html: val === null || val === void 0 ? void 0 : val.RichContent
|
|
39
|
+
}
|
|
40
|
+
}));
|
|
41
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
42
|
+
className: "".concat(prefix, "__content-text")
|
|
43
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
|
+
className: "".concat(prefix, "__content-title")
|
|
45
|
+
}, (0, _moment["default"])((val === null || val === void 0 ? void 0 : val.startDate) || '').format('YYYY/MM/DD') === (0, _moment["default"])((val === null || val === void 0 ? void 0 : val.endDate) || '').format('YYYY/MM/DD') && /*#__PURE__*/_react["default"].createElement("span", null, (0, _moment["default"])(val === null || val === void 0 ? void 0 : val.startDate).format('YYYY/MM/DD')), (0, _moment["default"])(val === null || val === void 0 ? void 0 : val.startDate).format('YYYY/MM/DD') !== (0, _moment["default"])(val === null || val === void 0 ? void 0 : val.endDate).format('YYYY/MM/DD') && /*#__PURE__*/_react["default"].createElement("span", null, (0, _moment["default"])((val === null || val === void 0 ? void 0 : val.startDate) || '').format('YYYY/MM/DD'), " - ", (0, _moment["default"])((val === null || val === void 0 ? void 0 : val.endDate) || '').format('YYYY/MM/DD')), "\xA0", /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
46
|
+
id: val.UserId,
|
|
47
|
+
name: val === null || val === void 0 ? void 0 : val.UserName
|
|
48
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
+
className: "".concat(prefix, "__content-richContent")
|
|
50
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
51
|
+
dangerouslySetInnerHTML: {
|
|
52
|
+
__html: val === null || val === void 0 ? void 0 : val.RichContent
|
|
53
|
+
}
|
|
54
|
+
})));
|
|
55
|
+
})), (!value || (value === null || value === void 0 ? void 0 : value.length) === 0) && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, oldValue ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
+
className: "".concat(prefix, "__content-richContent")
|
|
30
57
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
58
|
dangerouslySetInnerHTML: {
|
|
32
|
-
__html:
|
|
59
|
+
__html: oldValue
|
|
33
60
|
}
|
|
34
|
-
}))
|
|
61
|
+
})) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
35
62
|
className: "".concat(prefix, "__no-progress")
|
|
36
|
-
}, "-")));
|
|
63
|
+
}, "-"))));
|
|
37
64
|
};
|
|
38
65
|
|
|
39
66
|
exports.Schedule = Schedule;
|
|
@@ -160,7 +160,6 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
160
160
|
departmentName = _ref3.departmentName,
|
|
161
161
|
departmentId = _ref3.departmentId;
|
|
162
162
|
|
|
163
|
-
console.log('visibilityScope', visibilityScope);
|
|
164
163
|
var departmentsRender = (0, _react.useMemo)(function () {
|
|
165
164
|
return (departments === null || departments === void 0 ? void 0 : departments.length) !== 0 && departments.map(function (item, index) {
|
|
166
165
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_openData.OpenDepartmentName, {
|
|
@@ -47,7 +47,8 @@ var prefix = 'titaui-dynamic-task-progress';
|
|
|
47
47
|
|
|
48
48
|
var TaskProgress = function TaskProgress(_ref) {
|
|
49
49
|
var data = _ref.data,
|
|
50
|
-
reportType = _ref.reportType
|
|
50
|
+
reportType = _ref.reportType,
|
|
51
|
+
title = _ref.title;
|
|
51
52
|
|
|
52
53
|
var _useState = (0, _react.useState)({
|
|
53
54
|
1: [],
|
|
@@ -173,7 +174,7 @@ var TaskProgress = function TaskProgress(_ref) {
|
|
|
173
174
|
className: (0, _classnames["default"])("".concat(prefix, "__title-arrow"), _defineProperty({}, "".concat(prefix, "__title-arrow--show"), !tableVisible))
|
|
174
175
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
175
176
|
className: (0, _classnames["default"])('tu-icon-caret-down', "".concat(prefix, "__title-arrow-icon"), _defineProperty({}, "".concat(prefix, "__title-arrow-icon--rotate"), !tableVisible))
|
|
176
|
-
}))),
|
|
177
|
+
}))), title), statusStatistic.done + statusStatistic.doing + statusStatistic.overDue > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
177
178
|
className: (0, _classnames["default"])("".concat(prefix, "__statistic"), _defineProperty({}, "".concat(prefix, "__statistic--hide"), !tableVisible))
|
|
178
179
|
}, statusStatistic.done > 0 && /*#__PURE__*/_react["default"].createElement("span", {
|
|
179
180
|
onClick: handleFilterDone,
|
|
@@ -35,8 +35,12 @@ var RenderRow = function RenderRow(_ref) {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
var render = function render() {
|
|
38
|
+
var _item$LastRichContent;
|
|
39
|
+
|
|
40
|
+
console.log('LastRichContent', item === null || item === void 0 ? void 0 : (_item$LastRichContent = item.LastRichContent) === null || _item$LastRichContent === void 0 ? void 0 : _item$LastRichContent.trim());
|
|
41
|
+
|
|
38
42
|
if (item.IsImport) {
|
|
39
|
-
var _item$
|
|
43
|
+
var _item$LastRichContent2;
|
|
40
44
|
|
|
41
45
|
return /*#__PURE__*/_react["default"].createElement("tr", null, /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
42
46
|
className: "".concat(prefix, "__table-row-title"),
|
|
@@ -58,7 +62,9 @@ var RenderRow = function RenderRow(_ref) {
|
|
|
58
62
|
value: item.Progress,
|
|
59
63
|
editable: false
|
|
60
64
|
})), /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement(_schedule["default"], {
|
|
61
|
-
|
|
65
|
+
oldValue: (item === null || item === void 0 ? void 0 : (_item$LastRichContent2 = item.LastRichContent) === null || _item$LastRichContent2 === void 0 ? void 0 : _item$LastRichContent2.trim()) || (item === null || item === void 0 ? void 0 : item.LastContent) || "" // oldValue={item?.LastRichContent?.trim() || ""}
|
|
66
|
+
,
|
|
67
|
+
value: item.LastContents,
|
|
62
68
|
editable: false,
|
|
63
69
|
id: item.Id
|
|
64
70
|
})));
|
|
@@ -122,8 +122,10 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
122
122
|
var actionName = "";
|
|
123
123
|
|
|
124
124
|
if (type) {
|
|
125
|
-
var
|
|
126
|
-
|
|
125
|
+
var _getBSGlobal3, _getBSGlobal4;
|
|
126
|
+
|
|
127
|
+
var avatar = (_getBSGlobal3 = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal3 === void 0 ? void 0 : _getBSGlobal3.UserAvatar;
|
|
128
|
+
var name = (_getBSGlobal4 = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal4 === void 0 ? void 0 : _getBSGlobal4.Name;
|
|
127
129
|
avatar.color = avatar.Color;
|
|
128
130
|
avatar.medium = avatar.Medium;
|
|
129
131
|
var parseUser = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.titaui-dynamic-align-item {
|
|
2
2
|
position: relative;
|
|
3
|
-
font-family:
|
|
3
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.titaui-dynamic-align-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-announcement-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-announcement-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-assessment-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-assessment-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-create-o-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-create-o-item__content {
|
|
@@ -122,8 +122,10 @@ var DynamicFooter = function DynamicFooter(_ref) {
|
|
|
122
122
|
var actionName = "";
|
|
123
123
|
|
|
124
124
|
if (type) {
|
|
125
|
-
var
|
|
126
|
-
|
|
125
|
+
var _getBSGlobal3, _getBSGlobal4;
|
|
126
|
+
|
|
127
|
+
var avatar = (_getBSGlobal3 = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal3 === void 0 ? void 0 : _getBSGlobal3.UserAvatar;
|
|
128
|
+
var name = (_getBSGlobal4 = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal4 === void 0 ? void 0 : _getBSGlobal4.Name;
|
|
127
129
|
avatar.color = avatar.Color;
|
|
128
130
|
avatar.medium = avatar.Medium;
|
|
129
131
|
var parseUser = {
|
|
@@ -28,6 +28,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
28
28
|
var preCls = "titaui-dynamic-interview-share";
|
|
29
29
|
|
|
30
30
|
function DynamicInterviewShare(_ref) {
|
|
31
|
+
var _window$BSGlobal$logi;
|
|
32
|
+
|
|
31
33
|
var data = _ref.data,
|
|
32
34
|
onDeleteFeed = _ref.onDeleteFeed,
|
|
33
35
|
_ref$hasDynamicOperea = _ref.hasDynamicOpereateAuth,
|
|
@@ -35,7 +37,7 @@ function DynamicInterviewShare(_ref) {
|
|
|
35
37
|
var publishUser = data.publishUser,
|
|
36
38
|
content = data.content,
|
|
37
39
|
shareFeedSource = data.shareFeedSource;
|
|
38
|
-
var isPublisher = data.publishUser.userId === window.BSGlobal.loginUserInfo.Id;
|
|
40
|
+
var isPublisher = data.publishUser.userId === ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id);
|
|
39
41
|
var renderDesc = (0, _react.useMemo)(function () {
|
|
40
42
|
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
41
43
|
className: "".concat(preCls, "__operate-desc")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-kr-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-kr-item__content {
|
|
@@ -57,6 +57,8 @@ var prefix = "titaui-dynamic-share-to-dynamic";
|
|
|
57
57
|
var userId = (0, _bsGlobal.getUserInfo)().Id;
|
|
58
58
|
|
|
59
59
|
var DynamicLearning = function DynamicLearning(_ref) {
|
|
60
|
+
var _window$BSGlobal$logi;
|
|
61
|
+
|
|
60
62
|
var data = _ref.data,
|
|
61
63
|
_ref$hasDynamicOperea = _ref.hasDynamicOpereateAuth,
|
|
62
64
|
hasDynamicOpereateAuth = _ref$hasDynamicOperea === void 0 ? false : _ref$hasDynamicOperea,
|
|
@@ -66,7 +68,7 @@ var DynamicLearning = function DynamicLearning(_ref) {
|
|
|
66
68
|
searchKeyWord = _useContext.searchKeyWord;
|
|
67
69
|
|
|
68
70
|
var contentRef = (0, _react.useRef)();
|
|
69
|
-
var isPublisher = data.publishUser.userId === window.BSGlobal.loginUserInfo.Id;
|
|
71
|
+
var isPublisher = data.publishUser.userId === ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id);
|
|
70
72
|
|
|
71
73
|
var _useState = (0, _react.useState)(),
|
|
72
74
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.titaui-dynamic-milestone-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-new-report-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-new-report-item .titaui-dynamic-title__content-text {
|
|
@@ -207,7 +207,7 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
207
207
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, ((item === null || item === void 0 ? void 0 : item.richContent) || !(0, _util.isEmptyImage)(item === null || item === void 0 ? void 0 : item.richContent)) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
208
208
|
className: "".concat(prefix, "__work"),
|
|
209
209
|
key: item.richContent || Math.random()
|
|
210
|
-
}, item.title
|
|
210
|
+
}, item.title, /*#__PURE__*/_react["default"].createElement(_richEditor["default"], {
|
|
211
211
|
plugins: templateRichPlugins({}, edit, delAble, undefined, newTaskLine)
|
|
212
212
|
}, /*#__PURE__*/_react["default"].createElement(_richEditor.EditorComponent, {
|
|
213
213
|
editable: false,
|
|
@@ -219,6 +219,7 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
219
219
|
if (item.contentType === _constant.dailyContentType.okr) {
|
|
220
220
|
return item.content && /*#__PURE__*/_react["default"].createElement(_okrProgress["default"], {
|
|
221
221
|
data: item.content,
|
|
222
|
+
title: item.title,
|
|
222
223
|
reportType: data.reportType
|
|
223
224
|
});
|
|
224
225
|
}
|
|
@@ -226,6 +227,7 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
226
227
|
if (item.contentType === _constant.dailyContentType.task) {
|
|
227
228
|
return item.content && /*#__PURE__*/_react["default"].createElement(_taskProgress["default"], {
|
|
228
229
|
data: item.content,
|
|
230
|
+
title: item.title,
|
|
229
231
|
reportType: data.reportType
|
|
230
232
|
});
|
|
231
233
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.titaui-dynamic-okrs-communication-item__content {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.titaui-dynamic-plan-communication-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-progress-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-progress-item__content {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.titaui-dynamic-project-item__content {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.titaui-dynamic-relative-item {
|
|
2
2
|
position: relative;
|
|
3
|
-
font-family:
|
|
3
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.titaui-dynamic-relative-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-reply-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-reply-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-report-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-report-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-reward-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-reward-item__content {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-dynamic-share-item {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-share-item__content {
|
|
@@ -48,6 +48,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
48
48
|
var prefix = "titaui-dynamic-share-item";
|
|
49
49
|
|
|
50
50
|
var DynamicShare = function DynamicShare(_ref) {
|
|
51
|
+
var _window$BSGlobal$logi;
|
|
52
|
+
|
|
51
53
|
var data = _ref.data,
|
|
52
54
|
_ref$dynamicShareIsSh = _ref.dynamicShareIsShowToping,
|
|
53
55
|
dynamicShareIsShowToping = _ref$dynamicShareIsSh === void 0 ? true : _ref$dynamicShareIsSh,
|
|
@@ -61,7 +63,7 @@ var DynamicShare = function DynamicShare(_ref) {
|
|
|
61
63
|
searchKeyWord = _useContext.searchKeyWord;
|
|
62
64
|
|
|
63
65
|
var contentRef = (0, _react.useRef)();
|
|
64
|
-
var isPublisher = data.publishUser.userId === window.BSGlobal.loginUserInfo.Id;
|
|
66
|
+
var isPublisher = data.publishUser.userId === ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id);
|
|
65
67
|
var renderDesc = (0, _react.useMemo)(function () {
|
|
66
68
|
var text = (0, _getLocale.getLocale)("Mod_postedshare"); // const { obj } = data;
|
|
67
69
|
// if (obj && obj.objType === EObjType.Kr) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.titaui-dynamic-task-item__content {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.titaui-dynamic-item__content {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
margin-left: 8px;
|
|
121
121
|
font-size: 14px;
|
|
122
122
|
font-weight: 600;
|
|
123
|
-
font-family:
|
|
123
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.titaui-dynamic-item__icon {
|
|
@@ -238,8 +238,10 @@ var DynamicItem = function DynamicItem(_ref) {
|
|
|
238
238
|
var actionName = "";
|
|
239
239
|
|
|
240
240
|
if (type) {
|
|
241
|
-
var
|
|
242
|
-
|
|
241
|
+
var _getBSGlobal3, _getBSGlobal4;
|
|
242
|
+
|
|
243
|
+
var avatar = (_getBSGlobal3 = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal3 === void 0 ? void 0 : _getBSGlobal3.UserAvatar;
|
|
244
|
+
var name = (_getBSGlobal4 = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal4 === void 0 ? void 0 : _getBSGlobal4.Name;
|
|
243
245
|
avatar.color = avatar.Color;
|
|
244
246
|
avatar.medium = avatar.Medium;
|
|
245
247
|
var parseUser = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
flex: 1;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
font-family:
|
|
5
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
6
6
|
padding-bottom: 20px;
|
|
7
7
|
}
|
|
8
8
|
|