@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
package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js
CHANGED
|
@@ -65,7 +65,7 @@ var Icon = _styledComponents["default"].a(_templateObject5 || (_templateObject5
|
|
|
65
65
|
|
|
66
66
|
var Line = _styledComponents["default"].div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n height: 23px;\n align-items: center;\n margin-bottom: 2px;\n"])));
|
|
67
67
|
|
|
68
|
-
var InputName = _styledComponents["default"].span(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n font-family:
|
|
68
|
+
var InputName = _styledComponents["default"].span(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n font-size: 14px;\n color: #83898F;\n margin-right: 4px;\n"])));
|
|
69
69
|
|
|
70
70
|
var LineInputWrapper = _styledComponents["default"].div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: stretch;\n flex: 1;\n box-sizing: border-box;\n border: 1px solid #E6E8EB;\n border-radius: 4px;\n height: 28px;\n line-height: 23px;\n font-size: 14px;\n color: #33383D;\n padding: 0 8px;\n"])));
|
|
71
71
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
.tita-okrdt-tree__kr-parent-node-target-title {
|
|
44
44
|
font-size: 12px;
|
|
45
|
-
font-family:
|
|
45
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
46
46
|
font-weight: 400;
|
|
47
47
|
color: #6f7886;
|
|
48
48
|
line-height: 18px;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
width: 32px;
|
|
85
85
|
font-size: 12px;
|
|
86
86
|
font-size: 12px;
|
|
87
|
-
font-family:
|
|
87
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
88
88
|
color: #2879ff;
|
|
89
89
|
line-height: 16px;
|
|
90
90
|
border-radius: 12px;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
display: inline-block;
|
|
97
97
|
margin-left: 8px;
|
|
98
98
|
font-size: 14px;
|
|
99
|
-
font-family:
|
|
99
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
100
100
|
font-weight: 600;
|
|
101
101
|
color: #3f4755;
|
|
102
102
|
line-height: 22px;
|
|
@@ -80,6 +80,8 @@ function OkrRowColumn(_ref) {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
function _default(props) {
|
|
83
|
+
var _getBSGlobal;
|
|
84
|
+
|
|
83
85
|
var data = props.data,
|
|
84
86
|
index = props.index,
|
|
85
87
|
title = props.title;
|
|
@@ -100,7 +102,7 @@ function _default(props) {
|
|
|
100
102
|
krName = _useState4[0],
|
|
101
103
|
setKrName = _useState4[1];
|
|
102
104
|
|
|
103
|
-
var _useState5 = (0, _react.useState)((0, _bsGlobal.getBSGlobal)("OkrAdvancedSetting").KRSetting.KrWeight),
|
|
105
|
+
var _useState5 = (0, _react.useState)((_getBSGlobal = (0, _bsGlobal.getBSGlobal)("OkrAdvancedSetting")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.KRSetting.KrWeight),
|
|
104
106
|
_useState6 = _slicedToArray(_useState5, 1),
|
|
105
107
|
showKrWeight = _useState6[0]; // 高级功能: 关见成果权重
|
|
106
108
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
margin-left: 4px;
|
|
66
66
|
height: 22px;
|
|
67
67
|
font-size: 14px;
|
|
68
|
-
font-family:
|
|
68
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
color: #3f4755;
|
|
71
71
|
line-height: 22px;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
margin-left: 4px;
|
|
72
72
|
height: 22px;
|
|
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: 600;
|
|
76
76
|
color: #3f4755;
|
|
77
77
|
line-height: 22px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.okr-drawer-score {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
color: #89919f;
|
|
4
4
|
font-size: 12px;
|
|
5
5
|
line-height: 18px;
|
|
@@ -21,6 +21,8 @@ var _getLocale = require("../../../utils/getLocale");
|
|
|
21
21
|
|
|
22
22
|
require("./index.css");
|
|
23
23
|
|
|
24
|
+
var _getBSGlobal;
|
|
25
|
+
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
27
|
|
|
26
28
|
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); }
|
|
@@ -45,7 +47,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
45
47
|
|
|
46
48
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
47
49
|
|
|
48
|
-
var loginUserId = (0, _bsGlobal.getBSGlobal)("loginUserInfo").Id;
|
|
50
|
+
var loginUserId = (_getBSGlobal = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.Id;
|
|
49
51
|
|
|
50
52
|
function OKrDetailBottomComment(_ref, ref) {
|
|
51
53
|
var feedId = _ref.feedId,
|
|
@@ -65,14 +65,14 @@ var addVisibilityButton = function addVisibilityButton(_ref2, actions) {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
var addFollowButton = function addFollowButton(_ref3, actions) {
|
|
68
|
-
var _detailInfo$aiteUsers;
|
|
68
|
+
var _getBSGlobal$KRSettin, _detailInfo$aiteUsers;
|
|
69
69
|
|
|
70
70
|
var roleType = _ref3.roleType,
|
|
71
71
|
onChangeOkrFollow = _ref3.onChangeOkrFollow,
|
|
72
72
|
detailInfo = _ref3.detailInfo;
|
|
73
73
|
|
|
74
74
|
// 未开启关注目标功能
|
|
75
|
-
if (!(0, _bsGlobal.getBSGlobal)('OkrAdvancedSetting').KRSetting.TargetFollowers) {
|
|
75
|
+
if (!((_getBSGlobal$KRSettin = (0, _bsGlobal.getBSGlobal)('OkrAdvancedSetting').KRSetting) !== null && _getBSGlobal$KRSettin !== void 0 && _getBSGlobal$KRSettin.TargetFollowers)) {
|
|
76
76
|
return;
|
|
77
77
|
} // 是负责人或是内部成员不能关注目标
|
|
78
78
|
|
|
@@ -164,7 +164,7 @@ var addDeleteButton = function addDeleteButton(_ref7, actions) {
|
|
|
164
164
|
onClick: onDeleteOkr
|
|
165
165
|
});
|
|
166
166
|
}; // const addDetailButton: ActionDealFunction = ({ detailInfo }, actions) => {
|
|
167
|
-
// const registerDate = window.BSGlobal.tenantAuthentication
|
|
167
|
+
// const registerDate = window.BSGlobal.tenantAuthentication?.StartDate;
|
|
168
168
|
// dayjs(registerDate).year() < 2021
|
|
169
169
|
// && actions.push({
|
|
170
170
|
// icon: "tu-icon-xiangqing1",
|
|
@@ -72,6 +72,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
72
72
|
var StrRreg = /@\$(userName|departmentName)\=(.+?)\$(\s|$)/g;
|
|
73
73
|
|
|
74
74
|
function OkrDetailHeader(_ref) {
|
|
75
|
+
var _window$BSGlobal$logi;
|
|
76
|
+
|
|
75
77
|
var detailInfo = _ref.detailInfo;
|
|
76
78
|
|
|
77
79
|
var _useState = (0, _react.useState)(false),
|
|
@@ -88,7 +90,7 @@ function OkrDetailHeader(_ref) {
|
|
|
88
90
|
setKrs = _useState4[1]; // @ts-ignore
|
|
89
91
|
|
|
90
92
|
|
|
91
|
-
var loginUserId = window.BSGlobal.loginUserInfo.Id;
|
|
93
|
+
var loginUserId = (_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id;
|
|
92
94
|
var context = (0, _react.useContext)(_context6.GeneralDataContext);
|
|
93
95
|
var commonContext = (0, _react.useContext)(_context6.CommonContext);
|
|
94
96
|
var approvalSetting = commonContext.approvalSetting,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
padding-left: 10px;
|
|
12
12
|
position: relative;
|
|
13
13
|
font-size: 12px;
|
|
14
|
-
font-family:
|
|
14
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
15
15
|
font-weight: 400;
|
|
16
16
|
color: #3f4755;
|
|
17
17
|
line-height: 18px;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
.okr-detail-e .ode-search-form__remember {
|
|
63
63
|
font-size: 12px;
|
|
64
|
-
font-family:
|
|
64
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
65
65
|
font-weight: 400;
|
|
66
66
|
color: #2879ff;
|
|
67
67
|
line-height: 18px;
|
|
@@ -53,6 +53,8 @@ var _getLocale = require("../../utils/getLocale");
|
|
|
53
53
|
|
|
54
54
|
require("./index.css");
|
|
55
55
|
|
|
56
|
+
var _window$BSGlobal$tena;
|
|
57
|
+
|
|
56
58
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
57
59
|
|
|
58
60
|
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); }
|
|
@@ -81,7 +83,7 @@ var preCls = 'okr-detail'; // E周报和复盘开关
|
|
|
81
83
|
|
|
82
84
|
var EWorkReport = BSGlobal.OkrAdvancedSetting ? BSGlobal.OkrAdvancedSetting.KRSetting.EWorkReport : false;
|
|
83
85
|
var OkrAnalyse = BSGlobal.OkrAdvancedSetting ? BSGlobal.OkrAdvancedSetting.KRSetting.OkrAnalyse : false;
|
|
84
|
-
var source = window.BSGlobal.tenantInfo.Source;
|
|
86
|
+
var source = (_window$BSGlobal$tena = window.BSGlobal.tenantInfo) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.Source;
|
|
85
87
|
|
|
86
88
|
function OkrDetail(props) {
|
|
87
89
|
var okrId = props.okrId;
|
|
@@ -239,6 +241,8 @@ function OkrDetail(props) {
|
|
|
239
241
|
getApprovalShow();
|
|
240
242
|
}, []);
|
|
241
243
|
(0, _react.useEffect)(function () {
|
|
244
|
+
var _window$BSGlobal$logi;
|
|
245
|
+
|
|
242
246
|
if (!okrInfo || !okrInfo.workId) return;
|
|
243
247
|
setGeneralPrincipalUser(okrInfo.principalUser); // 负责人
|
|
244
248
|
|
|
@@ -250,7 +254,7 @@ function OkrDetail(props) {
|
|
|
250
254
|
});
|
|
251
255
|
var roleType = 0;
|
|
252
256
|
|
|
253
|
-
if (okrInfo.principalUser.userId == window.BSGlobal.loginUserInfo.Id) {
|
|
257
|
+
if (okrInfo.principalUser.userId == ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id)) {
|
|
254
258
|
roleType = 1;
|
|
255
259
|
} else if (okrInfo.authority.roleRelation) {
|
|
256
260
|
roleType = okrInfo.authority.roleRelation.roleType;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
.okr-detail-olist-empty__desp {
|
|
16
16
|
font-size: 14px;
|
|
17
17
|
margin-top: 20px;
|
|
18
|
-
font-family:
|
|
18
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
19
19
|
font-weight: 400;
|
|
20
20
|
color: #3f4755;
|
|
21
21
|
line-height: 22px;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
.okr-detail-olist-empty__action-btn > span {
|
|
54
54
|
font-size: 14px;
|
|
55
|
-
font-family:
|
|
55
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
56
56
|
font-weight: 400;
|
|
57
57
|
color: #ffffff;
|
|
58
58
|
line-height: 20px;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.okr-detail-okrs-list__addkr-text {
|
|
27
27
|
height: 22px;
|
|
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
|
color: #2879ff;
|
|
32
32
|
line-height: 22px;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
.okr-detail-okrs-list__align-on-title {
|
|
51
51
|
height: 22px;
|
|
52
52
|
font-size: 14px;
|
|
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: #a4acb9;
|
|
56
56
|
line-height: 22px;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
.okr-detail-okrs-list__align-to-add-text {
|
|
107
107
|
height: 22px;
|
|
108
108
|
font-size: 14px;
|
|
109
|
-
font-family:
|
|
109
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
110
110
|
font-weight: 400;
|
|
111
111
|
color: #2879ff;
|
|
112
112
|
line-height: 22px;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
.okr-detail-okrs-list__align-to-title {
|
|
116
116
|
height: 22px;
|
|
117
117
|
font-size: 14px;
|
|
118
|
-
font-family:
|
|
118
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
color: #a4acb9;
|
|
121
121
|
line-height: 22px;
|
|
@@ -13,6 +13,8 @@ var _request = require("../../utils/request");
|
|
|
13
13
|
|
|
14
14
|
var _getLocale = require("../../utils/getLocale");
|
|
15
15
|
|
|
16
|
+
var _BSGlobal$loginUserIn;
|
|
17
|
+
|
|
16
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
19
|
|
|
18
20
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
@@ -40,7 +42,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
40
42
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
41
43
|
|
|
42
44
|
// @ts-ignore
|
|
43
|
-
var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
|
|
45
|
+
var userId = BSGlobal && ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id) || 0;
|
|
44
46
|
|
|
45
47
|
var getKrs = function getKrs(_ref) {
|
|
46
48
|
var okrId = _ref.okrId;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.kr-progress__container .kr-progress__order {
|
|
19
19
|
font-size: 12px;
|
|
20
|
-
font-family:
|
|
20
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
21
21
|
color: #2879FF;
|
|
22
22
|
line-height: 18px;
|
|
23
23
|
margin-right: 4px;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.kr-progress__container .kr-progress__title-text {
|
|
31
31
|
font-size: 13px;
|
|
32
|
-
font-family:
|
|
32
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
33
33
|
color: #89919F;
|
|
34
34
|
line-height: 20px;
|
|
35
35
|
margin-left: 4px;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
.o-progress__shrink {
|
|
31
31
|
user-select: none;
|
|
32
32
|
font-size: 13px;
|
|
33
|
-
font-family:
|
|
33
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
34
34
|
line-height: 18px;
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
.o-progress__header {
|
|
51
51
|
display: flex;
|
|
52
52
|
justify-content: space-between;
|
|
53
|
-
font-family:
|
|
53
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.o-progress__header .o-progress__func-btns {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
font-size: 13px;
|
|
60
60
|
color: #2879FF;
|
|
61
61
|
line-height: 18px;
|
|
62
|
-
font-family:
|
|
62
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
63
63
|
margin-right: 16px;
|
|
64
64
|
margin-bottom: 10px;
|
|
65
65
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.o-progress__textarea-wrapper {
|
|
81
|
-
font-family:
|
|
81
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
82
82
|
margin: 16px 32px 20px 32px;
|
|
83
83
|
display: flex;
|
|
84
84
|
border-radius: 3px;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.o-progress__textarea-wrapper--error {
|
|
115
|
-
font-family:
|
|
115
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
116
116
|
border-color: #F76964;
|
|
117
117
|
margin-bottom: 0;
|
|
118
118
|
}
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.o-progress__error-text {
|
|
129
|
-
font-family:
|
|
129
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
130
130
|
color: #F76964;
|
|
131
131
|
font-size: 12px;
|
|
132
132
|
line-height: 18px;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
flex-direction: column;
|
|
140
140
|
align-items: center;
|
|
141
141
|
padding-top: 117px;
|
|
142
|
-
font-family:
|
|
142
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
143
143
|
font-size: 14px;
|
|
144
144
|
padding-bottom: 24px;
|
|
145
145
|
}
|
|
@@ -183,9 +183,11 @@ var OProgress = function OProgress(_ref) {
|
|
|
183
183
|
};
|
|
184
184
|
|
|
185
185
|
var handleRemind = (0, _react.useCallback)(function () {
|
|
186
|
+
var _BSGlobal$loginUserIn;
|
|
187
|
+
|
|
186
188
|
// @ts-ignore
|
|
187
189
|
(0, _requestApis.remindAction)({
|
|
188
|
-
toUserId: BSGlobal.loginUserInfo.Id,
|
|
190
|
+
toUserId: (_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id,
|
|
189
191
|
work_id: okrInfo.workId,
|
|
190
192
|
type: 2
|
|
191
193
|
}).then(function (resp) {
|
|
@@ -208,9 +210,11 @@ var OProgress = function OProgress(_ref) {
|
|
|
208
210
|
}, [generalPrincipalUser]);
|
|
209
211
|
var handleRemindClick = (0, _react.useCallback)(function () {
|
|
210
212
|
if (isPrincipalUser) {
|
|
213
|
+
var _BSGlobal$loginUserIn2;
|
|
214
|
+
|
|
211
215
|
// @ts-ignore 提醒上级查看
|
|
212
216
|
(0, _requestApis.remindAction)({
|
|
213
|
-
toUserId: BSGlobal.loginUserInfo.Id,
|
|
217
|
+
toUserId: (_BSGlobal$loginUserIn2 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn2 === void 0 ? void 0 : _BSGlobal$loginUserIn2.Id,
|
|
214
218
|
work_id: okrInfo.workId
|
|
215
219
|
}).then(function (resp) {
|
|
216
220
|
if (resp.Code === 1) {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.sub-o-progress__container .sub-o-progress__title-text {
|
|
19
19
|
font-size: 14px;
|
|
20
|
-
font-family:
|
|
20
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
21
21
|
color: #89919F;
|
|
22
22
|
line-height: 18px;
|
|
23
23
|
margin-left: 4px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.schedule-title-wrapper {
|
|
2
2
|
font-size: 14px;
|
|
3
|
-
font-family:
|
|
3
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
4
4
|
font-weight: 600;
|
|
5
5
|
color: #141C28;
|
|
6
6
|
line-height: 22px;
|
|
@@ -9,7 +9,9 @@ var _getLocale = require("../../../utils/getLocale");
|
|
|
9
9
|
|
|
10
10
|
// @ts-nocheck
|
|
11
11
|
var isPrincipal = function isPrincipal(principalUser) {
|
|
12
|
-
|
|
12
|
+
var _window$BSGlobal$logi;
|
|
13
|
+
|
|
14
|
+
return ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id) === principalUser.userId;
|
|
13
15
|
};
|
|
14
16
|
|
|
15
17
|
exports.isPrincipal = isPrincipal;
|
|
@@ -7,15 +7,17 @@ exports.showKrWeight = exports.showKrProgress = exports.showKrConfidence = expor
|
|
|
7
7
|
|
|
8
8
|
var _config = require("../okr-flow/utils/config");
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _getBSGlobal, _getBSGlobal2, _getBSGlobal3, _getBSGlobal4;
|
|
11
|
+
|
|
12
|
+
var showKrConfidence = (_getBSGlobal = (0, _config.getBSGlobal)('OkrAdvancedSetting')) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.KRSetting.ShowKrConfidence; // 信心指数开关
|
|
11
13
|
|
|
12
14
|
exports.showKrConfidence = showKrConfidence;
|
|
13
|
-
var showKrProgress = (0, _config.getBSGlobal)('OkrAdvancedSetting').KRSetting.ShowKrProgress; // KR进展开关
|
|
15
|
+
var showKrProgress = (_getBSGlobal2 = (0, _config.getBSGlobal)('OkrAdvancedSetting')) === null || _getBSGlobal2 === void 0 ? void 0 : _getBSGlobal2.KRSetting.ShowKrProgress; // KR进展开关
|
|
14
16
|
|
|
15
17
|
exports.showKrProgress = showKrProgress;
|
|
16
|
-
var showKrWeight = (0, _config.getBSGlobal)('OkrAdvancedSetting').KRSetting.KrWeight; // KR权重开关
|
|
18
|
+
var showKrWeight = (_getBSGlobal3 = (0, _config.getBSGlobal)('OkrAdvancedSetting')) === null || _getBSGlobal3 === void 0 ? void 0 : _getBSGlobal3.KRSetting.KrWeight; // KR权重开关
|
|
17
19
|
|
|
18
20
|
exports.showKrWeight = showKrWeight;
|
|
19
|
-
var showKrClassify = (0, _config.getBSGlobal)('OkrAdvancedSetting').KRSetting.OkrClassify; // 类型
|
|
21
|
+
var showKrClassify = (_getBSGlobal4 = (0, _config.getBSGlobal)('OkrAdvancedSetting')) === null || _getBSGlobal4 === void 0 ? void 0 : _getBSGlobal4.KRSetting.OkrClassify; // 类型
|
|
20
22
|
|
|
21
23
|
exports.showKrClassify = showKrClassify;
|
|
@@ -111,6 +111,8 @@ var getOrderTypeList = function getOrderTypeList() {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
var Filter = function Filter(_ref) {
|
|
114
|
+
var _getBSGlobal;
|
|
115
|
+
|
|
114
116
|
var onSearch = _ref.onSearch,
|
|
115
117
|
closeFilterDrawer = _ref.closeFilterDrawer,
|
|
116
118
|
setFilterNum = _ref.setFilterNum;
|
|
@@ -134,7 +136,7 @@ var Filter = function Filter(_ref) {
|
|
|
134
136
|
isRemeber = _useState4[0],
|
|
135
137
|
setIsRemeber = _useState4[1];
|
|
136
138
|
|
|
137
|
-
var setting = (0, _bsGlobal.getBSGlobal)("OkrAdvancedSetting").KRSetting;
|
|
139
|
+
var setting = (_getBSGlobal = (0, _bsGlobal.getBSGlobal)("OkrAdvancedSetting")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.KRSetting;
|
|
138
140
|
var openOkrType = setting.OkrTypeSetting;
|
|
139
141
|
var openClassify = setting.OkrClassify;
|
|
140
142
|
var formContainerRef = (0, _react.useRef)();
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.titaui-okr-flow--node-desp {
|
|
139
|
-
font-family:
|
|
139
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
140
140
|
position: relative;
|
|
141
141
|
cursor: pointer;
|
|
142
142
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
right: 57px;
|
|
203
203
|
line-height: 24px;
|
|
204
204
|
font-size: 12px;
|
|
205
|
-
font-family:
|
|
205
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
206
206
|
color: #6f7886;
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
line-height: 20px;
|
|
24
24
|
font-size: 14px;
|
|
25
25
|
color: #3f4755;
|
|
26
|
-
font-family:
|
|
26
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.titaui-okr-flow__dark .titaui-okr-flow--empty--tip {
|
|
@@ -27,7 +27,9 @@ var getGlobal = function getGlobal(key) {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
var getSource = function getSource() {
|
|
30
|
-
|
|
30
|
+
var _getGlobal;
|
|
31
|
+
|
|
32
|
+
return ((_getGlobal = getGlobal("tenantInfo")) === null || _getGlobal === void 0 ? void 0 : _getGlobal.Source) || 0;
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
exports.getSource = getSource;
|
|
@@ -11,6 +11,8 @@ var _axios = _interopRequireDefault(require("axios"));
|
|
|
11
11
|
|
|
12
12
|
var _qs = _interopRequireDefault(require("qs"));
|
|
13
13
|
|
|
14
|
+
var _window$BSGlobal$tena, _window$BSGlobal$logi;
|
|
15
|
+
|
|
14
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
17
|
|
|
16
18
|
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; }
|
|
@@ -25,9 +27,9 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
25
27
|
|
|
26
28
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
27
29
|
|
|
28
|
-
var tenantId = window.BSGlobal && window.BSGlobal.tenantInfo.Id || 0;
|
|
30
|
+
var tenantId = window.BSGlobal && ((_window$BSGlobal$tena = window.BSGlobal.tenantInfo) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.Id) || 0;
|
|
29
31
|
exports.tenantId = tenantId;
|
|
30
|
-
var userId = window.BSGlobal && window.BSGlobal.loginUserInfo.Id || 0;
|
|
32
|
+
var userId = window.BSGlobal && ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id) || 0;
|
|
31
33
|
exports.userId = userId;
|
|
32
34
|
|
|
33
35
|
var requestDomain = function requestDomain() {
|
|
@@ -6,13 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.OkrTypeSetting = exports.OkrClassifySetting = exports.KrWeightSetting = void 0;
|
|
7
7
|
exports.getBSGlobal = getBSGlobal;
|
|
8
8
|
|
|
9
|
+
var _getBSGlobal, _getBSGlobal2, _getBSGlobal3;
|
|
10
|
+
|
|
9
11
|
function getBSGlobal(name) {
|
|
10
12
|
return name ? BSGlobal && BSGlobal[name] : BSGlobal;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
var
|
|
15
|
+
var _ref = ((_getBSGlobal = getBSGlobal("OkrAdvancedSetting")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.KRSetting) || {},
|
|
16
|
+
OkrTypeSetting = _ref.OkrTypeSetting;
|
|
17
|
+
|
|
14
18
|
exports.OkrTypeSetting = OkrTypeSetting;
|
|
15
|
-
var OkrClassifySetting = getBSGlobal("OkrAdvancedSetting").KRSetting.OkrClassify;
|
|
19
|
+
var OkrClassifySetting = ((_getBSGlobal2 = getBSGlobal("OkrAdvancedSetting")) === null || _getBSGlobal2 === void 0 ? void 0 : _getBSGlobal2.KRSetting.OkrClassify) || {};
|
|
16
20
|
exports.OkrClassifySetting = OkrClassifySetting;
|
|
17
|
-
var KrWeightSetting = getBSGlobal("OkrAdvancedSetting").KRSetting.KrWeight;
|
|
21
|
+
var KrWeightSetting = (_getBSGlobal3 = getBSGlobal("OkrAdvancedSetting")) === null || _getBSGlobal3 === void 0 ? void 0 : _getBSGlobal3.KRSetting.KrWeight;
|
|
18
22
|
exports.KrWeightSetting = KrWeightSetting;
|
|
@@ -14,8 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
.titaui-ork-guide__bg {
|
|
16
16
|
position: relative;
|
|
17
|
+
min-width: 960px;
|
|
17
18
|
height: 100%;
|
|
18
19
|
box-sizing: border-box;
|
|
20
|
+
overflow: scroll;
|
|
21
|
+
padding: 40px 0;
|
|
19
22
|
background: linear-gradient(135deg, #9FBFFF 0%, #FEF7E5 65%, #FFFFFF 100%);
|
|
20
23
|
}
|
|
21
24
|
|
|
@@ -31,25 +34,21 @@
|
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
.titaui-ork-guide__container {
|
|
34
|
-
|
|
35
|
-
height: 100%;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
overflow-y: scroll;
|
|
38
|
-
padding-top: 91px;
|
|
39
|
-
padding-bottom: 104px;
|
|
37
|
+
height: max-content;
|
|
40
38
|
box-sizing: border-box;
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
.titaui-ork-guide__container
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
filter: blur(48px);
|
|
52
|
-
z-index: 0;
|
|
44
|
+
.titaui-ork-guide__container-box {
|
|
45
|
+
width: 874px;
|
|
46
|
+
height: 560px;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
justify-content: space-between;
|
|
50
|
+
flex-wrap: nowrap;
|
|
51
|
+
flex-shrink: 0;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
.titaui-ork-guide__container__top {
|
|
@@ -58,7 +57,6 @@
|
|
|
58
57
|
color: #141C28;
|
|
59
58
|
line-height: 44px;
|
|
60
59
|
letter-spacing: 1px;
|
|
61
|
-
margin-bottom: 60px;
|
|
62
60
|
text-align: center;
|
|
63
61
|
font-weight: 600;
|
|
64
62
|
}
|
|
@@ -200,6 +200,8 @@ var OkrGuide = function OkrGuide(props) {
|
|
|
200
200
|
className: "".concat(preCls, "__bg")
|
|
201
201
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
202
202
|
className: "".concat(preCls, "__container")
|
|
203
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
204
|
+
className: "".concat(preCls, "__container-box")
|
|
203
205
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
204
206
|
className: "".concat(preCls, "__container__top")
|
|
205
207
|
}, "\u2728\u6B22\u8FCE\u4F7F\u7528 Tita OKR"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -231,7 +233,7 @@ var OkrGuide = function OkrGuide(props) {
|
|
|
231
233
|
onClick: handleSubmit
|
|
232
234
|
}, /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
|
233
235
|
type: 'primary'
|
|
234
|
-
}, "\u5B8C\u6210\u8BBE\u7F6E\uFF0C\u521B\u5EFA OKR")))))));
|
|
236
|
+
}, "\u5B8C\u6210\u8BBE\u7F6E\uFF0C\u521B\u5EFA OKR"))))))));
|
|
235
237
|
};
|
|
236
238
|
|
|
237
239
|
var _default = OkrGuide;
|